diff options
Diffstat (limited to 'src/libmsc/osmo_msc.c')
-rw-r--r-- | src/libmsc/osmo_msc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libmsc/osmo_msc.c b/src/libmsc/osmo_msc.c index 866cfbd07..4d24f22a6 100644 --- a/src/libmsc/osmo_msc.c +++ b/src/libmsc/osmo_msc.c @@ -28,11 +28,17 @@ #include <openbsc/db.h> #include <openbsc/vlr.h> #include <openbsc/osmo_msc.h> -#include <openbsc/iu.h> #include <openbsc/a_iface.h> #include <openbsc/gsm_04_11.h> +#include "../../bscconfig.h" +#ifdef BUILD_IU +#include <osmocom/ranap/iu_client.h> +#else +#include <openbsc/iu_dummy.h> +#endif + /* Receive a SAPI-N-REJECT from BSC */ void msc_sapi_n_reject(struct gsm_subscriber_connection *conn, int dlci) { @@ -285,7 +291,7 @@ static void msc_subscr_conn_release_all(struct gsm_subscriber_connection *conn, switch (conn->via_ran) { case RAN_UTRAN_IU: - iu_tx_release(conn->iu.ue_ctx, NULL); + ranap_iu_tx_release(conn->iu.ue_ctx, NULL); /* FIXME: keep the conn until the Iu Release Outcome is * received from the UE, or a timeout expires. For now, the log * says "unknown UE" for each release outcome. */ |