diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-09 12:32:51 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:45 +0200 |
commit | a929299cc4599e9d90ff3c473cef280aded5f78c (patch) | |
tree | 08195a0f09df67e1ddae7d27370abda58844def2 /src/osmo-msc | |
parent | a42cfb6c95bd6b50d7b670ecd08942f97449b653 (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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c index 706d996f1..82c2c42f7 100644 --- a/src/osmo-msc/msc_main.c +++ b/src/osmo-msc/msc_main.c @@ -65,7 +65,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> @@ -352,6 +351,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); @@ -504,7 +505,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(); |