CN1881975B - A method of calling user terminal of IP multimedia subsystem - Google Patents
A method of calling user terminal of IP multimedia subsystem Download PDFInfo
- Publication number
- CN1881975B CN1881975B CN2005101182544A CN200510118254A CN1881975B CN 1881975 B CN1881975 B CN 1881975B CN 2005101182544 A CN2005101182544 A CN 2005101182544A CN 200510118254 A CN200510118254 A CN 200510118254A CN 1881975 B CN1881975 B CN 1881975B
- Authority
- CN
- China
- Prior art keywords
- cscf
- hss
- response
- user
- ims user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种通信技术,尤其涉及一种呼叫IP多媒体子系统的用户终端的方法。The invention relates to a communication technology, in particular to a method for calling a user terminal of an IP multimedia subsystem.
背景技术Background technique
在IMS(IP多媒体子系统)网络中,当一个IMS用户的UE(用户终端)做被叫时,被叫网络的I-CSCF(查询CSCF(呼叫会话控制功能模块))将通过Cx-Location-Query命令向HSS(归属用户服务器)查询该IMS用户的注册位置。In an IMS (IP Multimedia Subsystem) network, when a UE (User Terminal) of an IMS user is called, the I-CSCF (query CSCF (call session control function module)) of the called network will pass Cx-Location- The Query command queries the HSS (Home Subscriber Server) about the registration location of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED(未注册)状态或者相关的ID(身份标识)(如与该IMS用户共用同一号码的用户终端)已注册或者相关的ID(如与该IMS用户共用同一号码的用户终端)处于UNREGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回处理该IMS用户未注册业务的S-CSCF,I-CSCF将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。If the IMS user subscribes to an unregistered service (such as voice mail transfer, etc.), when the IMS user is in the UNREGISTERED (unregistered) state or the relevant ID (identity identification) (such as the user terminal sharing the same number with the IMS user) has When the registration or related ID (such as the user terminal sharing the same number as the IMS user) is in the UNREGISTERED state, the HSS will return the S-CSCF that handles the unregistered service of the IMS user to the I-CSCF through the Cx-Location-QueryResp command. - The CSCF sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF handles the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED(非注册)状态并且相关的ID(如与该IMS用户共用同一号码的用户终端)也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回该IMS用户要求的S-CSCF能力集,I-CSCF根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。If the IMS user has signed an unregistered service (such as voice mail transfer, etc.), when the IMS user is in the NOT REGISTERED (non-registered) state and the related ID (such as the user terminal that shares the same number with the IMS user) is also in NOT REGISTERED state, the HSS returns the S-CSCF capability set required by the IMS user to the I-CSCF through the Cx-Location-QueryResp command, and the I-CSCF selects an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user. The I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
在现有技术中,由于I-CSCF可以作为没有状态的代理,即I-CSCF发出SIP消息时,不会等待该消息的响应,因此会导致如下缺点:In the prior art, since the I-CSCF can be used as a stateless agent, that is, when the I-CSCF sends a SIP message, it will not wait for the response of the message, which will lead to the following disadvantages:
当S-CSCF转发SIP请求或处理IMS用户的已注册业务或未注册业务时,如果该S-CSCF因为设备故障或通信中断等原因没有响应,将会导致会话超时,使主叫侧的SIP请求将因超时而失败(可能造成呼损)。When the S-CSCF forwards the SIP request or processes the registered service or unregistered service of the IMS user, if the S-CSCF does not respond due to equipment failure or communication interruption, the session will time out and the SIP request on the calling side will fail with a timeout (possibly causing call loss).
当被叫IMS用户处于UNREGISTERED状态或者相关的ID已注册或者相关的ID处于UNREGISTERED状态时,被叫IMS用户的未注册业务也将无法执行,从而导致IMS网络可能很长时间都不能为该IMS用户提供正确的业务(直到该S-CSCF恢复服务或被叫IMS用户开机以后成功注册到其它正常的S-CSCF,IMS网络才能为该IMS用户提供正确的业务,该过程可能持续很长时间如几小时、几天甚至更长时间)。When the called IMS user is in the UNREGISTERED state or the related ID is registered or the related ID is in the UNREGISTERED state, the unregistered service of the called IMS user will also be unable to perform, resulting in that the IMS network may not be able to serve the IMS user for a long time. Provide correct services (until the S-CSCF restores the service or the called IMS user successfully registers with other normal S-CSCFs after powering on, the IMS network can provide the correct services for the IMS user, and this process may last for a long time such as several hours, days, or even longer).
当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOTREGISTERED状态时,被叫IMS用户的未注册业务也将无法执行。When the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the unregistered service of the called IMS user will also not be executed.
发明内容Contents of the invention
本发明的目标是提供一种呼叫IMS的用户终端的方法。当所选择的S-CSCF因为设备故障或通信中断等原因没有响应时,可选择其它S-CSCF,从而提高了会话成功率,或类似“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。The object of the present invention is to provide a method for calling a user terminal of an IMS. When the selected S-CSCF does not respond due to equipment failure or communication interruption, other S-CSCFs can be selected, thereby improving the success rate of the session, or similar to "the user you called is temporarily unavailable, please dial later" network tips.
本发明公开了一种呼叫IP多媒体子系统的用户终端的方法,包括:查询-呼叫会话控制功能模块I-CSCF收到一个对于被叫用户的初始请求,向归属用户服务器HSS查询被叫用户的注册位置;当HSS的响应包含部分身份标识处于未注册状态并且所有身份标识都不处于注册状态DIAMETER_SOME_ID_UNREGISTERED,或等待处理未注册业务DIAMETER_UNREGISTERED_SERVICE的指示时,I-CSCF必须表现为有状态的代理,I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求;并在S-CSCF没有响应时重新选择另一个S-CSCF,然后向选择的S-CSCF发送SIP请求。The present invention discloses a method for calling a user terminal of an IP multimedia subsystem, comprising: query-call session control function module I-CSCF receives an initial request for a called user, and queries the home subscriber server HSS for the called user's Registration location; when the response from the HSS contains some identities in the unregistered state and all identities are not in the registered state DIAMETER_SOME_ID_UNREGISTERED, or waiting to process the unregistered service DIAMETER_UNREGISTERED_SERVICE indication, the I-CSCF must act as a stateful agent, I- The CSCF sends a SIP request to the service-call session control function module S-CSCF according to the response of the HSS; and reselects another S-CSCF when the S-CSCF does not respond, and then sends a SIP request to the selected S-CSCF.
所述的步骤I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求进一步包括:当HSS的响应中包含S-CSCF的统一资源标志符URI时,I-CSCF将SIP请求发送给该S-CSCF,以便由该S-CSCF处理SIP请求。The step I-CSCF sends the SIP request to the service-call session control function module S-CSCF according to the response of the HSS and further includes: when the response of the HSS includes the Uniform Resource Identifier URI of the S-CSCF, I- The CSCF sends the SIP request to the S-CSCF, so that the S-CSCF processes the SIP request.
重新选择S-CSCF的步骤包括:I-CSCF获得该用户终端所要求的S-CSCF能力集,并根据S-CSCF能力集选择一个S-CSCF。The step of reselecting an S-CSCF includes: the I-CSCF obtains the S-CSCF capability set required by the user terminal, and selects an S-CSCF according to the S-CSCF capability set.
所述的I-CSCF获得该用户终端所要求的S-CSCF能力集包括:通过修改命令Cx-Location-Query或Cx-Select-Pull获得该用户终端所要求的S-CSCF能力集;The I-CSCF obtaining the S-CSCF capability set required by the user terminal includes: obtaining the S-CSCF capability set required by the user terminal by modifying the command Cx-Location-Query or Cx-Select-Pull;
所述的修改Cx-Location-Query命令是指在该命令中增加用户位置查询类型AVP(User-Location-Type AVP)参数;Described modification Cx-Location-Query order is meant to increase user location inquiry type AVP (User-Location-Type AVP) parameter in this order;
所述的修改Cx-Select-Pull是指将该命令的互联网协议多媒体专有标识IMPI修改为有条件的。The modification of Cx-Select-Pull refers to modifying the IMPI of the command to be conditional.
所述的步骤I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求进一步包括:当HSS的响应中包含该用户终端所要求的S-CSCF能力集时,I-CSCF根据该用户终端所要求的S-CSCF能力集选择一个S-CSCF,然后将SIP请求发给选择的S-CSCF,以便由该S-CSCF处理SIP请求。The step I-CSCF sending the SIP request to the service-call session control function module S-CSCF according to the response of the HSS further includes: when the response of the HSS includes the S-CSCF capability set required by the user terminal, The I-CSCF selects an S-CSCF according to the S-CSCF capability set required by the user terminal, and then sends the SIP request to the selected S-CSCF, so that the S-CSCF can process the SIP request.
所述的步骤I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求还包括:I-CSCF保存HSS返回的该用户终端所要求的S-CSCF能力集。The step of I-CSCF sending the SIP request to the service-call session control function module S-CSCF according to the response of the HSS further includes: the I-CSCF saves the S-CSCF capability set required by the user terminal returned by the HSS.
重新选择S-CSCF的步骤包括:I-CSCF根据该用户终端所要求的S-CSCF能力集选择一个S-CSCF。The step of reselecting an S-CSCF includes: the I-CSCF selects an S-CSCF according to the S-CSCF capability set required by the user terminal.
所述的步骤I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求进一步包括:当HSS的响应中即不包含S-CSCF的URI,也不包含用户终端所要求的S-CSCF能力集时,I-CSCF任选一个S-CSCF以便将SIP请求发给该S-CSCF。The step I-CSCF sending a SIP request to the service-call session control function module S-CSCF according to the response of the HSS further includes: when the response of the HSS does not include the URI of the S-CSCF or the user terminal When specifying the required S-CSCF capability set, the I-CSCF selects an S-CSCF to send the SIP request to the S-CSCF.
重新选择S-CSCF的步骤包括:I-CSCF任选一个S-CSCF以便将SIP请求发给该S-CSCF。The step of reselecting an S-CSCF includes: the I-CSCF selects an S-CSCF to send the SIP request to the S-CSCF.
所述的步骤I-CSCF根据HSS的响应向服务-呼叫会话控制功能模块S-CSCF发送会话发起协议SIP请求进一步包括:在HSS向I-CSCF返回的响应中还包含用户终端所要求的S-CSCF能力集。The step I-CSCF sends a session initiation protocol SIP request to the service-call session control function module S-CSCF according to the response of the HSS further includes: the response returned by the HSS to the I-CSCF also includes the S- CSCF capability set.
重新选择S-CSCF的步骤包括:I-CSCF根据该用户终端所要求的S-CSCF能力集选择一个S-CSCF,然后将SIP请求发给选择的S-CSCF,以便由该S-CSCF处理SIP请求。The step of reselecting an S-CSCF includes: the I-CSCF selects an S-CSCF according to the S-CSCF capability set required by the user terminal, and then sends a SIP request to the selected S-CSCF, so that the S-CSCF can process the SIP ask.
当I-CSCF不能根据该用户终端所要求的能力集选择一个S-CSCF时,I-CSCF向用户终端返回600响应,此后,若I-CSCF收到S-CSCF返回的SIP响应,不再转发该SIP响应。When the I-CSCF cannot select an S-CSCF according to the capability set required by the user terminal, the I-CSCF returns a 600 response to the user terminal. After that, if the I-CSCF receives the SIP response returned by the S-CSCF, it will not forward it The SIP response.
因此,根据本发明,如果HSS返回的处理IMS用户未注册业务的S-CSCF因为设备故障或通信中断等原因,没有返回响应,I-CSCF根据IMS用户要求的S-CSCF能力集重选其它的S-CSCF处理该IMS用户的未注册业务,重选的S-CSCF如果成功处理该IMS用户的未注册业务,可以避免主叫侧的SIP请求将因超时而失败,被叫IMS用户的未注册业务也将正确执行,避免可能发生的长时间不能为该IMS用户提供正确业务的严重缺陷。Therefore, according to the present invention, if the S-CSCF that handles the unregistered service of the IMS user returned by the HSS does not return a response due to equipment failure or communication interruption, etc., the I-CSCF reselects another S-CSCF according to the S-CSCF capability set required by the IMS user. The S-CSCF handles the unregistered service of the IMS user. If the re-selected S-CSCF successfully handles the unregistered service of the IMS user, it can avoid the SIP request of the calling side from failing due to timeout, and the unregistered service of the called IMS user The service will also be executed correctly, avoiding the serious defect that the IMS user cannot provide the correct service for a long time that may occur.
附图说明Description of drawings
图1示出了本发明的呼叫IMS用户的流程图;Fig. 1 has shown the flow chart of calling IMS user of the present invention;
图2示出了本发明实施例1的呼叫IMS用户的信令图;FIG. 2 shows a signaling diagram for calling an IMS user in
图3示出了本发明替代方案3实施例的呼叫IMS用户的信令图;FIG. 3 shows a signaling diagram of calling an IMS user in an embodiment of alternative solution 3 of the present invention;
图4示出了本发明替代方案6的呼叫IMS用户的信令图。FIG. 4 shows a signaling diagram for calling an IMS user in Alternative 6 of the present invention.
具体实施方式Detailed ways
为了便于本领域一般技术人员理解和实现本发明,现结合附图描绘本发明的实施例。In order to make it easier for those skilled in the art to understand and realize the present invention, the embodiments of the present invention are described in conjunction with the accompanying drawings.
本发明的基本思想是,如图1所示,在步骤11中,I-CSCF向HSS查询被叫用户的注册位置;在步骤12中,I-CSCF保存HSS的响应,并根据HSS的响应选择S-CSCF,在步骤13中,I-CSCF向选择的S-CSCF发送SIP请求;The basic idea of the present invention is that, as shown in Figure 1, in
在步骤14中,I-CSCF判断S-CSCF是否响应超时,In
若是,在步骤15中,I-CSCF重新选择S-CSCF,在步骤17中,I-CSCF并向S-CSCF发送SIP请求,然后返回步骤14;If so, in
否则,执行步骤16:I-CSCF等待S-CSCF的响应。Otherwise, execute step 16: the I-CSCF waits for the response from the S-CSCF.
实施例1Example 1
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,该I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置。In the IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registered location of the IMS user through the Cx-Location-Query command.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态,或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过如Cx-Location-QueryResp命令向I-CSCF返回部分身份标识处于未注册状态并且所有身份标识都不处于注册状态DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state, or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends a Cx-Location-QueryResp command to The I-CSCF returns an indication that some identities are in the unregistered state and all identities are not in the registered state DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handles the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过如Cx-Location-QueryResp命令向I-CSCF返回等待处理未注册业务DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as transfer to voice mailbox, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will send the I-CSCF a command such as Cx-Location-QueryResp Return the instruction waiting to process the unregistered service DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
综上所述,HSS可通过Diameter响应消息返回响应包括已注册业务或未注册业务的S-CSCF、被叫用户要求的S-CSCF能力集或者为空。To sum up, the HSS can return the response through the Diameter response message, including the S-CSCF of the registered service or the unregistered service, the S-CSCF capability set required by the called user, or it is empty.
当I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:When the I-CSCF receives the response from the HSS, it checks the response from the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must act as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,S-CSCF返回100临时响应(对于非会话SIP请求可选),由S-CSCF处理该IMS用户的已注册业务或未注册业务。I-If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF returns a 100 provisional response (optional for non-session SIP requests), The registered service or unregistered service of the IMS user is processed by the S-CSCF.
II-如果响应不包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II- If the response does not contain the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF shall store the indication of DIAMETER_UNREGISTERED_SERVICE, and the I-CSCF shall select an S-CSCF.
c)I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,S-CSCF返回100临时响应(对于非会话SIP请求可选),由S-CSCF处理该IMS用户的未注册业务。c) The I-CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF returns a 100 provisional response (optional for non-session SIP requests), and the S-CSCF processes the IMS user's request Unregistered business.
如果S-CSCF因为设备故障或通信中断等原因在规定的时间没有返回响应,这时因I-CSCF作为有状态的代理,则进行故障处理。下面描述故障处理过程,即I-CSCF首先检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response within the specified time due to equipment failure or communication interruption, etc., and the I-CSCF acts as a stateful agent, it will perform fault handling. The fault handling process is described below, that is, the I-CSCF first checks whether the S-CSCF capability set required by the IMS user has been saved:
1、如果保存过,I-CSCF根据保存的IMS用户要求的S-CSCF能力集选择一个S-CSCF。1. If saved, the I-CSCF selects an S-CSCF according to the saved S-CSCF capability set required by the IMS user.
2、如果没有保存过,I-CSCF检查是否保存了DIAMETER_UNREGISTERED_SERVICE的的指示:2. If it has not been saved, I-CSCF checks whether the instruction of DIAMETER_UNREGISTERED_SERVICE is saved:
(1)如果保存过,I-CSCF任选一个S-CSCF。(1) If saved, the I-CSCF selects an S-CSCF.
(2)如果没有保存,I-CSCF通过Cx-Location-Query查询IMS用户要求的S-CSCF能力集(但是因为Cx-Location-Query命令不包含User-Location-Type AVP,I-CSCF无法指示HSS返回能力集,因此要求在Cx-Location-Query命令中增加User-Location-Type AVP,当User-Location-Type为查询能力集时HSS设置重选标志和定时器,返回IMS用户要求的S-CSCF能力集),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。(2) If not saved, the I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Location-Query (but because the Cx-Location-Query command does not contain the User-Location-Type AVP, the I-CSCF cannot instruct the HSS To return the capability set, it is required to add the User-Location-Type AVP in the Cx-Location-Query command. When the User-Location-Type is the query capability set, the HSS sets the reselection flag and timer, and returns the S-CSCF requested by the IMS user capability set), select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
当I-CSCF选择了S-CSCF后,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的注册业务和/或未注册业务,或提供类似“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。When the I-CSCF selects the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the selected S-CSCF, and the S-CSCF handles the registration service and/or unregistered service of the IMS user business, or provide a network prompt similar to "The user you called is temporarily unavailable, please try again later".
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF用用户终端返回600响应。此后,如果I-CSCF收到S-CSCF返回的SIP响应,I-CSCF忽略该SIP响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF returns a 600 response with the user terminal. Thereafter, if the I-CSCF receives the SIP response returned by the S-CSCF, the I-CSCF ignores the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,当发现用户没有注册时,则S-CSCF通过Cx-Put命令向HSS告知IMS用户的注册状态和S-CSCF的URI,通过Cx-Pull命令获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,清除重选标志,检查S-CSCF URI,如果与已有的S-CSCFURI不同,HSS通过Cx-Deregister命令通知发送Cx-Put命令的S-CSCF注销IMS用户。发送Cx-Put命令的S-CSCF收到HSS发送的Cx-Deregister命令,注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不再转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user. When it is found that the user is not registered, the S-CSCF informs the HSS of the registration status of the IMS user and the URI, to obtain user subscription data through the Cx-Pull command. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS clears the reselection flag and checks the S-CSCF URI. If it is different from the existing S-CSCFURI, the HSS sends a Cx-Put notification through the Cx-Deregister command. Command the S-CSCF to log off the IMS user. The S-CSCF sending the Cx-Put command receives the Cx-Deregister command sent by the HSS, deregisters the IMS user, and releases all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will Send a BYE request to the I-CSCF, and the I-CSCF will not forward the BYE request after receiving the BYE request.
下面结合附图描述本发明的呼叫流程。如图2所示。The call flow of the present invention will be described below in conjunction with the accompanying drawings. as shown in picture 2.
步骤1、I-CSCF收到初始请求(邀请)。
步骤2、I-CSCF通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置。Step 2. The I-CSCF queries the HSS for the registered location of the IMS user through the Cx-Location-Query command.
步骤3、HSS将查询结果(如S-CSCF)返回给I-CSCF。Step 3. The HSS returns the query result (such as the S-CSCF) to the I-CSCF.
步骤4、I-CSCF将SIP请求发送给HSS返回的S-CSCF#1。Step 4. The I-CSCF sends the SIP request to the S-
步骤5、I-CSCF没有收到S-CSCF#1的响应。Step 5, I-CSCF does not receive the response from S-
步骤6、S-CSCF#1通过Cx-Put命令将S-CSCF URI告知HSS。Step 6. S-
步骤7、HSS将Cx-Put命令执行结果返回给S-CSCF#1。Step 7. The HSS returns the execution result of the Cx-Put command to S-
步骤8、S-CSCF#1通过Cx-Pull命令向HSS取用户数据。Step 8: S-
步骤9、HSS将Cx-Pull命令执行结果返回给S-CSCF#1。Step 9. The HSS returns the execution result of the Cx-Pull command to S-
步骤10、I-CSCF通过Cx-Location-Query命令向HSS查询该IMS用户要求的S-CSCF能力集。Step 10: The I-CSCF queries the HSS for the S-CSCF capability set required by the IMS user through the Cx-Location-Query command.
步骤11、HSS将Cx-Location-Query执行结果返回给I-CSCF。
步骤12、I-CSCF根据IMS用户要求的S-CSCF能力集选择另一个满足要求的S-CSCF,将SIP请求发送给这个选择的S-CSCF#2。
步骤13、S-CSCF#2向I-CSCF返回100Trying响应。
步骤14、S-CSCF#1返回响应,I-CSCF不得转发该响应。
步骤15、S-CSCF#2通过Cx-Put命令将S-CSCF URI告知HSS。
步骤16、HSS将Cx-Put命令执行结果返回给S-CSCF#2。Step 16. The HSS returns the execution result of the Cx-Put command to S-CSCF#2.
步骤17、S-CSCF#2通过Cx-Pull命令向HSS取用户数据。
步骤18、HSS将Cx-Pull命令执行结果返回给S-CSCF#2。Step 18, the HSS returns the execution result of the Cx-Pull command to S-CSCF#2.
步骤19、HSS通过Cx-Deregister命令通知S-CSCF#1注销该IMS用户。Step 19, the HSS notifies the S-
步骤20、S-CSCF#1将Cx-Deregister命令执行结果返回给S-CSCF#1。Step 20, S-
步骤21、S-CSCF#2向I-CSCF返回183 Session Progress响应。Step 21, S-CSCF#2 returns a 183 Session Progress response to the I-CSCF.
步骤22、I-CSCF转发183 Session Progress响应。Step 22. The I-CSCF forwards the 183 Session Progress response.
步骤23、S-CSCF#1发起BYE请求,I-CSCF不得转发该请求。Step 23: S-
替代方案1
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II - If the response contains an indication of DIAMETER_UNREGISTERED_SERVICE, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF shall store the indication of DIAMETER_UNREGISTERED_SERVICE, and the I-CSCF shall select an S-CSCF.
c)I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。c) The I-CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF processes the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF检查是否保存DIAMETER_UNREGISTERED_SERVICE的指示:2. If not saved, I-CSCF checks whether to save the indication of DIAMETER_UNREGISTERED_SERVICE:
1)如果保存过,I-CSCF任选一个S-CSCF。1) If saved, the I-CSCF selects an S-CSCF.
2)如果没有保存,I-CSCF通过Cx-Location-Query查询IMS用户要求的S-CSCF能力集(但是因为Cx-Location-Query命令不包含User-Location-Type AVP,I-CSCF无法指示HSS返回能力集,因此要求在Cx-Location-Query命令中增加User-Location-TypeAVP,当User-Location-Type为查询能力集时HSS设置重选标志和定时器,返回IMS用户要求的S-CSCF能力集),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。2) If not saved, I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Location-Query (but because the Cx-Location-Query command does not contain User-Location-Type AVP, I-CSCF cannot instruct HSS to return Capability set, so it is required to add User-Location-TypeAVP in the Cx-Location-Query command. When User-Location-Type is the query capability set, HSS sets the reselection flag and timer, and returns the S-CSCF capability set required by the IMS user ), select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,清除重选标志,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS clears the reselection flag and checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S through the Cx-Deregister command. - The CSCF deregisters the IMS user and deletes the user subscription data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
替代方案2Alternative 2
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含IMS用户要求的S-CSCF能力集,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。II- If the response contains the S-CSCF capability set required by the IMS user, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
III-如果响应既不包含S-CSCF的URI,又不包含IMS用户要求的S-CSCF能力集,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,任选一个S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。III - If the response contains neither the URI of the S-CSCF nor the capability set of the S-CSCF required by the IMS user, the I-CSCF shall keep the indication of DIAMETER_UNREGISTERED_SERVICE, optionally a S-CSCF. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF检查是否保存DIAMETER_UNREGISTERED_SERVICE的指示:2. If not saved, I-CSCF checks whether to save the indication of DIAMETER_UNREGISTERED_SERVICE:
1)如果保存过,I-CSCF任选一个S-CSCF。1) If saved, the I-CSCF selects an S-CSCF.
2)如果没有保存,I-CSCF通过Cx-Location-Query查询IMS用户要求的S-CSCF能力集(但是因为Cx-Location-Query命令不包含User-Location-Type AVP,I-CSCF无法指示HSS返回能力集,因此要求在Cx-Location-Query命令中增加User-Location-Type AVP,当User-Location-Type为查询能力集时HSS设置重选标志和定时器,返回IMS用户要求的S-CSCF能力集),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。2) If not saved, I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Location-Query (but because the Cx-Location-Query command does not contain User-Location-Type AVP, I-CSCF cannot instruct HSS to return Capability set, so it is required to add User-Location-Type AVP in the Cx-Location-Query command. When User-Location-Type is the query capability set, HSS sets the reselection flag and timer, and returns the S-CSCF capability required by the IMS user set), and select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,清除重选标志,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS clears the reselection flag and checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF through the Cx-Deregister command. - The CSCF deregisters the IMS user and deletes the user subscription data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
替代方案3Alternative 3
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应不包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II- If the response does not contain the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF shall store the indication of DIAMETER_UNREGISTERED_SERVICE, and the I-CSCF shall select an S-CSCF.
c)I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。c) The I-CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF processes the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF检查是否保存了DIAMETER_UNREGISTERED_SERVICE的指示:2. If not saved, I-CSCF checks whether the indication of DIAMETER_UNREGISTERED_SERVICE is saved:
1)如果保存过,I-CSCF任选一个S-CSCF。1) If saved, the I-CSCF selects an S-CSCF.
2)如果没有保存,I-CSCF通过Cx-Select-Pull查询IMS用户要求的S-CSCF能力集(但是因为Cx-Select-Pull命令必选包含IMPI,而I-CSCF无法获得IMPI,因此要求将Cx-Select-Pull命令中IMPI改为有条件的,当User Authorization Type为查询能力集时可以没有IMPI),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。2) If not saved, the I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Select-Pull (but because the Cx-Select-Pull command must include IMPI, and the I-CSCF cannot obtain the IMPI, it is required to In the Cx-Select-Pull command, the IMPI is changed to be conditional. When the User Authorization Type is the query capability set, there may be no IMPI), and an S-CSCF that meets the requirements is selected according to the S-CSCF capability set required by the IMS user.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
下面结合附图描述本发明的呼叫流程。如图3所示。The call flow of the present invention will be described below in conjunction with the accompanying drawings. As shown in Figure 3.
步骤301、I-CSCF收到初始请求(邀请)。Step 301, the I-CSCF receives an initial request (invitation).
步骤302、I-CSCF通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置。In step 302, the I-CSCF queries the HSS for the registration location of the IMS user through a Cx-Location-Query command.
步骤303、HSS将查询结果(如S-CSCF)返回给I-CSCF。Step 303, the HSS returns the query result (such as the S-CSCF) to the I-CSCF.
步骤304、I-CSCF将SIP请求发送给HSS返回的S-CSCF#1。Step 304, the I-CSCF sends the SIP request to the S-
步骤305、I-CSCF没有收到S-CSCF#1的响应。Step 305, I-CSCF does not receive a response from S-
步骤306、S-CSCF#1通过Cx-Put命令将S-CSCF URI告知HSS。Step 306, S-
步骤307、HSS将Cx-Put命令执行结果返回给S-CSCF#1。Step 307, the HSS returns the execution result of the Cx-Put command to S-
步骤308、S-CSCF#1通过Cx-Pull命令向HSS取用户数据。Step 308, S-
步骤309、HSS将Cx-Pull命令执行结果返回给S-CSCF#1。Step 309, the HSS returns the execution result of the Cx-Pull command to S-
步骤310、I-CSCF通过Cx-Select-Pull命令向HSS查询该IMS用户要求的S-CSCF能力集。Step 310, the I-CSCF queries the HSS for the S-CSCF capability set required by the IMS user through a Cx-Select-Pull command.
步骤311、HSS将Cx-Select-Pull执行结果返回给I-CSCF。Step 311, the HSS returns the Cx-Select-Pull execution result to the I-CSCF.
步骤312、I-CSCF根据IMS用户要求的S-CSCF能力集选择另一个满足要求的S-CSCF,将SIP请求发送给这个选择的S-CSCF#2。Step 312: The I-CSCF selects another S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, and sends the SIP request to the selected S-CSCF#2.
步骤313、S-CSCF#2向I-CSCF返回100Trying响应。Step 313, S-CSCF#2 returns a 100 Trying response to the I-CSCF.
步骤314、S-CSCF#1返回响应,I-CSCF不得转发该响应。Step 314, S-
步骤315、S-CSCF#2通过Cx-Put命令将S-CSCF URI告知HSS。Step 315, S-CSCF#2 notifies the HSS of the S-CSCF URI through the Cx-Put command.
步骤316、HSS将Cx-Put命令执行结果返回给S-CSCF#2。Step 316, the HSS returns the execution result of the Cx-Put command to S-CSCF#2.
步骤317、S-CSCF#2通过Cx-Pull命令向HSS取用户数据。Step 317, S-CSCF#2 fetches user data from HSS through Cx-Pull command.
步骤318、HSS将Cx-Pull命令执行结果返回给S-CSCF#2。Step 318, the HSS returns the execution result of the Cx-Pull command to S-CSCF#2.
步骤319、HSS通过Cx-Deregister命令通知S-CSCF#1注销该IMS用户。Step 319, the HSS notifies the S-
步骤320、S-CSCF#1将Cx-Deregister命令执行结果返回给S-CSCF#1。Step 320, S-
步骤321、S-CSCF#2向I-CSCF返回183 Session Progress响应。Step 321, S-CSCF#2 returns a 183 Session Progress response to the I-CSCF.
步骤322、I-CSCF转发183Session Progress响应。Step 322, the I-CSCF forwards the 183 Session Progress response.
步骤323、S-CSCF#1发起BYE请求,I-CSCF不得转发该请求。Step 323, S-
替代方案4Alternative 4
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含DIAMETER UNREGISTERED SERVICE的指示,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II- If the response contains an indication of DIAMETER UNREGISTERED SERVICE, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF shall store the indication of DIAMETER_UNREGISTERED_SERVICE, and the I-CSCF shall select an S-CSCF.
c)I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。c) The I-CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF processes the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF检查是否保存DIAMETER_UNREGISTERED_SERVICE的指示:2. If not saved, I-CSCF checks whether to save the indication of DIAMETER_UNREGISTERED_SERVICE:
1)如果保存过,I-CSCF任选一个S-CSCF。1) If saved, the I-CSCF selects an S-CSCF.
2)如果没有保存,I-CSCF通过Cx-Select-Pull查询IMS用户要求的S-CSCF能力集(但是因为Cx-Select-Pull命令必选包含IMPI,而I-CSCF无法获得IMPI,因此要求将Cx-Select-Pull命令中IMPI改为有条件的,当User Authorization Type为查询能力集时可以没有IMPI),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。2) If not saved, the I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Select-Pull (but because the Cx-Select-Pull command must include IMPI, and the I-CSCF cannot obtain the IMPI, it is required to In the Cx-Select-Pull command, the IMPI is changed to be conditional. When the User Authorization Type is the query capability set, there may be no IMPI), and an S-CSCF that meets the requirements is selected according to the S-CSCF capability set required by the IMS user.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
替代方案5Alternative 5
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF performs the processing required by the 3GPP specification and sends the SIP request to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含IMS用户要求的S-CSCF能力集,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。II- If the response contains the S-CSCF capability set required by the IMS user, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
III-如果响应既不包含S-CSCF的URI,又不包含IMS用户要求的S-CSCF能力集,I-CSCF应该保存DIAMETER_UNREGISTERED_SERVICE的指示,任选一个S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。III - If the response contains neither the URI of the S-CSCF nor the capability set of the S-CSCF required by the IMS user, the I-CSCF shall keep the indication of DIAMETER_UNREGISTERED_SERVICE, optionally a S-CSCF. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF检查是否保存DIAMETER_UNREGISTERED_SERVICE的指示:2. If not saved, I-CSCF checks whether to save the indication of DIAMETER_UNREGISTERED_SERVICE:
1)如果保存过,I-CSCF任选一个S-CSCF。1) If saved, the I-CSCF selects an S-CSCF.
2)如果没有保存,I-CSCF通过Cx-Select-Pull查询IMS用户要求的S-CSCF能力集(但是因为Cx-Select-Pull命令必选包含IMPI,而I-CSCF无法获得IMPI,因此要求将Cx-Select-Pull命令中IMPI改为有条件的,当UserAuthorization Type为查询能力集时可以没有IMPI),根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。2) If not saved, the I-CSCF queries the S-CSCF capability set required by the IMS user through Cx-Select-Pull (but because the Cx-Select-Pull command must include IMPI, and the I-CSCF cannot obtain the IMPI, it is required to In the Cx-Select-Pull command, the IMPI is changed to be conditional. When the UserAuthorization Type is the query capability set, there may be no IMPI), and an S-CSCF that meets the requirements is selected according to the S-CSCF capability set required by the IMS user.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
替代方案6Alternative 6
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF,同时返回IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user, and at the same time returns the S-CSCF capability set required by the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集,如果存在,I-CSCF应该保存IMS用户要求的S-CSCF能力集,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set required by the IMS user, and if so, the I-CSCF shall store the S-CSCF capability set required by the IMS user, the I-CSCF shall After performing the processing required by the 3GPP specifications, the SIP request is sent to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应不包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II- If the response does not contain the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF chooses an S-CSCF.
c)CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。c) The CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF handles the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF任选一个S-CSCF。2. If not saved, the I-CSCF selects an S-CSCF.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
下面结合附图描述本发明的呼叫流程。如图4所示。The call flow of the present invention will be described below in conjunction with the accompanying drawings. As shown in Figure 4.
步骤401、I-CSCF收到初始请求(邀请)。Step 401, the I-CSCF receives an initial request (invitation).
步骤402、I-CSCF通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置。In step 402, the I-CSCF queries the HSS for the registration location of the IMS user through a Cx-Location-Query command.
步骤403、HSS将查询结果(如S-CSCF)返回给I-CSCF。Step 403, the HSS returns the query result (such as the S-CSCF) to the I-CSCF.
步骤404、I-CSCF将SIP请求发送给HSS返回的S-CSCF#1。Step 404, the I-CSCF sends the SIP request to the S-
步骤405、I-CSCF没有收到S-CSCF#1的响应。Step 405, I-CSCF does not receive a response from S-
步骤406、S-CSCF#1通过Cx-Put命令将S-CSCF URI告知HSS。Step 406, S-
步骤407、HSS将Cx-Put命令执行结果返回给S-CSCF#1。Step 407, the HSS returns the execution result of the Cx-Put command to S-
步骤408、S-CSCF#1通过Cx-Pull命令向HSS取用户数据。Step 408, S-
步骤409、HSS将Cx-Pull命令执行结果返回给S-CSCF#1。Step 409, the HSS returns the execution result of the Cx-Pull command to S-
步骤410、I-CSCF根据IMS用户要求的S-CSCF能力集选择另一个满足要求的S-CSCF,将SIP请求发送给这个选择的S-CSCF#2。Step 410, the I-CSCF selects another S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, and sends the SIP request to the selected S-CSCF#2.
步骤411、S-CSCF#2向I-CSCF返回100Trying响应。Step 411, S-CSCF#2 returns a 100 Trying response to the I-CSCF.
步骤412、S-CSCF#1返回响应,I-CSCF不得转发该响应。Step 412, S-
步骤413、S-CSCF#2通过Cx-Put命令将S-CSCF URI告知HSS。Step 413, S-CSCF#2 notifies the HSS of the S-CSCF URI through the Cx-Put command.
步骤414、HSS将Cx-Put命令执行结果返回给S-CSCF#2。Step 414, the HSS returns the execution result of the Cx-Put command to S-CSCF#2.
步骤415、S-CSCF#2通过Cx-Pull命令向HSS取用户数据。Step 415, S-CSCF#2 fetches user data from HSS through Cx-Pull command.
步骤416、HSS将Cx-Pull命令执行结果返回给S-CSCF#2。Step 416, the HSS returns the execution result of the Cx-Pull command to S-CSCF#2.
步骤417、HSS通过Cx-Deregister命令通知S-CSCF#1注销该IMS用户。Step 417, the HSS notifies the S-
步骤418、S-CSCF#1将Cx-Deregister命令执行结果返回给S-CSCF#1。Step 418, S-
步骤419、S-CSCF#2向I-CSCF返回183 Session Progress响应。Step 419, S-CSCF#2 returns a 183 Session Progress response to the I-CSCF.
步骤420、I-CSCF转发183 Session Progress响应。Step 420, the I-CSCF forwards the 183 Session Progress response.
步骤421、S-CSCF#1发起BYE请求,I-CSCF不得转发该请求。Step 421, S-
替代方案7Alternative 7
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF,同时返回IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF handling the unregistered service of the IMS user, and at the same time returns the S-CSCF capability set required by the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集,如果存在,I-CSCF应该保存IMS用户要求的S-CSCF能力集,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set required by the IMS user, and if so, the I-CSCF shall store the S-CSCF capability set required by the IMS user, the I-CSCF shall After performing the processing required by the 3GPP specifications, the SIP request is sent to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集:II - If the response contains an indication of DIAMETER_UNREGISTERED_SERVICE, the I-CSCF shall check whether the response contains the S-CSCF capability set requested by the IMS user:
a)如果包含,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。a) If included, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select a S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user.
b)如果不包含,I-CSCF任选一个S-CSCF。b) If not included, the I-CSCF chooses an S-CSCF.
c)CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。c) The CSCF sends the SIP request to the selected S-CSCF after performing the processing required by the 3GPP specification, and the S-CSCF handles the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF任选一个S-CSCF。2. If not saved, the I-CSCF selects an S-CSCF.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
替代方案8Alternative 8
在IMS网络中,当一个IMS用户的UE做被叫,被叫网络的I-CSCF收到初始请求后,I-CSCF将通过Cx-Location-Query命令向HSS查询该IMS用户的注册位置(如果有多个HSS,I-CSCF将查询SLF得到该IMS用户所在的HSS)。In an IMS network, when the UE of an IMS user is called, after the I-CSCF of the called network receives the initial request, the I-CSCF will query the HSS for the registration location of the IMS user through the Cx-Location-Query command (if If there are multiple HSSs, the I-CSCF will query the SLF to obtain the HSS where the IMS user resides).
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于UNREGISTERED状态或者相关的ID处于UNREGISTERED状态并且都不处于REGISTERED状态时,HSS通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_SOME_ID_UNREGISTERED的指示和处理该IMS用户未注册业务的S-CSCF,同时返回IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the UNREGISTERED state or the related ID is in the UNREGISTERED state and neither is in the REGISTERED state, the HSS sends the I-Location-QueryResp command to the I- The CSCF returns the indication of DIAMETER_SOME_ID_UNREGISTERED and the S-CSCF that handles the unregistered service of the IMS user, and at the same time returns the S-CSCF capability set required by the IMS user.
如果该IMS用户签约了未注册业务(如转语音邮箱等),当该IMS用户处于NOT REGISTERED状态并且相关的ID也处于NOT REGISTERED状态时,HSS将通过Cx-Location-QueryResp命令向I-CSCF返回DIAMETER_UNREGISTERED_SERVICE的指示和该IMS用户要求的S-CSCF能力集。If the IMS user has subscribed to an unregistered service (such as voice mailbox transfer, etc.), when the IMS user is in the NOT REGISTERED state and the related ID is also in the NOT REGISTERED state, the HSS will return to the I-CSCF through the Cx-Location-QueryResp command The indication of DIAMETER_UNREGISTERED_SERVICE and the S-CSCF capability set required by the IMS user.
I-CSCF收到HSS返回的响应后,检查HSS的响应,如果响应包含DIAMETER_SOME_ID_UNREGISTERED或DIAMETER_UNREGISTERED_SERVICE的指示,I-CSCF必须表现为有状态的代理:After the I-CSCF receives the response returned by the HSS, it checks the response of the HSS. If the response contains an indication of DIAMETER_SOME_ID_UNREGISTERED or DIAMETER_UNREGISTERED_SERVICE, the I-CSCF must behave as a stateful proxy:
I-如果响应包含S-CSCF的URI,I-CSCF应该检查响应是否包含IMS用户要求的S-CSCF能力集,如果存在,I-CSCF应该保存IMS用户要求的S-CSCF能力集,I-CSCF执行3GPP规范要求的处理后将SIP请求发送给HSS返回的S-CSCF,由S-CSCF处理该IMS用户的已注册业务或未注册业务。I- If the response contains the URI of the S-CSCF, the I-CSCF shall check whether the response contains the S-CSCF capability set required by the IMS user, and if so, the I-CSCF shall store the S-CSCF capability set required by the IMS user, the I-CSCF shall After performing the processing required by the 3GPP specifications, the SIP request is sent to the S-CSCF returned by the HSS, and the S-CSCF processes the registered or unregistered services of the IMS user.
II-如果响应包含IMS用户要求的S-CSCF能力集,I-CSCF应该保存IMS用户要求的S-CSCF能力集,根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。II- If the response contains the S-CSCF capability set required by the IMS user, the I-CSCF shall save the S-CSCF capability set required by the IMS user, and select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
III-如果响应既不包含S-CSCF的URI,又不包含IMS用户要求的S-CSCF能力集,I-CSCF任选一个S-CSCF。I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由S-CSCF处理该IMS用户的未注册业务。III - If the response contains neither the URI of the S-CSCF nor the set of S-CSCF capabilities required by the IMS user, the I-CSCF selects a S-CSCF. After performing the processing required by the 3GPP specification, the I-CSCF sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user.
如果S-CSCF因为设备故障或通信中断等原因没有返回响应,I-CSCF应该检查是否保存过IMS用户要求的S-CSCF能力集:If the S-CSCF does not return a response due to equipment failure or communication interruption, etc., the I-CSCF should check whether the S-CSCF capability set required by the IMS user has been saved:
1.如果保存过,I-CSCF应该根据前面保存的IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF。1. If saved, the I-CSCF should select an S-CSCF that meets the requirements according to the previously saved S-CSCF capability set required by the IMS user.
2.如果没有保存,I-CSCF任选一个S-CSCF。2. If not saved, the I-CSCF selects an S-CSCF.
I-CSCF执行3GPP规范要求的处理后将SIP请求发送给这个选择的S-CSCF,由该S-CSCF处理该IMS用户的未注册业务,提供类似现网已有的“您呼叫的用户暂时无法接通,请稍后再拨”的网络提示。After the I-CSCF performs the processing required by the 3GPP specifications, it sends the SIP request to the selected S-CSCF, and the S-CSCF handles the unregistered service of the IMS user, providing a service similar to the existing "the user you called is temporarily unavailable temporarily" on the existing network. Connected, please try again later" network prompt.
如果I-CSCF不能根据IMS用户要求的S-CSCF能力集选择一个满足要求的S-CSCF,I-CSCF应该返回600响应。If the I-CSCF cannot select an S-CSCF that meets the requirements according to the S-CSCF capability set required by the IMS user, the I-CSCF should return a 600 response.
如果此后I-CSCF收到原来的S-CSCF返回的SIP响应,I-CSCF不能转发SIP响应。If thereafter the I-CSCF receives the SIP response returned by the original S-CSCF, the I-CSCF cannot forward the SIP response.
S-CSCF收到I-CSCF发送的SIP请求后,检查IMS用户的注册状态,发现没有用户数据,通过Cx-Put、Cx-Pull命令向HSS告知IMS用户的注册状态和S-CSCF URI,获取用户签约数据。HSS收到S-CSCF发送的Cx-Put、Cx-Pull命令后,检查S-CSCF URI,如果与已有的S-CSCF URI不同,HSS通过Cx-Deregister命令通知原来的S-CSCF注销IMS用户,删除用户签约数据。原来的S-CSCF收到HSS发送的Cx-Deregister命令,将注销IMS用户,释放该IMS用户的所有会话,如果该S-CSCF此前收到了I-CSCF发送的SIP请求,此时将向I-CSCF发送BYE请求,I-CSCF收到BYE请求后,不能转发BYE请求。After receiving the SIP request sent by the I-CSCF, the S-CSCF checks the registration status of the IMS user, finds that there is no user data, and informs the HSS of the registration status of the IMS user and the S-CSCF URI through the Cx-Put and Cx-Pull commands, and obtains User signing data. After receiving the Cx-Put and Cx-Pull commands sent by the S-CSCF, the HSS checks the S-CSCF URI. If it is different from the existing S-CSCF URI, the HSS notifies the original S-CSCF to deregister the IMS user through the Cx-Deregister command. , delete user signing data. The original S-CSCF receives the Cx-Deregister command sent by the HSS, and will log out the IMS user and release all sessions of the IMS user. If the S-CSCF has previously received the SIP request sent by the I-CSCF, it will send the The CSCF sends a BYE request, and the I-CSCF cannot forward the BYE request after receiving the BYE request.
因此,根据本发明,如果HSS返回的处理IMS用户未注册业务的S-CSCF因为设备故障或通信中断等原因,没有返回响应,I-CSCF根据IMS用户要求的S-CSCF能力集重选其它的S-CSCF处理该IMS用户的未注册业务,重选的S-CSCF如果成功处理该IMS用户的未注册业务,可以避免主叫侧的SIP请求将因超时而失败,被叫IMS用户的未注册业务也将正确执行,避免可能发生的长时间不能为该IMS用户提供正确业务的严重缺陷。Therefore, according to the present invention, if the S-CSCF that handles the unregistered service of the IMS user returned by the HSS does not return a response due to equipment failure or communication interruption, etc., the I-CSCF reselects another S-CSCF according to the S-CSCF capability set required by the IMS user. The S-CSCF handles the unregistered service of the IMS user. If the re-selected S-CSCF successfully handles the unregistered service of the IMS user, it can avoid the SIP request of the calling side from failing due to timeout, and the unregistered service of the called IMS user The service will also be executed correctly, avoiding the serious defect of being unable to provide the correct service for the IMS user for a long time that may occur.
虽然通过实施例描绘了本发明,但本领域普通技术人员知道,在不脱离本发明的精神和实质的情况下,就可使本发明有许多变形和变化,本发明的范围由所附的权利要求来限定。Although the present invention has been described by the embodiments, those of ordinary skill in the art know that, without departing from the spirit and essence of the present invention, the present invention can have many modifications and variations, and the scope of the present invention is defined by the appended rights Requirements to limit.
Claims (12)
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101182544A CN1881975B (en) | 2005-09-05 | 2005-10-21 | A method of calling user terminal of IP multimedia subsystem |
| PCT/CN2006/002244 WO2007025480A1 (en) | 2005-08-31 | 2006-08-31 | Method of session processing in an ims and interrogating-call state control function |
| EP06775561A EP1921796B1 (en) | 2005-08-31 | 2006-08-31 | Method of session processing in an ims and interrogating-call state control function |
| DE602006011182T DE602006011182D1 (en) | 2005-08-31 | 2006-08-31 | METHOD FOR SESSION PROCESSING IN AN IMS AND A CALL STATE INSPECTION CONTROL FUNCTION |
| AT06775561T ATE452484T1 (en) | 2005-08-31 | 2006-08-31 | METHOD FOR SESSION PROCESSING IN AN IMS AND A CALL STATUS REQUEST CONTROL FUNCTION |
| US12/040,571 US8295158B2 (en) | 2005-08-31 | 2008-02-29 | Method of session processing in an IMS and interrogating-call state control function |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200510099742.5 | 2005-09-05 | ||
| CN200510099742 | 2005-09-05 | ||
| CN2005101182544A CN1881975B (en) | 2005-09-05 | 2005-10-21 | A method of calling user terminal of IP multimedia subsystem |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1881975A CN1881975A (en) | 2006-12-20 |
| CN1881975B true CN1881975B (en) | 2010-10-13 |
Family
ID=37519937
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2005101182544A Expired - Lifetime CN1881975B (en) | 2005-08-31 | 2005-10-21 | A method of calling user terminal of IP multimedia subsystem |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1881975B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101132407B (en) * | 2007-08-13 | 2013-11-06 | 中兴通讯股份有限公司 | Method for processing exception caused by re-selection service call conversation control function |
| CN101217407B (en) * | 2008-01-04 | 2012-12-19 | 中兴通讯股份有限公司 | A processing method on functional failure on calling conversation control agent |
| CN101448243B (en) * | 2008-04-11 | 2011-09-21 | 中兴通讯股份有限公司 | A way to implement user registration |
| CN101478737B (en) * | 2008-12-30 | 2010-10-27 | 华为技术有限公司 | Method, device and system for service migration |
| CN102739499B (en) * | 2011-03-31 | 2015-08-19 | 中国移动通信集团公司 | A kind of method for routing of signaling message, Apparatus and system |
| CN115022878B (en) * | 2022-08-08 | 2022-11-11 | 中国电子科技集团公司第三十研究所 | Method, apparatus and medium for takeover of selected VoLTE user |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1414775A (en) * | 2002-04-26 | 2003-04-30 | 华为技术有限公司 | Routing selection method for IP telephone continued back-up |
| US6654606B1 (en) * | 2000-09-29 | 2003-11-25 | Telefonaktiebolaget L M Ericsson (Publ) | Call state control function (CSCF) call processing |
| WO2004045195A1 (en) * | 2002-11-12 | 2004-05-27 | Nokia Corporation | A method of communication and communication system |
| CN1655546A (en) * | 2004-02-10 | 2005-08-17 | 华为技术有限公司 | A method for lightening the interface load of home subscriber server |
-
2005
- 2005-10-21 CN CN2005101182544A patent/CN1881975B/en not_active Expired - Lifetime
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6654606B1 (en) * | 2000-09-29 | 2003-11-25 | Telefonaktiebolaget L M Ericsson (Publ) | Call state control function (CSCF) call processing |
| CN1414775A (en) * | 2002-04-26 | 2003-04-30 | 华为技术有限公司 | Routing selection method for IP telephone continued back-up |
| WO2004045195A1 (en) * | 2002-11-12 | 2004-05-27 | Nokia Corporation | A method of communication and communication system |
| CN1655546A (en) * | 2004-02-10 | 2005-08-17 | 华为技术有限公司 | A method for lightening the interface load of home subscriber server |
Non-Patent Citations (1)
| Title |
|---|
| 3rd Generation Partnership Project, TechnicalSpecificaitonGroup Core Network and Terminals IPMultimedia CallControl Protocol based on Session InitiationProtocol (SIP)and Session Sescription Protocol(SDP),Stage 3.3GPP TS 24.229 V5.13.0.2005,3(242295130),46-48. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1881975A (en) | 2006-12-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8380189B2 (en) | Preventing registration of a terminal to services in a service providing network | |
| US8553680B2 (en) | Service controlling in a service provisioning system | |
| RU2429576C2 (en) | Method, system and network element for processing service provision after network element data become unavailable, or upon network element denial | |
| CN101809961B (en) | Failure recovery in an IP multimedia subsystem network | |
| JP4700105B2 (en) | Call forwarding in IP Multimedia Subsystem (IMS) | |
| KR101430442B1 (en) | Session update method and terminal through network-based capability management | |
| JP5529129B2 (en) | Method and system for selective call forwarding based on media attributes in a telecommunications network | |
| CN101345748B (en) | Method, system and device for notifying application server of user status | |
| WO2007025480A1 (en) | Method of session processing in an ims and interrogating-call state control function | |
| US8422405B2 (en) | Mobile switching center platform having interfaces with functionalities defined by an architecture that provides packet-switched multimedia subscriber services | |
| EP3142339A1 (en) | System and method for determining trust for sip messages | |
| US7899036B2 (en) | Assignment of a serving entity in a communication system | |
| EP2045964A1 (en) | Method, apparatus and system for deregistering the connection address of wireless ip access network | |
| CN104284360A (en) | P-CSCF fault handling method and system | |
| US20110231560A1 (en) | User Equipment (UE) Session Notification in a Collaborative Communication Session | |
| US8509120B2 (en) | Preserving mid-call state in IMS centralized services sessions | |
| EP3101864B1 (en) | Systems and methods for multi-line, multi-device service in a communications network | |
| US8036659B2 (en) | Method for requesting an unregistered UE to perform registration in the IMS | |
| CN103098439B (en) | Method and apparatus for maintaining registration for emergency services | |
| CN1881975B (en) | A method of calling user terminal of IP multimedia subsystem | |
| CN100512495C (en) | Method and system for realizing called service | |
| CN100466811C (en) | A method of calling user terminal of IP multimedia subsystem | |
| US9426711B2 (en) | Traffic control within an IP multimedia subsystem | |
| CN100550884C (en) | Processing method of SIP protocol request in business process based on retry mechanism | |
| EP2478683B1 (en) | Method and node in a telecommunications network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term |
Granted publication date: 20101013 |
|
| CX01 | Expiry of patent term |