Bug #2665
closed
OsmoSGSN doesn't listen on reasonable default point code
Added by laforge over 6 years ago.
Updated about 6 years ago.
Description
OsmoMSC already has compile-time default point codes, so let's make sure we also have one for the SGSN. 0.23.4 looks like a good idea.
- Related to Bug #2663: osmo-hnbgw missing reasonable default configuration for sigtran added
- Related to Bug #2664: document our default point codes in the wiki added
I think this one is already resolved, see:
commit 1d047ed24f71df635b973ac6e4541769531f1b8a (origin/master, origin/HEAD, master)
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: Fri Nov 24 04:33:08 2017 +0100
use default point-code as listed on Point_Codes wiki page
see https://osmocom.org/projects/cellular-infrastructure/wiki/Point_Codes
Change-Id: Ie11f1dfcdd5889d44fefe6cc10472ef1a794cc64
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index 8cd68ff3..fe4192bb 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -502,8 +502,9 @@ int main(int argc, char **argv)
}
#if BUILD_IU
+ /* Note that these are mostly defaults and can be overriden from the VTY */
sccp = osmo_sccp_simple_client(tall_bsc_ctx, "OsmoSGSN",
- 2 /* FIXME: configurable */,
+ (23 << 3) + 4,
OSMO_SS7_ASP_PROT_M3UA,
0, NULL,
0, "127.0.0.1");
- Status changed from New to Resolved
- Assignee changed from laforge to neels
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF