MNCC: Add IMSI to CALL CONFIRM message

LCR requires IMSI to correlate calls for MPTY (multi party conference)
and ECT (call transfer).
This commit is contained in:
Andreas Eversberg 2013-09-19 09:27:06 +02:00 committed by Holger Hans Peter Freyther
parent 723a751e5f
commit 035b874fdf
1 changed files with 4 additions and 0 deletions

View File

@ -2013,6 +2013,10 @@ static int gsm48_cc_rx_call_conf(struct gsm_trans *trans, struct msgb *msg)
TLVP_VAL(&tp, GSM48_IE_CC_CAP)-1);
}
/* IMSI of called subscriber */
strncpy(call_conf.imsi, trans->subscr->imsi,
sizeof(call_conf.imsi)-1);
new_cc_state(trans, GSM_CSTATE_MO_TERM_CALL_CONF);
return mncc_recvmsg(trans->subscr->net, trans, MNCC_CALL_CONF_IND,