






技术领域technical field
本发明涉及一种通信技术,尤其涉及一种呼叫释放控制系统及其方法。The invention relates to a communication technology, in particular to a call release control system and method thereof.
背景技术Background technique
目前,随着分组技术的不断成熟,基于电路交换的传统电信网络正在向着基于分组交换的宽带电信网发展,很多运营商都准备或已经建立了分组电信网,虽然用户使用分组通讯终端接入分组电信网是未来发展的趋势,但运营商在分组电信网的建设过程中,不可能使所有签约用户统一更换终端设备,因此至少现阶段的分组电信网应该能够支持传统终端的接入,这样分组电信网就需要继承传统的PSTN(公共电话交换网)业务。At present, with the continuous maturity of packet technology, traditional telecommunication networks based on circuit switching are developing towards broadband telecommunication networks based on packet switching. Many operators are preparing or have established packet telecommunication networks. Although users use packet communication terminals to access packet telecommunication network is the trend of future development, but during the construction of the packet telecommunication network, it is impossible for operators to make all subscribers uniformly replace terminal equipment, so at least the current packet telecommunication network should be able to support the access of traditional terminals, so that packet telecommunication The network needs to inherit the traditional PSTN (Public Switched Telephone Network) service.
在现有技术中,如ITU-T和ETSI正在制订的NGN(下一代网络)标准中,将传统终端接入至NGN并由NGN为其提供的传统PSTN业务,称为PSTN仿真业务(Emulation Service),它采用SIP作为分组电信核心网的呼叫控制信令,传统终端可以通过某种网络接入节点设备接入至分组电信网,由该设备完成模拟用户信令和分组信令的转译。In the existing technology, such as the NGN (Next Generation Network) standard being formulated by ITU-T and ETSI, the traditional PSTN service that traditional terminals are connected to NGN and provided by NGN is called PSTN emulation service (Emulation Service) ), which uses SIP as the call control signaling of the packet telecommunications core network. Traditional terminals can access the packet telecommunications network through some network access node equipment, and the equipment completes the translation of analog user signaling and packet signaling.
在现有技术的分组域网络中,如图1所示,其呼叫流程如下。In the packet domain network of the prior art, as shown in FIG. 1 , the call flow is as follows.
步骤101:Alice向Bob发起呼叫,即Alice向Bob发送邀请(INVITE)消息,消息中携带Bob的地址;Step 101: Alice initiates a call to Bob, that is, Alice sends an INVITE message to Bob, and the message carries Bob's address;
步骤102:Bob收到INVITE消息后,向Alice发送振铃(180Ringing)消息,通知Alice消息已收到,Alice放回铃音;Step 102: After receiving the INVITE message, Bob sends a ringing (180Ringing) message to Alice, notifying Alice that the message has been received, and Alice plays the ringing tone;
步骤103:Bob摘机,向Alice发送200 OK消息;Step 103: Bob picks up the phone and sends a 200 OK message to Alice;
步骤104:Alice向Bob发送确信(ACK)消息确认,建立会话;Step 104: Alice sends an acknowledgment (ACK) message to Bob for confirmation, and establishes a session;
此时,在Alice和Bob之间建立了一条媒体通道,以实现媒体传递。At this point, a media channel is established between Alice and Bob to implement media transfer.
步骤105:Bob挂机,释放此次呼叫,同时向Alice发送BYE消息;Step 105: Bob hangs up, releases the call, and sends a BYE message to Alice;
步骤106:Alice收到BYE消息,释放本端的资源,同时向Bob发送200OK响应。Step 106: Alice receives the BYE message, releases the local resources, and sends a 200 OK response to Bob.
上述流程中Alice和Bob之间可以经过其它节点转发消息。In the above process, messages between Alice and Bob can be forwarded through other nodes.
由上述呼叫流程可知,在现有分组域呼叫控制协议SIP中终端在挂机后,一般会主动释放已经建立的分组媒体流通道。It can be seen from the above call flow that in the existing packet domain call control protocol SIP, after the terminal hangs up, it will generally actively release the established packet media stream channel.
然而,这种方法在某些情况下可能不是很好,比如当某个用户终端呼叫火警号码119时,如果能够实现该用户终端挂机时,该呼叫并不立即释放,而是等待一段时间才能释放,则可节约用户终端在所设定的一段时间内再次呼叫119终端的时间,从而为这种紧急情况节约保贵时间。However, this method may not be very good in some cases. For example, when a user terminal calls the
发明内容Contents of the invention
本发明的目标是提供一种呼叫释放控制系统及其方法。能够提供互不控制,主叫控制、被叫控制和主叫/被叫双方控制的呼叫流程。The object of the present invention is to provide a call release control system and method thereof. Able to provide mutual non-controlling, caller control, callee control, and caller/called party control call flow.
本发明提供了一种呼叫释放控制系统,所述呼叫释放控制系统包括会话发起协议SIP用户代理节点、呼叫会话控制单元和用户终端,所述呼叫释放控制系统还包括呼叫释放控制单元,The present invention provides a call release control system, the call release control system includes a session initiation protocol SIP user agent node, a call session control unit and a user terminal, the call release control system also includes a call release control unit,
所述用户终端用于产生摘机和/或挂机事件;The user terminal is used to generate an off-hook and/or on-hook event;
所述用户代理节点和呼叫会话控制单元用于将摘机和/或挂机事件发给呼叫释放控制单元;The user agent node and the call session control unit are used to send off-hook and/or on-hook events to the call release control unit;
所述呼叫释放控制单元用于根据呼叫请求和本地数据配置确定呼叫释放方式,并根据确定的呼叫释放控制方式和用户终端的摘机和挂机事件对呼叫释放进行控制,The call release control unit is used to determine the call release mode according to the call request and local data configuration, and to control the call release according to the determined call release control mode and the off-hook and on-hook events of the user terminal,
其中,所述呼叫释放控制方式根据释放呼叫的控制方进行划分。Wherein, the call release control mode is divided according to the control party that releases the call.
所述呼叫释放控制单元位于本网络系统的任意节点设备上,或作为单独功能实体存在。The call release control unit is located on any node device in the network system, or exists as a separate functional entity.
所述呼叫释放控制方式包括互不控制方式,主叫控制方式、被叫控制方式和双方控制方式。The call release control mode includes mutual non-control mode, caller control mode, called party control mode and both parties control mode.
所述呼叫释放控制单元包括:The call release control unit includes:
判断单元,用于根据呼叫请求和本地数据配置确定本次呼叫的呼叫释放控制方式;A judging unit, configured to determine the call release control mode of this call according to the call request and local data configuration;
接收单元,用于接收用户终端发来的摘机、挂机事件;The receiving unit is used to receive the off-hook and on-hook events sent by the user terminal;
处理单元,用于根据判断单元的结果和接收单元所接收的摘机、挂机事件决定是否释放本次呼叫;The processing unit is used to decide whether to release the call according to the result of the judging unit and the off-hook and on-hook events received by the receiving unit;
发送单元,用于将处理单元所处理的结果发给SIP用户代理节点。The sending unit is configured to send the result processed by the processing unit to the SIP user agent node.
所述呼叫释放控制单元还包括:The call release control unit also includes:
呼叫释放控制定时器,用于决定本次呼叫自被控制方挂机后所持续的时间。The call release control timer is used to determine the duration of the call after the controlled party hangs up.
本发明还提供了一种呼叫释放控制方法,应用于用户终端通过分组核心网进行通话的流程中,包括:The present invention also provides a method for controlling call release, which is applied to the process of calling a user terminal through a packet core network, including:
A、用户终端产生摘机/挂机事件,SIP用户代理节点将摘机、挂机事件发给呼叫释放控制单元;A, the user terminal generates an off-hook/on-hook event, and the SIP user agent node sends the off-hook and on-hook events to the call release control unit;
B、呼叫释放控制单元根据呼叫请求和本地数据配置确定呼叫释放方式,并根据确定的呼叫释放控制方式和摘机/挂机事件进行呼叫释放控制,B. The call release control unit determines the call release mode according to the call request and local data configuration, and performs call release control according to the determined call release control mode and off-hook/hang-hook events,
其中,所述呼叫释放控制方式根据释放呼叫的控制方进行划分。Wherein, the call release control mode is divided according to the control party that releases the call.
所述的呼叫释放控制方式包括互不控制方式、主叫控制方式、被叫控制方式和双方控制方式。The call release control mode includes mutual non-control mode, caller control mode, called party control mode and both parties control mode.
当呼叫释放控制方式为互不控制方式时,呼叫释放控制单元收到用户终端挂机事件时,呼叫释放控制单元释放本次呼叫。When the call release control mode is mutual non-control mode, when the call release control unit receives an on-hook event of the user terminal, the call release control unit releases the call.
当呼叫释放控制方式为主叫控制方式时,所述的步骤B进一步包括:When the call release control mode is the caller control mode, the step B further includes:
B1、当呼叫释放控制单元收到本网络主叫用户终端挂机事件时,呼叫释放控制单元释放本次呼叫;B1. When the call release control unit receives the on-hook event of the calling user terminal of the network, the call release control unit releases the call;
B2、当呼叫释放控制单元收到本网络被叫用户终端挂机事件时,呼叫释放控制单元按照主叫控制方式控制释放本次呼叫。B2. When the call release control unit receives the on-hook event of the called user terminal in the network, the call release control unit controls the release of the call according to the caller control mode.
所述的步骤B2进一步包括:Described step B2 further comprises:
B21、被叫用户终端向呼叫释放控制单元发送挂机事件;B21. The called user terminal sends an on-hook event to the call release control unit;
B22、呼叫释放控制单元收到被叫用户终端发送的挂机事件后,启动呼叫释放控制定时器;B22, the call release control unit starts the call release control timer after receiving the on-hook event sent by the called user terminal;
B23、在呼叫释放控制定时器时间内,如果呼叫释放控制单元收到被叫用户终端的摘机事件,则将呼叫释放控制定时器清零;B23, within the call release control timer time, if the call release control unit receives the off-hook event of the called user terminal, then the call release control timer is cleared;
B24、当呼叫释放控制定时器超时,呼叫释放控制单元释放呼叫。B24. When the call release control timer expires, the call release control unit releases the call.
当呼叫释放控制方式为被叫控制方式时,所述的步骤B进一步包括:When the call release control mode is the called control mode, the step B further includes:
B3、当本网络中的被叫用户终端挂机时,呼叫释放控制单元释放本次呼叫;B3. When the called user terminal in the network hangs up, the call release control unit releases the call;
B4、当本网络中的主叫用户终端挂机时,呼叫释放控制单元按照被叫控制方式控制释放本次呼叫。B4. When the calling user terminal in the network hangs up, the call release control unit controls the release of the call according to the called control mode.
所述的步骤B4进一步包括:Described step B4 further comprises:
B41、主叫用户终端向呼叫释放控制单元发送挂机事件;B41. The calling user terminal sends an on-hook event to the call release control unit;
B42、呼叫释放控制单元收到主叫用户终端发送的挂机事件后,启动呼叫释放控制定时器;B42, the call release control unit starts the call release control timer after receiving the on-hook event sent by the calling user terminal;
B43、在呼叫释放控制定时器时间内,如果呼叫释放控制单元收到主叫用户终端的摘机事件,则将呼叫释放控制定时器清零;B43, within the call release control timer time, if the call release control unit receives the off-hook event of the calling user terminal, then the call release control timer is cleared;
B44、当呼叫释放控制定时器超时,呼叫释放控制单元释放呼叫。B44. When the call release control timer expires, the call release control unit releases the call.
所述的步骤B43进一步包括:Described step B43 further comprises:
当呼叫释放控制单元收到主叫用户终端的摘机事件后,呼叫释放控制单元使呼叫释放控制定时器无效;After the call release control unit receives the off-hook event of the calling user terminal, the call release control unit invalidates the call release control timer;
当呼叫释放控制单元收到主叫用户终端的挂机事件后,启动呼叫释放控制定时器。When the call release control unit receives the on-hook event of the calling user terminal, it starts the call release control timer.
当呼叫释放控制方式为双方控制方式时,所述的步骤B进一步包括:When the call release control mode is the control mode of both parties, the step B further includes:
B5、当本网络中的主叫用户终端和/或被叫用户终端挂机时,呼叫释放控制单元按照双方控制方式控制释放本次呼叫。B5. When the calling user terminal and/or the called user terminal in the network hang up, the call release control unit controls the release of the call according to the control mode of both parties.
所述的步骤B5进一步包括:Described step B5 further comprises:
B51、主叫用户终端和/或被叫用户终端向呼叫释放控制单元发送挂机事件;B51. The calling user terminal and/or the called user terminal sends an on-hook event to the call release control unit;
B52、呼叫释放控制单元收到主叫用户终端和/或被叫用户终端发送的挂机事件后,启动呼叫释放控制定时器;B52, the call release control unit starts the call release control timer after receiving the on-hook event sent by the calling user terminal and/or the called user terminal;
B53、在呼叫释放控制定时器时间内,如果呼叫释放控制单元收到主叫用户终端和/或被叫用户终端的摘机事件,则将呼叫释放控制定时器清零;B53, within the call release control timer time, if the call release control unit receives the off-hook event of the calling user terminal and/or the called user terminal, then the call release control timer is cleared;
B54、当呼叫释放控制定时器超时,呼叫释放控制单元释放呼叫。B54. When the call release control timer expires, the call release control unit releases the call.
所述的呼叫释放控制单元根据呼叫释放控制定时器是否超时控制释放呼叫进一步包括:The described call release control unit further includes:
当呼叫释放控制定时器超时时,呼叫释放控制单元释放本次呼叫;When the call release control timer expires, the call release control unit releases the call;
当呼叫释放控制定时器未超时时,呼叫释放控制单元保持本次呼叫。When the call release control timer does not expire, the call release control unit maintains the call.
所述的呼叫释放控制单元释放本次呼叫具体包括:呼叫释放控制单元向SIP用户代理节点发送BYE消息,SIP用户代理节点收到BYE消息后,释放本次呼叫。The release of the call by the call release control unit specifically includes: the call release control unit sends a BYE message to the SIP user agent node, and the SIP user agent node releases the call after receiving the BYE message.
所述的呼叫释放控制单元释放本次呼叫具体包括:呼叫释放控制单元向SIP用户代理节点发送呼叫释放控制消息,SIP用户代理节点收到呼叫释放控制消息后,释放此次呼叫。The release of the call by the call release control unit specifically includes: the call release control unit sends a call release control message to the SIP user agent node, and the SIP user agent node releases the call after receiving the call release control message.
在执行步骤A之前,呼叫释放控制单元订阅本网络中用户终端的摘机、挂机事件。Before step A is executed, the call release control unit subscribes to the off-hook and on-hook events of the user terminal in the network.
所述的呼叫释放控制单元订阅终端的摘机、挂机事件的时机为在用户终端注册时。The time when the call release control unit subscribes to the off-hook and on-hook events of the terminal is when the user terminal is registered.
在执行步骤A之前,呼叫释放控制单元获得本次呼叫的呼叫释放控制方式。Before step A is executed, the call release control unit obtains the call release control mode of the current call.
本发明还公开了一种呼叫释放控制单元,所述呼叫释放控制单元位于本网络系统的任意节点设备上,或作为单独功能实体存在,所述呼叫释放控制单元用于根据呼叫释放控制方式和用户终端的摘机和/或挂机事件控制呼叫释放操作。所述呼叫释放控制单元包括:判断单元,用于根据本地数据配置和呼叫请求确定本次呼叫的呼叫释放控制方式;接收单元,用于接收用户终端发来的摘机、挂机事件;发送单元,用于将处理单元所处理的结果发给SIP用户代理节点;处理单元,用于根据判断单元的结果和接收单元所接收的摘机、挂机事件决定是否释放本次呼叫。The invention also discloses a call release control unit. The call release control unit is located on any node device of the network system, or exists as a separate functional entity. The call release control unit is used to The off-hook and/or on-hook events of the terminal control the call release operation. The call release control unit includes: a judging unit, configured to determine the call release control mode of this call according to local data configuration and a call request; a receiving unit, configured to receive off-hook and on-hook events sent by the user terminal; a sending unit, It is used to send the result processed by the processing unit to the SIP user agent node; the processing unit is used to decide whether to release the call according to the result of the judging unit and the off-hook and on-hook events received by the receiving unit.
所述呼叫释放控制单元还包括:呼叫释放控制定时器,用于决定本次呼叫自被控制方挂机后所持续的时间。The call release control unit further includes: a call release control timer, which is used to determine the duration of the call after the controlled party hangs up.
因此,根据本发明,能够提供互不控制,主叫控制、被叫控制和主叫/被叫双方控制释放控制系统。从而可适应多种需求,比如紧急呼叫所就需要的被叫控制。Therefore, according to the present invention, it is possible to provide a control system that does not control each other, the calling party controls, the called party controls, and both the calling party and the called party control. Therefore, it can adapt to various requirements, such as the called party control required for emergency calls.
附图说明Description of drawings
图1示出了现有技术的呼叫流程;Fig. 1 shows the call flow of prior art;
图2示出了本发明的呼叫释放控制系统的示意图;Fig. 2 shows the schematic diagram of the call release control system of the present invention;
图3、图4和图5示出了本发明的呼叫流程;Fig. 3, Fig. 4 and Fig. 5 have shown the call flow of the present invention;
图6和图7示出了第一实施例主叫控制时呼叫释放控制的流程图;Fig. 6 and Fig. 7 have shown the flow chart of call release control when the caller control of the first embodiment;
图8和图9示出了第一实施例被叫控制时呼叫释放控制的流程图。Fig. 8 and Fig. 9 show the flow chart of the call release control in the called party control in the first embodiment.
具体实施方式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.
在描述本发明之前,首先介绍呼叫释放控制方式的种类和含义。Before describing the present invention, the types and meanings of call release control modes are firstly introduced.
呼叫释放控制方式通常包括:互不控制、主叫控制、被叫控制和双方控制。其中互不控制是最简单的一种释放控制方式,指呼叫中的任何一方挂机,该呼叫就被释放;主叫控制是指由主叫来控制呼叫的释放,被叫挂机时,呼叫并不立即释放,在一定时间内,如果被叫重新摘机,通话能够继续进行,在呼叫释放控制定时器超时时,或者主叫挂机的情况下,呼叫才被释放;被叫控制和主叫控制相反,它由被叫来控制呼叫的释放;双方控制是指主叫和被叫均能够控制呼叫的释放,任何一方挂机后,必须等待超时后,呼叫才被释放。Call release control methods generally include: mutual non-control, calling control, called control and both parties control. Among them, mutual non-control is the simplest release control method, which means that any party in the call hangs up, and the call is released; caller control means that the caller controls the release of the call, and when the called party hangs up, the call is not Immediate release, within a certain period of time, if the called party picks up the phone again, the call can continue, and the call will be released only when the call release control timer expires or the calling party hangs up; the called party control is opposite to the calling party's control , it is called to control the release of the call; both parties control means that both the calling party and the called party can control the release of the call. After either party hangs up, it must wait for a timeout before the call is released.
为了确定呼叫释放控制方式,可在呼叫释放控制单元中设置一个呼叫释放控制方式表。所述的呼叫释放控制方式表包括:用户终端号码、呼叫释放控制方式。为了灵活地确定呼叫释放控制方式,还可在呼叫释放控制方式表中加入其它字段,如时间段,用来表示呼叫呼叫释放控制方式在该时间段内有效或无效。In order to determine the call release control mode, a call release control mode table can be set in the call release control unit. The call release control mode table includes: user terminal number, call release control mode. In order to flexibly determine the call release control mode, other fields, such as a time period, may also be added to the call release control mode table to indicate whether the call release control mode is valid or invalid within the time period.
本发明的基本思想是,在分组网络中,设置有呼叫释放控制单元,以便根据呼叫释放控制方式执行呼叫释放操作。所述呼叫释放控制方式包括互不控制方式,主叫控制方式、被叫控制方式和双方控制方式。The basic idea of the present invention is that in a packet network, a call release control unit is provided to perform call release operations according to a call release control method. The call release control mode includes mutual non-control mode, caller control mode, called party control mode and both parties control mode.
如图2所示,根据本发明,本发明提供了一种呼叫释放控制系统,所述呼叫释放控制系统包括用户终端、SIP用户代理节点、呼叫会话控制单元和呼叫释放控制单元,所述呼叫释放控制单元可以位于分组网络中的任意节点功能设备上(如呼叫会话控制单元和/或业务控制单元),或作为单独功能实体存在。As shown in Fig. 2, according to the present invention, the present invention provides a kind of call release control system, and described call release control system comprises user terminal, SIP user proxy node, call session control unit and call release control unit, and described call release The control unit may be located on any node functional device in the packet network (such as a call session control unit and/or a service control unit), or exist as a separate functional entity.
所述用户终端用于产生摘机和/或挂机事件,所述用户终端为PSTN的终端。The user terminal is used to generate an off-hook and/or on-hook event, and the user terminal is a PSTN terminal.
所述SIP用户代理节点是用户终端接入分组核心网的SIP用户代理,用于将本网络用户终端的摘挂机事件上报给呼叫释放控制单元,用户终端可直接或间接的连接至SIP用户代理节点,SIP用户代理节点提供模拟用户信令和分组核心网控制信令SIP之间的转译功能;模拟用户信息和核心网控制信令SIP的转译功能可以直接完成,也可以通过其它分组呼叫控制信令,如H248协议,间接转译完成,在间接转译的情况下,需要SIP用户代理节点或其它网络节点完成模拟用户信令和其它分组呼叫控制信令的转译功能,而SIP用户代理节点完成其它分组呼叫控制信令到核心网控制信令SIP的转译功能。The SIP user agent node is a SIP user agent for the user terminal to access the packet core network, and is used to report the on-hook event of the user terminal in this network to the call release control unit, and the user terminal can be directly or indirectly connected to the SIP user agent node , the SIP user agent node provides the translation function between simulated user signaling and packet core network control signaling SIP; the translation function of simulated user information and core network control signaling SIP can be completed directly, or through other packet call control signaling , such as the H248 protocol, indirect translation is completed. In the case of indirect translation, SIP user agent nodes or other network nodes are required to complete the translation function of analog user signaling and other packet call control signaling, while SIP user agent nodes complete other packet calls. Translating the control signaling to the core network control signaling SIP.
所述呼叫会话控制单元为接入分组核心网的注册用户(如POTS终端用户)提供呼叫控制、路由接续等功能,它可以将呼叫触发至业务控制单元,也可以将呼叫路由到其它呼叫会话控制单元;呼叫会话控制单元还可以通过接口网关设备将呼叫路由其它网络,如PSTN网络。呼叫会话控制单元和SIP用户代理节点之间的E1接口,到其它呼叫会话控制单元的E2接口,和到业务控制单元的E3接口均使用SIP协议。E1,E2,E3接口可以直接连接,也可以通过其它网络节点转接。The call session control unit provides functions such as call control and routing connection for registered users (such as POTS terminal users) accessing the packet core network. It can trigger calls to the service control unit, and can also route calls to other call session control units. unit; the call session control unit can also route the call to other networks, such as the PSTN network, through the interface gateway device. The E1 interface between the call session control unit and the SIP user agent node, the E2 interface to other call session control units, and the E3 interface to the service control unit all use the SIP protocol. E1, E2, E3 interfaces can be directly connected, or can be transferred through other network nodes.
所述业务控制单元为接入分组核心网的注册用户提供各种业务逻辑控制功能,是各种业务的宿主执行环境。可以有多个处理不同业务的业务控制单元存在,业务控制单元和呼叫会话控制单元也可以合并到一个物理实体设备内实现。The service control unit provides various service logic control functions for registered users accessing the packet core network, and is the host execution environment of various services. There may be multiple service control units processing different services, and the service control unit and the call session control unit may also be combined into one physical entity device for implementation.
所述呼叫释放控制单元用于根据呼叫释放控制方式执行呼叫释放操作。所述呼叫释放控制方式包括主叫控制方式、被叫控制方式和双方控制方式。所述呼叫释放控制单元包括:判断单元,用于根据本地数据配置和呼叫请求确定本次呼叫的呼叫释放控制方式;接收单元,用于接收用户终端发来的摘机、挂机事件,呼叫释放控制定时器,用于决定本次呼叫自被控制方挂机后所持续的时间;处理单元,用于根据判断单元的结果和接收单元所接收的摘机、挂机事件来决定是否释放本次呼叫;发送单元,用于将处理单元所处理的结果发给SIP用户代理节点。The call release control unit is used for performing a call release operation according to a call release control mode. The call release control mode includes a caller control mode, a called party control mode and a two-party control mode. The call release control unit includes: a judging unit, configured to determine the call release control mode of this call according to the local data configuration and the call request; a receiving unit, used to receive the off-hook and on-hook events sent by the user terminal, and call release control The timer is used to determine the duration of the call since the controlled party hangs up; the processing unit is used to decide whether to release the call according to the result of the judging unit and the off-hook and on-hook events received by the receiving unit; A unit, configured to send the result processed by the processing unit to the SIP user agent node.
本发明还提供了一种呼叫释放控制方法,可根据呼叫释放控制方式实现呼叫释放控制。所述呼叫释放控制方式包括主叫控制方式、被叫控制方式和双方控制方式,以下通过实施例对上述三种释放控制方式分别进行描述。The invention also provides a call release control method, which can realize call release control according to the call release control mode. The call release control mode includes a caller control mode, a called party control mode and a both party control mode, and the above three release control modes will be described respectively through embodiments below.
实施例Example
本实施例的基本思想是呼叫释放功能由呼叫释放控制单元实施,SIP用户代理节点不释放呼叫,而仅仅将本网络用户终端的摘挂机事件上报给呼叫释放控制单元,由呼叫释放控制单元来实施对呼叫的释放。The basic idea of this embodiment is that the call release function is implemented by the call release control unit, and the SIP user agent node does not release the call, but only reports the on-hook event of the user terminal in this network to the call release control unit, which is implemented by the call release control unit Release of the call.
图3、图4和图5示出了本发明的呼叫流程。下面结合图3,图4和图5来描述本发明。Figure 3, Figure 4 and Figure 5 show the call flow of the present invention. The present invention will be described below in conjunction with FIG. 3 , FIG. 4 and FIG. 5 .
步骤1-4、呼叫释放控制单元订阅本网络用户终端的摘挂机状态。Steps 1-4: The call release control unit subscribes to the off-hook status of the user terminal in the network.
呼叫释放控制单元通过呼叫会话控制单元向SIP代理节点订阅用户终端的摘机、挂机事件,该操作可以在终端注册的时候进行,也可以在其它情况下进行。The call release control unit subscribes the off-hook and on-hook events of the user terminal to the SIP proxy node through the call session control unit. This operation can be performed when the terminal is registered or in other situations.
步骤5、呼叫建立。Step 5, call establishment.
该呼叫流程和普通流程一致。The call flow is consistent with the normal flow.
步骤6-32、终端挂机处理流程。Step 6-32, terminal on-hook processing flow.
步骤6-10,终端上报挂机信号。In steps 6-10, the terminal reports an on-hook signal.
呼叫建立后,如果终端挂机,SIP用户代理节点通过SIP消息将该终端挂机事件通知呼叫释放控制单元,呼叫释放控制单元发送响应,并根据呼叫释放控制方式和呼叫过程的角色(主叫方或被叫方)判断呼叫是否需要释放。步骤11-32详细描述呼叫释放控制单元控制呼叫的过程。After the call is established, if the terminal hangs up, the SIP user agent node notifies the call release control unit of the terminal hang-up event through the SIP message, and the call release control unit sends a response, and according to the call release control mode and the role of the call process (calling party or called party) calling party) to determine whether the call needs to be released. Steps 11-32 describe in detail the process by which the call release control unit controls the call.
步骤11-12、终端挂机情况下,如果呼叫释放控制单元根据呼叫释放控制方式和呼叫过程的角色判断呼叫需要释放,呼叫释放控制单元通过诸如REFER消息将呼叫释放控制消息发送到SIP用户代理节点。Step 11-12, when the terminal is on-hook, if the call release control unit judges that the call needs to be released according to the call release control mode and the role of the call process, the call release control unit sends the call release control message to the SIP user agent node by such as a REFER message.
步骤13-15、SIP用户代理节点收到呼叫释放控制消息后,释放此次呼叫,然后向呼叫会话控制单元发送BYE消息,呼叫会话控制单元向呼叫对端设备转发呼叫释放请求。Steps 13-15: After receiving the call release control message, the SIP user agent node releases the call, and then sends a BYE message to the call session control unit, and the call session control unit forwards the call release request to the peer device.
步骤16-18、呼叫会话控制单元收到呼叫对端设备的呼叫释放响应,并将呼叫释放响应转发到被叫SIP用户代理节点。Steps 16-18, the call session control unit receives the call release response from the peer device, and forwards the call release response to the called SIP user agent node.
上述步骤11-18中、终端挂机情况下,如果呼叫释放控制单元根据呼叫释放控制方式和呼叫过程的角色判断呼叫需要释放,呼叫释放控制单元也可以发送BYE消息到SIP用户代理节点和呼叫对端设备,SIP用户代理节点收到BYE消息后,释放此次呼叫。In the above steps 11-18, when the terminal is on-hook, if the call release control unit judges that the call needs to be released according to the call release control mode and the role of the call process, the call release control unit can also send a BYE message to the SIP user agent node and the call peer The device, the SIP user agent node releases the call after receiving the BYE message.
步骤19、终端挂机情况下,如果呼叫释放控制单元根据呼叫释放控制方式和呼叫过程的角色判断呼叫不需要释放,呼叫释放控制单元启动呼叫释放控制定时器监控此次呼叫。Step 19, when the terminal is on-hook, if the call release control unit judges that the call does not need to be released according to the call release control mode and the role of the call process, the call release control unit starts the call release control timer to monitor the call.
步骤20-24、终端摘机,恢复通话。Steps 20-24, the terminal goes off-hook and resumes the call.
在呼叫释放控制定时器时间内,如果终端摘机,能够和对端恢复通话。SIP用户代理节点将终端摘机的事件通知呼叫释放控制单元,呼叫释放控制单元将该呼叫的呼叫释放控制定时器清零,并回送响应。Within the time of the call release control timer, if the terminal goes off-hook, the conversation with the opposite terminal can be resumed. The SIP user agent node notifies the call release control unit of the off-hook event of the terminal, and the call release control unit clears the call release control timer of the call and sends back a response.
步骤25-26,在终端挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元通过诸如REFER消息将呼叫释放控制消息发送到SIP用户代理节点。Steps 25-26, when the terminal is on-hook, after the call release control timer expires, the call release control unit sends the call release control message to the SIP user agent node through a REFER message, for example.
步骤27-29、被叫SIP用户代理节点收到呼叫释放控制消息后,释放此次呼叫,然后向呼叫会话控制单元发送BYE消息,呼叫会话控制单元向对端设备转发呼叫释放请求。Steps 27-29: After receiving the call release control message, the called SIP user agent node releases the call, and then sends a BYE message to the call session control unit, and the call session control unit forwards the call release request to the peer device.
步骤30-32、呼叫会话控制单元收到对端设备的呼叫释放响应,并将呼叫释放响应转发到SIP用户代理节点。Steps 30-32, the call session control unit receives the call release response from the peer device, and forwards the call release response to the SIP user agent node.
上述步骤25-32中、在终端挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元也可以发送BYE消息到SIP用户代理节点和对端设备,SIP用户代理节点收到BYE消息后,释放此次呼叫。In the above steps 25-32, when the terminal is on-hook, after the call release control timer expires, the call release control unit can also send a BYE message to the SIP user agent node and the peer device, and the SIP user agent node receives the BYE message , to release the call.
步骤33-38、SIP用户代理节点收到对端呼叫释放请求,释放呼叫。Steps 33-38, the SIP user agent node receives the call release request from the opposite end, and releases the call.
步骤33-35、当呼叫会话控制单元收到该呼叫对端设备的呼叫释放请求,将该呼叫释放请求转发到呼叫释放控制单元,然后使呼叫释放控制定时器无效,将呼叫释放请求发给SIP用户代理节点。Steps 33-35, when the call session control unit receives the call release request of the call peer device, forward the call release request to the call release control unit, then invalidate the call release control timer, and send the call release request to the SIP User agent node.
步骤36-38、SIP用户代理节点收到呼叫释放请求后,将释放此次呼叫,并给终端送提示音,同时发送呼叫释放响应给呼叫会话控制单元,呼叫会话控制单元向对端设备发送呼叫释放响应。Steps 36-38: After receiving the call release request, the SIP user agent node will release the call, send a prompt tone to the terminal, and send a call release response to the call session control unit, and the call session control unit sends a call to the peer device Release the response.
上面描述了本发明的呼叫控制的基本方法,下面以呼叫释放控制单元位于业务控制单元为例,分别描述互不控制方式,主叫控制方式、被叫控制方式和双方控制方式下实现呼叫释放的流程:The basic method of call control of the present invention has been described above, and the call release control unit is located in the service control unit as an example below to describe the mutual non-control mode, the calling control mode, the called control mode and the control mode of both parties to realize call release. process:
1、主叫控制方式1. Caller control method
图6和图7示出了主叫控制方式情况下的呼叫流程。在该流程中,其主叫侧用户可以来自本PSTN仿真系统,也可以来自其它PSTN仿真系统或者PSTN网络或者其它网络,由于主叫侧呼叫控制流程和现有流程一致,因此,图6和图7仅示出了被叫侧的呼叫控制过程。下面结合图6和图7来描述主叫控制方式下呼叫释放控制方法。Figure 6 and Figure 7 show the call flow in the caller control mode. In this flow, the calling side user can come from this PSTN simulation system, or from other PSTN simulation systems or PSTN networks or other networks. Since the call control flow of the calling side is consistent with the existing flow, therefore, Fig. 6 and Fig. 6 7 only shows the call control process on the called side. The following describes the call release control method in the caller control mode with reference to FIG. 6 and FIG. 7 .
步骤101-104、呼叫释放控制单元订阅本网络用户终端摘挂机状态。Steps 101-104, the call release control unit subscribes to the on-hook state of the user terminal in the network.
呼叫释放控制单元通过呼叫会话控制单元向被叫用户的SIP代理节点订阅被叫用户的摘机、挂机事件,该操作可以在终端注册的时候进行,也可以在其它情况下进行;The call release control unit subscribes the called user's off-hook and on-hook events to the called user's SIP proxy node through the call session control unit, and this operation can be performed when the terminal is registered or in other situations;
步骤105-109、呼叫建立过程Steps 105-109, call establishment process
主叫呼叫会话控制单元收到来自主叫的呼叫建立请求,将该呼叫请求发给呼叫释放控制单元,呼叫释放控制单元根据该呼叫请求的内容和本地的数据配置,可确定该呼叫的释放控制方式为主叫控制方式(当确定该呼叫的呼叫释放控制方式为其它释放控制方式时,其流程将在下面描述),接着呼叫释放控制单元生成呼叫释放控制消息,然后将该呼叫请求和呼叫释放控制消息发给被叫的SIP用户代理节点,SIP用户代理节点利用呼叫请求消息向被叫用户终端送振铃,用户摘机后,呼叫建立;SIP用户代理节点利用呼叫释放控制消息向呼叫释放控制单元发送被叫用户终端的摘机、挂机事件;The calling call session control unit receives the call establishment request from the calling party, and sends the call request to the call release control unit. The call release control unit can determine the release control of the call according to the content of the call request and the local data configuration. The method is the caller control mode (when it is determined that the call release control mode of this call is other release control modes, its process will be described below), then the call release control unit generates a call release control message, and then the call request and call release The control message is sent to the called SIP user agent node, and the SIP user agent node uses the call request message to send ringing to the called user terminal. After the user picks up, the call is established; The unit sends off-hook and on-hook events of the called user terminal;
步骤110-114、被叫挂机Steps 110-114, the called party hangs up
呼叫建立后,如果被叫挂机,SIP用户代理节点将该事件通知呼叫释放控制单元,呼叫释放控制单元判断该呼叫的释放控制方式是主叫控制方式,启动呼叫释放控制定时器监控该呼叫。该呼叫释放控制定时器可以设置为零,表示立即释放呼叫,也可以设置为无穷大,表示永远不释放呼叫;After the call is established, if the called party hangs up, the SIP user agent node notifies the event to the call release control unit, the call release control unit judges that the call release control mode is the caller control mode, and starts the call release control timer to monitor the call. The call release control timer can be set to zero, which means that the call is released immediately, or it can be set to infinity, which means that the call will never be released;
步骤115-119、被叫摘机Steps 115-119, the called party picks up the phone
在呼叫释放控制定时器时间内,被叫摘机,被叫能够和主叫保持通话。SIP用户代理节点将被叫摘机的事件通知呼叫释放控制单元,呼叫释放控制单元将该呼叫的呼叫释放控制定时器清零,并回送响应;During the time of the call release control timer, the called party picks up the phone, and the called party can keep talking with the calling party. The SIP user agent node notifies the call release control unit of the called off-hook event, and the call release control unit clears the call release control timer of the call, and sends back a response;
步骤120-122、主叫释放呼叫Steps 120-122, the calling party releases the call
在被叫未挂机,或者被叫挂机后的呼叫释放控制定时器内,当呼叫会话控制单元收到来自主叫的呼叫释放请求时,将该呼叫释放请求转发到呼叫释放控制单元,呼叫释放控制单元使呼叫释放控制定时器无效,将呼叫释放请求发给被叫SIP用户代理节点;When the called party does not hang up, or within the call release control timer after the called party hangs up, when the call session control unit receives a call release request from the calling party, it forwards the call release request to the call release control unit, and the call release control The unit invalidates the call release control timer, and sends the call release request to the called SIP user agent node;
步骤123-125、被叫SIP用户代理节点收到呼叫释放请求后,将释放此次呼叫,并给被叫送提示音,同时发送呼叫释放响应给呼叫会话控制单元,呼叫会话控制单元向主叫发送呼叫释放响应;Steps 123-125, after the called SIP user agent node receives the call release request, it will release the call, and send a prompt tone to the called party, and send a call release response to the call session control unit at the same time, and the call session control unit sends a message to the caller. Send a call release response;
步骤126-127、呼叫释放控制定时器超时释放呼叫Steps 126-127, the call release control timer expires and the call is released
在被叫挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元通过诸如REFER消息将呼叫释放控制消息发送到SIP用户代理节点;When the called party hangs up, after the call release control timer expires, the call release control unit sends the call release control message to the SIP user agent node by such as a REFER message;
步骤128-130、被叫SIP用户代理节点收到呼叫释放控制消息后,释放此次呼叫,然后向呼叫会话控制单元发送BYE消息,呼叫会话控制单元向主叫侧转发呼叫释放请求;Steps 128-130, after the called SIP user agent node receives the call release control message, it releases the call, and then sends a BYE message to the call session control unit, and the call session control unit forwards the call release request to the calling side;
步骤131-133、呼叫会话控制单元收到主叫侧的呼叫释放响应,转发到被叫SIP用户代理节点。Steps 131-133, the call session control unit receives the call release response from the calling side, and forwards it to the called SIP user agent node.
上述步骤126-133中、在被叫挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元也可以发送BYE消息到被叫SIP用户代理节点和主叫侧网络设备,被叫SIP用户代理节点收到BYE消息后,释放此次呼叫。In the above-mentioned steps 126-133, under the situation that the called party hangs up, after the call release control timer expires, the call release control unit can also send a BYE message to the called SIP user agent node and the calling side network equipment, and the called SIP user After receiving the BYE message, the proxy node releases the call.
2、被叫控制方式2. Called control method
图8和图9示出了被叫控制方式情况下的呼叫流程。在该流程中,其被叫侧用户可以来自本PSTN仿真系统,也可以来自其它PSTN仿真系统或者PSTN网络或者其它网络,由于被叫侧呼叫控制流程和现有流程一致,因此,图8和图9仅示出了主叫侧的呼叫呼叫释放控制过程。下面结合图8和图9来描述被叫控制方式下呼叫释放控制方法。Figure 8 and Figure 9 show the call flow in the called control mode. In this flow, the called side user can come from this PSTN simulation system, or from other PSTN simulation systems or PSTN networks or other networks. Since the call control flow of the called side is consistent with the existing flow, therefore, Fig. 8 and Fig. 8 9 only shows the call release control process on the calling side. The following describes the call release control method in the called control mode with reference to FIG. 8 and FIG. 9 .
步骤201-204、呼叫释放控制单元订阅本网络终端的摘挂机状态Steps 201-204, the call release control unit subscribes to the on-hook status of the network terminal
呼叫释放控制单元通过呼叫会话控制单元向主叫用户的SIP代理节点订阅用户终端的摘机、挂机事件,该操作可以在终端注册的时候进行,也可以在其它情况下进行;The call release control unit subscribes the off-hook and on-hook events of the user terminal to the SIP proxy node of the calling user through the call session control unit. This operation can be performed when the terminal is registered or in other situations;
步骤205-208、呼叫建立过程Steps 205-208, call establishment process
主叫用户终端摘机,拨号,主叫SIP用户代理节点发送呼叫请求到呼叫会话控制单元,呼叫会话控制单元将该呼叫请求发给呼叫释放控制单元,呼叫释放控制单元根据该呼叫请求的内容和本地的数据配置,可确定该呼叫的释放控制方式为被叫控制方式,然后生成呼叫释放控制消息,接着,呼叫释放控制单元将呼叫释放控制消息发给主叫SIP用户代理节点,将呼叫请求发给被叫SIP用户代理节点,被叫用户终端响应后,并将响应消息发给主叫SIP用户代理节点,从而建立呼叫;The calling user terminal picks up and dials, the calling SIP user agent node sends a call request to the call session control unit, the call session control unit sends the call request to the call release control unit, and the call release control unit according to the content of the call request and The local data configuration can determine that the release control mode of the call is the called control mode, and then generate a call release control message, and then, the call release control unit sends the call release control message to the calling SIP user agent node, and sends the call request Give the called SIP user agent node, after the called user terminal responds, and send the response message to the calling SIP user agent node, thereby establishing a call;
步骤209-213、主叫挂机Steps 209-213, the caller hangs up
主被叫之间的呼叫建立后,如果主叫挂机,主叫SIP用户代理节点将该事件通知呼叫释放控制单元,呼叫释放控制单元判断该呼叫的释放控制方式是被叫控制方式,启动呼叫释放控制定时器监控该呼叫;该呼叫释放控制定时器可以设置为零,表示立即释放呼叫,也可以设置为无穷大,表示永远不释放呼叫;After the call between the calling party and the called party is established, if the calling party hangs up, the calling SIP user agent node notifies the call release control unit of the event, and the call release control unit judges that the call release control mode is the called party control mode, and starts the call release The control timer monitors the call; the call release control timer can be set to zero, which means that the call is released immediately, or can be set to infinity, which means that the call will never be released;
步骤214-218、主叫摘机Steps 214-218, the caller goes off-hook
在呼叫释放控制定时器时间内,主叫摘机,能够和被叫保持通话。主叫SIP用户代理节点将主叫摘机事件通知呼叫释放控制单元,呼叫释放控制单元将该呼叫的呼叫释放控制定时器清零,并回送响应;During the time of the call release control timer, the calling party picks up the phone and can keep talking with the called party. The calling SIP user agent node notifies the call release control unit of the caller's off-hook event, and the call release control unit clears the call release control timer of the call, and sends back a response;
步骤219-221、被叫释放呼叫Steps 219-221, the called party releases the call
在主叫未挂机,或者主叫挂机后的呼叫释放控制定时器内,当呼叫会话控制单元收到来自被叫的呼叫释放请求时,将该呼叫释放请求转发到呼叫释放控制单元,呼叫释放控制单元使呼叫释放控制定时器无效,然后将呼叫释放请求发往主叫SIP用户代理节点;When the calling party does not hang up, or within the call release control timer after the calling party hangs up, when the call session control unit receives a call release request from the called party, it forwards the call release request to the call release control unit, and the call release control unit The unit invalidates the call release control timer, and then sends the call release request to the calling SIP user agent node;
步骤222-224、主叫SIP用户代理节点收到呼叫释放请求后,将释放此次呼叫,并给主叫用户终端送提示音,同时发送呼叫释放响应给呼叫会话控制单元,呼叫会话控制单元向被叫用户终端发送呼叫释放响应;Steps 222-224, after the calling SIP user agent node receives the call release request, it will release the call, and send a prompt tone to the calling user terminal, and send a call release response to the call session control unit at the same time, and the call session control unit sends a call to the call session control unit. The called user terminal sends a call release response;
步骤225-226、呼叫释放控制定时器超时释放呼叫Steps 225-226, the call release control timer expires and the call is released
在主叫用户终端挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元通过诸如REFER消息将呼叫释放控制消息发送到SIP用户代理节点;In the case that the calling user terminal hangs up, after the call release control timer expires, the call release control unit sends the call release control message to the SIP user agent node by such as a REFER message;
步骤227-229、主叫SIP用户代理节点收到REFER消息后,释放此次呼叫,然后向呼叫会话控制单元发送BYE消息,呼叫会话控制单元向被叫侧转发呼叫释放请求;Steps 227-229, after receiving the REFER message, the calling SIP user agent node releases the call, and then sends a BYE message to the call session control unit, and the call session control unit forwards the call release request to the called side;
步骤230-232、呼叫会话控制单元收到被叫侧的呼叫释放响应,转发到主叫SIP用户代理节点。Steps 230-232, the call session control unit receives the call release response from the called side, and forwards it to the calling SIP user agent node.
上述步骤225-232中、在主叫用户终端挂机的情况下,呼叫释放控制定时器超时后,呼叫释放控制单元也可以发送BYE消息到主叫SIP用户代理节点和被叫侧网络设备,主叫SIP用户代理节点收到BYE消息后,释放此次呼叫。In the above steps 225-232, when the calling user terminal hangs up, after the call release control timer expires, the call release control unit can also send a BYE message to the calling SIP user agent node and the called side network equipment, and the calling party After receiving the BYE message, the SIP user agent node releases the call.
3、双方控制的实现流程3. Implementation process of mutual control
当呼叫释放控制方式为双方控制方式时,呼叫释放控制单元按照双方控制方式控制释放本次呼叫。在呼叫释放控制单元中设置有呼叫释放控制定时器。下面详细描述双方控制方式时的呼叫释放控制流程。When the call release control mode is the two-party control mode, the call release control unit controls the release of the call according to the two-party control mode. A call release control timer is provided in the call release control unit. The following describes in detail the call release control process in the two-party control mode.
首先,在终端注册等情况下呼叫释放控制单元订阅用户终端的摘挂机状态。Firstly, the call release control unit subscribes to the off-hook state of the user terminal in the case of terminal registration or the like.
呼叫建立后,当主叫用户终端挂机时,主叫用户终端向呼叫释放控制单元发送挂机事件;呼叫释放控制单元收到主叫用户终端发送的挂机事件后,启动呼叫释放控制定时器。After the call is established, when the calling user terminal hangs up, the calling user terminal sends an on-hook event to the call release control unit; the call release control unit starts the call release control timer after receiving the on-hook event sent by the calling user terminal.
呼叫释放控制单元根据主叫用户终端挂机事件控制呼叫释放控制定时器。当呼叫释放控制单元收到主叫用户终端的摘机事件后,呼叫释放控制单元使呼叫释放控制定时器无效,并恢复本次通话;当呼叫释放控制单元收到主叫用户终端和/或被叫用户终端的挂机事件后,启动呼叫释放控制定时器。The call release control unit controls the call release control timer according to the on-hook event of the calling user terminal. When the call release control unit receives the off-hook event of the calling user terminal, the call release control unit invalidates the call release control timer and resumes the conversation; After the on-hook event of the calling user terminal, start the call release control timer.
呼叫释放控制单元根据呼叫释放控制定时器是否超时控制释放呼叫。当呼叫释放控制定时器超时时,呼叫释放控制单元释放本次呼叫;当呼叫释放控制定时器未超时时,呼叫释放控制单元保持本次呼叫。The call release control unit controls the release of the call according to whether the call release control timer times out. When the call release control timer expires, the call release control unit releases the call; when the call release control timer does not expire, the call release control unit maintains the call.
呼叫建立后,当被叫用户终端挂机时,被叫用户终端向呼叫释放控制单元发送挂机事件;呼叫释放控制单元收到被叫用户终端发送的挂机事件后,启动呼叫释放控制定时器。After the call is established, when the called user terminal hangs up, the called user terminal sends an on-hook event to the call release control unit; the call release control unit starts the call release control timer after receiving the on-hook event sent by the called user terminal.
呼叫释放控制单元根据被叫用户终端的挂机事件控制呼叫释放控制定时器。当呼叫释放控制单元收到被叫用户终端的摘机事件后,呼叫释放控制单元使呼叫释放控制定时器无效,并恢复本次通话;The call release control unit controls the call release control timer according to the on-hook event of the called user terminal. After the call release control unit receives the off-hook event of the called user terminal, the call release control unit invalidates the call release control timer and resumes the conversation;
呼叫释放控制单元根据呼叫释放控制定时器是否超时控制释放呼叫。当呼叫释放控制定时器超时时,呼叫释放控制单元释放本次呼叫;当呼叫释放控制定时器未超时时,呼叫释放控制单元保持本次呼叫。The call release control unit controls the release of the call according to whether the call release control timer times out. When the call release control timer expires, the call release control unit releases the call; when the call release control timer does not expire, the call release control unit maintains the call.
4、互不控制的实现流程4. Implementation process without mutual control
首先,在终端注册等情况下呼叫释放控制单元订阅主叫用户终端和被叫用户终端的摘挂机状态。Firstly, the call release control unit subscribes to the off-hook status of the calling user terminal and the called user terminal in the case of terminal registration or the like.
呼叫建立后,当主叫用户终端挂机时,主叫用户终端向呼叫释放控制单元发送挂机事件;呼叫释放控制单元收到主叫用户终端发送的挂机事件后,呼叫释放控制单元通知主叫SIP用户代理节点释放本次呼叫,如向SIP用户代理节点发送携带呼叫释放信息的REFER消息。After the call is established, when the calling user terminal hangs up, the calling user terminal sends an on-hook event to the call release control unit; after the call release control unit receives the on-hook event sent by the calling user terminal, the call release control unit notifies the calling SIP user The agent node releases this call, for example, sends a REFER message carrying call release information to the SIP user agent node.
当被叫用户终端挂机时,被叫用户终端向呼叫释放控制单元发送挂机事件;呼叫释放控制单元收到被叫用户终端发送的挂机事件后,呼叫释放控制单元通知被叫SIP用户代理节点释放本次呼叫,如向SIP用户代理节点发送携带呼叫释放信息的REFER消息。When the called user terminal hangs up, the called user terminal sends an on-hook event to the call release control unit; after the call release control unit receives the on-hook event sent by the called user terminal, the call release control unit notifies the called SIP user agent node to release the call. call, such as sending a REFER message carrying call release information to the SIP user agent node.
因此,根据本发明,能够提供互不控制,主叫控制、被叫控制和主叫/被叫双方控制释放控制系统。从而可适应多种需求,比如紧急呼叫所就需要的被叫控制。Therefore, according to the present invention, it is possible to provide a control system that does not control each other, the calling party controls, the called party controls, and both the calling party and the called party control. Therefore, it can adapt to various requirements, such as the called party control required for emergency calls.
虽然通过实施例描绘了本发明,但本领域普通技术人员知道,在不脱离本发明的精神和实质的情况下,就可使本发明有许多变形和变化,本发明的范围由所附的权利要求来限定。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.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CNB2006100031414ACN100421529C (en) | 2006-02-16 | 2006-02-16 | A call release control system and method thereof | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CNB2006100031414ACN100421529C (en) | 2006-02-16 | 2006-02-16 | A call release control system and method thereof | 
| Publication Number | Publication Date | 
|---|---|
| CN1870826A CN1870826A (en) | 2006-11-29 | 
| CN100421529Ctrue CN100421529C (en) | 2008-09-24 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CNB2006100031414AExpired - Fee RelatedCN100421529C (en) | 2006-02-16 | 2006-02-16 | A call release control system and method thereof | 
| Country | Link | 
|---|---|
| CN (1) | CN100421529C (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN101031139B (en)* | 2006-03-03 | 2010-09-29 | 华为技术有限公司 | Method for call control entity to release session | 
| CN101212520B (en)* | 2006-12-29 | 2010-05-26 | 中国移动通信集团公司 | Emergency call handling method and system | 
| CN101217388B (en)* | 2007-01-05 | 2011-01-05 | 中兴通讯股份有限公司 | A method for emergency call registration | 
| CN101304605B (en)* | 2007-05-10 | 2011-06-22 | 中兴通讯股份有限公司 | Method for implementing reanswer call | 
| CN101111000B (en)* | 2007-09-06 | 2011-07-13 | 中兴通讯股份有限公司 | Method for releasing call by called subscriber's set in IMS centralized business | 
| CN101622855B (en)* | 2007-12-18 | 2011-11-16 | 中兴通讯股份有限公司 | A method for realizing associated channel rering line signalling in the next generation network | 
| FR2929473A1 (en) | 2008-03-28 | 2009-10-02 | France Telecom | CALL TERMINATION METHOD AND IP VOICE TERMINAL | 
| CN101594554A (en)* | 2009-07-01 | 2009-12-02 | 华为技术有限公司 | Calling and called service server, integrated service access network equipment, and method for implementing calling and called service control | 
| CN101873628B (en)* | 2010-04-28 | 2014-11-05 | 中兴通讯股份有限公司 | Method and device for realizing subscriber state synchronization in IP multimedia subsystem (IMS) domain | 
| CN102769804B (en)* | 2011-05-03 | 2015-03-11 | 华为技术有限公司 | Realization method of call control as well as switchboard and call control system | 
| CN103179688B (en)* | 2013-03-22 | 2015-11-18 | 北京久华信信息技术有限公司 | The method of wireless communication system resource release is realized based on Session Initiation Protocol | 
| CN105407476A (en)* | 2014-08-25 | 2016-03-16 | 中兴通讯股份有限公司 | Method and terminal for controlling clearing in communication | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN1149376A (en)* | 1994-05-27 | 1997-05-07 | 英国电讯公司 | Connection release in a telecommunications system | 
| KR20010048639A (en)* | 1999-11-29 | 2001-06-15 | 윤종용 | Method for waitng an incomming call in wireless communication set | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN1149376A (en)* | 1994-05-27 | 1997-05-07 | 英国电讯公司 | Connection release in a telecommunications system | 
| KR20010048639A (en)* | 1999-11-29 | 2001-06-15 | 윤종용 | Method for waitng an incomming call in wireless communication set | 
| Publication number | Publication date | 
|---|---|
| CN1870826A (en) | 2006-11-29 | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN100421529C (en) | A call release control system and method thereof | |
| US6754180B1 (en) | System, method, and computer program product for support of bearer path services in a distributed control network | |
| CN100505803C (en) | Automatic call back method in packet oriented network | |
| WO2008116408A1 (en) | System, equipment and method for implementing special calling services | |
| US6201805B1 (en) | Apparatus and method for computer telephone integration in packet switched telephone networks | |
| CN101217598B (en) | Method and system for calling back when busy | |
| CN101277342A (en) | A method, device and system for realizing fork business | |
| CN101217600A (en) | A method and device of inquiring transferring operations | |
| WO2006105408A2 (en) | Connecting a packet-based call to multiple devices | |
| KR100403725B1 (en) | Method for controlling group terminating call in voice over internet protocol system | |
| US9071690B2 (en) | Call transfer processing in SIP mode | |
| CN100421531C (en) | A call release control system and call release control method | |
| KR100941306B1 (en) | Call Processing System and Method of SIP Network | |
| CN102833215A (en) | Method and device for strengthening SIP (session initiation protocol) FORKING call function | |
| KR100415117B1 (en) | Apparatus and method for called compulsive on multi call into internet protocol phone in an internet protocol telephony system | |
| CN101365157A (en) | A service trigger method, system and device | |
| JP4677350B2 (en) | Call control signal transfer apparatus, call control signal transfer method, and call control signal transfer program | |
| JP2007243557A (en) | Ip telephone system for accommodating wireless terminal | |
| WO2008138187A1 (en) | A realizing method for re-answering call | |
| CN101286951B (en) | Session preemption method | |
| JP2005020676A (en) | Telephone communication method and apparatus | |
| CN108900723B (en) | Forced insertion calling method, forced insertion calling equipment and communication system | |
| JP2006101528A (en) | Detection of looping communication channel | |
| WO2007025436A1 (en) | A method for calling identity delivery when calling in the communication system | |
| KR20160077799A (en) | Method for recording conversation data while the line is busy and the telecommunication system for the same | 
| 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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20080924 Termination date:20130216 |