Change in libosmo-sccp[master]: sccp: Log missing user and router failure paths

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
Fri Jan 17 14:54:52 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16918 )


Change subject: sccp: Log missing user and router failure paths
......................................................................

sccp: Log missing user and router failure paths

Change-Id: I36374e4419474c5ab43c9cca1b59f3054f93180b
---
M src/sccp_scoc.c
M src/sccp_scrc.c
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/18/16918/1

diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index 7570764..b5b6547 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -1364,6 +1364,9 @@
 	uint32_t conn_id;
 	struct sccp_connection *conn;
 
+	LOGP(DLSCCP, LOGL_NOTICE, "SCRC Routing Failure for message %s\n",
+	     xua_hdr_dump(xua, &xua_dialect_sua));
+
 	/* try to dispatch to connection FSM (if any) */
 	conn_id = xua_msg_get_u32(xua, SUA_IEI_DEST_REF);
 	conn = conn_find_by_id(inst, conn_id);
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c
index e259d7c..b46b4f2 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -321,6 +321,9 @@
 	/* Is subsystem equipped? */
 	if (!scu) {
 		/* Error: unequipped user */
+		LOGP(DLSCCP, LOGL_NOTICE,
+		     "Unable to find user for SSN=%u PC=%s\n",
+		     called->ssn, osmo_ss7_pointcode_print(inst->ss7, called->pc));
 		return scrc_node_4(inst, xua,
 				   SCCP_RETURN_CAUSE_UNEQUIPPED_USER);
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16918
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I36374e4419474c5ab43c9cca1b59f3054f93180b
Gerrit-Change-Number: 16918
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/20200117/8cb1475f/attachment.htm>


More information about the gerrit-log mailing list