8.4 Mapping of Parameters for the Purge Procedure
29.3053GPPInterWorking Function (IWF) between MAP based and Diameter based interfacesRelease 17TS
8.4.1 PUR mapping to PurgeMS-Arg
When the IWF needs to construct a MAP-PurgeMS message as a result of receiving an PUR command (see sections 7.4.1 step 2 and 7.4.2. step 2), the IWF shall open a MAP dialogue in application context version 3 and populate sub-parameters of PurgeMS-Arg as described below:
imsi in PurgeMS-Arg shall be populated with the imsi value of the User-Name AVP received within PUR.
vlr-Number in PurgeMS-Arg shall be absent.
sgsn-Number in PurgeMS-Arg shall be populated with a value locally assigned to the IWF and consistent with SS7 routing principles.
extensionContainer in PurgeMS-Arg shall be absent.
8.4.2 PurgeMS-Res / Error mapping to PUA
When the IWF needs to construct an PUA command as a result of receiving a PurgeMS Ack/Error message (see sections 7.4.1 step 4 and 7.4.2. step 6), the IWF shall populate AVPs of PUA as described below:
Result-Code / Experimental-Result AVP shall be set to:
– DIAMETER_SUCCESS if a PurgeMS-Res parameter was received in a TCAP ResultLast component;
– DIAMETER_ERROR_USER_UNKNOWN if an error of unknownSubscriber without a diagnostic parameter or with a diagnostic parameter of imsiUnknown or gprs-eps-SubscriptionUnknown was received;
– an appropriate DIAMETER base protocol result code otherwise.
Auth-Session-State AVP shall be set to the value NO_STATE_MAINTAINED (1).
PUA-Flags AVP: Flags shall be set as follows:
– Freeze M-TMSI shall be set to 1 if the freezeM-TMSI parameter was present within PurgeMS-Res; otherwise shall be set to 0.
– Freeze P-TMSI shall be set to 1 if the freezeP-TMSI parameter was present within PurgeMS-Res; otherwise shall be set to 0.
8.4.3 PurgeMS-Arg mapping to PUR
When the IWF needs to construct a PUR command as a result of receiving a MAP-PurgeMS message (see section 7.4.2 step 3), the the IWF shall populate AVPs of PUR as described below:
Auth-Session-State AVP shall be set to the value NO_STATE_MAINTAINED (1).
User-Name AVP shall be populated with the value received within the imsi parameter of PurgeMS-Arg.
Supported-Features AVP shall be absent.
8.4.4 PUA mapping to PurgeMS-Res/Error
When the IWF needs to construct MAP-PurgeMS Ack message as a result of receiving a PUA command (see section 7.4.2.step 5), the IWF shall populate sub-parameters of PurgeMS-Res/Error as described below:
PurgeMS-Res:
freezeTMSI in PurgeMS-Res shall be absent.
freezeP-TMSI in PurgeMS-Res shall be present if a Freeze-P-TMSI indication was received within the PUA-Flags AVP within PUA.
extensionContainer in PurgeMS-Res shall be absent.
freezeM-TMSI in PurgeMS-Res shall be present if a Freeze-M-TMSI indication was received within the PUA-Flags AVP within PUA.
PurgeMS Error:
An error of unknownSubscriber with unknownSubscriberParam containing a unknownSubscriberDiagnostic of "imsiUnknown" shall be sent if the received AIA command contains an Experimental-Result AVP with a value of "User Unknown".
Values other than SUCCESS within the Result-Code / Experimental-Result AVP shall be mapped onto an appropriate MAP error.