neels has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/69/18769/1

diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index 0707c65..834a3e9 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -183,8 +183,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: 1
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to