Handle TMSI reallocation complete by printing the subscriber
It looks like that certain phones that send their old TMSI from a different network and we assign them a new one with LOCATION UPDATING ACCEPT will send us a TMSI Reallocation Complete. Print out the the imsi.
This commit is contained in:
parent
9898188ca7
commit
69b2af293e
|
@ -562,8 +562,13 @@ static int gsm0408_rcv_mm(struct msgb *msg)
|
|||
case GSM48_MT_MM_STATUS:
|
||||
DEBUGP(DMM, "MM STATUS: FIXME parse error cond.\n");
|
||||
break;
|
||||
case GSM48_MT_MM_CM_REEST_REQ:
|
||||
case GSM48_MT_MM_TMSI_REALL_COMPL:
|
||||
DEBUGP(DMM, "TMSI Reallocation Completed. Subscriber: %s\n",
|
||||
msg->lchan->subscr ?
|
||||
msg->lchan->subscr->imsi :
|
||||
"unknown subscriber");
|
||||
break;
|
||||
case GSM48_MT_MM_CM_REEST_REQ:
|
||||
case GSM48_MT_MM_AUTH_RESP:
|
||||
case GSM48_MT_MM_IMSI_DETACH_IND:
|
||||
fprintf(stderr, "Unimplemented GSM 04.08 MM msg type 0x%02x\n",
|
||||
|
|
Loading…
Reference in New Issue