When an MME receives a Detach Request from a UE for which an SGs association exists, the MME shall check the detach type indicated. If the UE is indicating IMSI detach or combined EPS/IMSI detach, the MME shall send an SGsAP-IMSI-DETACH-INDICATION message to the VLR indicating
"Explicit UE initiated IMSI detach from non-EPS services" or
"Combined UE initiated IMSI detach from EPS and non-EPS services".
When an MME receives a Detach Notification message for a UE from an SGSN and an SGs association for the UE exists, the MME shall check the cause and detach type indicated. If the cause is indicating
"IMSI Detach only", the MME shall send an SGsAP-IMSI-DETACH-INDICATION message to the VLR indicating
"Explicit UE initiated IMSI detach from non-EPS services". If the cause is indicating
"Complete Detach" and detach type is indicating
"Combined PS/CS Detach" as specified in
TS 29.274, the MME shall send an SGsAP-IMSI-DETACH-INDICATION message to the VLR indicating
"Combined UE initiated IMSI detach from EPS and non-EPS services".
After the sending of the SGsAP-IMSI-DETACH-INDICATION message to the VLR, the MME shall move the state of the SGs association to SGs-NULL. The MME shall start timer Ts9 upon transmission of the SGsAP-IMSI-DETACH-INDICATION message and the MME shall stop and reset timer Ts6-1, if running.
If the MME receives an SGsAP-IMSI-DETACH-ACK message from the VLR, the MME shall stop timer Ts9. If the detach type received from the UE indicated IMSI only detach or combined EPS/IMSI detach not due to switch off, the MME shall wait for the reception of the SGsAP-IMSI-DETACH-ACK message before sending the confirmation of the detach to the UE.
The following abnormal cases can be identified:
-
no SGsAP-IMSI-DETACH-ACK received for a detach with switch off
If the MME sent an SGsAP-IMSI-DETACH-INDICATION message for a combined IMSI and EPS detach due to switch off and timer Ts9 expires, the MME shall repeat the SGsAP-IMSI-DETACH-INDICATION message a maximum of Ns9 times.
-
no SGsAP-IMSI-DETACH-ACK received for a detach with no switch off
If the MME sent an SGsAP-IMSI-DETACH-INDICATION message for an IMSI only detach or a combined IMSI and EPS detach not due to switch off and timer Ts9 expires, the MME shall repeat the SGsAP-IMSI-DETACH-INDICATION message a maximum of Ns9 times. If no SGsAP-IMSI-DETACH-ACK is received after that the MME shall send the confirmation of the detach to the UE.