aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sccp_test_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sccp_test_server.c')
-rw-r--r--examples/sccp_test_server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/sccp_test_server.c b/examples/sccp_test_server.c
index 3aef725..aa3a76c 100644
--- a/examples/sccp_test_server.c
+++ b/examples/sccp_test_server.c
@@ -67,6 +67,11 @@ static int echo_prim_cb(struct osmo_prim_hdr *oph, void *_scu)
&scu_prim->u.unitdata.calling_addr,
data, data_len);
break;
+ case OSMO_PRIM(OSMO_SCU_PRIM_N_DISCONNECT, PRIM_OP_INDICATION):
+ LOGP(DMAIN, LOGL_INFO, "Got N-DISCONNECT.ind (local_ref=%u, cause=%u, importance=%u)\n",
+ scu_prim->u.disconnect.conn_id, scu_prim->u.disconnect.cause,
+ scu_prim->u.disconnect.importance);
+ break;
default:
LOGP(DMAIN, LOGL_NOTICE, "Unknown primitive %s\n",
osmo_scu_prim_name(oph));