aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp_scrc.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-17 15:48:11 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-17 15:52:24 +0100
commitc18befb0e32f4566adee2435483d05cc0cc6b326 (patch)
tree3cd7e574aa216c3fe6443d18ae7d474d5d0676f3 /src/sccp_scrc.c
parenta84fa351d37651dc999649eaad0cb6bd5918e6b4 (diff)
sccp: Log missing user and router failure paths
Diffstat (limited to 'src/sccp_scrc.c')
-rw-r--r--src/sccp_scrc.c3
1 files changed, 3 insertions, 0 deletions
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 @@ static int scrc_node_6(struct osmo_sccp_instance *inst,
/* 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);
}