aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-msc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-09 12:32:51 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-25 01:06:57 +0200
commit1168969378456da5a480bf68d000604192e40fc7 (patch)
tree74eb29c20dfedb0943abb14dba2adc5bbab07a9a /src/osmo-msc
parent3d5990fc65da61a127cbb2dd1276fe5a03f8f6b7 (diff)
WIP: Port to new libosmo-sigtran API (with proper M3UA for Iuh)
This changes over to the new libosmo-sigtran API with support for proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for the IuCS and IuPS interfaces. Only the ASP (client) is used, assuming that both the HNB-GWs and RNCs as well as the MSCs and SGSNs are all connecting as ASP to some STP/SGW which offers M3UA server functionality as well as point-code and/or global title based routing. Change-Id: I450e22d46e47eec350a152f7832428f226bf17fc Tweaked-by: nhofmeyr (test expectation)
Diffstat (limited to 'src/osmo-msc')
-rw-r--r--src/osmo-msc/msc_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 5c4437038..0da1bb6fc 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -64,7 +64,6 @@
#include <openbsc/osmo_bsc_rf.h>
#include <openbsc/smpp.h>
#include <osmocom/sigtran/sccp_sap.h>
-#include <osmocom/sigtran/sua.h>
#include <openbsc/mgcpgw_client.h>
#include <openbsc/msc_ifaces.h>
@@ -351,6 +350,8 @@ int main(int argc, char **argv)
/* For --version, vty_init() must be called before handling options */
vty_init(&msc_vty_info);
+ osmo_ss7_init();
+
/* Parse options */
handle_options(argc, argv);
@@ -503,7 +504,7 @@ TODO: we probably want some of the _net_ ctrl commands from bsc_base_ctrl_cmds_i
/* TODO: implement A-Interface and remove above legacy stuff. */
/* Set up IuCS */
- iu_init(tall_msc_ctx, "127.0.0.1", 14001, rcvmsg_iu_cs, rx_iu_event);
+ iu_init(tall_msc_ctx, "OsmoMSC", 1, "127.0.0.3", "127.0.0.1", 0, rcvmsg_iu_cs, rx_iu_event);
if (msc_cmdline_config.daemonize) {
rc = osmo_daemonize();