CN1266901C - A call flow setting up method - Google Patents
A call flow setting up method Download PDFInfo
- Publication number
- CN1266901C CN1266901C CN 02152502 CN02152502A CN1266901C CN 1266901 C CN1266901 C CN 1266901C CN 02152502 CN02152502 CN 02152502 CN 02152502 A CN02152502 A CN 02152502A CN 1266901 C CN1266901 C CN 1266901C
- Authority
- CN
- China
- Prior art keywords
- gateway
- called
- soft switch
- caller
- media gateway
- 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
- Telephonic Communication Services (AREA)
Abstract
一种涉及通信技术领域中呼叫流程的建立方法,软交换将主叫信令网关发送的初始地址消息(IAM)发送给被叫信令网关之前,已经通过Modify请求控制主叫中继网关得到被叫RTP终结点的IP地址和端口号,所以在软交换发送IAM前已经控制中继网关完成了媒体流的建立,因此,即使被叫振铃后立即摘机也不会出现摘机后媒体流还没有建立的情况;本发明了提供了一种更加完善的呼叫流程的建立方法。
It relates to a method for establishing a call flow in the field of communication technology. Before a softswitch sends an initial address message (IAM) sent by a calling signaling gateway to a called signaling gateway, the calling trunk gateway has been controlled by a Modify request to obtain the It is called the IP address and port number of the RTP endpoint, so the trunk gateway has been controlled to complete the establishment of the media stream before the softswitch sends the IAM, so even if the called party picks up the phone immediately after ringing, there will be no media stream after picking up the phone The situation that has not been established yet; the present invention provides a more complete method for establishing a call flow.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种呼叫流程的建立方法。The invention relates to the technical field of communication, in particular to a method for establishing a call flow.
背景技术Background technique
软交换是下一代网络(NGN:New Generation Network)的控制功能实体,为下一代网络提供具有实时性要求的业务的呼叫控制和连接控制功能,是下一代网络呼叫与控制的核心,在通信系统中,控制是通过协商解决的,相应地就必须有协议,在NGN体系结构中,软交换作为控制中心,正是通过支持H.248等多种协议实现的。Softswitch is the control function entity of NGN (New Generation Network), which provides call control and connection control functions for services with real-time requirements for the next generation network, and is the core of call and control in the next generation network. Among them, the control is resolved through negotiation, and accordingly there must be an agreement. In the NGN architecture, the softswitch is the control center, which is realized by supporting multiple protocols such as H.248.
H.248协议是媒体网关控制器与媒体网关之间的控制协议,它是一种主从协议,以媒体网关控制器为主,媒体网关为从,媒体网关控制器控制各种业务网关,实现分组网络与公用电话交换网(PSTN)的互通,目前,国际国内的标准组织对和H.248协议相关的呼叫建立流程做了相关建议。The H.248 protocol is a control protocol between the media gateway controller and the media gateway. It is a master-slave protocol, with the media gateway controller as the master and the media gateway as the slave. The media gateway controller controls various service gateways to realize For the intercommunication between the packet network and the public switched telephone network (PSTN), at present, international and domestic standard organizations have made relevant suggestions on the call establishment process related to the H.248 protocol.
终结点(Termination)是媒体网关(MG:Media Gateway)上的逻辑实体,它发起和/或接收媒体和/或控制流,TDM termination是一种半永久性终结点,RTP termination是一种临时性终结点。关联(context)表明终结点之间的连接关系,可通过Add命令进行创建,通过Modify命令进行修改,也可以通过Subtract、Move命令进行删除,一个终结点在任一时刻属于且只能属于一个关联。Termination is a logical entity on a media gateway (MG: Media Gateway), which initiates and/or receives media and/or control streams, TDM termination is a semi-permanent termination, RTP termination is a temporary termination point. Context indicates the connection relationship between endpoints. It can be created by Add command, modified by Modify command, or deleted by Subtract and Move commands. An endpoint belongs to and can only belong to one association at any time.
如图1所示为现有的由中继媒体网关(TMG:Trunk Media Gateway)发起的呼叫建立流程,中继媒体网关通过电路交换网中的电路中继与用户连接,呼叫信令由信令网关(SG:Signaling Gateway)通过七号信令进入软交换设备,并约定:As shown in Figure 1, the existing call establishment process initiated by a trunk media gateway (TMG: Trunk Media Gateway), the trunk media gateway is connected to the user through the circuit relay in the circuit switched network, and the call signaling is determined by the signaling The gateway (SG: Signaling Gateway) enters the softswitch device through SS7, and agrees:
(1)主叫用户位于中继媒体网关TMG1和信令网关SG1的管辖范围;(1) The calling user is located in the jurisdiction of the trunk media gateway TMG1 and the signaling gateway SG1;
(2)被叫用户位于中继媒体网关TMG2和信令网关SG2的管辖范围;(2) The called user is located in the jurisdiction of the trunk media gateway TMG2 and the signaling gateway SG2;
(3)中继媒体网关TMG1和TMG2属于一个软交换的管辖区域内;(3) The trunk media gateways TMG1 and TMG2 belong to the jurisdiction of a softswitch;
(4)七号信令采用综合业务数字网用户部分(ISUP)信令;(4) SS7 adopts ISUP signaling;
ISUP协议消息包括:初始地址消息IAM(Initial Address Message)、地址全消息ACM(Address Completion Message)、应答消息ANM(AnswerMessage)等。ISUP protocol messages include: initial address message IAM (Initial Address Message), address complete message ACM (Address Completion Message), answer message ANM (AnswerMessage), etc.
现有的呼叫流程如下:The existing call flow is as follows:
(1)用户拨号后,通过主叫七号信令网关向软交换发送(IAM)。(1) After the user dials, send (IAM) to the softswitch through the calling SS7 gateway.
(2)在TMG1中创建一个新关联(Context),并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(2) Create a new association (Context) in TMG1, and add a semi-permanent termination point (TDM) and a temporary termination point (RTP) in the association.
(3)在TMG2中创建一个新关联,并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(3) Create a new association in TMG2, and add a semi-permanent termination point (TDM) and a temporary termination point (RTP) in the association.
(4)软交换通过被叫七号信令网关向电路交换网发送IAM,电路交换网回送ACM,被叫振铃。(4) The soft switch sends an IAM to the circuit switching network through the called SS7 gateway, and the circuit switching network sends an ACM back, and the called party rings.
(5)软交换向TMG1发送Modify命令,告知远端RTP端口号和IP地址,并通知发送回铃音。(5) The softswitch sends a Modify command to TMG1 to inform the remote RTP port number and IP address, and to send a ringback tone.
(6)软交换向SG1发送ACM。(6) The softswitch sends the ACM to SG1.
(7)被叫摘机,SG2向软交换发送ANM。(7) The called party picks up the hook, and SG2 sends ANM to the softswitch.
(8)软交换向TMG1发送Modify命令,切断回铃音。(8) The soft switch sends a Modify command to TMG1 to cut off the ring back tone.
(9)软交换向SG1发送ANM。(9) The soft switch sends ANM to SG1.
基于以上流程在实现时存在一个问题:如果被叫振铃后立即摘机,会发现媒体流还没有建立,通过图1也可看出,被叫七号信令网关将软交换发送的IAM发送给电路交换网,电路交换网回送ACM,被叫振铃,但软交换通过被叫七号信令网关接收到电路交换网回送的ACM,再通过Modify请求控制主叫中继网关得到被叫RTP终结点的IP地址和端口号,再由中继网关完成媒体流的建立是有一定时延的,所以立即摘机时媒体流会还没有建立。Based on the above process, there is a problem in the implementation: if the called party picks up the phone immediately after ringing, it will be found that the media stream has not been established. It can also be seen from Figure 1 that the called SS7 gateway sends the IAM sent by the softswitch. To the circuit switching network, the circuit switching network returns the ACM, and the called party rings, but the softswitch receives the ACM sent back by the circuit switching network through the called SS7 signaling gateway, and then controls the calling trunk gateway to obtain the called RTP through the Modify request The IP address and port number of the endpoint, and then the relay gateway completes the establishment of the media stream. There is a certain delay, so the media stream will not be established when the phone is picked up immediately.
发明内容Contents of the invention
本发明所要解决的技术问题是:克服现有呼叫流程的缺陷,提供一种被叫振铃后立即摘机时,已经建立媒体流的呼叫流程的建立方法。The technical problem to be solved by the present invention is to overcome the defects of the existing call flow, and provide a method for establishing a call flow that has already established a media stream when the called party picks up the phone immediately after ringing.
本发明为解决上述技术问题所采用的技术方案为:这种呼叫流程的建立方法,包括以下步骤:The technical scheme that the present invention adopts for solving the above-mentioned technical problem is: the establishment method of this call flow, comprises the following steps:
A、用户拨号,通过主叫七号信令网关向软交换发送初始地址消息;A. The user dials, and sends an initial address message to the softswitch through the calling SS7 gateway;
B、在主叫中继媒体网关中创建一个新的关联,并在关联中加入半永久性终结点和临时性终结点;B. Create a new association in the calling trunk media gateway, and add a semi-permanent termination point and a temporary termination point to the association;
C、在被叫中继媒体网关中创建一个新的关联,并在关联中加入半永久性终结点和临时性终结点;C. Create a new association in the called trunk media gateway, and add a semi-permanent termination point and a temporary termination point to the association;
D、软交换向主叫中继媒体网关发送Modify命令,告之远端临时性终结点端口号和IP地址;D. The soft switch sends a Modify command to the calling trunk media gateway, and informs the port number and IP address of the remote temporary termination point;
E、软交换通过被叫七号信令网关向电路交换网发送初始地址消息,电路交换网回送地址全消息,被叫振铃;E. The softswitch sends an initial address message to the circuit switching network through the called SS7 gateway, and the circuit switching network sends back the full address message, and the called party rings;
F、软交换向主叫中继媒体网关发送Modify命令,通知发送回铃音;F. The softswitch sends a Modify command to the calling trunk media gateway, notifying to send a ringback tone;
G、软交换向主叫七号信令网关发送地址全消息。G. The softswitch sends the full address message to the calling SS7 gateway.
若被叫振铃后摘机,呼叫建立方法如下:If the called party picks up the phone after ringing, the call establishment method is as follows:
H、被叫摘机,被叫七号信令网关向软交换发送应答消息;H. The called party picks up the phone, and the called SS7 gateway sends a response message to the softswitch;
I、软交换向主叫中继媒体网关发送Modify命令,切断回铃音;1, the softswitch sends a Modify command to the calling trunk media gateway to cut off the ringback tone;
J、软交换向主叫七号信令网关发送应答消息。J. The softswitch sends a response message to the calling SS7 gateway.
本发明的有益效果为:本发明根据实际实现过程中的经验对规范建议的呼叫流程的缺陷进行了改进,软交换将主叫七号信令网关发送的IAM发送给被叫信令网关之前,已经通过Modify请求控制主叫中继网关得到被叫RTP终结点的IP地址和端口号,所以在软交换发送IAM前已经控制中继网关完成了媒体流的建立,因此,即使被叫振铃后立即摘机也不会出现摘机后媒体流还没有建立的情况,本发明提供了一种更加完善的呼叫流程的建立方法。The beneficial effects of the present invention are: the present invention improves the defect of the call flow suggested by the standard according to the experience in the actual implementation process, and before the softswitch sends the IAM sent by the calling SS7 signaling gateway to the called signaling gateway, The calling trunk gateway has been controlled to obtain the IP address and port number of the called RTP endpoint through the Modify request, so the trunk gateway has been controlled to complete the establishment of the media stream before the softswitch sends the IAM. Therefore, even after the called party rings Immediate off-hook will not cause the media stream not to be established after off-hook, and the present invention provides a more complete method for establishing call flow.
附图说明Description of drawings
图1为现有的由中继媒体网关发起的呼叫建立流程示意图;FIG. 1 is a schematic diagram of an existing call setup process initiated by a trunk media gateway;
图2为本发明由中继媒体网关发起的呼叫建立流程示意图。Fig. 2 is a schematic diagram of the call establishment process initiated by the relay media gateway in the present invention.
具体实施方式Detailed ways
下面根据附图和实施方案对本发明作进一步详细说明:The present invention will be described in further detail below according to accompanying drawing and embodiment:
如图2所示,解决以上问题需要控制软交换发送IAM的时机,本发明的这种呼叫建立流程如下,As shown in Figure 2, to solve the above problems need to control the timing of softswitch sending IAM, this call setup process of the present invention is as follows,
(1)用户拨号后,通过主叫七号信令网关(SG1)向软交换发送IAM。(1) After the user dials, the IAM is sent to the softswitch through the calling SS7 gateway (SG1).
(2)在主叫中继媒体网关(TMG1)中创建一个新关联,并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(2) Create a new association in the calling trunk media gateway (TMG1), and add a semi-permanent termination point (TDM) and a temporary termination point (RTP) in the association.
(3)在被叫中继媒体网关(TMG2)中创建一个新关联,并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(3) Create a new association in the called trunk media gateway (TMG2), and add a semi-permanent termination point (TDM) and a temporary termination point (RTP) in the association.
(4)软交换向TMG1发送Modify命令,告之远端RTP端口号和IP地址。(4) The soft switch sends a Modify command to TMG1 to inform the remote RTP port number and IP address.
(5)软交换通过被叫七号信令网关(SG2)向电路交换网发送IAM,电路交换网回送ACM,被叫振铃。(5) The soft switch sends the IAM to the circuit switching network through the called SS7 gateway (SG2), and the circuit switching network sends back the ACM, and the called party rings.
(6)软交换向TMG1发送Modify命令,通知发送回铃音。(6) The softswitch sends a Modify command to TMG1, notifying to send a ringback tone.
(7)软交换向SG1发送ACM。(7) The soft switch sends the ACM to SG1.
(8)被叫摘机后,SG2向软交换发送ANM。(8) After the called party picks up the hook, SG2 sends ANM to the softswitch.
(9)软交换向TMG1发送Modify命令,切断回铃音。(9) The softswitch sends a Modify command to TMG1 to cut off the ringback tone.
(10)软交换向SG1发送ANM。(10) The softswitch sends ANM to SG1.
这样修改后,即使被叫振铃后立即摘机,由于软交换在发送IAM前已经控制中继网关完成了媒体流的建立,所以不会出现摘机后媒体流还没有建立的情况。After this modification, even if the called party goes off-hook immediately after ringing, the softswitch has already controlled the trunk gateway to complete the establishment of the media stream before sending the IAM, so the situation that the media stream has not been established after off-hook will not occur.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02152502 CN1266901C (en) | 2002-11-14 | 2002-11-14 | A call flow setting up method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02152502 CN1266901C (en) | 2002-11-14 | 2002-11-14 | A call flow setting up method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1501650A CN1501650A (en) | 2004-06-02 |
| CN1266901C true CN1266901C (en) | 2006-07-26 |
Family
ID=34234770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 02152502 Expired - Fee Related CN1266901C (en) | 2002-11-14 | 2002-11-14 | A call flow setting up method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1266901C (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108848116A (en) * | 2018-09-05 | 2018-11-20 | 中国联合网络通信集团有限公司 | call recording method, device and storage medium |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100407854C (en) * | 2004-07-31 | 2008-07-30 | 华为技术有限公司 | Announcement Method in Wideband Code Division Multiple Access Communication System |
| CN101258717B (en) * | 2005-11-25 | 2011-11-23 | 中兴通讯股份有限公司 | Medium gateway system and method for realizing medium gateway internal call |
| CN1984177B (en) * | 2006-04-14 | 2011-04-06 | 华为技术有限公司 | System and method for realizing color bell service |
| CN100531467C (en) * | 2006-05-09 | 2009-08-19 | 华为技术有限公司 | Calling method based on Internet protocol baring |
| CN101056282B (en) * | 2006-06-20 | 2010-05-12 | 华为技术有限公司 | Implementation method, device and system of channel-associated signaling under H.248 separation architecture |
| CN101132348B (en) * | 2006-08-22 | 2011-05-25 | 中兴通讯股份有限公司 | Method for implementing IMS distinguished ring business by SIP signaling expansion |
| CN100461968C (en) * | 2006-09-29 | 2009-02-11 | 华为技术有限公司 | Method, system and media gateway for obtaining calling number information |
| CN100452786C (en) * | 2006-10-16 | 2009-01-14 | 武汉市中光通信公司 | Large-Scale Integrated Access Gateway System Based on NGN |
| CN101207547B (en) * | 2006-12-20 | 2011-05-25 | 曲锐 | System and method for implementing intercommunication of public switched telephone network and IP network |
| CN101247313B (en) * | 2007-02-13 | 2010-11-10 | 中兴通讯股份有限公司 | Outgoing Trunk Call Setup Method |
| CN101123593B (en) * | 2007-09-20 | 2010-06-09 | 中兴通讯股份有限公司 | Method for Realizing Early Media Function by Media Gateway Control Function |
| CN100589610C (en) * | 2007-10-10 | 2010-02-10 | 中兴通讯股份有限公司 | Method and system for suppressing ringing in mobile communication services |
| CN108833441B (en) * | 2018-07-23 | 2021-02-02 | 中国联合网络通信集团有限公司 | Method and system for releasing temporary termination point |
| CN111405131B (en) * | 2020-03-30 | 2021-04-20 | 深圳震有科技股份有限公司 | Method, system and storage medium for detecting far-end off-hook signal |
-
2002
- 2002-11-14 CN CN 02152502 patent/CN1266901C/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108848116A (en) * | 2018-09-05 | 2018-11-20 | 中国联合网络通信集团有限公司 | call recording method, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1501650A (en) | 2004-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1266901C (en) | A call flow setting up method | |
| CN1165137C (en) | Network telephone exchange system and call control method thereof | |
| US7280532B2 (en) | Call set-up method using SIP-T overlap signaling | |
| CN1497906A (en) | System and method for generating ringbace tone | |
| CN100579113C (en) | Softswitch call control method and its softswitch equipment | |
| CN1412981A (en) | Method and device for supplying station group in network telephone switching system | |
| CN1288884C (en) | IP access method and system of phonetic service | |
| CN1809099A (en) | Number priority based method and system of forced disconnecting calls | |
| CN1849808A (en) | Interworking of hybrid protocol multimedia networks | |
| CN101192851A (en) | Method, system and application server for preventing ring tone crosstalk | |
| CN1524369A (en) | Method for synchronizing call signaling and session establishment in voice network over internet protocol | |
| CN1874380A (en) | Method for realizing a call | |
| CN1930849A (en) | Method for establishing a call in a telecommunications network, telecommunications network, and controlling device for packet networks | |
| CN1622555A (en) | Port dynamic binding module for media gateway and dynamic binding method thereof | |
| CN1874349A (en) | Method for implementing internal connection in media gateway | |
| CN1893475A (en) | Method for realizing handshake between network apparatus and network terminal while talking | |
| CN108900723B (en) | Forced insertion calling method, forced insertion calling equipment and communication system | |
| CN1825866A (en) | Calling treatment method for use under next generation network architecture | |
| CN100542196C (en) | A method and system for implementing long-distance operator insertion | |
| CN1874351A (en) | Method for implementing automatic congestion control | |
| CN101606369B (en) | Method for implementing on-line and off-hook line signaling in next-generation networks | |
| CN100499708C (en) | Method for playing individualized ring back tone for calling terminal in low speed | |
| CN1921636A (en) | Method and device for long-time mute alarm | |
| CN1870700A (en) | Method for access comprehensive service digital network service stage at next generation network | |
| CN101031000A (en) | System and method for utilizing wide-band color bell by narrow-band user |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060726 Termination date: 20121114 |