diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-04-12 15:19:45 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:08 +0200 |
commit | 76174d9dd94bb88ae63e616e84ae58b9f290e92b (patch) | |
tree | 90898e2087f5485041f2da74edcb3ea5596f2123 /openbsc/src/osmo-msc/msc_main.c | |
parent | e3aca93630e7a4572bd0459115b25348e1840c0e (diff) |
WIP: Integrate AoIP into MSC
Diffstat (limited to 'openbsc/src/osmo-msc/msc_main.c')
-rw-r--r-- | openbsc/src/osmo-msc/msc_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/osmo-msc/msc_main.c b/openbsc/src/osmo-msc/msc_main.c index 82c2c42f7..73069737e 100644 --- a/openbsc/src/osmo-msc/msc_main.c +++ b/openbsc/src/osmo-msc/msc_main.c @@ -65,12 +65,14 @@ #include <openbsc/osmo_bsc_rf.h> #include <openbsc/smpp.h> #include <osmocom/sigtran/sccp_sap.h> +#include <osmocom/sigtran/osmo_ss7.h> #include <openbsc/mgcpgw_client.h> #include <openbsc/msc_ifaces.h> #include <openbsc/iu.h> #include <openbsc/iucs.h> #include <openbsc/iucs_ranap.h> +#include <openbsc/a_iface.h> static const char * const osmomsc_copyright = "OsmoMSC - Osmocom Circuit-Switched Core Network implementation\r\n" @@ -505,7 +507,10 @@ 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, "OsmoMSC", 1, "127.0.0.3", "127.0.0.1", 0, 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); + + /* Set up A interface */ + a_init(tall_msc_ctx, "OsmoMSC_A", 254, "127.0.0.3", "127.0.0.1", 0, msc_network); if (msc_cmdline_config.daemonize) { rc = osmo_daemonize(); |