8 Registration
34.229-13GPPInternet Protocol (IP) multimedia call control protocol based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP)Part 1: Protocol conformance specificationRelease 16TSUser Equipment (UE) conformance specification
TCP (Transmission Control Protocol) is applied as DL transport protocol to the present clause.
8.1 Initial registration
8.1.1 Definition
Test to verify that the UE can correctly register to IMS services when equipped with UICC that contains either both ISIM and USIM applications or only USIM application but not ISIM. The process consists of sending initial registration to S-CSCF via the P-CSCF discovered, authenticating the user and finally subscribing the registration event package for the registered default public user identity.
8.1.2 Conformance requirement
[TS 24.229, clause C.2]:
In case the UE is loaded with a UICC that contains a USIM but does not contain an ISIM, the UE shall:
– generate a private user identity;
– generate a temporary public user identity; and
– generate a home network domain name to address the SIP REGISTER request to.
All these three parameters are derived from the IMSI parameter in the USIM, according to the procedures described in 3GPP TS 23.003. Also in this case, the UE shall derive new values every time the UICC is changed, and shall discard existing values if the UICC is removed.
NOTE: If there is an ISIM and a USIM on a UICC, the ISIM is used for authentication to the IM CN subsystem, as described in 3GPP TS 33.203. See also subclause 5.1.1.1A.
[TS 24.229, clause 5.1.1.1A]:
This subclause applies when a UE contains either an ISIM or a USIM.
The ISIM shall always be used for authentication to the IM CN subsystem, if it is present, as described in 3GPP TS 33.203.
The ISIM is preconfigured with all the necessary parameters to initiate the registration to the IM CN subsystem. These parameters include:
– the private user identity;
– one or more public user identities; and
– the home network domain name used to address the SIP REGISTER request
The first public user identity in the list stored in the ISIM is used in emergency registration requests.
In case the UE does not contain an ISIM, the UE shall:
– generate a private user identity;
– generate a temporary public user identity; and
– generate a home network domain name to address the SIP REGISTER request to;
in accordance with the procedures in clause C.2.
The temporary public user identity is only used in REGISTER requests, i.e. initial registration, re-registration, mobile-initiated deregistration.
The UE shall not reveal to the user the temporary public user identity if the temporary public user identity is barred. The temporary public user identity is not barred if received by the UE in the P-Associated-URI header.
If the UE is unable to derive the parameters in this subclause for any reason, then the UE shall not proceed with the request associated with the use of these parameters and will not be able to register to the IM CN subsystem.
[TS 24.229, clause 5.1.1.2.1]:
The initial registration procedure consists of the UE sending an unprotected REGISTER request and, if challenged depending on the security mechanism supported for this UE, sending the integrity-protected REGISTER request or other appropriate response to the challenge. The UE can register a public user identity with any of its contact addresses at any time after it has acquired an IP address, discovered a P-CSCF, and established an IP-CAN bearer that can be used for SIP signalling. However, the UE shall only initiate a new registration procedure when it has received a final response from the registrar for the ongoing registration, or the previous REGISTER request has timed out.
When registering any public user identity belonging to the UE, the UE shall either use an already active pair of security associations or a TLS session to protect the REGISTER requests, or register the public user identity via a new initial registration procedure.
When binding any one of its public user identities to an additional contact address via a new initial registration procedure, the UE shall follow the procedures described in RFC 5626. The set of security associations or a TLS session resulting from this initial registration procedure will have no impact on the existing set of security associations or TLS sessions that have been established as a result of previous initial registration procedures. However, if the UE registers any one of its public user identities with a new contact address via a new initial registration procedure and does not employ the procedures described in RFC 5626, then the new set of security associations or TLS session shall replace any existing set of security association or TLS session.
If the UE detects that the existing security associations or TLS sessions associated with a given contact address are no longer active (e.g., after receiving no response to several protected messages), the UE shall:
– consider all previously registered public user identities bound to this security associations or TLS session that are only associated with this contact address as deregistered; and
– stop processing all associated ongoing dialogs and transactions that were using the security associations or TLS session associated with this contact address, if any (i.e. no further SIP signalling will be sent by the UE on behalf of these transactions or dialogs).
The UE shall send the unprotected REGISTER requests to the port advertised to the UE during the P-CSCF discovery procedure. If the UE does not receive any specific port information during the P-CSCF discovery procedure, or if the UE was pre-configured with the P-CSCF’s IP address or domain name and was unable to obtain specific port information, the UE shall send the unprotected REGISTER request to the SIP default port values as specified in RFC 3261.
NOTE 1: The UE will only send further registration and subsequent SIP messages towards the same port of the P-CSCF for security mechanisms that do not require using negotiated ports for exchanging protected messages.
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B. A public user identity may be input by the end user.
[TS 24.229 Rel-8, clause 5.1.1.2.1]:
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations, the UE shall include a "+sip.instance" header field parameter containing the instance ID. If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223;
NOTE 2: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 3: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4).
[TS 24.229 Rel-9, clause 5.1.1.2.1]:
…
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 4: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
[TS 24.229 Rel-8, clause 5.1.1.2.1]:
On receiving the 200 (OK) response to the REGISTER request, the UE shall:
a) store the expiration time of the registration for the public user identities found in the To header field value and bind it either to the respective contact address of the UE or to the registration flow and the associated contact address (if the multiple registration mechanism is used);
b) store as the default public user identity the first URI on the list of URIs present in the P-Associated-URI header field and bind it to the respective contact address of the UE and the associated set of security associations or TLS session;
NOTE 4: When using the respective contact address and associated set of security associations or TLS session, the UE can utilize additional URIs contained in the P-Associated-URI header field and bound it to the respective contact address of the UE and the associated set of security associations or TLS session, e.g. for application purposes.
c) treat the identity under registration as a barred public user identity, if it is not included in the P-Associated-URI header field;
d) store the list of service route values contained in the Service-Route header field and bind the list either to the contact address or to the registration flow and the associated set of security associations or TLS session over which the REGISTER request was sent;
NOTE 5: When multiple registration mechanism is not used, there will be only one list of service route values bound to a contact address. However, when multiple registration mechanism is used, there will be different list of service route values bound to each registration flow and the associated contact address.
NOTE 6: The UE will use the stored list of service route values to build a proper preloaded Route header field for new dialogs and standalone transactions when using either the respective contact address or to the registration flow and the associated contact address (if the multiple registration mechanism is used), and the associated set of security associations or TLS session.
e) find the Contact header field within the response that matches the one included in the REGISTER request. If this contains a "pub-gruu" header field parameter or a "temp-gruu" header field parameter or both, and the UE supports GRUU (see table A.4, item A.4/53), then store the value of those parameters as the GRUUs for the UE in association with the public user identity and the contact address that was registered;
f) if the REGISTER request contained the "reg-id" and "+sip.instance" Contact header field parameter and the "outbound" option tag in a Supported header field, the UE shall check whether the option-tag "outbound" is present in the Require header field:
– if no option-tag "outbound" is present, the UE shall conclude that the S-CSCF does not support the registration procedure as described in RFC 5626, and the S-CSCF has followed the registration procedure as described in RFC 5627 or RFC 3261, i.e., if there is a previously registered contact address, the S-CSCF replaced the old contact address and associated information with the new contact address and associated information (see bullet e) above). Upon detecting that the S-CSCF does not support the registration procedure as defined in RFC 5626, the UE shall refrain from registering any additional IMS flows for the same private identity as described in RFC 5626; or
NOTE 7: Upon replaces the old contact address with the new contact address, the S-CSCF performs the network initiated deregistration procedure for the previously registered public user identities and the associated old contact address as described in subclause 5.4.1.5. Hence, the UE will receive a NOTIFY request informing the UE about the deregistration of the old contact address.
– if an option-tag "outbound" is present, the UE may establish additional IMS flows for the same private identity, as defined in RFC 5626; and
g) if the Via header field contains a "keep" header field parameter with a value, unless the UE detects that it is not behind a NAT, start to send keep-alives associated with the registration towards the P-CSCF, as described in RFC 6223.[TS 24.229 Rel-9, clause 5.1.1.2.1]:
…
g) store the announcement of media plane security mechanisms the P-CSCF (IMS-ALG) supports labelled with the "mediasec" header field parameter specified in subclause 7.2A.7 and received in the Security-Server header field, if any. Once the UE chooses a media security mechanism from the list received in the Security-Server header field from the server, it may initiate that mechanism on a media level when it initiates new media in an existing session; and
NOTE 9: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane
h) if the Via header field contains a "keep" header field parameter with a value, unless the UE detects that it is not behind a NAT, start to send keep-alives associated with the registration towards the P-CSCF, as described in RFC 6223.
[TS 24.229 Rel-10, clause 5.1.1.2.1]:
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE:
1) supports GRUU (see table A.4, item A.4/53);
2) supports multiple registrations;
3) has an IMEI available; or
4) has an MEID available;
the UE shall include a "+sip.instance" header field parameter containing the instance ID. Only the IMEI shall be used for generating an instance ID for a multi-mode UE that supports both 3GPP and 3GPP2 defined radio access networks.
NOTE 2: The requirement placed on the UE to include an instance ID based on the IMEI or the MEID when the UE does not support GRUU and does not support multiple registrations does not imply any additional requirements on the network.
If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626 [92]. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 [62] for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840 [62];
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223 [143];
NOTE 3: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 4: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 5: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
On receiving the 200 (OK) response to the REGISTER request, the UE shall:
a) store the expiration time of the registration for the public user identities found in the To header field value and bind it either to the respective contact address of the UE or to the registration flow and the associated contact address (if the multiple registration mechanism is used);
b) store as the default public user identity the first URI on the list of URIs present in the P-Associated-URI header field and bind it to the respective contact address of the UE and the associated set of security associations or TLS session;
NOTE 6: When using the respective contact address and associated set of security associations or TLS session, the UE can utilize additional URIs contained in the P-Associated-URI header field and bound it to the respective contact address of the UE and the associated set of security associations or TLS session, e.g. for application purposes.
c) treat the identity under registration as a barred public user identity, if it is not included in the P-Associated-URI header field;
d) store the list of service route values contained in the Service-Route header field and bind the list either to the contact address or to the registration flow and the associated contact address (if the multiple registration mechanism is used), and the associated set of security associations or TLS session over which the REGISTER request was sent;
NOTE 7: When multiple registration mechanism is not used, there will be only one list of service route values bound to a contact address. However, when multiple registration mechanism is used, there will be different list of service route values bound to each registration flow and the associated contact address.
NOTE 8: The UE will use the stored list of service route values to build a proper preloaded Route header field for new dialogs and standalone transactions when using either the respective contact address or to the registration flow and the associated contact address (if the multiple registration mechanism is used), and the associated set of security associations or TLS session.
e) find the Contact header field within the response that matches the one included in the REGISTER request. If this contains a "pub-gruu" header field parameter or a "temp-gruu" header field parameter or both, and the UE supports GRUU (see table A.4, item A.4/53), then store the value of those parameters as the GRUUs for the UE in association with the public user identity and the contact address that was registered;
f) if the REGISTER request contained the "reg-id" and "+sip.instance" Contact header field parameter and the "outbound" option tag in a Supported header field, the UE shall check whether the option-tag "outbound" is present in the Require header field:
– if no option-tag "outbound" is present, the UE shall conclude that the S-CSCF does not support the registration procedure as described in RFC 5626, and the S-CSCF has followed the registration procedure as described in RFC 5627 or RFC 3261, i.e., if there is a previously registered contact address, the S-CSCF replaced the old contact address and associated information with the new contact address and associated information (see bullet e) above). Upon detecting that the S-CSCF does not support the registration procedure as defined in RFC 5626, the UE shall refrain from registering any additional IMS flows for the same private identity as described in RFC 5626; or
NOTE 9: Upon replaces the old contact address with the new contact address, the S-CSCF performs the network initiated deregistration procedure for the previously registered public user identities and the associated old contact address as described in subclause 5.4.1.5. Hence, the UE will receive a NOTIFY request informing the UE about the deregistration of the old contact address.
– if an option-tag "outbound" is present, the UE may establish additional IMS flows for the same private identity, as defined in RFC 5626;
g) store the announcement of media plane security mechanisms the P-CSCF (IMS-ALG) supports labelled with the "mediasec" header field parameter specified in subclause 7.2A.7 and received in the Security-Server header field, if any. Once the UE chooses a media security mechanism from the list received in the Security-Server header field from the server, it may initiate that mechanism on a media level when it initiates new media in an existing session; and
NOTE 10: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
h) if the Via header field contains a "keep" header field parameter with a value, unless the UE detects that it is not behind a NAT, start to send keep-alives associated with the registration towards the P-CSCF, as described in RFC 6223.
[TS 24.229, clause 5.1.1.2.2]:
On sending a REGISTER request, as defined in subclause 5.1.1.2.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field, with:
– the "username" header field parameter, set to the value of the private user identity;
– the "realm" header field parameter, set to the domain name of the home network;
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "nonce" header field parameter, set to an empty value; and
– the "response" header field parameter, set to an empty value;
NOTE 1: If the UE specifies its FQDN in the hostport parameter in the Contact header field and in the sent-by field in the Via header field, then it has to ensure that the given FQDN will resolve (e.g., by reverse DNS lookup) to the IP address that is bound to the security association.
NOTE 2: The UE associates two ports, a protected client port and a protected server port, with each pair of security association. For details on the selection of the port values see 3GPP TS 33.203.
b) additionally for the Contact header field, if the REGISTER request is protected by a security association, include the protected server port value in the hostport parameter;
c) additionally for the Via header field, for UDP, if the REGISTER request is protected by a security association, include the protected server port value in the sent-by field; and
d) a Security-Client header field set to specify the signalling plane security mechanism the UE supports, the IPsec layer algorithms the UE supports and the parameters needed for the security association setup. The UE shall support the setup of two pairs of security associations as defined in 3GPP TS 33.203. The syntax of the parameters needed for the security association setup is specified in annex H of 3GPP TS 33.203. The UE shall support the "ipsec-3gpp" security mechanism, as specified in RFC 3329. The UE shall support the IPsec layer algorithms for integrity and confidentiality protection as defined in 3GPP TS 33.203, and shall announce support for them according to the procedures defined in RFC 3329.
On receiving the 200 (OK) response to the REGISTER request defined in subclause 5.1.1.2.1, the UE shall additionally:
1) If the UE supports multiple registrations and the REGISTER request contained the "+sip.instance" header field parameter and the "reg-id" header field parameter in the Contact header field, and the "outbound" option-tag in the Supported header field, the UE shall check whether the option-tag "outbound" is present in the Require header field. If the option-tag "outbound" is present, then the UE shall use the bidirectional flow as defined in RFC 5626 as follows:
a) for UDP, the bidirectional flow consists of two unidirectional flows, i.e. the first unidirectional flow is identified with the UE’s protected client port, the P-CSCF’s protected server port, and the respective IP addresses. The UE uses this flow to send the requests and responses to the P-CSCF. The second unidirectional flow is identified with the P-CSCF’s protected client port, the UE’s protected server port and the IP addresses. The second unidirectional flow is used by the UE to receive the requests and responses from the P-CSCF; or
b) for TCP, the bidirectional flow is the TCP connection between the UE and the P-CSCF. This TCP connection was established by the UE, i.e. from the UE’s protected client port and the UE’s IP address to the P-CSCF’s protected server port and the P-CSCF’s IP address. This TCP connection is used to exchange SIP messages between the UE and the P-CSCF; and
2) set the security association lifetime to the longest of either the previously existing security association lifetime (if available), or the lifetime of the just completed registration plus 30 seconds.
NOTE 3: If the UE receives Authentication-Info, it will proceed as described in RFC 3310.
When a 401 (Unauthorized) response to a REGISTER is received the UE shall behave as described in subclause 5.1.1.5.1.
[TS 24.229, clause 5.1.1.5.1]:
Authentication is performed during initial registration. A UE can be re-authenticated during subsequent reregistrations, deregistrations or registrations of additional public user identities. When the network requires authentication or re-authentication of the UE, the UE will receive a 401 (Unauthorized) response to the REGISTER request.
On receiving a 401 (Unauthorized) response to the REGISTER request, the UE shall:
1) extract the RAND and AUTN parameters;
2) check the validity of a received authentication challenge, as described in 3GPP TS 33.203 i.e. the locally calculated XMAC must match the MAC parameter derived from the AUTN part of the challenge; and the SQN parameter derived from the AUTN part of the challenge must be within the correct range; and
3) check the existence of the Security-Server header field as described in RFC 3329. If the Security-Server header field is not present or it does not contain the parameters required for the setup of the set of security associations (see annex H of 3GPP TS 33.203), the UE shall abandon the authentication procedure and send a new REGISTER request with a new Call-ID.
[TS 24.229 Rel-8, clause 5.1.1.5.1]:
In the case that the 401 (Unauthorized) response to the REGISTER request is deemed to be valid the UE shall:
1) calculate the RES parameter and derive the keys CK and IK from RAND as described in 3GPP TS 33.203;
2) set up a temporary set of security associations for this registration based on the static list and parameters the UE received in the 401 (Unauthorized) response and its capabilities sent in the Security-Client header field in the REGISTER request. The UE sets up the temporary set of security associations using the most preferred mechanism and algorithm returned by the P-CSCF and supported by the UE and using IK and CK (only if encryption enabled) as the shared key. The UE shall use the parameters received in the Security-Server header field to setup the temporary set of security associations. The UE shall set a temporary SIP level lifetime for the temporary set of security associations to the value of reg-await-auth timer; and
3) send another REGISTER request towards the protected server port indicated in the response using the temporary set of security associations to protect the message. The header fields are populated as defined for the initial REGISTER request that was challenged with the received 401 (Unauthorized) response, with the addition that the UE shall include an Authorization header field containing:
– the "realm" header field parameter set to the value as received in the "realm" WWW-Authenticate header field parameter;
– the "username" header field parameter, set to the value of the private user identity;
– the "response" header field parameter that contains the RES parameter, as described in RFC 3310;
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "algorithm" header field parameter, set to the value received in the 401 (Unauthorized) response; and
– the "nonce" header field parameter, set to the value received in the 401 (Unauthorized) response.
The UE shall also insert the Security-Client header field that is identical to the Security-Client header field that was included in the previous REGISTER request (i.e. the REGISTER request that was challenged with the received 401 (Unauthorized) response). The UE shall also insert the Security-Verify header field into the request, by mirroring in it the content of the Security-Server header field received in the 401 (Unauthorized) response. The UE shall set the Call-ID of the security association protected REGISTER request which carries the authentication challenge response to the same value as the Call-ID of the 401 (Unauthorized) response which carried the challenge.
[TS 24.229 Rel-9, clause 5.1.1.5.1]:
In the case that the 401 (Unauthorized) response to the REGISTER request is deemed to be valid the UE shall:
1) calculate the RES parameter and derive the keys CK and IK from RAND as described in 3GPP TS 33.203 [19];
2) set up a temporary set of security associations for this registration based on the static list and parameters the UE received in the 401 (Unauthorized) response and its capabilities sent in the Security-Client header field in the REGISTER request. The UE sets up the temporary set of security associations using the most preferred mechanism and algorithm returned by the P-CSCF and supported by the UE and using IK and CK (only if encryption enabled) as the shared key. The UE shall use the parameters received in the Security-Server header field to setup the temporary set of security associations. The UE shall set a temporary SIP level lifetime for the temporary set of security associations to the value of reg-await-auth timer;
3) store the announcement of the media plane security mechanisms the P-CSCF (IMS-ALG) supports received in the Security-Server header field and labelled with the "mediasec" header field parameter specified in subclause 7.2A.7, if any; and
NOTE 1: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
4) send another REGISTER request towards the protected server port indicated in the response using the temporary set of security associations to protect the message. The header fields are populated as defined for the initial REGISTER request that was challenged with the received 401 (Unauthorized) response, with the addition that the UE shall include an Authorization header field containing:
– the "realm" header field parameter set to the value as received in the "realm" WWW-Authenticate header field parameter;
– the "username" header field parameter, set to the value of the private user identity;
– the "response" header field parameter that contains the RES parameter, as described in RFC 3310 [49];
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "algorithm" header field parameter, set to the value received in the 401 (Unauthorized) response; and
– the "nonce" header field parameter, set to the value received in the 401 (Unauthorized) response.
The UE shall also insert the Security-Client header field that is identical to the Security-Client header field that was included in the previous REGISTER request (i.e. the REGISTER request that was challenged with the received 401 (Unauthorized) response). The UE shall also insert the Security-Verify header field into the request, by mirroring in it the content of the Security-Server header field received in the 401 (Unauthorized) response. The UE shall set the Call-ID of the security association protected REGISTER request which carries the authentication challenge response to the same value as the Call-ID of the 401 (Unauthorized) response which carried the challenge.
[TS 24.229, clause 5.1.1.5.1]:
On receiving the 200 (OK) response for the security association protected REGISTER request registering a public user identity with the associated contact address, the UE shall:
– change the temporary set of security associations to a newly established set of security associations, i.e. set its SIP level lifetime to the longest of either the previously existing set of security associations SIP level lifetime, or the lifetime of the just completed registration plus 30 seconds; and
– if this is the only set of security associations available toward the P-CSCF, use the newly established set of security associations for further messages sent towards the P-CSCF. If there are additional sets of security associations (e.g. due to registration of multiple contact addresses), the UE can either use them or use the newly established set of security associations for further messages sent towards the P-CSCF as appropriate.
NOTE 2: If the UE has registered multiple contact addresses, the UE can either send requests towards the P-CSCF over the newly established set of security associations, or use different UE’s contact address and associated set of security associations when sending the requests towards the P-CSCF. Responses towards the P-CSCF that are sent via UDP will be sent over the same set of security associations that the related request was received on. Responses towards the P-CSCF that are sent via TCP will be sent over the same set of security associations that the related request was received on.
When the first request or response protected with the newly established set of security associations is received from the P-CSCF or when the lifetime of the old set of security associations expires, the UE shall delete the old set of security associations and related keys it may have with the P-CSCF after all SIP transactions that use the old set of security associations are completed.
[TS 24.229, clause 5.1.1.3]:
Upon receipt of a 2xx response to the initial registration, the UE shall subscribe to the reg event package for the public user identity registered at the user’s registrar (S-CSCF) as described in RFC 3680.
The UE shall subscribe to the reg event package upon registering a new contact address via an initial registration procedure. If the UE receives a NOTIFY request via the newly established subscription dialog and via the previously established subscription dialogs (there will be at least one), the UE may terminate the previously established subscription dialogs and keep only the newly established subscription dialog.
The UE shall use the default public user identity for subscription to the registration-state event package, if the public user identity that was used for initial registration is a barred public user identity. The UE may use either the default public user identity or the public user identity used for initial registration for the subscription to the registration-state event package, if the initial public user identity that was used for initial registration is not barred.
[TS 24.229 Rel-8, clause 5.1.1.3]:
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
g) a Contact header field set to contain:.
the same IP address or FQDN, and if multiple registrations is supported, its instance ID ("+sip.instance" header field parameter) and an "ob" SIP URI parameter as described in RFC 5626;
– if IMS AKA or SIP digest with TLS is being used as a security mechanism, the protected server port value as in the initial registration; and
– if SIP digest without TLS, NASS-IMS bundled authentication or GPRS-IMS-Bundled authentication is being used as a security mechanism, the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests. The UE shall set the unprotected port value to the port value used in the initial REGISTER request.
Upon receipt of a 2xx response to the SUBSCRIBE request, the UE shall store the information for the established dialog and the expiration time as indicated in the Expires header field of the received response.
[TS 24.229 Rel-9, clause 5.1.1.3]:
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) void; and
g) void.
Upon receipt of a 2xx response to the SUBSCRIBE request, the UE shall store the information for the established dialog and the expiration time as indicated in the Expires header field of the received response.
[TS 24.229, clause 5.1.2.1]:
Upon receipt of a 2xx response to the SUBSCRIBE request the UE shall maintain the generated dialog (identified by the values of the Call-ID header field, and the values of tags in To and From header fields).
Upon receipt of a NOTIFY request on the dialog which was generated during subscription to the reg event package the UE shall perform the following actions:
– if a state attribute "active", i.e. registered is received for one or more public user identities, the UE shall store the indicated public user identities as registered;
– if a state attribute "active" is received, and the UE supports GRUU (see table A.4, item A.4/53), then for each public user identity indicated in the notification that contains a <pub-gruu> element or a <temp-gruu> element or both (as defined in RFC 5628) then the UE shall store the value of those elements in association with the public user identity;
– if a state attribute "terminated", i.e. deregistered is received for one or more public user identities, the UE shall store the indicated public user identities as deregistered and shall remove any associated GRUUs.
NOTE 1: There may be public user identities which are automatically registered within the registrar (S-CSCF) of the user upon registration of one public user identity or when S-CSCF receives a Push-Profile-Request (PPR) from the HSS (as described in 3GPP TS 29.228) changing the status of a public user identity associated with a registered implicit set from barred to non-barred. Usually these automatically or implicitly registered public user identities belong to the same service profile of the user and they might not be available within the UE. The implicitly registered public user identities may also belong to different service profiles. The here-described procedures provide a different mechanism (to the 200 (OK) response to the REGISTER request) to inform the UE about these automatically registered public user identities.
NOTE 2: RFC 5628 provides guidance on the management of temporary GRUUs, utilizing information provided in the reg event notification.
[TS 24.229, clause 5.1.2A.1.1]:
The procedures of this subclause are general to all requests and responses, except those for the REGISTER method.
When the UE sends any request using either a given contact address, or to the registration flow and the associated contact address the UE shall:
– if IMS AKA is in use as a security mechanism:
a) if the UE has not obtained a GRUU, populate the Contact header field of the request with the protected server port and the respective contact address; and
b) include the protected server port and the respective contact address in the Via header field entry relating to the UE;
– if SIP digest without TLS is in use as a security mechanism:
a) if the UE has not obtained a GRUU, populate the Contact header field of the request with the port value of an unprotected port and the contact address where the UE expects to receive subsequent mid-dialog requests; and
b) populate the Via header field of the request with the port value of an unprotected port and the respective contact address where the UE expects to receive responses to the request;
…
If available to the UE (as defined in the access technology specific annexes for each access technology), the UE shall insert a P-Access-Network-Info header field into any request for a dialog, any subsequent request (except ACK requests and CANCEL requests) or response (except CANCEL responses) within a dialog or any request for a standalone method (see subclause 7.2A.4).
NOTE 13: During the dialog, the points of attachment to the IP-CAN of the UE may change (e.g. UE connects to different cells). The UE will populate the P-Access-Network-Info header field in any request or response within a dialog with the current point of attachment to the IP-CAN (e.g. the current cell information).
The UE shall build a proper preloaded Route header field value for all new dialogs and standalone transactions. The UE shall build a list of Route header field values made out of the following, in this order:
a) the P-CSCF URI containing the IP address or the FQDN learnt through the P-CSCF discovery procedures; and
b) the P-CSCF port based on the security mechanism in use:
– if IMS AKA or SIP digest with TLS is in use as a security mechanism, the protected server port learnt during the registration procedure;
– if SIP digest without TLS, NASS-IMS bundled authentication or GPRS-IMS-Bundled authentication is in use as a security mechanism, the unprotected server port used during the registration procedure;
c) and the values received in the Service-Route header field saved from the 200 (OK) response to the last registration or re-registration of the public user identity with associated contact address.
[TS 24.341, clause 5.3.2.2]
On sending a REGISTER request, the SM-over-IP receiver shall indicate its capability to receive traditional short messages over IMS network by including a "+g.3gpp.smsip" parameter into the Contact header according to RFC 3840.
Reference(s)
3GPP TS 24.229 [10], clauses 5.1.1.1A, 5.1.1.2.1 5.1.1.2, 5.1.1.35.1.1.5.1, 5.1.2.1, 5.1.2A.1, C.2 and TS 24.341, clause 5.3.2.2.
8.1.3 Test purpose
1) To verify that UE correctly derives a private user identity, a temporary public user identity and a home network domain name from the IMSI parameter in the USIM if no ISIM is available on the UICC, according to the procedures described in 3GPP TS 23.003 [32] clause 13 or alternatively uses the values retrieved from ISIM, if ISIM is present; and
2) To verify that the UE sends a correctly composed initial REGISTER request to S-CSCF via the discovered P-CSCF, according to 3GPP TS 24.229 [10] clause 5.1.1.2; and TS 24.341 [90] clause 5.3.2.2 (if UE supports SM-over-IP receiver marked as yes)
3) To verify that after receiving a valid 401 (Unauthorized) response from S-CSCF for the initial REGISTER sent, the UE correctly authenticates itself by sending another REGISTER request with correctly composed Authorization header using AKAv1-MD5 algorithm (as described in RFC 3310 [17]); and
4) To verify that the UE announces to support the "ipsec-3gpp" security mechanism together the IPsec layer algorithms for integrity (Rel-5 onwards) and confidentiality (Rel-6 onwards) protection (as defined in 3GPP TS 33.203)according to the procedures defined in RFC 3329 [21]; and
5) To verify that the UE supports the IPsec layer algorithms for integrity (Rel-5 onwards) and confidentiality (Rel-6 onwards) protection as defined in 3GPP TS 33.203and uses the one that is preferred by the P-CSCF according to the procedures defined in RFC 3329 [21]; and
6) To verify that the UE sets up two pairs of security associations as defined in 3GPP TS 33.203 [14] clause 7 and uses those for sending the REGISTER request to authenticate itself and for sending any other subsequent request; and
7) To verify that after receiving a valid 200 OK response from S-CSCF for the REGISTER sent for authentication, the UE stores the default public user identity and information about barred user identities; and
8) To verify that after receiving a valid 200 OK response from S-CSCF for the REGISTER sent for authentication, the UE subscribes to the reg event package for the public user identity registered at the users registrar (S-CSCF) as described in RFC 3680 [22]; and
9) To verify that the UE uses the default public user identity for subscription to the registration-state event package, when the public user identity that was used for initial registration is a barred public user identity; and
10) To verify that the UE uses the stored service route for routing the SUBSCRIBE sent; and
11) To verify that after receiving a valid 200 OK response from S-CSCF to the SUBSCRIBE sent for registration event package, the UE maintains the generated dialog; and
12) To verify that after receiving a valid NOTIFY for the registration event package, the UE will update and store the registration state of the indicated public user identities accordingly (as specified in RFC 3680 [22] clause 5); and
13) To verify that the UE responds the received valid NOTIFY with 200 OK.
8.1.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services.
SS is configured with the IMSI within the USIM application, the home domain name, public and private user identities together with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) that is configured on the UICC card equipped into the UE. SS is listening to SIP default port 5060 for both UDP and TCP protocols. SS is able to perform AKAv1-MD5 authentication algorithm for that IMPI, according to 3GPP TS 33.203 [14] clause 6.1 and RFC 3310 [17].
Test procedure
1-11) Execute the generic test procedure in Annex C.2 up to the last step.
NOTE: This test case shall be run twice in order to test that the UE correctly supports both HMAC-MD5-96 and HMAC-SHA-1-96 algorithms. For each test round the name of the corresponding algorithm shall be configured into px_IMS_IpSecAlgorithm PIXIT.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1-11 |
Steps defined in C.2 |
IMS Registration |
||
8.1.5 Test requirements
If the UICC card equipped to the UE contains ISIM, the UE must read the following parameters from ISIM (instead of deriving them from USIM) and use they for the REGISTER requests:
– the private user identity; and
– the temporary public user identity; and
– the home network domain name.
Step 3: SS shall check that in accordance to the 3GPP TS 24.229 [10] clause 5.1.1.5 the UE sends another REGISTER request as follows:
a) the UE sets up the temporary set of security associations between the ports announced in Security-Client header (UE) in the REGISTER request and Security-Server header (SS) in the 401 Unauthorized response; and
b) the UE uses the most preferred mechanism and algorithm returned by the SS and supported by the UE for the temporary set of security associations; and
c) the UE uses IK derived from RAND as the shared key for integrity and confidentiality protection (if the UE supports IPSec ESP confidentiality protection) for the temporary set of security associations; and
d) the UE sends the second REGISTER over the temporary set of security associations; and
Step 5: SS shall check that, in accordance to the 3GPP TS 24.229 [10] clause 5.1.1.3, the UE sends a SUBSCRIBE request for registration event package over the newly established set of security associations.
NOTE: If the UE specifies its FQDN in the host parameter in the Contact header and in the sent-by field in the Via header (within any of the request sent by the UE), then SS has to ensure that the given FQDN will resolve (e.g., by reverse DNS lookup) to the IP address that is bound to the security association (or to the unprotected port in the initial REGISTER).
8.2 User Initiated Re-Registration
8.2.1 Definition
Test to verify that the UE can re-register a previously registered public user identity at any time. This process is described in 3GPP TS 24.229 [10], clause 5.1.1.4.
8.2.2 Conformance requirement
[TS 24.229, clause 5.1.1.4.1]:
The UE can perform the reregistration of a previously registered public user identity bound to any one of its contact addresses and the associated set of security associations or TLS sessions at any time after the initial registration has been completed.
The UE can perform the reregistration of a previously registered public user identity over any existing set of security associations or TLS session that is associated with the related contact address.
The UE can perform the reregistration of a previously registered public user identity via an initial registration as specified in subclause 5.1.1.2, when binding the previously registered public user identity to new contact address.
The UE can perform registration of additional public user identities at any time after the initial registration has been completed. The UE shall perform the registration of additional public user identities either:
– over the existing set of security associations or TLS sessions, if appropriate to the security mechanism in use, that is associated with the related contact address; or
– via an initial registration as specified in subclause 5.1.1.2.
The UE can fetch bindings as defined in RFC 3261 at any time after the initial registration has been completed. The procedure for fetching bindings is the same as for a reregistration except that the REGISTER request does not contain a Contact header field.
Unless either the user or the application within the UE has determined that a continued registration is not required the UE shall reregister an already registered public user identity either 600 seconds before the expiration time if the previous registration was for greater than 1200 seconds, or when half of the time has expired if the previous registration was for 1200 seconds or less, or when the UE intends to update its capabilities according to RFC 3840 or when the UE needs to modify the ICSI values that the UE intends to use in a g.3gpp.icsi-ref media feature tag or IARI values that the UE intends to use in the g.3gpp.iari-ref media feature tag.
When sending a protected REGISTER request, the UE shall use a security association or TLS session associated with the contact address used to send the request, see 3GPP TS 33.203, established as a result of an earlier initial registration.
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B.
On sending a REGISTER request that does not contain a challenge response, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) that contain(s) in the hostport parameter the IP address or FQDN of the UE, and containing the instance ID of the UE in the "+sip.instance" header field parameter, if the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations. If the UE support multiple registrations, it shall include "reg-id" header field as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the IP address or FQDN of the UE in the sent-by field. For the TCP, the response is received on the TCP connection on which the request was sent. If the UE previously has previously negotiated sending of keep-alives associated with the registration, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate continuous support to send keep-alives, as described in draft-ietf-sipcore-keep;
e) a registration expiration interval value, set to 600 000 seconds as the value desired for the duration of the registration;
NOTE 1: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and if GRUU is supported, the option-tag "gruu";
h) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter.
NOTE 2: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
On receiving the 200 (OK) response to the REGISTER request, the UE shall:
a) bind the new expiration time of the registration for this public user identity found in the To header field value to the contact address used in this registration;
b) store the list of service route values contained in the Service-Route header field and bind the list to the contact address used in registration, in order to build a proper preloaded Route header field value for new dialogs and standalone transactions when using the respective contact address;
NOTE 3: If the list of Service-Route headers saved from a previous registration and bound to this contact address and the associated set of security associations or TLS session already exist, then the received list of Service-Route headers replaces the old list.
NOTE 4: The UE can utilize additional URIs contained in the P-Associated-URI header field, e.g. for application purposes.
c) find the Contact header field within the response that matches the one included in the REGISTER request. If this contains a "pub-gruu" header field parameter or a "temp-gruu" header field parameter or both, and the UE supports GRUU (see table A.4, item A.4/53), then store the value of those parameters as the GRUUs for the UE in association with the public user identity and the contact address that was registered;
d) store the announcement of the media plane security mechanisms the P-CSCF (IMS-ALG) supports received in the Security-Server header field, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter; and
NOTE 5: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
e) if the Via header field contains a "keep" header field parameter with a value, continue to send keep-alives as described in draft-ietf-sipcore-keep, towards the P-CSCF.
When a 401 (Unauthorized) response to a REGISTER is received the UE shall behave as described in subclause 5.1.1.5.1.
[TS 24.229, clause 5.1.1.4.2]:
On sending a REGISTER request, as defined in subclause 5.1.1.4.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field, with:
– the "username" header field parameter set to the value of the private user identity;
– the "realm" header field parameter directive, set to the value as received in the "realm" WWW-Authenticate header field parameter;
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "nonce" header field parameter, set to last received nonce value; and
– the "response" header field parameter, set to the last calculated response value;
NOTE 1: If the UE specifies its FQDN in the hostport parameter in the Contact header field and in the sent-by field in the Via header field, then it has to ensure that the given FQDN will resolve (e.g., by reverse DNS lookup) to the IP address that is bound to the security association.
NOTE 2: The UE associates two ports, a protected client port and a protected server port, with each pair of security associations. For details on the selection of the protected port value see 3GPP TS 33.203.
NOTE 3: If the UE is setting up an additional registration using procedures specified in RFC 5626 and the UE accesses the network through 3GPP or 3GPP2 systems without any NAT, the flow is considered to be "logical flow".
b) additionally for the Contact header field, include the protected server port value in the hostport parameter;
c) additionally for the Via header field, for UDP, if the REGISTER request is protected by a security association, include the protected server port value in the sent-by field;
d) a Security-Client header field, set to specify the signalling plane security mechanism it supports, the IPsec layer algorithms for security and confidentiality protection it supports and the new parameter values needed for the setup of two new pairs of security associations. For further details see 3GPP TS 33.203 and RFC 3329; and
e) a Security-Verify header field that contains the content of the Security-Server header field received in the 401 (Unauthorized) response of the last successful authentication.
On receiving the 200 (OK) response to the REGISTER request, the UE shall additionally:
a) set the security association lifetime associated with this contact address and the associated set of security associations to the longest of either the previously existing security association lifetime, or the lifetime of the just completed registration plus 30 seconds.
NOTE 4: If the UE receives Authentication-Info, it will proceed as described in RFC 3310.
Reference(s)
3GPP TS 24.229 [10], clauses 5.1.1.4.1 and 5.1.1.4.2.
8.2.3 Test purpose
1) To verify that the UE can re-register a previously registered public user identity at either 600 seconds before the expiration time if the initial registration was for greater than 1200 seconds, or when half of the time has expired if the initial registration was for 1200 seconds or less; and
2) Extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration; and
3) To verify that the UE populates the header field in the REGISTER request with From, To, Via, Contact, Authorization, Expires, Security-Client, Security-verify, Supported, and P-Access-Network-Info headers; and
4) Upon receiving 200 OK for REGISTER, the UE shall store the new expiration time of the registration for this public user identity, the list of URIs contained in the P-Associated-URI header value and use these values in the next re-register request.
8.2.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services, but has an active PDP context and has discovered the SS as P-CSCF by executing the generic test procedure in Annex C.2 up to step 3.
SS is configured with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) configured on the UICC card equipped into the UE. SS is able to perform AKAv1-MD5 authentication algorithm for that IMPI, according to 3GPP TS 33.203 [14] clause 6.1 and RFC 3310 [17].
Test procedure
1-8C) The same procedure as in Annex C.2 is used with the exception that the SS sets the expiration time to 120 seconds in Step 4.
9) Before half of the time has expired from the initial registration SS receives re-register message request with the From, To, Via, Contact, Authorization, Expires, Security-Client, Security-verify, Supported, and P-Access-Network-Info header fields.
10) SS responds to the REGISTER request with valid 200 OK response with the list of URIs contained in the P-Associated-URI header value, the new expiration time (1200 seconds) of the registration for this public user identity.
11) SS waits for the REGISTER request and verifies it is received at least 600 seconds before the expected expiration time.
12) SS responds to the REGISTER request with valid 200 OK response with the list of URIs contained in the P-Associated-URI header value, the new expiration time (1800 seconds) of the registration for this public user identity.
13) SS waits for the REGISTER request and verifies it is received at least 600 seconds before the expected expiration time.
14) SS responds to the REGISTER request with valid 200 OK response. SS shall populate the headers of the 200 OK response according to the 200 response for REGISTER common message definition.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1-8C |
Messages 1-11 of Annex C.2 |
The same messages as in Annex C.2 are used with the exception that in Step 7 of C.2, the SS responds with 200 OK indicating 120 seconds expiration time. |
||
|
9 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 60 seconds before the expiration time set in the initial registration request. |
|
|
10 |
🡨 |
200 OK |
The SS responds with 200 OK indicating 1200 seconds expiration time. |
|
|
11 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 600 seconds before the expiration time set in step 10. |
|
|
12 |
🡨 |
200 OK |
The SS responds with 200 OK indicating 1800 seconds expiration time. |
|
|
13 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 600 seconds before the expiration time set in step 12 |
|
|
14 |
🡨 |
200 OK |
The SS responds with 200 OK indicating the default expiration time. |
|
Specific Message Contents
Messages in Step 1-8C
Messages in Step 1-8C are the same as those specified in Annex C.2 with the following exception for the 200 OK for REGISTER in Step 7 of C.2:
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
120 |
REGISTER (Step 9)
Use the default message “REGISTER” in annex A.1.1 with conditions A2 "Subsequent REGISTER sent over security associations" and A17 "UE initiated IMS re-registration or de-registration" and with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Security-Client |
|
|
spi-c |
new SPI number of the inbound SA at the protected client port, shall be different than in step 3 |
|
spi-s |
new SPI number of the inbound SA at the protected server port, shall be different than in step 3 |
|
port-c |
new protected client port, shall be different than in step 3 |
|
port-s |
Same value as in the previous REGISTER |
200 OK for REGISTER (Step 10)
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
1200 |
REGISTER (Step 11)
Use the default message “REGISTER” in annex A.1.1 with conditions A2 "Subsequent REGISTER sent over security associations" and A17 "UE initiated IMS re-registration or de-registration" and with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Security-Client |
|
|
spi-c |
new SPI number of the inbound SA at the protected client port, shall be different than in step 3 but may or may not be the same as in step 9 |
|
spi-s |
new SPI number of the inbound SA at the protected server port, shall be different than in step 3 but may or may not be the same as in step 9 |
|
port-c |
new protected client port, shall be different than in step 3 but may or may not be the same as in step 9 |
|
port-s |
Same value as in the previous REGISTER |
200 OK for REGISTER (Step 12)
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
1800 |
REGISTER (Step 13)
Use the default message “REGISTER” in annex A.1.1 with conditions A2 "Subsequent REGISTER sent over security associations" and A17 "UE initiated IMS re-registration or de-registration" and with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Security-Client |
|
|
spi-c |
new SPI number of the inbound SA at the protected client port, shall be different than in step 3 but may or may not be the same as in step 9 or step 11 |
|
spi-s |
new SPI number of the inbound SA at the protected server port, shall be different than in step 3 but may or may not be the same as in step 9 or step 11 |
|
port-c |
new protected client, shall be different than in step 3 but may or may not be the same as in step 9 or step 11 |
|
port-s |
Same value as in the previous REGISTER |
200 OK for REGISTER (Step 14)
Use the default message “200 OK for REGISTER” in annex A.1.3.
8.2.5 Test requirements
1. The UE shall in step 9 send the REGISTER request within 60 seconds from the time instant that it receives 200 OK in step 4 from the SS.
2. The UE shall in step 11 send the REGISTER request within 600 seconds from the time instant that it receives 200 OK from the SS in step 10.
3. The UE shall in step 13 send the REGISTER request within 1200 seconds from the time instant that it receives 200 OK from the SS in step 12.
8.3 Mobile Initiated Deregistration
8.3.1 Definition
Test to verify that the UE can perform a correct de-registration procedure. This process is described in 3GPP TS 24.229 [10], clause 5.1.1.6.
8.3.2 Conformance requirement
[TS 24.229, clause 5.1.1.6.1]:
The UE can deregister a public user identity that it has previously registered with its contact address at any time. The UE shall protect the REGISTER request using a security association or TLS session that is associated with contact address, see 3GPP TS 33.203, established as a result of an earlier registration, if one is available.
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B.
Prior to sending a REGISTER request for deregistration, the UE shall release all dialogs that were using the contact addresses that is going to be deregistered and related to the public user identity that is going to be deregistered or to one of the implicitly registered public user identities. However:
– if the dialog that was established by the UE subscribing to the reg event package used the public user identity that is going to be deregistered; and
– this dialog is the only remaining dialog used for subscription to reg event package of the user, i.e. there are no other contact addresses registered with associated subscription to the reg event package of the user;
then the UE shall not release this dialog.
On sending a REGISTER request that will remove the binding between the public user identity and one of its contact addresses, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be deregistered;
b) a To header field set to the SIP URI that contains the public user identity to be deregistered;
c) a Contact header field set to the SIP URI(s) that contain(s) in the hostport parameter the IP address of the UE or FQDN, and containing the Instance ID of the UE in the "+sip.instance" header field parameter, if the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations. If the UE supports multiple registrations, it shall include "reg-id" header field parameter as described in RFC 5626;
d) a Via header field set to include the IP address or FQDN of the UE in the sent-by field;
e) a registration expiration interval value set to the value of zero, appropriate to the deregistration requirements of the user;
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
h) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter.
NOTE 1: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
For a public user identity that the UE has registered with multiple contact addresses (e.g. via different P-CSCFs), the UE shall also be able to deregister multiple contact addresses, bound to its public user identity, via single deregistration procedure as specified in RFC 3261. The UE shall send a single REGISTER request, using one of its contact addresses and the associated set of security associations or TLS session, containing a list of Contact headers. Each Contact header in the list shall contain the contact addresses that the UE wants to deregister with the "expires" parameter containing the value equal zero.
The UE can deregister all contact addresses bound to its public user identity and associated with its private user identity. The UE shall send a single REGISTER request, using one of its contact addresses and the associated set of security associations or TLS session, containing a public user identity that is being deregistered in the To header field, and a single Contact header field with value of "*" and the Expires header field with a value of "0".
NOTE 2: All entities subscribed to the reg event package of the user will be inform via NOTIFY request which contact addresses bound to the public user identity have been deregistered.
When a 401 (Unauthorized) response to a REGISTER request is received the UE shall behave as described in subclause 5.1.1.5.1.
On receiving the 200 (OK) response to the REGISTER request, the UE shall:
– remove all registration details relating to this public user identity and the associated contact address.
– store the announcement of the media plane security mechanisms the P-CSCF (IMS-ALG) supports received in the Security-Server header field, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter.
NOTE 9: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
If there are no more public user identities registered with this contact address, the UE shall delete any stored media plane security mechanisms and related keys and any security associations or TLS sessions and related keys it may have towards the IM CN subsystem.
If all public user identities are deregistered and all security association or TLS session is removed, then the UE shall consider subscription to the reg event package cancelled (i.e. as if the UE had sent a SUBSCRIBE request with an Expires header field containing a value of zero).
[TS 24.229, clause 5.1.1.6.2]:
On sending a REGISTER request, as defined in subclause 5.1.1.6.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field, with:
– the "username" header field parameter, set to the value of the private user identity;
– the "realm" header field parameter, set to the value as received in the "realm" WWW-Authenticate header field parameter;
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "nonce" header field parameter, set to last received nonce value; and
– the response directive, set to the last calculated response value;
b) additionally for each Contact header field and associated contact address, include the associated protected server port value in the hostport parameter;
c) additionally for the Via header field, include the protected server port value bound to the security association in the sent-by field;
NOTE 1: If the UE specifies its FQDN in the hostport parameter in the Contact header field and in the sent-by field in the Via header field, then it has to ensure that the given FQDN will resolve (e.g., by reverse DNS lookup) to the IP address that is bound to the security association.
d) a Security-Client header field, set to specify the signalling plane security mechanisms it supports, the IPsec layer algorithms for integrity and confidentiality protection it supports and the new parameter values needed for the setup of two new pairs of security associations. For further details see 3GPP TS 33.203 and RFC 3329; and
e) a Security-Verify header field that contains the content of the Security-Server header field received in the 401 (Unauthorized) response of the last successful authentication.
NOTE 2: When the UE has received the 200 (OK) response for the REGISTER request of the only public user identity currently registered with this contact address and its associated set of implicitly registered public user identities (i.e. no other public user identity is registered), the UE removes the security association (between the P-CSCF and the UE) that were using this contact address. Therefore further SIP signalling using this security association (e.g. the NOTIFY request containing the deregistration event) will not reach the UE.
Reference(s)
3GPP TS 24.229 [10], clauses 5.1.1.6.1 and 5.1.1.6.2.
8.3.3 Test purpose
1) To verify that the UE sends a correctly composed initial REGISTER request with an expiration interval value set to 0 to S-CSCF via the discovered P-CSCF, according to 3GPP TS 24.229 [10] clause 5.1.1.6.
2) To verify that the UE sends correctly composed unsubscriptions, in case the UE unsubscribes from its event packages.
8.3.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is registered to IMS services by performing the generic registration test procedure in Annex C.2 up to the last step.
SS is configured with the IMSI within the USIM application, the home domain name, public and private user identities together with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) that is configured on the UICC card equipped into the UE. SS is listening to SIP default port 5060 for both UDP and TCP protocols. SS is able to perform AKAv1-MD5 authentication algorithm for that IMPI, according to 3GPP TS 33.203 [14] clause 6.1 and RFC 3310 [17].
Test procedure
0) The UE is triggered by MMI to initiate a deregistration procedure.
0A-0D) UE optionally unsubscribes from event packages it had subscribed to.
1) IMS deregistration is initiated on the UE. SS waits for the UE to send a REGISTER request, in accordance to 3GPP TS 24.229 [10], clause 5.1.1.6.
2) SS responds to REGISTER with a correctly composed 200 OK message.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
0 |
Make the UE deregister from IMS |
|||
|
0A-2 |
Steps 0A-2 defined in Annex C.30 |
|||
8.3.5 Test Requirements
SS shall check in steps 0A-0D that the UE uses headers as described in C.30 in case it unsubscribes from event packages.
SS shall check in step 1 that the de-register request sent by the UE has the headers correctly populated as per the default message “REGISTER” in annex A.1.1 condition A2, except for the headers described in 8.3.4.
8.4 Invalid behaviour- 423 Interval too brief
8.4.1 Definition
Test to verify that the UE sends another REGISTER request using a correct expiration timer when a registration attempt was rejected with a 423 (Interval Too Brief) response.
8.4.2 Conformance requirement
On receiving a 423 (Interval Too Brief) response to the REGISTER request, the UE shall:
– send another REGISTER request populating the registration expiration interval value with an expiration timer of at least the value received in the Min-Expires header field of the 423 (Interval Too Brief) response.
Reference(s)
3GPP TS 24.229 [10], clause 5.1.1.2.1.
8.4.3 Test purpose
To verify that after receiving a valid 423 (Interval Too Brief) response to the REGISTER request, the UE sends another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.
8.4.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services, but has an active PDP context and has discovered the SS as P-CSCF by executing the generic test procedure in Annex C.2 up to step 3.
SS is configured with the IMSI within the USIM application, the home domain name, public and private user identities together with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) that is configured on the UICC card equipped into the UE. SS is listening to SIP default port 5060 for both UDP and TCP protocols.
Test procedure
1 IMS registration is initiated on the UE. SS waits for the UE to send an initial REGISTER request.
2 SS responds to the initial REGISTER request with a 423 (Interval Too Brief) response.
3 SS waits for the UE to send another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.
4 Continue test execution with the Generic test procedure in Annex C.2, step 5, with the modifications listed below.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1 |
🡪 |
REGISTER |
UE sends initial registration for IMS services. |
|
|
2 |
🡨 |
423 Interval Too Brief |
The SS responds with a 423 (Interval Too Brief) too brief response to the REGISTER request with T value in Min-Expires header. |
|
|
3 |
🡪 |
REGISTER |
UE sends a new REGISTER request with expires parameter value set to Tmod (equal or greater to T value in Min-Expires header of 423 (Interval Too Brief)). |
|
|
4 |
🡨🡪 |
Continue with Annex C.2 step 5 |
Execute the Generic test procedure Annex C.2 steps 5-11 in order to get the UE in a stable registered state. |
|
Specific Message Contents
REGISTER (Step 1)
Use the default message “REGISTER” in annex A.1.1 with condition A1 “Initial unprotected REGISTER”.
423 Interval Too Brief for REGISTER (Step 2)
Use the default message “423 Interval Too Brief for REGISTER” in annex A.1.7 with the following exception:
|
Header/param |
Value/remark |
|---|---|
|
Min-Expires |
|
|
delta-seconds |
800000 (referred to as T in the test procedure and test requirement) |
REGISTER (Step 3)
Use the default message “REGISTER” in annex A.1.1 with condition A1 “Initial unprotected REGISTER” with the following exceptions:
|
Header/param |
Value/remark |
|
Contact |
|
|
expires |
800000 (referred to as Tmod in the expected sequence) (if present, see Rule 1) |
|
Expires |
(if present, see Rule 1) |
|
delta-seconds |
800000 (referred to as Tmod in the expected sequence) |
|
CSeq |
|
|
value |
must be incremented from the previous REGISTER |
Rule 1: The REGISTER request must contain either an Expires header or an expires parameter in the Contact header. If both are present the value of Expires header is not important.
Modifications to steps detailed in Appendix C.2:
REGISTER (Step 6)
|
Header/param |
Value/remark |
|
Contact |
|
|
expires |
800000 (if present) |
|
Expires |
(if present) |
|
delta-seconds |
800000 |
200 OK (Step 7)
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
800000 |
8.4.5 Test requirements
Step 3: The UE shall send another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.
8.5 to 8.9 Void
8.10 Initial registration using GIBA
8.10.1 Definition
Test to verify that the UE can correctly register to IMS services when equipped with UICC that contains ISIM and USIM applications or only USIM application. The process consists of sending initial registration to S-CSCF via the P-CSCF discovered and subscribing the registration event package for the registered default public user identity, i.e. the UE uses GIBA as security scheme.
8.10.2 Conformance requirement
[TS 24.229 Rel-8, clause 5.1.1.2.1]
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B. A public user identity may be input by the end user.
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations, the UE shall include a "+sip.instance" header field parameter containing the instance ID. If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223;
NOTE 2: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 3: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4).
[TS 24.229 Rel-9, clause 5.1.1.2.1]:
…
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 4: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
[TS 24.229 Rel-10, clause 5.1.1.2.1]
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B. A public user identity may be input by the end user.
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE:
1) supports GRUU (see table A.4, item A.4/53);
2) supports multiple registrations;
3) has an IMEI available; or
4) has an MEID available;
the UE shall include a "+sip.instance" header field parameter containing the instance ID. Only the IMEI shall be used for generating an instance ID for a multi-mode UE that supports both 3GPP and 3GPP2 defined radio access networks.
NOTE 2: The requirement placed on the UE to include an instance ID based on the IMEI or the MEID when the UE does not support GRUU and does not support multiple registrations does not imply any additional requirements on the network.
If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626 [92]. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223 [143];
NOTE 3: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 4: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 5: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
[TS 24.229, clause 5.1.1.2.6]
On sending a REGISTER request, as defined in subclause 5.1.1.2.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field as defined in RFC 2617 shall not be included, in order to indicate support for GPRS-IMS-Bundled authentication.
b) the Security-Client header field as defined in RFC 3329 shall not be included;
c) a From header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
d) a To header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
e) the Contact header field with the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests; and
f) the Via header field with the port value of an unprotected port where the UE expects to receive responses to the request.
NOTE 1: Since the private user identity is not included in the REGISTER requests when GPRS-IMS-Bundled authentication is used for registration, re-registration and de-registration procedures, all REGISTER requests from the UE use the IMSI-derived IMPU as the public user identity even when the implicitly registered IMPUs are available at the UE. The UE does not use the temporary public user identity (IMSI-derived IMPU) in any non-registration SIP requests.
On receiving the 200 (OK) response to the REGISTER request defined in subclause 5.1.1.2.1, there are no additional requirements for the UE.
NOTE 2: When GPRS-IMS-Bundled authentication is in use, a 401 (Unauthorized) response to the REGISTER request is not expected to be received.
[TS 24.229, clause 5.1.1.3]
Upon receipt of a 2xx response to the initial registration, the UE shall subscribe to the reg event package for the public user identity registered at the user’s registrar (S-CSCF) as described in RFC 3680.
The UE shall subscribe to the reg event package upon registering a new contact address via an initial registration procedure. If the UE receives a NOTIFY request via the newly established subscription dialog and via the previously established subscription dialogs (there will be at least one), the UE may terminate the previously established subscription dialogs and keep only the newly established subscription dialog.
The UE shall use the default public user identity for subscription to the registration-state event package, if the public user identity that was used for initial registration is a barred public user identity. The UE may use either the default public user identity or the public user identity used for initial registration for the subscription to the registration-state event package, if the initial public user identity that was used for initial registration is not barred.
[TS 24.229 Rel-8, clause 5.1.1.3]
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
g) a Contact header field set to contain:
– the same IP address or FQDN, and if multiple registrations is supported, its instance ID ("+sip.instance" header field parameter) and an "ob" SIP URI parameter as described in RFC 5626 [92];
– if IMS AKA or SIP digest with TLS is being used as a security mechanism, the protected server port value as in the initial registration; and
– if SIP digest without TLS, NASS-IMS bundled authentication or GPRS-IMS-Bundled authentication is being used as a security mechanism, the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests. The UE shall set the unprotected port value to the port value used in the initial REGISTER request.
[TS 24.229 Rel-9, clause 5.1.1.3]
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) void; and
g) void.
[TS 24.229, clause 5.1.2A.1.1]
The procedures of this subclause are general to all requests and responses, except those for the REGISTER method.
When the UE sends any request using either a given contact address or to the registration flow and the associated contact address, the UE shall:
– if IMS AKA is in use as a security mechanism:
a) if the UE has not obtained a GRUU, populate the Contact header field of the request with the protected server port and the respective contact address; and
b) include the protected server port and the respective contact address in the Via header field entry relating to the UE;
…
– if GPRS-IMS-Bundled authentication is in use as a security mechanism, and therefore no port is provided for subsequent SIP messages by the P-CSCF during registration, the UE shall send any request to the same port used for the initial registration as described in subclause 5.1.1.2.
…
If this is a request for a new dialog, the Contact header field is populated as follows:
1) a contact header value which is one of:
– if a public GRUU value ("pub-gruu" header field parameter) has been saved associated with the public user identity to be used for this request, and the UE does not indicate privacy of the P-Asserted-Identity, then the UE should insert the public GRUU ("pub-gruu" header field parameter) value as specified in RFC 5627; or
– if a temporary GRUU value ("temp-gruu" header field parameter) has been saved associated with the public user identity to be used for this request, and the UE does indicate privacy of the P-Asserted-Identity, then the UE should insert the temporary GRUU ("temp-gruu" header field parameter) value as specified in RFC 5627; or
– otherwise, a SIP URI containing the contact address of the UE;
NOTE 7: The above items are mutually exclusive.
2) include an "ob" SIP URI parameter, if the UE supports multiple registrations, and the UE wants all subsequent requests in the dialog to arrive over the same flow identified by the flow token as described in RFC 5626;
3) if the request is related to an IMS communication service that requires the use of an ICSI then the UE shall include in a g.3gpp.icsi-ref media feature tag, as defined in subclause 7.9.2 and RFC 3841, the ICSI value (coded as specified in subclause 7.2A.8.2) for the IMS communication service. The UE may also include other ICSI values that the UE is prepared to use for all dialogs with the terminating UE(s); and
4) if the request is related to an IMS application that is supported by the UE, then the UE may include in a g.3gpp.iari-ref media feature tag, as defined in subclause 7.9.3 and RFC 3841, the IARI value (coded as specified in subclause 7.2A.9.2) that is related to the IMS application and that applies for the dialog.
…
If available to the UE (as defined in the access technology specific annexes for each access technology), the UE shall insert a P-Access-Network-Info header field into any request for a dialog, any subsequent request (except ACK requests and CANCEL requests) or response (except CANCEL responses) within a dialog or any request for a standalone method (see subclause 7.2A.4).
[TS 24.341, clause 5.3.2.2]
a) On sending a REGISTER request, the SM-over-IP receiver shall indicate its capability to receive traditional short messages over IMS network by including a "+g.3gpp.smsip" parameter into the Contact header according to RFC 3840.
Reference(s)
TS 24.229 [10] clauses 5.1.1.2.1, 5.1.1.2.6, 5.1.1.3, 5.1.2A.1.2 and TS 24.341 [90] clause 5.3.2.2.
8.10.3 Test purpose
1) To verify that UE correctly derives a temporary public user identity from the IMSI parameter.
2) Void
3) To verify that the UE sends a correctly composed initial REGISTER request.
4) To verify that after receiving a 200 OK response, the UE subscribes to the reg event package.
5) To verify that the UE responds the received NOTIFY with 200 OK.
8.10.4 Method of test
Initial conditions
UE contains ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services, but has an active PDP context and has discovered the SS as P-CSCF by executing the generic test procedure in Annex C.2a up to step 3.
SS is configured with the IMSI, the home domain name, public and private user identities and the currently assigned IP address. SS is listening to SIP default port 5060 for both UDP and TCP protocols.
Test procedure
1) The UE initiates IMS registration indicating support of GIBA. SS waits for the UE to send an initial REGISTER request.
2) The SS responds to the REGISTER request with a 200 OK response,
3) The SS waits for the UE to send a SUBSCRIBE request.
4) The SS responds to the SUBSCRIBE request with a 200 OK response.
5) The SS sends a valid NOTIFY request for the subscribed registration event package.
6) The SS waits for the UE to respond to the NOTIFY with a 200 OK response.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1 |
🡪 |
REGISTER |
The UE sends initial registration for IMS services indicating support for GIBA procedure by not including an Authorization header field. |
|
|
2 |
🡨 |
200 OK |
The SS responds with 200 OK. |
|
|
3 |
🡪 |
SUBSCRIBE |
The UE subscribes to its registration event package. |
|
|
4 |
🡨 |
200 OK |
The SS responds with 200 OK. |
|
|
5 |
🡨 |
NOTIFY |
The SS sends initial NOTIFY for registration event package, containing full registration state information for the registered public user identity in the XML body |
|
|
6 |
🡪 |
200 OK |
The UE responds with 200 OK. |
|
NOTE: The default message contents in annex A are used.
Specific Message Contents
REGISTER (Step 1)
Use the default message “REGISTER” in annex A.1.1 with condition A3 "REGISTER for the case UE supports GIBA" and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes).
200 OK for REGISTER (Step 2)
Use the default message “200 OK for REGISTER” in annex A.1.3 with condition A2 “GIBA”.
SUBSCRIBE (Step 3)
Use the default message “SUBSCRIBE for reg-event package” in annex A.1.4 with condition A2 “GIBA”.
200 OK for SUBSCRIBE (Step 4)
Use the default message “200 OK for SUBSCRIBE” in annex A.1.5 with condition A2 “GIBA”.
NOTIFY (Step 5)
Use the default message “NOTIFY for reg-event package” in annex A.1.6 with condition A2 “GIBA”.
200 OK for NOTIFY (Step 6)
Use the default message “200 OK for other requests than REGISTER or SUBSCRIBE” in annex A.3.1.
8.10.5 Test requirements
The UE shall send requests and responses as described in clause 8.10.4.
8.11 Initial registration using IMS AKA and GIBA against a network with GIBA support only
8.11.1 Definition
Test to verify that the UE can correctly register to IMS services in a network with support for GIBA only, when equipped with UICC that contains either both ISIM and USIM applications or only USIM application but not ISIM. The process consists of sending initial registration to S-CSCF via the P-CSCF discovered, authenticating the user and finally subscribing the registration event package for the registered default public user identity.
8.11.2 Conformance requirement
[TS 24.229, clause 5.1.1.2.1]
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B. A public user identity may be input by the end user.
[TS 24.229 Rel-8, clause 5.1.1.2.1]
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations, the UE shall include a "+sip.instance" header field parameter containing the instance ID. If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223;
NOTE 2: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 3: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4).
[TS 24.229 Rel-9, clause 5.1.1.2.1]
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 4: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
[TS 24.229 Rel-10, clause 5.1.1.2.1]
On sending an unprotected REGISTER request, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) containing the IP address or FQDN of the UE in the hostport parameter. If the UE:
1) supports GRUU (see table A.4, item A.4/53);
2) supports multiple registrations;
3) has an IMEI available; or
4) has an MEID available;
the UE shall include a "+sip.instance" header field parameter containing the instance ID. Only the IMEI shall be used for generating an instance ID for a multi-mode UE that supports both 3GPP and 3GPP2 defined radio access networks.
NOTE 2: The requirement placed on the UE to include an instance ID based on the IMEI or the MEID when the UE does not support GRUU and does not support multiple registrations does not imply any additional requirements on the network.
If the UE supports multiple registrations it shall include "reg-id" header field parameter as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication services it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the sent-by field containing the IP address or FQDN of the UE and the port number where the UE expects to receive the response to this request when UDPis used. For TCP, the response is received on the TCP connection on which the request was sent. The UE shall also include a "rport" header field parameter with no value in the Via header field. Unless the UE has been configured to not send keep-alives, and unless the UE is directly connected to an IP-CAN for which usage of NAT is not defined, it shall include a "keep" header field parameter with no value in the Via header field, in order to indicate support of sending keep-alives associated with the registration, as described in RFC 6223;
NOTE 3: When sending the unprotected REGISTER request using UDP, the UE transmit the request from the same IP address and port on which it expects to receive the response to this request.
e) a registration expiration interval value of 600 000 seconds as the value desired for the duration of the registration;
NOTE 4: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and
1) if GRUU is supported, the option-tag "gruu"; and
2) if multiple registrations is supported, the option-tag "outbound".
h) if a security association or TLS session exists, and if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, labelled with the "mediasec" header field parameter specified in subclause 7.2A.7.
NOTE 5: The "mediasec" header field parameter indicates that security mechanisms are specific to the media plane.
[TS 24.229, clause 5.1.1.2.2]
On sending a REGISTER request, as defined in subclause 5.1.1.2.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field, with:
– the "username" header field parameter, set to the value of the private user identity;
– the "realm" header field parameter, set to the domain name of the home network;
– the "uri" header field parameter, set to the SIP URI of the domain name of the home network;
– the "nonce" header field parameter, set to an empty value; and
– the "response" header field parameter, set to an empty value;
NOTE 1: If the UE specifies its FQDN in the hostport parameter in the Contact header field and in the sent-by field in the Via header field, then it has to ensure that the given FQDN will resolve (e.g., by reverse DNS lookup) to the IP address that is bound to the security association.
NOTE 2: The UE associates two ports, a protected client port and a protected server port, with each pair of security association. For details on the selection of the port values see 3GPP TS 33.203.
b) additionally for the Contact header field, if the REGISTER request is protected by a security association, include the protected server port value in the hostport parameter;
c) additionally for the Via header field, for UDP, if the REGISTER request is protected by a security association, include the protected server port value in the sent-by field; and
d) a Security-Client header field set to specify the signalling plane security mechanism the UE supports, the IPsec layer algorithms the UE supports and the parameters needed for the security association setup. The UE shall support the setup of two pairs of security associations as defined in 3GPP TS 33.203. The syntax of the parameters needed for the security association setup is specified in annex H of 3GPP TS 33.203. The UE shall support the "ipsec-3gpp" security mechanism, as specified in RFC 3329. The UE shall support the IPsec layer algorithms for integrity and confidentiality protection as defined in 3GPP TS 33.203, and shall announce support for them according to the procedures defined in RFC 3329.
[TS 24.229, clause 5.1.1.2.6]
On sending a REGISTER request, as defined in subclause 5.1.1.2.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field as defined in RFC 2617 shall not be included, in order to indicate support for GPRS-IMS-Bundled authentication.
b) the Security-Client header field as defined in RFC 3329 shall not be included;
c) a From header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
d) a To header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
e) the Contact header field with the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests; and
f) the Via header field with the port value of an unprotected port where the UE expects to receive responses to the request.
NOTE 1: Since the private user identity is not included in the REGISTER requests when GPRS-IMS-Bundled authentication is used for registration, re-registration and de-registration procedures, all REGISTER requests from the UE use the IMSI-derived IMPU as the public user identity even when the implicitly registered IMPUs are available at the UE. The UE does not use the temporary public user identity (IMSI-derived IMPU) in any non-registration SIP requests.
On receiving the 200 (OK) response to the REGISTER request defined in subclause 5.1.1.2.1, there are no additional requirements for the UE.
NOTE 2: When GPRS-IMS-Bundled authentication is in use, a 401 (Unauthorized) response to the REGISTER request is not expected to be received.
[TS 24.229, clause 5.1.1.3]
Upon receipt of a 2xx response to the initial registration, the UE shall subscribe to the reg event package for the public user identity registered at the user’s registrar (S-CSCF) as described in RFC 3680.
The UE shall subscribe to the reg event package upon registering a new contact address via an initial registration procedure. If the UE receives a NOTIFY request via the newly established subscription dialog and via the previously established subscription dialogs (there will be at least one), the UE may terminate the previously established subscription dialogs and keep only the newly established subscription dialog.
The UE shall use the default public user identity for subscription to the registration-state event package, if the public user identity that was used for initial registration is a barred public user identity. The UE may use either the default public user identity or the public user identity used for initial registration for the subscription to the registration-state event package, if the initial public user identity that was used for initial registration is not barred.
[TS 24.229 Rel-8, clause 5.1.1.3]
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
g) a Contact header field set to contain:
– the same IP address or FQDN, and if multiple registrations is supported, its instance ID ("+sip.instance" header field parameter) and an "ob" SIP URI parameter as described in RFC 5626 [92];
– if IMS AKA or SIP digest with TLS is being used as a security mechanism, the protected server port value as in the initial registration; and
– if SIP digest without TLS, NASS-IMS bundled authentication or GPRS-IMS-Bundled authentication is being used as a security mechanism, the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests. The UE shall set the unprotected port value to the port value used in the initial REGISTER request.
[TS 24.229 Rel-9, clause 5.1.1.3]
On sending a SUBSCRIBE request, the UE shall populate the header fields as follows:
a) a Request-URI set to the resource to which the UE wants to be subscribed to, i.e. to a SIP URI that contains the public user identity used for subscription;
b) a From header field set to a SIP URI that contains the public user identity used for subscription;
c) a To header field set to a SIP URI that contains the public user identity used for subscription;
d) an Event header field set to the "reg" event package;
e) an Expires header field set to 600 000 seconds as the value desired for the duration of the subscription;
f) void; and
g) void.
[TS 24.229, clause 5.1.2A.1.1]
The procedures of this subclause are general to all requests and responses, except those for the REGISTER method.
When the UE sends any request using either a given contact address or to the registration flow and the associated contact address, the UE shall:
– if IMS AKA is in use as a security mechanism:
a) if the UE has not obtained a GRUU, populate the Contact header field of the request with the protected server port and the respective contact address; and
b) include the protected server port and the respective contact address in the Via header field entry relating to the UE;
…
– if GPRS-IMS-Bundled authentication is in use as a security mechanism, and therefore no port is provided for subsequent SIP messages by the P-CSCF during registration, the UE shall send any request to the same port used for the initial registration as described in subclause 5.1.1.2.
…
If this is a request for a new dialog, the Contact header field is populated as follows:
1) a contact header value which is one of:
– if a public GRUU value ("pub-gruu" header field parameter) has been saved associated with the public user identity to be used for this request, and the UE does not indicate privacy of the P-Asserted-Identity, then the UE should insert the public GRUU ("pub-gruu" header field parameter) value as specified in RFC 5627; or
– if a temporary GRUU value ("temp-gruu" header field parameter) has been saved associated with the public user identity to be used for this request, and the UE does indicate privacy of the P-Asserted-Identity, then the UE should insert the temporary GRUU ("temp-gruu" header field parameter) value as specified in RFC 5627; or
– otherwise, a SIP URI containing the contact address of the UE;
NOTE 7: The above items are mutually exclusive.
2) include an "ob" SIP URI parameter, if the UE supports multiple registrations, and the UE wants all subsequent requests in the dialog to arrive over the same flow identified by the flow token as described in RFC 5626;
3) if the request is related to an IMS communication service that requires the use of an ICSI then the UE shall include in a g.3gpp.icsi-ref media feature tag, as defined in subclause 7.9.2 and RFC 3841, the ICSI value (coded as specified in subclause 7.2A.8.2) for the IMS communication service. The UE may also include other ICSI values that the UE is prepared to use for all dialogs with the terminating UE(s); and
4) if the request is related to an IMS application that is supported by the UE, then the UE may include in a g.3gpp.iari-ref media feature tag, as defined in subclause 7.9.3 and RFC 3841, the IARI value (coded as specified in subclause 7.2A.9.2) that is related to the IMS application and that applies for the dialog.
…
If available to the UE (as defined in the access technology specific annexes for each access technology), the UE shall insert a P-Access-Network-Info header field into any request for a dialog, any subsequent request (except ACK requests and CANCEL requests) or response (except CANCEL responses) within a dialog or any request for a standalone method (see subclause 7.2A.4).
[TS 33.203, clause T.7]
3. ME supports both, IMS network supports GIBA security only.
The ME shall check the smartcard application in use.
If a SIM is in use, then it shall start with a GIBA security procedure, else it shall start with the fully compliant IMS Registration procedure.
In the second case, the GIBA P-CSCF shall answer with a 420 (Bad Extension) failure, since it does not recognize the method mandated by the Proxy-Require header that is sent by the UE in the initial REGISTER request.
NOTE 2: The Proxy-Require header cannot be ignored by the P-CSCF.
The UE shall, after receiving the error response, send a GIBA registration, i.e., shall send a new REGISTER request without the fully compliant IMS security headers.
NOTE 3: If the UE already has knowledge about the IMS network capabilities (which could for example be preconfigured in the UE), the appropriate authentication method can be chosen. The UE can use fully compliant IMS security, if the network supports this, otherwise the UE can use GIBA security.
[TS 24.341, clause 5.3.2.2]
- On sending a REGISTER request, the SM-over-IP receiver shall indicate its capability to receive traditional short messages over IMS network by including a "+g.3gpp.smsip" parameter into the Contact header according to RFC 3840.
Reference(s)
TS 24.229 [10] clauses 5.1.1.2.1, 5.1.1.2.2, 5.1.1.2.6, 5.1.1.3, 5.1.2A.1.2, TS 33.203 [14] clause T.7 and TS 24.341 [90] clause 5.3.2.2.
8.11.3 Test purpose
1) To verify that UE correctly derives a private user identity, a temporary public user identity and a home network domain name from the IMSI parameter in the USIM or alternatively use the values retrieved from ISIM.
2) To verify that the UE sends a correctly composed initial REGISTER request.
3) To verify that after receiving a 420 (Bad Extension) response the UE sends a correctly composed initial REGISTER request.
4) To verify that after receiving a 200 OK response, the UE subscribes to the reg event package.
5) To verify that the UE responds the received NOTIFY with 200 OK.
8.11.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services, but has an active PDP context and has discovered the SS as P-CSCF by executing the generic test procedure in Annex C.2 up to step 3. The UE has no knowledge about the IMS network capabilities.
SS is configured with the IMSI, the home domain name, public and private user identities and the currently assigned IP address. SS is listening to SIP default port 5060 for both UDP and TCP protocols.
Test procedure
1) IMS registration is initiated on the UE. SS waits for the UE to send an initial REGISTER request.
2) The SS responds to the REGISTER request with a 420 Bad Extension response,
3) The UE initiates IMS registration indicating support of GIBA. SS waits for the UE to send an initial REGISTER request.
4) The SS responds to the REGISTER request with valid 200 OK response,
5) The SS waits for the UE to send a SUBSCRIBE request.
6) The SS responds to the SUBSCRIBE request with a valid 200 OK response.
7) The SS sends a NOTIFY request for the subscribed registration event package.
8) The SS waits for the UE to respond to the NOTIFY with a 200 OK response.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1 |
🡪 |
REGISTER |
UE sends initial registration for IMS services. |
|
|
2 |
🡨 |
420 Bad Extension |
The SS responds with a failure, since the option tag sec-agree in the Proxy-Require header field is not supported. |
|
|
3 |
🡪 |
REGISTER |
The UE sends initial registration for IMS services indicating support for GIBA procedure by not including an Authorization header field. |
|
|
4 |
🡨 |
200 OK |
The SS responds with 200 OK. |
|
|
5 |
🡪 |
SUBSCRIBE |
The UE subscribes to its registration event package. |
|
|
6 |
🡨 |
200 OK |
The SS responds with 200 OK. |
|
|
7 |
🡨 |
NOTIFY |
The SS sends initial NOTIFY for registration event package, containing full registration state information for the registered public user identity in the XML body |
|
|
8 |
🡪 |
200 OK |
The UE responds with 200 OK. |
|
NOTE: The default message contents in annex A are used.
Specific Message Contents
REGISTER (Step 1)
Use the default message “REGISTER” in annex A.1.1 with condition A1 "Initial unprotected REGISTER" and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes)
420 Bad Extension (Step 2)
Use the default message “420 Bad Extension for REGISTER” in annex A.1.8
REGISTER (Step 3)
Use the default message “REGISTER” in annex A.1.1 with condition A3 "REGISTER for the case UE supports GIBA" and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes)
200 OK for REGISTER (Step 4)
Use the default message “200 OK for REGISTER” in annex A.1.3 with condition A2 “GIBA”
SUBSCRIBE (Step 5)
Use the default message “SUBSCRIBE for reg-event package” in annex A.1.4 with condition A2 “GIBA”.
200 OK for SUBSCRIBE (Step 6)
Use the default message “200 OK for SUBSCRIBE” in annex A.1.5 with condition A2 “GIBA”
NOTIFY (Step 7)
Use the default message “NOTIFY for reg-event package” in annex A.1.6 with condition A2 “GIBA”
200 OK for NOTIFY (Step 8)
Use the default message “200 OK for other requests than REGISTER or SUBSCRIBE” in annex A.3.1
8.11.5 Test requirements
The UE shall send requests and responses as described in clause 8.11.4.
8.12 User initiated re-registration using GIBA
8.12.1 Definition
Test to verify that the UE can re-register a previously registered public user identity at any time using GIBA as security scheme.
8.12.2 Conformance requirement
[TS 24.229, clause 5.1.1.4.1]
The UE can perform the reregistration of a previously registered public user identity bound to any one of its contact addresses and the associated set of security associations or TLS sessions at any time after the initial registration has been completed.
The UE can perform the reregistration of a previously registered public user identity over any existing set of security associations or TLS session that is associated with the related contact address.
…
Unless either the user or the application within the UE has determined that a continued registration is not required the UE shall reregister an already registered public user identity either 600 seconds before the expiration time if the previous registration was for greater than 1200 seconds, or when half of the time has expired if the previous registration was for 1200 seconds or less, or when the UE intends to update its capabilities according to RFC 3840 or when the UE needs to modify the ICSI values that the UE intends to use in a g.3gpp.icsi-ref media feature tag or IARI values that the UE intends to use in the g.3gpp.iari-ref media feature tag.
…
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B.
On sending a REGISTER request that does not contain a challenge response, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be registered;
b) a To header field set to the SIP URI that contains the public user identity to be registered;
c) a Contact header field set to include SIP URI(s) that contain(s) in the hostport parameter the IP address or FQDN of the UE, and containing the instance ID of the UE in the "+sip.instance" header field parameter, if the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations. If the UE support multiple registrations, it shall include "reg-id" header field as described in RFC 5626. The UE shall include all supported ICSI values (coded as specified in subclause 7.2A.8.2) in a g.3gpp.icsi-ref media feature tag as defined in subclause 7.9.2 and RFC 3840 for the IMS communication it intends to use, and IARI values (coded as specified in subclause 7.2A.9.2), for the IMS applications it intends to use in a g.3gpp.iari-ref media feature tag as defined in subclause 7.9.3 and RFC 3840;
d) a Via header field set to include the IP address or FQDN of the UE in the sent-by field. For the TCP, the response is received on the TCP connection on which the request was sent;
e) a registration expiration interval value, set to 600 000 seconds as the value desired for the duration of the registration;
NOTE 1: The registrar (S-CSCF) might decrease the duration of the registration in accordance with network policy. Registration attempts with a registration period of less than a predefined minimum value defined in the registrar will be rejected with a 423 (Interval Too Brief) response.
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) the Supported header field containing the option-tag "path", and if GRUU is supported, the option-tag "gruu";
h) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
i) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter.
NOTE 2: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
On receiving the 200 (OK) response to the REGISTER request, the UE shall:
a) bind the new expiration time of the registration for this public user identity found in the To header field value to the contact address used in this registration;
[TS 24.229, clause 5.1.1.4.6]
On sending a REGISTER request, as defined in subclause 5.1.1.4.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field as defined in RFC 2617 shall not be included, in order to indicate support GPRS-IMS-Bundled authentication.
b) security agreement header field values as required by RFC 3329 shall not contain signalling plane security mechanisms;
c) a From header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
d) a To header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be registered;
e) the Contact header field with the port value of an unprotected port where the UE expects to receive subsequent mid-dialog requests; and
f) the Via header field with the port value of an unprotected port where the UE expects to receive responses to the request.
NOTE 1: Since the private user identity is not included in the REGISTER requests when GPRS-IMS-Bundled authentication is used for registration, re-registration and de-registration procedures, all REGISTER requests from the UE use the IMSI-derived IMPU as the public user identity even when the implicitly registered IMPUs are available at the UE. The UE does not use the temporary public user identity (IMSI-derived IMPU) in any non-registration SIP requests.
On receiving the 200 (OK) response to the REGISTER request defined in subclause 5.1.1.4.1, there are no additional requirements for the UE.
NOTE 2: When GPRS-IMS-Bundled authentication is in use, a 401 (Unauthorized) response to the REGISTER request is not expected to be received.
[TS 24.341, clause 5.3.2.2]
c) On sending a REGISTER request, the SM-over-IP receiver shall indicate its capability to receive traditional short messages over IMS network by including a "+g.3gpp.smsip" parameter into the Contact header according to RFC 3840.
Reference(s)
TS 24.229 [10] clauses 5.1.1.4.1, 5.1.1.4.6 and TS 24.341 [90] clause 5.3.2.2.
8.12.3 Test purpose
1) To verify that the UE can re-register a previously registered public user identity at either 600 seconds before the expiration time if the initial registration was for greater than 1200 seconds, or when half of the time has expired if the initial registration was for 1200 seconds or less.
2) Upon receiving 200 OK for REGISTER, the UE shall store the new expiration time of the registration for this public user identity.
8.12.4 Method of test
Initial conditions
UE contains ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services. Execute the generic test procedure in annex C.2a up to step 3.
SS is configured with the IMSI, the home domain name, public and private user identities and the currently assigned IP address. SS is listening to SIP default port 5060 for both UDP and TCP protocols.
Test procedure
1-6) The same procedure as in subclause 8.10.4 are used with the exception that the SS sets the expiration time to 120 seconds in Step 4.
7) Before half of the time has expired from the initial registration SS receives re-register message request with the From, To, Via, Contact, Expires, Supported, and P-Access-Network-Info header fields.
8) SS responds to the REGISTER request with valid 200 OK response with the list of URIs contained in the P-Associated-URI header value, the new expiration time (1200 seconds) of the registration for this public user identity.
9) SS waits for the REGISTER request and verifies it is received at least 600 seconds before the expected expiration time.
10) SS responds to the REGISTER request with valid 200 OK response with the list of URIs contained in the P-Associated-URI header value, the new expiration time (1800 seconds) of the registration for this public user identity.
11) SS waits for the REGISTER request and verifies it is received at least 600 seconds before the expected expiration time.
12) SS responds to the REGISTER request with valid 200 OK response. SS shall populate the headers of the 200 OK response according to the 200 response for REGISTER common message definition.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1-6 |
Messages in Initial Registration Test case (subclause 8.10.4) |
The same messages as in subclause 8.10.4 are used with the exception that in Step 4, the SS responds with 200 OK indicating 120 seconds expiration time. |
||
|
7 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 60 seconds before the expiration time set in the initial registration request. |
|
|
8 |
🡨 |
200 OK |
The SS responds with 200 OK indicating 1200 seconds expiration time. |
|
|
9 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 600 seconds before the expiration time set in step 8. |
|
|
10 |
🡨 |
200 OK |
The SS responds with 200 OK indicating 1800 seconds expiration time. |
|
|
11 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 600 seconds before the expiration time set in step 10 |
|
|
12 |
🡨 |
200 OK |
The SS responds with 200 OK indicating the default expiration time. |
|
Specific Message Contents
Messages in Step 1-6
Messages in Step 1-6 are the same as those specified in subclause 8.10.4 with the following exception for the 200 OK for REGISTER in Step 4:
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
120 |
REGISTER (Step 7)
Use the default message “REGISTER” in annex A.1.1 with condition A3 “REGISTER for the case UE supports GIBA” and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes).
200 OK for REGISTER (Step 8)
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
1200 |
REGISTER (Step 9)
Use the default message “REGISTER” in annex A.1.1 with condition A3 “REGISTER for the case UE supports GIBA” and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes).
200 OK for REGISTER (Step 10)
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
1800 |
REGISTER (Step 11)
Use the default message “REGISTER” in annex A.1.1 with condition A3 “REGISTER for the case UE supports GIBA” and condition A6 “The UE supports SM-over-IP receiver” (if UE supports SM-over-IP receiver marked as yes).
200 OK for REGISTER (Step 12)
Use the default message “200 OK for REGISTER” in annex A.1.3.
8.12.5 Test requirements
The UE shall send requests and responses as described in clause 8.12.4
8.13 User initiated de-registration using GIBA
8.13.1 Definition
Test to verify that the UE can perform a correct de-registration procedure using GIBA as security scheme. This process is described in 3GPP TS 24.229 [10], clause 5.1.1.6.
8.13.2 Conformance requirement
[TS 24.229, clause 5.1.1.6.1]
The UE can deregister a public user identity that it has previously registered with its contact address at any time.
…
The UE shall extract or derive a public user identity, the private user identity, and the domain name to be used in the Request-URI in the registration, according to the procedures described in subclause 5.1.1.1A or subclause 5.1.1.1B.
…
On sending a REGISTER request that will remove the binding between the public user identity and one of its contact addresses, the UE shall populate the header fields as follows:
a) a From header field set to the SIP URI that contains the public user identity to be deregistered;
b) a To header field set to the SIP URI that contains the public user identity to be deregistered;
c) a Contact header field set to the SIP URI(s) that contain(s) in the hostport parameter the IP address of the UE or FQDN, and containing the Instance ID of the UE in the "+sip.instance" header field parameter, if the UE supports GRUU (see table A.4, item A.4/53) or multiple registrations. If the UE supports multiple registrations, it shall include "reg-id" header field parameter as described in RFC 5626;
d) a Via header field set to include the IP address or FQDN of the UE in the sent-by field;
e) a registration expiration interval value set to the value of zero, appropriate to the deregistration requirements of the user;
f) a Request-URI set to the SIP URI of the domain name of the home network used to address the REGISTER request;
g) if available to the UE (as defined in the access technology specific annexes for each access technology), a P-Access-Network-Info header field set as specified for the access network technology (see subclause 7.2A.4); and
h) a Security-Client header field to announce the media plane security mechanisms the UE supports, if any, according to the procedures described in draft-dawes-dispatch-mediasec-parameter.
NOTE 1: Security mechanisms that apply to the media plane are distinguished by the "mediasec" header field parameter.
For a public user identity that the UE has registered with multiple contact addresses (e.g. via different P-CSCFs), the UE shall also be able to deregister multiple contact addresses, bound to its public user identity, via single deregistration procedure as specified in RFC 3261. The UE shall send a single REGISTER request, using one of its contact addresses and the associated set of security associations or TLS session, containing a list of Contact headers. Each Contact header in the list shall contain the contact addresses that the UE wants to deregister with the "expires" parameter containing the value equal zero.
The UE can deregister all contact addresses bound to its public user identity and associated with its private user identity. The UE shall send a single REGISTER request, using one of its contact addresses and the associated set of security associations or TLS session, containing a public user identity that is being deregistered in the To header field, and a single Contact header field with value of "*" and the Expires header field with a value of "0".
NOTE 2: All entities subscribed to the reg event package of the user will be inform via NOTIFY request which contact addresses bound to the public user identity have been deregistered.
[TS 24.229, clause 5.1.1.6.6]
On sending a REGISTER request, as defined in subclause 5.1.1.6.1, the UE shall additionally populate the header fields as follows:
a) an Authorization header field as defined in RFC 2617 shall not be included, in order to indicate support GPRS-IMS-Bundled authentication.
b) the Security-Verify header field and the Security-Client header field values as defined by RFC 3329 shall not contain signalling plane security mechanisms;
c) a From header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be deregistered;
d) a To header field set to a temporary public user identity derived from the IMSI, as defined in 3GPP TS 23.003, as the public user identity to be deregistered;
e) for each Contact header field and associated contact address include the associated unprotected port value (where the UE was expecting to receive mid-dialog requests); and
f) the Via header field with the port value of an unprotected port where the UE expects to receive responses to the request.
NOTE 1: Since the private user identity is not included in the REGISTER requests when GPRS-IMS-Bundled authentication is used for registration, re-registration and de-registration procedures, all REGISTER requests from the UE use the IMSI-derived IMPU as the public user identity even when the implicitly registered IMPUs are available at the UE. The UE does not use the temporary public user identity (IMSI-derived IMPU) in any non-registration SIP requests.
[TS 24.341, clause 5.3.2.2]
- On sending a REGISTER request, the SM-over-IP receiver shall indicate its capability to receive traditional short messages over IMS network by including a "+g.3gpp.smsip" parameter into the Contact header according to RFC 3840.
Reference(s)
TS 24.229 [10] clauses 5.1.1.6.1, 5.1.1.6.6 and TS 24.341 [90] clause 5.3.2.2.
8.13.3 Test purpose
1) To verify that the UE sends an initial REGISTER request with an expiration interval value set to 0.
2) To verify that the UE sends correctly composed unsubscriptions, in case the UE unsubscribes from its event packages.
8.13.4 Method of test
Initial conditions
UE contains ISIM and USIM applications or only USIM application on UICC. Execute the generic test procedure in annex C.2a.
SS is configured with the IMSI, the home domain name, public and private user identities and the currently assigned IP address. SS is listening to SIP default port 5060 for both UDP and TCP protocols.
Test procedure
0) The UE is triggered by MMI to initiate a deregistration procedure.
0A-0D) UE optionally unsubscribes from event packages it had subscribed to.
1) IMS deregistration is initiated on the UE. SS waits for the UE to send a REGISTER request, in accordance to 3GPP TS 24.229 [10], clause 5.1.1.6
2) SS responds to REGISTER with a correctly composed 200 OK message.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
0 |
Make the UE deregister from IMS |
|||
|
0A-2 |
Steps 0A-2 defined in Annex C.30 |
|||
8.13.5 Test requirements
SS shall check in step 1 that the de-register request sent by the UE has the headers correctly populated as per the default message “REGISTER” in annex A.1.1 condition A3, except for the headers described in 8.13.4.
8.14 Void
8.15 Refresh for ISIM parameters
8.15.1 Definition
Test to verify that the when ISIM parameter values have been updated the UE will use the new values when registering to IMS the next time.
8.15.2 Conformance requirement
[TS 24.229 Annex C.4]:
The 3GPP TS 31.102 and 3GPP TS 31.103 specify the file structure and contents for the preconfigured parameters stored on the USIM and ISIM, respectively, necessary to initiate the registration to the IM CN subsystem. Any of these parameters can be updated via Data Download or a USAT application, as described in 3GPP TS 31.111. If one or more EFs are changed and a REFRESH command is issued by the UICC, then the UE reads the updated parameters from the UICC as specified for the REFRESH command in 3GPP TS 31.111.
In case of changes to EFs, the UE is not required to perform deregistration but it shall wait for the network-initiated deregistration procedures to occur as described in subclause 5.4.1.5 unless the user initiates deregistration procedures as described in subclause 5.1.1.6. From this point onwards the normal initial registration procedures can occur.
[TS 24.229 clause 5.1.1.7]:
Upon receipt of a NOTIFY request on any dialog which was generated during subscription to the reg event package as described in subclause 5.1.1.3, including one or more <registration> element(s) which were registered by this UE with:
– the state attribute set to "terminated" and the event attribute within the <contact> element belonging to this UE set to "rejected" or "deactivated"; or
– the state attribute set to "active" and within the <contact> element belonging to this UE, the state attribute set to "terminated" and the associated event attribute set to "rejected" or "deactivated";
the UE shall remove all registration details relating to these public user identities. In case of a "deactivated" event attribute, the UE shall start the initial registration procedure as described in subclause 5.1.1.2.
Reference(s)
3GPP TS 24.229 [10], clause 5.1.1.7, annex C.4 (release 10)
8.15.3 Test purpose
1) To verify that the update of ISIM parameters related to IMS registration (and consequent REFRESH command) does not cause the UE to immediately deregister from IMS; and
2) To verify that the UE uses the updated parameter values from ISIM when registering to IMS again after the network initiated deregistration procedure
8.15.4 Method of test
Initial conditions
SS is configured with the old and new home domain name, public and private user identities (including the public emergency user identity allocated for the user) together with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) that is configured on the UICC card equipped into the UE. SS is listening to SIP default port 5060 for both UDP and TCP protocols. SS is able to perform AKAv1-MD5 authentication algorithm for that IMPI, according to 3GPP TS 33.203 [14] clause 6.1 and RFC 3310 [17].
UE is equipped with a UICC that contains both ISIM and USIM applications. UE is registered to IMS services, by executing the generic test procedure in Annex C.2 up to the last step. The Request-URI of SIP REGISTER request sent by the UE contained the old home domain name and IMS identities as found from ISIM.
Test procedure
- The UICC is made to send a REFRESH command to the UE indicating that contents of ISIM has been updated.
NOTE: The specific way to trigger the REFRESH command is a test implementation option.
2) 10 seconds after step 1 SS sends a SIP NOTIFY request in order to terminate the IMS registration.
3) UE responds the NOTIFY request with 200 OK response.
4) UE initiates a new IMS registration sequence. For SIP REGISTER request the UE uses the new values of home domain name and/or IMS identities as provided by ISIM after the update.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1 |
REFRESH |
The UICC is made to send a REFRESH command to the UE indicating that contents of ISIM has been updated. |
||
|
2 |
🡨 |
NOTIFY |
10 seconds after previous step 1 the SS sends SIP NOTIFY for registration event package, containing full registration state information, with all previously registered IMS public user identities as "terminated" and "deactivated" |
|
|
3 |
🡪 |
200 OK |
The UE responds the NOTIFY with 200 OK |
|
|
4 |
Steps defined in annex C.2 from step 4 onwards |
UE initiates a new IMS registration sequence. For the Request-URI of SIP REGISTER request the UE uses the new value of home domain and/or IMS identities name as provided by ISIM after the update in step 1. |
||
Specific Message Contents
NOTIFY (Step 2)
Use the default message “NOTIFY for reg-event package” in annex A.1.6 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
CSeq |
|
|
value |
2 |
|
Subscription-State |
|
|
substate-value |
Terminated |
|
expires |
0 |
|
Message-body |
<?xml version=”1.0” encoding="UTF-8"?> <reginfo xmlns=”urn:ietf:params:xml:ns:reginfo” version=”1” state=”full”> <registration aor=”PublicUserIdentity1 (NOTE 1)” id=”a100” state=”terminated”> <contact id=”980” state=”terminated” event=”deactivated”> <uri>same value as in Contact header of REGISTER request</uri> </contact> </registration> <registration aor=”AssociatedTelUri (NOTE 1)” id=”a101” state=”terminated”> <contact id=”981” state=”terminated” event=”deactivated”> <uri>same value as in Contact header of REGISTER request</uri> </contact> </registration> <registration aor=”PublicUserIdentity2 (NOTE 1)” id=”a102” state=”terminated”> <contact id=”982” state=”terminated” event=”deactivated”> <uri>same value as in Contact header of REGISTER request</uri> </contact> </registration> </reginfo> |
NOTE 1: The public user ids and the associated TEL URI are as returned to the UE in the P-Associated-URI header of the 200 (OK) response to the REGISTER request;
PublicUserId1 is the default public user id i.e. the first one contained in P-Associated-URI;
AssociatedTelUri is the same as used in P-Associated-URI
PublicUserId2 and PublicUserId3 are the remaining IMPUs of the P-Associated-URI header
200 OK for NOTIFY (Step 3)
Use the default message “200 OK for other requests than REGISTER or SUBSCRIBE” in annex A.3.1
8.15.5 Test requirements
UE shall not deregister from IMS between steps 1 and 2.
In step 4 (referring to the messages defined in annex C.2) all the requests sent by the UE contain the new updated home domain name and/or IMS identities which the UE has read from ISIM after step 1.
More specifically the UE shall use the new values read from ISIM for constructing the following headers:
Request-URI: HomeDomainName, IMPU
From: IMPU
To: IMPU
Authorization: PrivateUserIdentity, HomeDomainName
8.16 User initiated re-registration – 423 Interval Too Brief
8.16.1 Definition
Test to verify that the UE can send another REGISTER request using a correct expiration timer when a reregistration attempt was rejected with a 423 (Interval Too Brief) response, in accordance to 3GPP TS 24.229 [10], clause 5.1.1.4.1.
8.16.2 Conformance requirement
On receiving a 423 (Interval Too Brief) response to the REGISTER request, the UE shall:
– send another REGISTER request populating the registration expiration interval value with an expiration timer of at least the value received in the Min-Expires header field of the 423 (Interval Too Brief) response.
Reference(s)
3GPP TS 24.229 [10], clauses 5.1.1.4.1
8.16.3 Test purpose
To verify that after receiving a valid 423 (Interval Too Brief) response to the REGISTER request for reregistration, the UE sends another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.
8.16.4 Method of test
Initial conditions
UE contains either ISIM and USIM applications or only USIM application on UICC. UE is not registered to IMS services, but has performed the generic test procedure in Annex C.2 up to step 3.
SS is configured with the IMSI within the USIM application, the home domain name, public and private user identities together with the shared secret key of IMS AKA algorithm, related to the IMS private user identity (IMPI) that is configured on the UICC card equipped into the UE. SS is listening to SIP default port 5060 for both UDP and TCP protocols. SS is able to perform AKAv1-MD5 authentication algorithm for that IMPI, according to 3GPP TS 33.203 [14] clause 6.1 and RFC 3310 [17].
Test procedure
1-8) The same procedures as in steps 4-11 of C.2 are used with the exception that the SS sets the expiration time to 120 seconds in Step 4.
9) Before half of the time has expired from the initial registration SS receives re-register message request with the From, To, Via, Contact, Authorization, Expires, Security-Client, Security-verify, Supported, and P-Access-Network-Info header fields.
10) SS responds to the re-register message request with a 423 (Interval Too Brief) response.
11) SS waits for the UE to send another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.
12) The SS responds to the REGISTER request with a valid 200 OK response indicating the default expiration timeout.
Expected sequence
|
Step |
Direction |
Message |
Comment |
|
|
UE |
SS |
|||
|
1-8 |
🡨🡪 |
Messages 3-11 of C.2 |
The same messages as in C.2 (steps 3-11) are used with the exception that in Step 4 (resp Step 7 in C.2), the SS responds with 200 OK indicating 120 seconds expiration time. |
|
|
9 |
🡪 |
REGISTER |
The SS receives REGISTER from the UE 60 seconds before the expiration time set in the initial registration request. |
|
|
10 |
🡨 |
423 Interval Too Brief |
The SS responds with a 423 (Interval Too Brief) too brief response to the REGISTER request with T value in Min-Expires header. |
|
|
11 |
🡪 |
REGISTER |
UE sends a new REGISTER request with expires parameter value set to Tmod (equal or greater to T value in Min-Expires header of 423 (Interval Too Brief)). |
|
|
12 |
🡨 |
200 OK |
The SS responds with 200 OK indicating the default expiration time. |
|
Specific Message Contents
Messages in Step 1-8
Messages in Step 1-8 are the same as those specified in steps 3-11 of C.2 with the following exception for the 200 OK for REGISTER in Step 4 (resp Step 7 in C.2):
Use the default message “200 OK for REGISTER” in annex A.1.3 with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
120 |
REGISTER (Step 9)
Use the default message “REGISTER” in annex A.1.1 with conditions A2 "Subsequent REGISTER sent over security associations" and A17 "UE initiated IMS re-registration or de-registration" and with the following exceptions:
|
Header/param |
Value/remark |
|---|---|
|
Security-Client |
|
|
spi-c |
new SPI number of the inbound SA at the protected client port, shall be different than in step 3 |
|
spi-s |
new SPI number of the inbound SA at the protected server port, shall be different than in step 3 |
|
port-c |
new protected client port, shall be different than in step 3 |
|
port-s |
Same value as in the previous REGISTER |
423 Interval Too Brief for REGISTER (Step 10)
Use the default message “423 Interval Too Brief for REGISTER” in annex A.1.7 with the following exception:
|
Header/param |
Value/remark |
|---|---|
|
Min-Expires |
|
|
delta-seconds |
800000 (referred to as T in the test procedure and test requirement) |
REGISTER (Step 11)
Use the default message “REGISTER” in annex A.1.1 with conditions A2 "Subsequent REGISTER sent over security associations" and A17 "UE initiated IMS re-registration or de-registration" with the following exceptions:
|
Header/param |
Value/remark |
|
Contact |
|
|
expires |
800000 (referred to as Tmod in the expected sequence) (if present, see Rule 1) |
|
Expires |
(if present, see Rule 1) |
|
delta-seconds |
800000 (referred to as Tmod in the expected sequence) |
|
CSeq |
|
|
value |
must be incremented from the previous REGISTER |
Rule 1: The REGISTER request must contain either an Expires header or an expires parameter in the Contact header. If both are present the value of Expires header is not important.
200 OK (Step 12)
|
Header/param |
Value/remark |
|---|---|
|
Contact |
|
|
expires |
800000 |
8.16.5 Test requirements
Step 11: The UE shall send another REGISTER request populating the Expires header or the expires parameter in the Contact header with an expiration timer of at least the value received in the Min-Expires header of the 423 (Interval Too Brief) response.