mncc: Remember the IMSI as well
This commit is contained in:
parent
dbe55c1eb5
commit
a0aa566ec4
|
@ -56,6 +56,7 @@ struct mncc_call_leg {
|
||||||
uint32_t callref;
|
uint32_t callref;
|
||||||
struct gsm_mncc_number called;
|
struct gsm_mncc_number called;
|
||||||
struct gsm_mncc_number calling;
|
struct gsm_mncc_number calling;
|
||||||
|
char imsi[16];
|
||||||
|
|
||||||
struct mncc_connection *conn;
|
struct mncc_connection *conn;
|
||||||
};
|
};
|
||||||
|
|
|
@ -195,6 +195,7 @@ static void check_setup(struct mncc_connection *conn, char *buf, int rc)
|
||||||
leg->state = MNCC_CC_INITIAL;
|
leg->state = MNCC_CC_INITIAL;
|
||||||
memcpy(&leg->called, &data->called, sizeof(leg->called));
|
memcpy(&leg->called, &data->called, sizeof(leg->called));
|
||||||
memcpy(&leg->calling, &data->calling, sizeof(leg->calling));
|
memcpy(&leg->calling, &data->calling, sizeof(leg->calling));
|
||||||
|
memcpy(&leg->imsi, data->imsi, sizeof(leg->imsi));
|
||||||
|
|
||||||
LOGP(DMNCC, LOGL_DEBUG,
|
LOGP(DMNCC, LOGL_DEBUG,
|
||||||
"Created call(%u) with MNCC leg(%u) IMSI(%.16s)\n",
|
"Created call(%u) with MNCC leg(%u) IMSI(%.16s)\n",
|
||||||
|
|
Loading…
Reference in New Issue