lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43461?usp=email ) Change subject: libvlr: Remove MSC specific parts ...................................................................... libvlr: Remove MSC specific parts The libvlr should not contain any MSC specific parts. Remove include and usage of MSC objects. Change-Id: I35e3edc56c7c64ac2a4462dec8ea684b00ab3881 --- M include/osmocom/vlr/vlr.h M src/libvlr/vlr.c 2 files changed, 0 insertions(+), 11 deletions(-) Approvals: laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, approved diff --git a/include/osmocom/vlr/vlr.h b/include/osmocom/vlr/vlr.h index 98ce0be..b803f71 100644 --- a/include/osmocom/vlr/vlr.h +++ b/include/osmocom/vlr/vlr.h @@ -13,7 +13,6 @@ #include <osmocom/gsm/gsm0808.h> #include <osmocom/gsm/gsup.h> #include <osmocom/gsm/ipa.h> -#include <osmocom/msc/msc_common.h> #include <osmocom/gsupclient/gsup_client.h> #include <osmocom/vlr/vlr_sgs.h> diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c index 5baf2c3..a2012d9 100644 --- a/src/libvlr/vlr.c +++ b/src/libvlr/vlr.c @@ -35,8 +35,6 @@ #include <osmocom/vlr/vlr_sgs.h> #include <osmocom/vlr/vlr.h> #include <osmocom/gsupclient/gsup_client_mux.h> -#include <osmocom/msc/paging.h> -#include <osmocom/msc/silent_call.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -606,8 +604,6 @@ exists->imsi, osmo_use_count_to_str_c(OTC_SELECT, &exists->use_count), osmo_use_count_to_str_c(OTC_SELECT, &vsub->use_count)); - /* Take over some state from the previous vsub */ - paging_request_join_vsub(vsub, exists); if (!vsub->msisdn[0]) OSMO_STRLCPY_ARRAY(vsub->msisdn, exists->msisdn); if (!vsub->name[0]) @@ -644,12 +640,6 @@ if (!strcmp(vsub->imsi, imsi)) return; - /* If the same subscriber has silent call (probably pending) stop the silent call to prevent - * use count mismatch when freeing the transaction. */ - exists = vlr_subscr_find_by_imsi(vsub->vlr, imsi, NULL); - if (gsm_silent_call_is_ongoing(exists)) - gsm_silent_call_stop(exists); - /* We've just learned about this new IMSI, our primary key in the VLR. make sure to invalidate any prior VLR * entries for this IMSI. */ exists = vlr_subscr_find_by_imsi(vsub->vlr, imsi, NULL); -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43461?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I35e3edc56c7c64ac2a4462dec8ea684b00ab3881 Gerrit-Change-Number: 43461 Gerrit-PatchSet: 6 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de>