aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_audio.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_audio.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/osmo-bsc/osmo_bsc_audio.c b/src/osmo-bsc/osmo_bsc_audio.c
index 295d8543a..f821e221f 100644
--- a/src/osmo-bsc/osmo_bsc_audio.c
+++ b/src/osmo-bsc/osmo_bsc_audio.c
@@ -29,7 +29,7 @@
#include <osmocom/gsm/gsm0808.h>
#include <osmocom/gsm/gsm0808_utils.h>
#include <osmocom/bsc/osmo_bsc_sigtran.h>
-#include <osmocom/bsc/osmo_bsc_mgcp.h>
+#include <osmocom/bsc/bsc_subscr_conn_fsm.h>
#include <arpa/inet.h>
@@ -76,8 +76,13 @@ static int handle_abisip_signal(unsigned int subsys, unsigned int signal,
gsm_lchan_name(con->ho_lchan));
/* No need to do anything for handover here. As soon as a HANDOVER DETECT
* happens, osmo_bsc_mgcp.c will trigger the MGCP MDCX towards MGW by
- * receiving an S_LCHAN_HANDOVER_DETECT signal. */
+ * receiving an S_LCHAN_HANDOVER_DETECT signal.
+ *
+ * FIXME: This will not work, osmo_bsc_mgcp.c is now removed. The
+ * switchover must be handled by the GSCON FSM because there we
+ * we instantiate the child FSMs which handle the MGCP traffic. */
#if 0
+/* FIXME: This does not work anymore, we will have to implement this in the GSCON FSM */
/* NOTE: When an ho_lchan exists, the MDCX is part of an
* handover operation (intra-bsc). This means we will not
* inform the MSC about the event, which means that no
@@ -92,7 +97,8 @@ static int handle_abisip_signal(unsigned int subsys, unsigned int signal,
* IPA based base stations. See also osmo_bsc_api.c,
* function bsc_assign_compl() */
LOGP(DMSC, LOGL_INFO, "Tx MSC ASSIGN COMPL (POSTPONED)\n");
- mgcp_ass_complete(con->user_plane.mgcp_ctx, lchan);
+ osmo_fsm_inst_dispatch(con->fi, GSCON_EV_RR_ASS_COMPL, NULL);
+
}
break;
}