CN1997086B - Realization Method of Automatic Repeat Call Trial in Softswitch Network - Google Patents
Realization Method of Automatic Repeat Call Trial in Softswitch Network Download PDFInfo
- Publication number
- CN1997086B CN1997086B CN2006101674524A CN200610167452A CN1997086B CN 1997086 B CN1997086 B CN 1997086B CN 2006101674524 A CN2006101674524 A CN 2006101674524A CN 200610167452 A CN200610167452 A CN 200610167452A CN 1997086 B CN1997086 B CN 1997086B
- Authority
- CN
- China
- Prior art keywords
- trunk
- softswitch
- call
- gateway
- circuit
- 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 - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及固网通信领域,尤其涉及在软交换网络与传统PSTN(公共交换电话网络,Public Switched Telephone Network)网络互通时,呼叫建立过程中遇到异常情况而进行自动重复试呼的实现方法。The present invention relates to the field of fixed network communication, in particular to a method for automatically repeating call attempts when an abnormal situation is encountered during call establishment when a softswitch network communicates with a traditional PSTN (Public Switched Telephone Network) network.
背景技术Background technique
在传统PSTN呼叫过程中,呼叫建立过程中会出现异常情况,使得呼叫建立不能正常进行下去。这些异常部分由于网络或中继电路的原因,如果另外选择一条局间中继电路重新发起呼叫,仍然可能将呼叫接通,这样可以有效提高交换局间呼叫的接通率。这种当呼叫接续遇到异常后重新选择中继电路再次尝试呼叫接续的过程,称为自动重复试呼。造成自动重复试呼的异常因素有以下几种:In the traditional PSTN call process, there will be abnormal situations in the call establishment process, so that the call establishment cannot go on normally. These abnormalities are partly caused by the network or the trunk circuit. If another inter-office trunk circuit is selected to re-initiate the call, the call may still be connected, which can effectively improve the connection rate of the inter-office call. This process of reselecting the trunk circuit and trying to connect the call again after encountering an abnormality in the call connection is called automatic repeated call attempt. The abnormal factors causing the automatic repeated call retry are as follows:
1.当检出双向同抢时;1. When two-way simultaneous robbery is detected;
所谓同抢,是指一个交换局使用共路信令建立呼叫并发送初试地址消息后,在等待对方响应时又收到了对方交换局的初试地址消息。这时要判定该交换局对于占用的电路是否主控,通常采用电路CIC号奇偶数判断方法,即信令点大的主控偶数CIC号的电路,信令点小的主控奇数CIC号的电路。如果某个交换局不是主控,它得让出该电路,以便提供给对方发起的入局呼叫,而自己则需要重新选择另一条中继电路发起呼叫,进行重复试呼。The so-called co-grabbing means that after an exchange establishes a call using common-channel signaling and sends an initial address message, it receives an initial address message from the other exchange while waiting for the response from the other party. At this time, it is necessary to determine whether the switching office is the master of the occupied circuit. Usually, the method of judging the odd and even number of the circuit CIC number is used, that is, the circuit with a large signaling point controls the circuit with an even CIC number, and the circuit with a small signaling point controls the circuit with an odd CIC number. circuit. If a certain switching office is not the master, it has to give up the circuit so as to provide the incoming call initiated by the other party, and it needs to reselect another trunk circuit to initiate the call and repeat the call attempt.
2.当在发送地址消息后和在收到任何后向消息之前收到闭塞消息;2. When a block message is received after sending the address message and before receiving any backward messages;
这里强调未收到任何后向消息是确定对方在发送闭塞消息前没有收到这个地址消息,对方没有认定该电路被占用了,这种情况下需要重复试呼。如果收到了后向消息,那么双方都明确了该电路已经被选用建立呼叫,闭塞消息将不能影响本次呼叫,只影响以后的呼叫建立。It is emphasized here that not receiving any backward message is to ensure that the other party has not received the address message before sending the blocking message, and the other party has not determined that the circuit is occupied. In this case, it is necessary to repeat the call attempt. If the backward message is received, both parties have made it clear that the circuit has been selected to establish a call, and the blocking message will not affect this call, but only the subsequent call establishment.
3.当在发送地址消息后和在收到某后向消息之前收到电路复原消息;3. When a circuit restoration message is received after sending an address message and before receiving a certain backward message;
此种呼叫情况与情况2类似,不同的是收到了复原消息。这种情况下本次发起的呼叫建立必须要先释放掉。如果没有收到后向其他消息就需要重复试呼。This call situation is similar to
4.当导通检验失败;4. When the continuity test fails;
导通检验是共路信令使用双向中继不可避免的,信令通了不表示中继电路也是通的。导通检验就是通过信令消息控制,对中继电路是否导通进行的测试。如果不通,该中继电路不可用于呼叫接续,必须重新选择中继电路。Continuity check is unavoidable when using two-way relay for common-channel signaling. If the signaling is passed, it does not mean that the relay circuit is also connected. The conduction test is to test whether the relay circuit is conducted through the control of the signaling message. If it fails, the trunk circuit cannot be used for call connection, and the trunk circuit must be selected again.
5.当在呼叫建立期间收到不合理的消息。5. When an unreasonable message is received during call setup.
遇到以上五种情况,交换局用户部分会启动自动重复试呼过程,尽可能将本次呼叫接续成功。When encountering the above five situations, the user part of the switching office will start the process of automatically repeating the call attempt to try to connect the call successfully.
软交换SS(softswitch)作为下一代网络(NGN)的呼叫与控制的核心,提供具有实时性业务的呼叫控制和连接控制。它的一个很重要的功能是与传统PSTN网的互通,支持中继接入。中继媒体网关就是用来完成电路交换网侧与IP分组网侧媒体流的转换,同信令网关一起在软交换的控制下完成电路交换网与IP网络的呼叫建立,参见图1。当与传统交换局建立呼叫时,媒体的接续由于网络不同也分成两个部分,一个是传统的PSTN网,另一个是IP网。NO.7信令通过信令网关(SG:signaling gateway)在软交换和传统交换局之间传送。软交换使用NO.7共路信令(如ISUP)发起呼叫并通知对方局间中继电路的选用,通过H.248/MGCP协议控制中继网关完成IP侧媒体的接续。Softswitch SS (softswitch), as the core of the call and control of the next generation network (NGN), provides call control and connection control with real-time services. One of its very important functions is the intercommunication with the traditional PSTN network and supports relay access. The relay media gateway is used to complete the conversion of the media flow between the circuit switching network side and the IP packet network side, and complete the call establishment between the circuit switching network and the IP network under the control of the softswitch together with the signaling gateway, see Figure 1. When establishing a call with a traditional exchange, the media connection is also divided into two parts due to different networks, one is the traditional PSTN network and the other is the IP network. NO.7 Signaling is transmitted between the softswitch and the traditional switching office through the signaling gateway (SG: signaling gateway). The softswitch uses NO.7 common channel signaling (such as ISUP) to initiate a call and inform the other party of the selection of an inter-office trunk circuit, and controls the trunk gateway through the H.248/MGCP protocol to complete the connection of the media on the IP side.
这里以H.248为例,它是一种主从控制协议,软交换为主,中继网关为从。它使用终结点描述发起和接收媒体流的实体,终结点有中继电路这样的物理终结点,也有RTP(Realtime Transport Protocol,实时传输协议)流这样的临时终结点。这些终结点是通过关联CTX(context)联系在一起,关联就是终结点相互联系形成的结合体。H.248定义了若干命令对关联和终结点进行操作和管理,如新增(Add)命令用来向一个关联中增加终结点,删除(Subtract)命令用来将一个终结点从所处的关联中分离,移动(Move)命令将终结点从当前的关联中转移到另一个关联。Taking H.248 as an example here, it is a master-slave control protocol, with the softswitch as the master and the relay gateway as the slave. It uses endpoints to describe entities that initiate and receive media streams. The endpoints include physical endpoints such as relay circuits and temporary endpoints such as RTP (Realtime Transport Protocol, real-time transport protocol) streams. These endpoints are connected together through association CTX (context), and association is a combination of endpoints connected to each other. H.248 defines a number of commands to operate and manage associations and terminations. For example, the Add command is used to add terminations to an association, and the Subtract command is used to remove a termination from the association it is in. To detach from the current association, the Move command transfers the endpoint from the current association to another association.
当软交换与传统交换局建立呼叫时,同样需要提供自动重复试呼以提高接通率。通常重复试呼的实现方法一般是将已经占用的媒体资源释放,重新选择中继电路和分配媒体资源发起新的呼叫。同抢造成非主控局重复试呼情况下通常的做法也是将出局呼叫占用的资源全部释放,将对方的地址信号接收后重新建立入局呼叫,原来的出局呼叫另选电路重新建立。When the softswitch establishes a call with the traditional switching office, it is also necessary to provide automatic repeated call attempts to improve the connection rate. Usually, the implementation method of repeating the call attempt is to release the occupied media resources, reselect the trunk circuit and allocate the media resources to initiate a new call. The common practice is to release all the resources occupied by the outgoing call when the same grab causes repeated call attempts by the non-master office, and re-establish the incoming call after receiving the address signal of the other party, and re-establish the alternative circuit of the original outgoing call.
这种方法用在传统交换局呼叫建立是可以的,在软交换网络就需要区别对待。实际上造成重复试呼的几个触发原因都发生在PSTN侧,与呼叫媒体接续的IP网侧关系不大。如果重复试呼中重新选择的中继电路和原来的中继电路在同一个中继网关内,就可以利用已经建立好的IP侧的媒体连接,不需要对这部分连接拆除。另外对于双向同抢而重复试呼时,在释放媒体资源时等待释放完成期间,如果有新的出局呼叫建立时选中此中继电路,又会造成新的同抢。This method can be used for call establishment in traditional exchanges, but it needs to be treated differently in softswitch networks. In fact, several triggering causes of repeated call attempts all occur on the PSTN side, and have little to do with the IP network side where the call media is connected. If the trunk circuit reselected in the repeated call attempt is in the same trunk gateway as the original trunk circuit, the media connection on the IP side that has been established can be used, and this part of the connection does not need to be removed. In addition, when repeating call attempts for two-way simultaneous grabbing, during the period of waiting for release completion when releasing media resources, if this trunk circuit is selected when a new outgoing call is established, new simultaneous grabbing will be caused.
如果能充分利用在IP网侧已经建立的媒体连接,当中继电路的选择是在同一中继网关内进行的,对IP网和PSTN网区别对待,可以简化呼叫接续步骤,提高效率。If the media connection already established on the IP network side can be fully utilized, the selection of the trunk circuit is carried out in the same trunk gateway, and the IP network and the PSTN network are treated differently, which can simplify the call connection steps and improve efficiency.
发明内容Contents of the invention
本发明所要解决的技术问题在于,提供一种软交换网络中自动重复试呼的实现方法,解决软交换网络与PSTN网络互通时在呼叫建立中遇到异常情况需要自动重复试呼的问题。The technical problem to be solved by the present invention is to provide a method for automatically repeating call attempts in a softswitch network, so as to solve the problem that automatic repeat call attempts are required when an abnormal situation is encountered in call establishment when the softswitch network and the PSTN network are interconnected.
本发明提供一种软交换网络中自动重复试呼的实现方法,针对发生同抢时两次重复试呼所选中继电路属于同一中继网关的情况,包括如下步骤:The present invention provides a method for realizing automatic repeated call attempts in a softswitch network, which includes the following steps for the case where the selected trunk circuits for two repeated call attempts at the same time belong to the same trunk gateway:
S1、软交换在发起呼叫建立过程中,判断发生同抢且自己为非主控局,则重新选择中继电路TRK2,控制中继网关创建新的关联CTX2、并在新的关联中分配新的实时传输协议资源RTP2;S1. In the process of initiating call establishment, the softswitch judges that the same grabbing occurs and it is not the master control office, then reselects the trunk circuit TRK2, controls the trunk gateway to create a new association CTX2, and allocates a new association in the new association. The real-time transport protocol resource RTP2;
S2、软交换控制中继网关将原占用的中继电路TRK1移动至新的关联CTX2中,利用原占用的中继电路TRK1与新的实时传输协议资源RTP2接续主控局发起的入局呼叫;S2. The softswitch controls the trunk gateway to move the previously occupied trunk circuit TRK1 to the new associated CTX2, and use the previously occupied trunk circuit TRK1 and the new real-time transport protocol resource RTP2 to connect the incoming call initiated by the master control office ;
S3、软交换控制中继网关将重新选择的中继电路TRK2移动至原关联CTX1中,利用新选择的中继电路TRK2与原实时传输协议资源RTP1进行重复试呼。S3. The softswitch controls the trunk gateway to move the reselected trunk circuit TRK2 to the original associated CTX1, and use the newly selected trunk circuit TRK2 and the original real-time transport protocol resource RTP1 to make repeated call attempts.
进一步地,步骤S1中所述重新选择的中继电路TRK2与步骤S2中所述原占用的中继电路TRK1是属于同一个中继网关。Further, the reselected trunk circuit TRK2 in step S1 and the originally occupied trunk circuit TRK1 in step S2 belong to the same trunk gateway.
进一步地,步骤S1进一步可分为:Further, step S1 can be further divided into:
软交换发送初始地址消息发起呼叫后,又接收到对方交换局的初始地址消息,判断发生了同抢,根据同抢时主控局判断方法判断自己是否为主控局;After the softswitch sends the initial address message to initiate a call, it receives the initial address message from the exchange of the other party, judges that a simultaneous grab has occurred, and judges whether it is the master control office according to the judging method of the master control office during the simultaneous grab;
软交换判断发生同抢且自己为非主控局,则重新选择中继电路TRK2;If the softswitch judges that there is a simultaneous grab and it is not the master control office, it will reselect the trunk circuit TRK2;
软交换向中继网关发送H.248协议的新增Add消息,在中继网关创建新的关联CTX2,加入重新选择的中继电路TRK2和待确定的新的实时传输协议终结点RTP2;The soft switch sends the newly added Add message of the H.248 protocol to the trunk gateway, creates a new association CTX2 at the trunk gateway, and adds the reselected trunk circuit TRK2 and the new real-time transport protocol termination point RTP2 to be determined;
中继网关为新增的实时传输协议终结点RTP2分配实时传输协议资源,向软交换回复包括实时传输协议终结点IP地址、所采用的语音压缩算法和实时传输协议端口的应答Reply消息。The trunk gateway allocates RTP resources for the newly added RTP endpoint RTP2, and replies to the softswitch with a Reply message including the IP address of the RTP endpoint, the adopted voice compression algorithm, and the RTP port.
进一步地,步骤S2进一步可分为:Further, step S2 can be further divided into:
软交换向中继网关发送H.248协议的移动Move命令,将原占用的中继电路终结点移动至新的关联中;The softswitch sends the move command of H.248 protocol to the trunk gateway to move the previously occupied trunk circuit termination point to the new association;
中继网关向软交换返回H.248协议的应答Reply消息,确认移动成功;The trunk gateway returns the Reply message of the H.248 protocol to the softswitch to confirm the successful movement;
软交换利用原占用的中继电路与新的实时传输协议资源接续主控局发起的入局呼叫。The softswitch uses the previously occupied trunk circuit and new real-time transport protocol resources to connect incoming calls initiated by the main control office.
进一步地,步骤S3进一步可分为:Further, step S3 can be further divided into:
软交换向中继网关发送H.248协议的移动Move命令,将重新选择的中继电路移动至原关联中,利用新选择的中继电路与原实时传输协议资源进行重复试呼;The softswitch sends the move command of the H.248 protocol to the trunk gateway, moves the reselected trunk circuit to the original association, and uses the newly selected trunk circuit and the original real-time transport protocol resource to make repeated call attempts;
在收到中继网关返回的媒体建立成功消息后,发送7号信令的地址信令消息给对方交换局,声明占用所述重新选择的中继电路并发起出局呼叫。After receiving the successful media establishment message returned by the trunk gateway, it sends an address signaling message of No. 7 signaling to the exchange of the opposite party, declaring that the reselected trunk circuit is occupied and an outgoing call is initiated.
进一步地,步骤S1进一步包括:Further, step S1 further includes:
软交换在发起呼叫建立过程中,判断发生同抢且自己为主控局,则丢弃接收到的被交换局发送的初始地址消息IAM,继续出局呼叫。In the process of initiating the call establishment, the softswitch judges that co-robbing occurs and it is the main control office, then discards the received initial address message IAM sent by the exchange, and continues the outgoing call.
本发明还提供一种软交换网络中自动重复试呼的实现方法,针对非同抢因素造成重复试呼选用的中继电路与原占用中继电路属于同一中继网关的情况,包括如下步骤:The present invention also provides a method for realizing automatic repeated call attempts in a softswitch network, aiming at the situation that the trunk circuit selected for repeated call attempts and the original occupied trunk circuit belong to the same trunk gateway due to non-simultaneous snatching factors, including the following step:
A1、在发起呼叫建立过程中,判断发生非同抢因素造成重复试呼时,软交换控制中继网关将原中继电路从所在原关联中删除,保留原关联中的实时传输协议资源;A1. In the process of initiating call establishment, when it is judged that repeated call attempts are caused by non-simultaneous snatching factors, the softswitch controls the trunk gateway to delete the original trunk circuit from the original association, and retain the real-time transmission protocol resources in the original association;
A2、软交换控制中继网关在原关联中增加新选择的中继电路;A2. The softswitch controls the trunk gateway to add a newly selected trunk circuit to the original association;
A3、软交换发送初始地址消息给对方交换局重新发起出局呼叫。A3. The softswitch sends an initial address message to the peer exchange to re-initiate the outbound call.
进一步地,步骤A1中所述原中继电路与步骤A2中所述新选择的中继电路是属于同一个中继网关。Further, the original relay circuit in step A1 and the newly selected relay circuit in step A2 belong to the same relay gateway.
进一步地,步骤A1进一步可分为:Further, step A1 can be further divided into:
软交换向中继网关发送删除Subtract命令将不可用的原中继电路从原关联中删除,保留该原关联中的实时传输协议资源;The softswitch sends a delete Subtract command to the trunk gateway to delete the unavailable original trunk circuit from the original association, and retain the real-time transport protocol resources in the original association;
删除成功后,中继网关向软交换返回应答Reply消息。After the deletion is successful, the trunk gateway returns a Reply message to the softswitch.
进一步地,步骤A2进一步可分为:Further, step A2 can be further divided into:
软交换选择新的中继电路,向中继网关发送新增Add命令消息,在原关联中增加所选新的中继电路终结点;The softswitch selects a new trunk circuit, sends a new Add command message to the trunk gateway, and adds the selected new trunk circuit termination point to the original association;
增加成功后,中继网关向软交换返回应答Reply消息。After the addition is successful, the trunk gateway returns a Reply message to the softswitch.
本发明充分利用了软交换网络中媒体资源分配使用的特点,重复试呼时,重新选择中继电路,而保留原有资源,使自动重复试呼的实现更加简便,提高了呼叫接续效率,减少了本次呼叫接续中再次发生同抢的可能性。The present invention makes full use of the characteristics of media resource allocation and use in the softswitch network. When repeated call attempts, the trunk circuit is reselected and the original resources are reserved, so that the realization of automatic repeated call attempts is more convenient, and the efficiency of call connection is improved. Reduced the possibility of the same grab happening again in this call connection.
附图说明Description of drawings
图1是软交换与传统交换局互通的网络拓扑图;Figure 1 is a network topology diagram of the intercommunication between softswitches and traditional switching offices;
图2是发生同抢后软交换作为非主控局的媒体建立流程图;Fig. 2 is the flow chart of setting up the media of the softswitch as the non-master office after the same grabbing occurs;
图3是非同抢原因造成自动重复试呼的媒体建立流程图。Fig. 3 is a flow chart of media establishment for automatic repeated call attempts caused by non-concurrent snatching.
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明的技术方案作进一步的详细描述。The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
图1是软交换与传统PSTN交换局互通的网络拓扑图。在该图中软交换的核心控制设备称为SS(softswitch,软交换),信令网关称为SG(SignalingGateway),中继网关称为TG(Trunk Gateway)。软交换通过H.248/MGCP(Media Gateway Control Protocol,媒体网关控制协议)协议命令消息控制中继网关操作终结点,软交换与传统交换局之间使用TUP/ISUP协议建立呼叫,所述TUP协议是电话用户部分(telephone user part)协议,所述ISUP协议是ISDN用户部分(ISDN user part)协议。下面使用H.248协议和ISUP协议为例来说明重复试呼流程。Figure 1 is a network topology diagram of intercommunication between softswitches and traditional PSTN switching offices. In this figure, the core control device of the soft switch is called SS (soft switch, soft switch), the signaling gateway is called SG (Signaling Gateway), and the trunk gateway is called TG (Trunk Gateway). The soft switch controls the trunk gateway operation termination point through the H.248/MGCP (Media Gateway Control Protocol, Media Gateway Control Protocol) protocol command message, and the TUP/ISUP protocol is used to establish a call between the soft switch and the traditional switching office. The TUP protocol is a telephone user part (telephone user part) agreement, and the ISUP agreement is an ISDN user part (ISDN user part) agreement. The following uses the H.248 protocol and the ISUP protocol as examples to illustrate the repeated call attempt process.
在软交换SS与传统PSTN交换局互通过程中,如果呼叫建立失败了,为提高接通率使用自动重复试呼功能。重复试呼时,大部分情况下,重新选择的中继电路与原来选择的中继电路在同一个中继网关内,因此,这种处理可以得到较大的改善。本发明的目的就是针对软交换网络的特点,提供一种重复试呼过程中呼叫媒体建立的简便方法,提高呼叫接续的效率,简化呼叫建立步骤。During the intercommunication process between the softswitch SS and the traditional PSTN exchange, if the call setup fails, the automatic repeat call attempt function is used to improve the connection rate. When repeated call attempts, in most cases, the reselected trunk circuit is in the same trunk gateway as the originally selected trunk circuit, so this processing can be greatly improved. The purpose of the present invention is aimed at the characteristics of the softswitch network, to provide a simple method for setting up call media in the process of repeated call attempts, to improve the efficiency of call connection, and to simplify the steps of call establishment.
本发明所述软交换网络内自动重复试呼的实现方法,就是针对两次选择的中继电路属于同一个中继网关的情况,包括同抢情况与非同抢情况:The implementation method of automatically repeating call attempts in the softswitch network of the present invention is exactly for the situation that the trunk circuits selected twice belong to the same trunk gateway, including the same grabbing situation and the non-scrambling situation:
第一:对于因出现同抢而造成重复试呼,软交换作为非主控局要负责将对方发起的入局呼叫接续完成,并重新选择中继电路发起出局呼叫。这种情况下的处理关键是重复试呼发起新呼叫时,使用原来已经分配的RTP资源,只需要新选择一个出局中继电路,使用原有的关联,将新选的中继电路加入到原有关联中。对于软交换让出的原来的中继电路,则直接移动到新建立的关联中,连同新分配的RTP资源一起进行接续入局呼叫,不用释放原有中继电路。这样就不会因为释放过程时间较长,造成重新有其它呼叫建立时选择该中继电路而再次造成同抢。First: For repeated call attempts due to simultaneous grabbing, the softswitch, as the non-master office, is responsible for completing the connection of the incoming call initiated by the other party, and reselecting the trunk circuit to initiate the outgoing call. The key to deal with this situation is to use the originally allocated RTP resources when making a new call after repeated call attempts. You only need to select a new outgoing trunk circuit, use the original association, and add the newly selected trunk circuit. to the original association. For the original trunk circuit relinquished by the softswitch, it is directly moved to the newly established association, and the incoming call is connected together with the newly allocated RTP resources without releasing the original trunk circuit. In this way, the trunk circuit will not be selected when another call is set up because the release process takes a long time to cause the same grab again.
第二:对于非同抢因素造成的其他呼叫异常情况下的重复试呼,软交换在这种情况只涉及一个呼叫,如果新选择的中继电路与原来使用的中继电路在同一中继网关,可以使用原来已有RTP资源,而不必再重新分配RTP资源。Second: For repeated call attempts under the abnormal conditions of other calls not caused by the same grabbing factor, the softswitch only involves one call in this case, if the newly selected trunk circuit is in the same trunk circuit as the original one Following the gateway, the existing RTP resources can be used without reallocating RTP resources.
在本发明中,对于重新选择的中继电路,重新选择时优先选择同一中继网关下的中继电路。如果同一中继网关没有可选的其它中继电路,那只能考虑选择另外中继网关的,但已有RTP资源就不能使用了。在选择中继电路时,重新选择的中继电路所在的中继网关是可以知道的。In the present invention, for the reselected relay circuit, the relay circuit under the same relay gateway is preferentially selected during reselection. If there is no other optional relay circuit for the same relay gateway, you can only consider choosing another relay gateway, but the existing RTP resources cannot be used. When selecting a trunk circuit, the trunk gateway where the newly selected trunk circuit is located can be known.
图2说明的是同抢时造成自动重复试呼的呼叫建立处理流程。What Fig. 2 illustrates is the call establishment processing flow caused by automatic repeated call attempts during simultaneous grabbing.
出现同抢后,软交换作为主控交换局时,处理比较简单,只需丢弃接收的初始地址消息IAM(Initial Address Message),继续出局呼叫。After the same grab occurs, when the softswitch is used as the master switching office, the processing is relatively simple. It only needs to discard the received initial address message IAM (Initial Address Message) and continue the outgoing call.
出现同抢后,软交换作为非主控交换局时,则首先要将对方发起的入局呼叫接续成功,然后,自身发起的呼叫另选中继电路重新建立。这里原来发起呼叫时使用的RTP资源和中继电路都不释放,原RTP资源用于重复试呼的新出局呼叫中,原中继电路则被入局呼叫直接选用,以避免中间释放后有其他呼叫选中该中继电路,造成新的同抢。After simultaneous grabbing occurs, when the softswitch is used as a non-master switching office, it must first successfully connect the incoming call initiated by the other party, and then re-establish the call initiated by itself by selecting a trunk circuit. Here, the original RTP resources and trunk circuits used when initiating a call are not released. The original RTP resources are used in new outgoing calls for repeated call attempts, and the original trunk circuits are directly used by incoming calls to avoid unnecessary delays after release in the middle. Other calls select the trunk circuit, resulting in a new simultaneous grab.
下面对软交换作为非主控局处理同抢时呼叫建立的过程,具体过程说明如下:The following describes the process of setting up a simultaneous call when the softswitch is used as a non-master office, and the specific process is described as follows:
步骤201:软交换发起出局呼叫,向中继网关发送新增(Add)命令消息,在中继网关中创建一个关联CTX1,并在关联中加入选择好的出局中继电路的终结点TRK1和RTP终结点,这里RTP终结点有待中继网关来分配;Step 201: The softswitch initiates an outgoing call, sends a new (Add) command message to the trunk gateway, creates an association CTX1 in the trunk gateway, and adds the termination points TRK1 and TRK1 of the selected outgoing trunk circuit to the association. RTP endpoint, where the RTP endpoint is to be allocated by the relay gateway;
步骤202:中继网关为增加的RTP分配资源RTP1,向软交换返回应答(Reply)消息,告知该RTP1终结点的IP地址、采用的语音压缩算法和RTP端口等;Step 202: the relay gateway allocates resource RTP1 for the increased RTP, returns a response (Reply) message to the softswitch, and informs the IP address of the RTP1 termination point, the voice compression algorithm and the RTP port used;
步骤203:软交换收到中继网关正确的响应后,向被叫交换局发送ISUP的初始地址消息(IAM),通知占用该中继电路,发起出局呼叫;Step 203: After the soft switch receives the correct response from the trunk gateway, it sends an ISUP initial address message (IAM) to the called switching office, notifies the trunk circuit to be occupied, and initiates an outgoing call;
步骤204:软交换发送初始地址消息后,接着,如果收到了对方交换局发送的关于该中继电路的初始地址消息,表明出现了同抢。软交换根据同抢时主控局的判断方法,判断自己是非否为主控局,这里假定软交换判断自己为非主控局;Step 204: After the softswitch sends the initial address message, if it receives the initial address message about the trunk circuit sent by the opposite switching office, it indicates that there is a simultaneous robbery. According to the judging method of the master control office at the same time, the softswitch judges whether it is the master control office or not. Here, it is assumed that the softswitch judges itself as the non-master control office;
步骤205:如果软交换判断发生同抢且自己为非主控局,它将按照入局呼叫接续的类似办法向中继网关发送H.248的新增(Add)消息,要求在中继网关创建一个新的关联CTX2,加入新的中继电路(TRK2)和待确定的新的RTP终结点。这里的中继电路是另外选择的,它是为软交换出局重复试呼而新选择的中继电路;Step 205: If the softswitch judges that there is a simultaneous grab and it is a non-master office, it will send an H.248 Add message to the trunk gateway in a similar way to the incoming call connection, requiring the trunk gateway to create a A new association CTX2, adding a new trunk circuit (TRK2) and a new RTP termination point to be determined. The trunk circuit here is selected separately, it is a newly selected trunk circuit for repeated call attempts when the softswitch is out of the office;
步骤206:中继网关为新增加的RTP分配资源RTP2,向软交换应答Reply消息,包括该RTP2结点的IP地址、采用的语音压缩算法和RTP端口等;Step 206: The relay gateway allocates resource RTP2 for the newly added RTP, and responds to the softswitch with a Reply message, including the IP address of the RTP2 node, the voice compression algorithm used, and the RTP port, etc.;
步骤207:软交换需要将关联CTX1中原有的中继电路TRK1用于入局呼叫,使用关联CTX2中重新选择的中继电路TRK2发起新的出局呼叫,因此它需要在两个关联中交换中继电路。软交换发送移动(Move)命令,首先将原有的中继电路结点TRK1转移到与RTP2联系的新关联CTX2中;Step 207: The softswitch needs to use the original trunk circuit TRK1 in the associated CTX1 for incoming calls, and use the reselected trunk circuit TRK2 in the associated CTX2 to initiate a new outgoing call, so it needs to switch between the two associations following the circuit. The soft switch sends a move (Move) command, first transferring the original trunk circuit node TRK1 to the new associated CTX2 associated with RTP2;
步骤208:中继网关向软交换返回应答(Reply);Step 208: the trunk gateway returns a reply (Reply) to the softswitch;
步骤209:软交换向中继网关再发送H.248的移动(Move)命令,将新的中继电路结点TRK2转移到与RTP1联系的原有关联CTX1中;Step 209: the softswitch sends the H.248 move (Move) command to the trunk gateway, and transfers the new trunk circuit node TRK2 to the original association CTX1 associated with RTP1;
步骤210:中继网关向软交换返回应答Reply;Step 210: the trunk gateway returns a Reply to the softswitch;
步骤211:软交换分别为出局和入局呼叫都准备好媒体接续,对于出局呼叫要重新发送NO.7的地址信令消息,即初始地址消息IAM,给对方交换局,声明占用此电路。至此媒体已经重新安排好,后面的接续将按照常用的流程完成,再此不完全列出。Step 211: The softswitch prepares the media connection for both outgoing and incoming calls, and resends the address signaling message No. 7, ie, the initial address message IAM, to the other party's exchange for the outgoing call, declaring that the circuit is occupied. So far, the media has been re-arranged, and the subsequent continuations will be completed according to the usual procedures, which will not be fully listed here.
图3说明的是非同抢因素造成自动重复试呼的呼叫建立处理流程。由于同抢以外的其它原因造成的重复试呼只涉及到一个呼叫,它的流程稍微简单一些,具体说明如下:Fig. 3 illustrates the call establishment processing flow of automatic repeated call attempts caused by non-concurrent grabbing factors. Repeated call attempts caused by reasons other than the same call only involve one call, and its process is a little simpler, as follows:
步骤301:软交换发起呼叫,向中继网关发送H.248的新增(Add)消息,在中继网关中创建一个关联CTX1,并在关联中加入选择好的出局中继电路的终结点TRK1和RTP终结点,这里RTP终结点有待中继网关来确定;Step 301: The softswitch initiates a call, sends an H.248 Add message to the trunk gateway, creates an association CTX1 in the trunk gateway, and adds the selected termination point of the outbound trunk circuit to the association TRK1 and RTP endpoint, where the RTP endpoint is to be determined by the relay gateway;
步骤302:中继网关为增加的RTP分配资源RTP1,向软交换应答Reply消息,包括该RTP1结点的IP地址、采用的语音压缩算法和RTP端口等;Step 302: the relay gateway allocates resource RTP1 for the increased RTP, and responds to the softswitch with a Reply message, including the IP address of the RTP1 node, the voice compression algorithm used and the RTP port, etc.;
步骤303:软交换收到中继网关正确的响应后向被叫交换局发送ISUP的初始地址消息(IAM),通知占用该中继电路;Step 303: After receiving the correct response from the trunk gateway, the softswitch sends the initial address message (IAM) of ISUP to the called switching office, and notifies the trunk circuit to be occupied;
步骤304:当发生了除同抢因素以外的其它要求自动重复试呼的事件后,该呼叫接续在这里遇到异常,异常的类型主要是在传统交换局这边,对于IP网侧没有影响。因此软交换需要重新选择中继电路重新试呼,所选择的中继电路如果与原先中继电路在同一中继网关,则所分配的媒体资源不必释放而可继续利用;Step 304: When other events requiring automatic repeated call retries occur, the call connection encounters an abnormality here. The abnormal type is mainly on the side of the traditional switching center, and has no influence on the IP network side. Therefore, the softswitch needs to reselect the trunk circuit to try again. If the selected trunk circuit is in the same trunk gateway as the original trunk circuit, the allocated media resources can continue to be used without being released;
步骤305:软交换向中继网关发送H.248的删除(Subtract)命令将不可用的中继电路TRK1从关联中删除,保留该关联里的RTP1资源,这样就可省去重新设置RTP1媒体流属性的步骤;Step 305: The soft switch sends an H.248 Subtract command to the trunk gateway to delete the unavailable trunk circuit TRK1 from the association, and retain the RTP1 resources in the association, so that it is unnecessary to reset the RTP1 media Steps for stream properties;
步骤306:中继网关向软交换返回应答(Reply);Step 306: the relay gateway returns a reply (Reply) to the softswitch;
步骤307:软交换选择新的中继电路TRK2,向中继网关发送新增(Add)消息,在关联CTX1中增加该中继电路TRK2的终结点;Step 307: the softswitch selects a new trunk circuit TRK2, sends an Add message to the trunk gateway, and adds the termination point of the trunk circuit TRK2 in the associated CTX1;
步骤308:中继网关向软交换返回应答Reply;Step 308: the trunk gateway returns a Reply to the softswitch;
步骤309:软交换收到中继网关正确响应后,发送NO.7的地址信令消息,即初始地址消息IAM,利用新选的中继电路TRK2与原来分配的资源RTP1,给对方交换局重新发起呼叫,声明占用此电路并发起呼叫。Step 309: After receiving the correct response from the trunk gateway, the softswitch sends the No. 7 address signaling message, that is, the initial address message IAM, and uses the newly selected trunk circuit TRK2 and the originally allocated resource RTP1 to send to the opposite switching office Re-initiate the call, claim the circuit and initiate the call.
以上实施例仅用以说明本发明的技术方案而非限制,尽管参考实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的技术方案的精神和范围,其均应涵盖在本发明的权利有求范围当中。The above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without Deviation from the spirit and scope of the technical solutions of the present invention shall be covered by the claims of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101674524A CN1997086B (en) | 2006-12-20 | 2006-12-20 | Realization Method of Automatic Repeat Call Trial in Softswitch Network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101674524A CN1997086B (en) | 2006-12-20 | 2006-12-20 | Realization Method of Automatic Repeat Call Trial in Softswitch Network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1997086A CN1997086A (en) | 2007-07-11 |
| CN1997086B true CN1997086B (en) | 2010-10-06 |
Family
ID=38251999
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006101674524A Expired - Fee Related CN1997086B (en) | 2006-12-20 | 2006-12-20 | Realization Method of Automatic Repeat Call Trial in Softswitch Network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1997086B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102438006B (en) * | 2011-09-09 | 2014-08-20 | 河北远东通信系统工程有限公司 | System and method for mixing program-controlled switch dispatching desk and soft switch dispatching desk |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6839342B1 (en) * | 2000-10-09 | 2005-01-04 | General Bandwidth Inc. | System and method for interfacing signaling information and voice traffic |
| CN1561138A (en) * | 2004-02-26 | 2005-01-05 | 中兴通讯股份有限公司 | Method for Eliminating Simultaneous Calls in Distributed Call Processing System |
| CN1798137A (en) * | 2004-12-21 | 2006-07-05 | 上海贝尔阿尔卡特股份有限公司 | Method for controlling soft exchange call, and soft exchange equipment |
-
2006
- 2006-12-20 CN CN2006101674524A patent/CN1997086B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6839342B1 (en) * | 2000-10-09 | 2005-01-04 | General Bandwidth Inc. | System and method for interfacing signaling information and voice traffic |
| CN1561138A (en) * | 2004-02-26 | 2005-01-05 | 中兴通讯股份有限公司 | Method for Eliminating Simultaneous Calls in Distributed Call Processing System |
| CN1798137A (en) * | 2004-12-21 | 2006-07-05 | 上海贝尔阿尔卡特股份有限公司 | Method for controlling soft exchange call, and soft exchange equipment |
Non-Patent Citations (2)
| Title |
|---|
| CN 1561138 A,全文. |
| US 6839342 B1,全文. |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1997086A (en) | 2007-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2326251C (en) | System, method and computer program product for support of bearer path services in a distributed control network | |
| CN1317854C (en) | Method for detecting medium gateway controller and medium between-gateways link state | |
| US7280532B2 (en) | Call set-up method using SIP-T overlap signaling | |
| EP2216935A1 (en) | Method and device for adjusting the relaying state | |
| JPH0865383A (en) | Telecommunication function server | |
| CN101083520B (en) | A Disaster Recovery Method for Access Gateway in NGN Network | |
| EP1677569B1 (en) | In-band call association signaling for a single number destination | |
| JP4901197B2 (en) | Soft switch call control method and soft switch device using the method | |
| CN101106612B (en) | A method and system for realizing self-switching disaster tolerance in NGN network | |
| KR100403725B1 (en) | Method for controlling group terminating call in voice over internet protocol system | |
| CN1997086B (en) | Realization Method of Automatic Repeat Call Trial in Softswitch Network | |
| CN101350742B (en) | Method and system for implementing voice listen of next generation network | |
| US20020191589A1 (en) | Method for synchronizing call signaling and voice circuit setup over a voice over internet protocol network | |
| CN1997087A (en) | A call implementation method in the soft switch network | |
| CN101808136B (en) | Method, device and system for realizing synchronization of user dynamic resources | |
| CN108900723B (en) | Forced insertion calling method, forced insertion calling equipment and communication system | |
| CN101355804A (en) | A system and method for seamless disaster recovery switching of next-generation network media gateways | |
| KR100456721B1 (en) | Conference Call Service Method Over Packet Network | |
| CN101247313B (en) | Outgoing Trunk Call Setup Method | |
| EP1014667A2 (en) | Data network call handling method | |
| CN101325535A (en) | Method and apparatus for rerouting a call in a communication network | |
| CN101110864B (en) | A method of using media server to provide dial-up service | |
| CN100450123C (en) | A Method of Improving Interconnection Rate Between Exchanges | |
| CN100591083C (en) | A method for transmitting the information that the calling number is unavailable under the softswitch architecture | |
| CN100407871C (en) | Call processing method and system for wireless local loop users in next generation 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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101006 |