If the IMS AS received from the originating UE a re-INVITE request with the SDP offer containing data channel media description for the bootstrap data channel establishment, the IMS AS shall determine whether the served user is authorized to use IMS data channel or not as specified in
clause 9.3.2.2.1.
-
if the served user is not authorized to use IMS data channel, the procedure defined in clause 9.3.2.2.1 applies; and
-
if the served user is authorized to use IMS data channel, the IMS AS shall select a DCSF and notify the DCSF about the media change request event, with a calling identity set to the value of the P-Asserted-Identity header field and a called identity set to the value of Request URI of the initial INVITE request received during MMTel session establishment, if the media instruction from DCSF is:
-
to reject all the data channel medias in this request, the IMS AS shall send a 488 (Not Acceptable Here) to the originating UE if other medias are not updated; and
-
in other cases, the IMS AS shall request the MF to reserve the media resources and modify the data channel media description in the SDP offer and send the re-INVITE request as per clause 9.3.2.2.1. Upon receipt of the 183 (Session Progress) or 200 (OK) response to the re-INVITE request, the IMS AS shall send notify the DCSF about the media change success if the data channel media is accepted or media change failure if the data channel media is rejected and modify the data channel media description in the SDP answer and send the 183 (Session Progress) or 200(OK) response to S-CSCF as per clause 9.3.2.2.1. Upon receipt of a CANCEL request to the re-INVITE request, the IMS AS shall notify the DCSF about the media change cancellation, request the MF to release the corresponding data channel media resources, and forward the CANCEL request as per clause 9.3.2.2.1. Upon receipt of a 4xx, 5xx or 6xx response on the re-INVITE request, the IMS AS shall notify the DCSF about the media change failure and forward the response to the originating UE.
If the IMS AS received from the terminating network a re-INVITE request with the SDP offer containing data channel media description for the bootstrap data channel establishment, the procedure of the IMS AS in the terminating network on receipt of a re-INVITE request from the originating network defined in
clause 9.3.3.2.2.1 applies.
After the DCSF is selected, upon receipt of the re-INVITE request with an SDP offer which contains new application data channel media descriptions (the media lines with the
"dcmap" attribute containing
"stream-id" parameter set to values starting at 1000) along with the video, audio, and bootstrap data channel media descriptions, the IMS AS shall notify to DCSF about a media change request event. If the media instruction from the DCSF is
-
to reject all the data channel medias in this request, the IMS AS shall send a 488 (Not Acceptable Here) to the originating UE if other medias are not updated; and
-
in other cases, the IMS AS shall request the MF to allocate media resources for the application data channels based on the instruction from the DCSF if the media is anchored on the MF, and shall not send a re-INVITE request to the S-CSCF until receiving an acknowledgement to the corresponding notification from the DCSF;
-
based on the response on the data channel media resource update from the MF as specified in TS 29.176 and media instruction from the DCSF as specified in TS 29.175, the IMS AS shall:
-
delete the data channel media description (media line with the "dcmap" attribute containing "stream-id" parameter set to values starting at 1000 and "a=3gpp-req-app " attribute with "endpoint" parameter set to value "server") if the media instruction from the DCSF is to terminate that media;
-
delete the data channel media description if the media instruction from the DCSF is to reject the media and there are other medias to be established;
-
replace the IP address represented in the "c=" line, the UDP port number in the "m=application"in the data channel media description in the SDP offer with the media resource information for the termination towards the terminating network which is allocated by the MF if the media instruction from the DCSF is to terminate and originate the media; and also replace the DC endpoint information represented as the attribute lines "a=tlsId", "a=sctp-port", "a=fingerprint" and "a=setup" when the media proxy configuration is HTTP proxy; and
-
generate and add a data channel media description (media line with the "dcmap" attribute containing "stream-id" parameter set to values starting at 1000 and "a=3gpp-req-app " attribute with "endpoint" parameter set to value "server") by using the DC stream information provided by the DCSF in the attribute lines "a=dcmap" and "a=3gpp-req-app", DC endpoint information of the DC AS in the attribute lines "a=tlsId", "a=sctp-port", "a=fingerprint" and "a=setup", IP address and UDP port number allocated on the termination towards to the terminating network on the MF in the "c=" line and "m=application" line when the media proxy configuration is UDP proxy, or using the DC stream information provided by the DCSF in the attribute lines "a=dcmap" and "a=3gpp-req-app", IP address, UDP port number and DC endpoint information (e.g. tlsId, sctp-port) allocated on the termination towards to the terminating network on the MF in other attribute lines above when the media proxy configuration is HTTP proxy, if the media instruction from the DCSF is to originate a new media; and
-
an existing application data channel media description in which a new "a=dcmap" line containing the "stream-id" parameter set to values starting at 1000 is added, the IMS AS shall notify the DCSF about media change request event, and request MF to update the media resource when receiving the media instruction from DCSF is to update the media.
Upon the reception of an acknowledgement from the DCSF to the media change request event notification, the IMS AS shall send the re-INVITE request with the modified SDP offer with the modified application data channel media description or the original application data channel media description if no media instruction received from DCSF, as well as the media description of established video, audio and bootstrap data channels.
Upon receipt of the 183 (Session Progress) or 200 (OK) response on the re-INVITE request with the SDP answer which contains media description of the requested application data channel from the terminating network:
-
if the application data channel is accepted, the IMS AS shall notify the DCSF about the media change success and request the MF to update the media resources. Based on the response of the MF, the IMS AS shall:
-
generate and add a data channel media description in the SDP answer by using the DC endpoint information of the DC AS provided by the DCSF in the attribute lines "a=tlsId", "a=sctp-port", "a=fingerprint" and "a=setup" and IP address and UDP port number allocated on the termination towards to the originating UE on the MF in the "c=" and "m=application" line when the media proxy configuration is UDP proxy, or using IP address, UDP port number and DC endpoint information (e.g. tlsId, sctp-port) allocated on the termination towards to the originating UE on the MF in the attribute lines when the media proxy configuration is HTTP proxy, if the instruction from the DCSF is to terminate the media;
-
add the rejected media description and set the port number to 0 in the "m=application" line if the instruction from the DCSF is to reject the media and there are other medias to be established;
-
replace the IP address represented in the "c=" line, the UDP port number in the "m=application" in the media description in the SDP answer with the media resource information on the termination towards to the originating UE allocated by the MF, if the instruction from the DCSF is to terminate and originate the media; and also replace the DC endpoint information as attribute lines "a=tlsId", "a=sctp-port", "a=fingerprint" and "a=setup" when the media proxy configuration is HTTP proxy; and
-
delete the media description in the SDP answer if the instruction from the DCSF is to originate a new media;
and send the 183 (Session Progress) or 200 (OK) response with the modified SDP answer on the re-INVITE request to the S-CSCF towards to the originating UE after the receipt of an acknowledgement from the DCSF to the corresponding notification; or
if the application data channel is rejected, the IMS AS shall notify the DCSF about the media change failure event and request the MF to release the media resources. Then, the IMS AS shall send 183 (Session Progress) or 200 (OK) response to S-CSCF after the receipt of an acknowledgement from the DCSF to the corresponding notification.
Upon receipt of a CANCEL request to the re-INVITE request, the IMS AS shall notify the DCSF about the media change cancellation, request the MF to release the corresponding data channel media resources, and forward the CANCEL request as per
clause 9.3.2.2.1.
Upon receipt of a 4xx, 5xx or 6xx response on the re-INVITE request from the terminating network, the IMS AS shall notify the DCSF about media change failure, request the MF to release the corresponding data channel media resources and forward the response to the originating UE.
Upon receiving the re-INVITE request from the terminating network to setup data channels and the corresponding response from the originating UE, the procedure in
clause 9.3.3.2.2 applies.
When the IMS AS receives an initial INVITE or the re-INVITE request with an SDP offer that contains the media description for the bootstrap data channel, the procedure in
clause 9.3.2.2.1 and
clause 9.3.2.2.2.1 applies. If the IMS AS receives the SIP response to the initial INVITE or the re-INVITE request in which the SDP answer indicates the remote bootstrap data channel to the terminating UE is rejected, the IMS AS may check the Contact header field of the received response. If the media feature tag
"sip.video" is contained in the received Contact header field, the IMS AS may report to the DCSF about that the terminating UE supports video media. On receipt of a re-INVITE request with an SDP offer that contains media description for application data channel in which the
"endpoint" parameter is set to
"UE" in attribute
"a=3gpp-app-req" line, the IMS AS shall follow the procedure from
clause 9.3.2.2.2.2 with the following additions.
If the IMS AS, after reporting the media change request event to the DCSF as per
clause 9.3.2.2.2.2, received from the:
-
an instruction to transform the application data channel media to video media, the IMS AS shall:
-
request the MF to allocate the video media resources as well as the data channel media resources (as specified in TS 29.176) and generate and add the SDP offer the media description for video media based on the reserved video media resource information by the MF; and
-
delete media description for the corresponding application data channel in SDP offer, or
-
an instruction to terminate the data channel and indicates the interworking, the IMS AS shall delete the media description for the application data channel; request the MF to allocate media resources for a P2A application data channel and notify the NEF the DC interworking required event as specified in TS 29.175.
The IMS AS shall send the re-INVITE request with the updated SDP offer to the S-CSCF towards the terminating network.
Upon receiving the 200 (OK) response with the SDP answer on the re-INVITE request, the IMS AS shall report the media change success event to the DCSF. If the instruction from the DCSF when reporting the media change request event to DCSF was:
-
to transform the application data channel media to video media, the IMS AS shall:
-
request the MF to associate the data channel application to the video streams as per TS 29.176;
-
delete the media description of the video media from the SDP answer; and
-
generate and add the corresponding application data channel media description in the SDP answer by using the DC endpoint information allocated on the termination towards to the originating UE on the MF with the "endpoint" parameter set to "UE" in attribute "a=3gpp-app-req" line; or
-
to terminate the application data channel and indicates the interworking, the IMS AS shall:
-
generate and add the corresponding application data channel media description in the SDP answer as per clause 9.3.2.2.2.2 with the "endpoint" parameter set to "server" in attribute "a=3gpp-app-req" line.
Upon receipt of the re-INVITE request with an SDP offer which contains an existing application data channel media description in which an existing
"a=dcmap" is removed, the IMS AS shall notify the DCSF about media change request event, and request MF to update the media resource when receiving the media instruction from DCSF is to update the media.
Upon receipt of the re-INVITE request with an SDP offer which contains an existing application data channel media description in which the UDP port number is set to 0, the IMS AS shall notify the DCSF about media change request event, and request the MF to release the corresponding media resource when receiving the media instruction from the DCSF is to delete the media.
Upon receipt of the 200 (OK) response on the re-INVITE message with the SDP answer, the procedure in
clause 9.3.2.2.2.2 applies.
Upon receiving the re-INVITE request from the terminating network to close data channels and the corresponding 200 (OK) response from the originating UE, the procedure in
clause 9.3.3.2.2.3 applies.
If the IMS AS received a request from the NEF or trusted AF to update an existing IMS session to add a P2A application data channel and/or bootstrap data channel as specified in
TS 29.175 towards a served UE, the IMS AS shall:
-
determine whether the served user is authorized to use IMS data channel as specified in clause 9.3.2.2.1.
-
determine the request application data channel is already established based on the comparison of the application binding information included in the request from the NEF or trusted AF with the "a=3gpp-req-app" attribute line within the application data channel media descriptions included in the latest stored SDP offer/answer for this IMS session;
-
determine the request bootstrap data data channel is already established based on the "dcmap" attribute containing a subprotocol parameter set to "http" and "stream-id" parameter set to values 0 and 10 within the data channel media descriptions included in the latest stored SDP offer/answer for this IMS session; or
-
determine the request bootstrap data data channel and/or application data channel is already established based on the comparison of the stored media correlation IDs with the one included in the request from the NEF.
If the served user is authorized to use data channel and the requested application data channel and/or bootstrap data channel is not established, the IMS AS shall select a DCSF and notify the DCSF about the external session update event. Based on the instruction of the DCSF, the IMS AS shall request the MF to allocate data channel media resources and
-
generate the media description for:
-
the bootstrap data channel containing "a=dcmap" attribute line with the subprotocol parameter set to "http" and "stream-id" parameter set to values 0 and 10; or
-
the P2A application data channel containing "dcmap" attribute in which "stream-id" parameter set to values starting at 1000, "a=3gpp-req-app" attribute line with "endpoint" parameter set to value "server", "c=" line and "m=application" line with the IP address and UDP port number information of termination on the MF towards to the UE, and "a=tlsId", "a=sctp-port", "a=fingerprint" and "a=setup" attribute lines with the information of the termination on the MF towards the UE if the media proxy configuration is HTTP, or the information of the DC AS if the media proxy configuration is UDP; and
-
include the DC-Info header field as specified in TS 24.229 7.2.x to indicate the data channel is initiated by the DC AS;
and generate and send a re-INVITE request to the served UE with an updated SDP offer in which the generated media description of data channel above is added.
Upon reception of the 200 (OK) response to the re-INVITE request in which:
-
the data channel media is accepted, the IMS AS shall notify the DCSF about the media change success event; or
-
the data channel media is rejected, the IMS AS shall notify the DCSF about the media change failure event.
If the IMS AS receives a request from the NEF or trusted AF to establish a P2A2P application data channel between two UEs in an existing IMS session in which the video/audio media is established, the IMS AS shall
-
follow the procedure above to determine the served user is authorized to use data channel and the requested application data channel is not established; and
-
include the DC-Info header field as specified in TS 24.229 7.2.x to indicate the data channel is initiated by the DC AS;
and generate the application data channel media descriptions and generate and send re-INVITE requests for the served UE and the remote UE.
Upon reception of the 200(OK) responses to the re-INVITE request:
-
if both the two UEs accept the data channel media, the IMS AS shall notify the DCSF about the media change success event;
-
if both the two UEs reject the data channel media, the IMS AS shall notify the DCSF about the media change failure event;
-
if one UE accepts the data channel media, and the other UE rejects the data channel media, the IMS AS shall send a re-INVITE request to the UE who accepts the data channel media to close the established data channel, and notify the DCSF about the media change failure.
If the IMS AS received a request from the NEF or trusted AF to update an existing IMS session to add a P2P application data channel as specified in
TS 29.175, the IMS AS shall determine the served user is authorized to use data channel and the requested application data channel is not established, notify the DCSF about the external session update event. If the DCSF instructs to anchor the added application data channel on the MF of the originating network, the IMS AS shall request the MF to allocate the data channel media resource on the termination towards the served originating UE. Based on the data channel media information from the MF, the IMS AS generates an application data channel media description containing
"dcmap" attribute in which
"stream-id" parameter set to values starting at 1000,
"a=3gpp-req-app" attribute line with
"endpoint" parameter set to value
"UE",
"c=" line and
"m=application" line with the IP address and UDP port number information and
"a=tlsId",
"a=sctp-port",
"a=fingerprint" and
"a=setup" attribute lines with the information of the termination on the MF towards the originating UE; and generate and send the re-INVITE request to originating UE.
Upon receiving the 200 (OK) response to the re-INVITE request including the SDP answer for the application data channel from the originating UE, the IMS AS shall request the MF to update the data channel media resources of the termination towards the originating UE and create the data channel media resources of the termination towards the terminating UE. Based on the media resources created by the MF, the IMS AS shall create an application data channel media description containing
"dcmap" attribute in which
"stream-id" parameter set to values starting at 1000,
"a=3gpp-req-app" attribute line with
"endpoint" parameter set to value
"UE",
"c=" line and
"m=application" line with the IP address and UDP port number information and
"a=tlsId",
"a=sctp-port",
"a=fingerprint" and
"a=setup" attribute lines with the information of the termination on the MF towards the terminating network and generate and send the re-INVITE request to terminating network.
Upon receiving the 200 (OK) response to the re-INVITE request from the terminating network, the IMS AS shall update the media resources of the termination towards the terminating network. And then, the IMS AS shall send ACK to both terminating network and originating UE and notify about the media change success event.
If the served user is authorized to use data channel and the requested application data channel and/or bootstrap data channel is established, the IMS AS shall follow the requirement as specified in
TS 29.175.
If the IMS AS received a request from the NEF or trusted AF to update an existing IMS session to update an application data channel and/or bootstrap data channel as specified in
TS 29.175 towards a served UE, the IMS AS shall:
-
determine the request application data channel based on the comparison of the application binding information included in the request from the NEF or trusted AF with the "a=3gpp-req-app" attribute line within the application data channel media descriptions included in the latest stored SDP offer/answer for this IMS session;
-
determine the request bootstrap data data channel based on the "dcmap" attribute containing a subprotocol parameter set to "http" and "stream-id" parameter set to values 0 and 10 within the data channel media descriptions included in the latest stored SDP offer/answer for this IMS session; or
-
determine the request bootstrap data data channel and/or application data channel based on the comparison of the stored media correlation IDs with the one included in the request from the NEF; and
-
select a DCSF and notify the DCSF about the external session update event.
Based on the instruction of the DCSF, the IMS AS shall request the MF to update data channel media resources and update the media descriptions for the requested application data channel and/or bootstrap data channel and generate and send re-INVITE request for the served UE and also the remote UE when P2P or P2A2P application data channel is to be updated. In the re-INVITE request, the IMS AS shall include the DC-Info header field as specified in
TS 24.229 7.2.x to indicate the data channel is updated by the DC AS.
If the requested application data channel and/or bootstrap data channel to update is not existed, the IMS AS shall follow the requirement as specified in
TS 29.175.
If the IMS AS determines to terminate the established bootstrap data channels and application data channels to the terminating UE during the session modification, the procedure defined in
clause 9.3.3.2.2.4 applies.
If the IMS AS received a request from the NEF or trusted AF to update an existing IMS session to terminate an application data channel and/or bootstrap data channel towards the originating or the terminating UE as specified in
clause AG.2.1 of TS 23.228, the IMS AS shall:
-
determine the request application data channel based on the comparison of the application binding information included in the request from the NEF or trusted AF with the "a=3gpp-req-app" attribute line within the application data channel media descriptions included in the latest stored SDP offer/answer for this IMS session;
-
determine the request bootstrap data data channel based on the "dcmap" attribute containing a subprotocol parameter set to "http" and "stream-id" parameter set to values 0 and 10 within the data channel media descriptions included in the latest stored SDP offer/answer for this IMS session; or
-
determine the request bootstrap data data channel and/or application data channel based on the comparison of the stored media correlation IDs with the one included in the request from the NEF; and
notify the DCSF about external session update event as specified in
TS 29.175, request MF to release or update the corresponding data channel media resource and send a re-INVITE request towards the UE with the subsequent SDP offer based on the media information of the data channel required by the NEF or the trusted AF. In the SDP offer, the IMS AS shall:
-
set the UDP port number of the corresponding data channel media description to zero, if the required application data channel and/or bootstrap data channel is not multiplexed; or
-
remove the "a=dcmap" attribute line associated with the required bootstrap data channel or application data channel and also the "a=3gpp-req-app" attribute if all the related application data channels for that application are to be terminated from the corresponding multiplexed data channel media description.
In the re-INVITE request, the IMS AS shall include the DC-Info header field as specified in
TS 24.229 7.2.x to indicate the data channel is terminated by the DC AS.
Upon reception of the 200 (OK) response to the re-INVITE request, the IMS AS shall notify the DCSF about the media change success event.
If the requested application data channel and/or bootstrap data channel to terminate does not existed, the IMS AS shall follow the requirement as specified in
TS 29.175.
If a request is to terminate the only bootstrap data channel in an exising IMS session containing application data channels, the IMS AS shall reject the request and follow the requirement as specified in
TS 29.175.