Change in osmo-bsc[master]: debug: log about matching Paging Response to earlier Paging

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 18 11:27:48 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18769 )

Change subject: debug: log about matching Paging Response to earlier Paging
......................................................................

debug: log about matching Paging Response to earlier Paging

Change-Id: I277d3236686dd5a5a21113ef2ddfd29341190086
---
M src/osmo-bsc/gsm_08_08.c
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  daniel: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index c002ebb..32363eb 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -225,8 +225,15 @@
 		if (subscr) {
 			msc_target = paging_get_msc(conn_get_bts(conn), subscr);
 			bsc_subscr_put(subscr);
-			if (is_msc_usable(msc_target, is_emerg))
+			if (is_msc_usable(msc_target, is_emerg)) {
+				LOG_COMPL_L3(pdisc, mtype, LOGL_DEBUG, "%s matches earlier Paging from msc %d\n",
+					     osmo_mobile_identity_to_str_c(OTC_SELECT, &mi), msc_target->nr);
 				return msc_target;
+			} else {
+				LOG_COMPL_L3(pdisc, mtype, LOGL_DEBUG,
+					     "%s matches earlier Paging from msc %d, but this MSC is not connected\n",
+					     osmo_mobile_identity_to_str_c(OTC_SELECT, &mi), msc_target->nr);
+			}
 			msc_target = NULL;
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18769
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I277d3236686dd5a5a21113ef2ddfd29341190086
Gerrit-Change-Number: 18769
Gerrit-PatchSet: 9
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200618/496c67c9/attachment.htm>


More information about the gerrit-log mailing list