aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-09-19 09:27:06 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-01 03:37:44 +0100
commitaa9874da852b8673b2cee87ab8513cb5d6e7bb8b (patch)
treecad98ba91e7d05d199436a312e37bff768ca0484
parent3438474aa3dc23e83a1738054202a753628514ac (diff)
MNCC: Add IMSI to CALL CONFIRM message
LCR requires IMSI to correlate calls for MPTY (multi party conference) and ECT (call transfer).
-rw-r--r--src/libmsc/gsm_04_08.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmsc/gsm_04_08.c b/src/libmsc/gsm_04_08.c
index 74792271a..2cb24df5e 100644
--- a/src/libmsc/gsm_04_08.c
+++ b/src/libmsc/gsm_04_08.c
@@ -2173,6 +2173,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,