Dummy CN: Handle RANAP payload of DISCONNET.ind

In case of RANAP Release Complete, the DISCONNECT contains RANAP payload that
we'd like to parse and handle.
This commit is contained in:
Harald Welte 2015-12-26 23:49:52 +01:00
parent 0744d6f63e
commit 4e2783fc0f
1 changed files with 2 additions and 0 deletions

View File

@ -277,6 +277,8 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *link)
case OSMO_PRIM(OSMO_SCU_PRIM_N_DISCONNECT, PRIM_OP_INDICATION):
/* indication of disconnect */
printf("N-DISCONNECT.ind(%u)\n", prim->u.disconnect.conn_id);
ue = ue_conn_ctx_find(link, prim->u.disconnect.conn_id);
rc = cn_ranap_rx_co(ue, msgb_l2(oph->msg), msgb_l2len(oph->msg));
break;
case OSMO_PRIM(OSMO_SCU_PRIM_N_DATA, PRIM_OP_INDICATION):
/* connection-oriented data received */