pespin has submitted this change. ( 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(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved 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 <pes...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: merged