summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-09-19 09:27:06 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2013-09-19 09:27:06 +0200
commita1196c9aea109201859eb9d6f5f732df2c268a29 (patch)
treee3afff6f6084d39d07f7d64784c81e99f41c3d13
parent842aec16e6ac00935ee682a20e1796d7961a4d95 (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--openbsc/src/libmsc/gsm_04_08.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 74792271a..2cb24df5e 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/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,