Change in osmo-msc[master]: sgs_iface.c: Improvde logging when paging over SGs

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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 12 11:32:09 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/24915 )


Change subject: sgs_iface.c: Improvde logging when paging over SGs
......................................................................

sgs_iface.c: Improvde logging when paging over SGs

Change-Id: I745d3e904583ddf170ec1a1ceac5a49b72e813e3
---
M src/libmsc/sgs_iface.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/15/24915/1

diff --git a/src/libmsc/sgs_iface.c b/src/libmsc/sgs_iface.c
index 9d7b6fc..1dfbace 100644
--- a/src/libmsc/sgs_iface.c
+++ b/src/libmsc/sgs_iface.c
@@ -476,9 +476,6 @@
 	struct gsm29118_paging_req paging_params;
 	struct sgs_mme_ctx *mme;
 
-	LOGP(DMSC, LOGL_NOTICE, "XXXXXXXXXX state == %d  conf_by_radio_contact_ind == %d\n",
-	     vsub->sgs_fsm->state, vsub->conf_by_radio_contact_ind);
-
 	/* See also: 3GPP TS 29.118, chapter 5.1.2.2 Paging Initiation */
 	if (vsub->sgs_fsm->state == SGS_UE_ST_NULL && vsub->conf_by_radio_contact_ind == true) {
 		LOGPFSMSL(vsub->sgs_fsm, DPAG, LOGL_ERROR, "Will not Page (conf_by_radio_contact_ind == true)\n");
@@ -496,6 +493,9 @@
 	if (vlr_sgs_pag_pend(vsub))
 		return 0;
 
+	LOGMME(mme, LOGL_INFO, "Paging on SGs: %s for %s (conf_by_radio_contact_ind=%d)\n",
+	       vlr_subscr_name(vsub), sgsap_service_ind_name(serv_ind), vsub->conf_by_radio_contact_ind);
+
 	memset(&paging_params, 0, sizeof(paging_params));
 	osmo_strlcpy(paging_params.imsi, vsub->imsi, sizeof(paging_params.imsi));
 	osmo_strlcpy(paging_params.vlr_name, mme->sgs->cfg.vlr_name, sizeof(paging_params.vlr_name));

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I745d3e904583ddf170ec1a1ceac5a49b72e813e3
Gerrit-Change-Number: 24915
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210712/297c98cc/attachment.htm>


More information about the gerrit-log mailing list