aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 490a5ea6..68f8b492 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -217,6 +217,10 @@ int main(int argc, char **argv)
bsc_msg_lst_vty_init(tall_bsc_ctx, &access_lists, BSC_NODE);
ctrl_vty_init(tall_bsc_ctx);
+ /* Initalize SS7 */
+ osmo_ss7_init();
+ osmo_ss7_vty_init_sg();
+
INIT_LLIST_HEAD(&access_lists);
/* parse options */
@@ -269,20 +273,6 @@ int main(int argc, char **argv)
}
}
-
- llist_for_each_entry(msc, &bsc_gsmnet->bsc_data->mscs, entry) {
- /* FIXME: This has to come from a config file */
- osmo_sccp_make_addr_pc_ssn(&msc->msc_con->g_calling_addr,
- 42, SCCP_SSN_BSSAP);
- osmo_sccp_make_addr_pc_ssn(&msc->msc_con->g_called_addr,
- 1, SCCP_SSN_BSSAP);
- }
-
-// if (osmo_bsc_sccp_init(bsc_gsmnet) != 0) {
-// LOGP(DNM, LOGL_ERROR, "Failed to register SCCP.\n");
-// exit(1);
-// }
-
if (osmo_bsc_sigtran_init(&bsc_gsmnet->bsc_data->mscs) != 0) {
LOGP(DNM, LOGL_ERROR, "Failed to initalize sigtran backhaul.\n");
exit(1);