CN1501650A - A method for establishing a call flow - Google Patents
A method for establishing a call flow Download PDFInfo
- Publication number
- CN1501650A CN1501650A CNA021525021A CN02152502A CN1501650A CN 1501650 A CN1501650 A CN 1501650A CN A021525021 A CNA021525021 A CN A021525021A CN 02152502 A CN02152502 A CN 02152502A CN 1501650 A CN1501650 A CN 1501650A
- Authority
- CN
- China
- Prior art keywords
- sends
- gateway
- softswitch
- calling
- called
- 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.)
- Granted
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 If it 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 AddressMessage)、地址全消息(ACM:Address Completion Message)、应答消息(ANM:Answer Message)等。ISUP protocol messages include: Initial Address Message (IAM: Initial Address Message), Address Complete Message (ACM: Address Completion Message), Answer Message (ANM: Answer Message), etc.
现有的呼叫流程如下:The existing call flow is as follows:
(1)用户拨号,通过七号信令网关向软交换发送(IAM)。(1) The user dials and sends (IAM) to the softswitch through the No. 7 signaling gateway.
(2)在TMG1中创建一个新关联,并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(2) Create a new association 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 the IAM to the circuit switching network through the SS7 gateway, and the circuit switching network sends back the ACM, and the called party rings.
(5)软交换向TMG1发送Modify命令,告之远端RTP端口号和IP地址,并通知发送回铃音。(5) The soft switch sends a Modify command to TMG1, notifies the remote RTP port number and IP address, and notifies sending 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 No. 7 signaling gateway sends the IAM sent by the softswitch to the circuit The switching network, the circuit switching network sends back the ACM, and the called party rings, but the softswitch receives the ACM sent back from the circuit switching network through the No. 7 signaling gateway, and then controls the calling trunk gateway to obtain the IP of the called RTP termination point through the Modify request address and port number, and then the relay gateway completes the establishment of the media stream with 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、用户拨号,通过七号信令网关向软交换发送初始地址消息(IAM);A. The user dials, and sends an initial address message (IAM) to the softswitch through the No. 7 signaling gateway;
B、在主叫中继媒体网关中创建一个新的关联(Context),并在关联B. Create a new association (Context) in the calling trunk media gateway, and
中加入半永久性终结点和临时性终结点;Add semi-permanent endpoints and temporary endpoints to ;
C、在被叫中继媒体网关中创建一个新的关联,并在关联中加入半永C. Create a new association in the called trunk media gateway, and add semi-permanent to the association
久性终结点和临时性终结点;Persistent endpoints and temporary endpoints;
D、软交换向主叫中继媒体网关发送Modify命令,告之远端临时性D. The softswitch sends a Modify command to the calling trunk media gateway to inform the remote end of the temporary
终结点端口号和IP地址;Endpoint port number and IP address;
E、软交换通过七号信令网关向电路交换网发送初始地址消息E. The soft switch sends the initial address message to the circuit switched network through the No. 7 signaling gateway
(IAM),电路交换网回送地址全消息(ACM),被叫振铃;(IAM), circuit switching network loopback address full message (ACM), 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、软交换向主叫信令网关发送地址全消息(ACM)。G. The soft switch sends an Address Complete Message (ACM) to the calling signaling gateway.
被叫振铃后摘机,呼叫建立方法如下: After the called party rings and picks up the phone, the call establishment method is as follows:
H、被叫摘机,被叫信令网关向软交换发送应答消息(ANM);H, called off-hook, called signaling gateway sends answer message (ANM) to softswitch;
I、软交换向主叫中继媒体网关发送Modify命令,切断回铃音;1, the softswitch sends a Modify command to the calling trunk media gateway to cut off the ringback tone;
J、软交换向主叫信令网关发送应答消息(ANM)。J. The soft switch sends an answer message (ANM) to the calling signaling gateway.
本发明的有益效果为:本发明根据实际实现过程中的经验对规范建议的呼叫流程的缺陷进行了改进,软交换将主叫信令网关发送的IAM发送给被叫信令网关之前,已经通过Modify请求控制主叫中继网关得到被叫RTP终结点的IP地址和端口号,所以在软交换发送IAM前已经控制中继网关完成了媒体流的建立,因此,即使被叫振铃后立即摘机也不会出现摘机后媒体流还没有建立的情况,本发明提供了一种更加完善的呼叫流程的建立方法。The beneficial effects of the present invention are: the present invention improves the defects of the call flow suggested by the specification according to the experience in the actual implementation process, and before the soft switch sends the IAM sent by the calling signaling gateway to the called signaling gateway, it has passed Modify requests to control the calling trunk gateway to obtain the IP address and port number of the called 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 call immediately after ringing The situation that the media flow has not been established after off-hook does not occur, and the invention provides a more complete method for establishing a 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)用户拨号,通过七号信令网关向软交换发送IAM。(1) The user dials up and sends the IAM to the softswitch through the No. 7 signaling gateway.
(2)在TMG1中创建一个新关联,并在关联中加入半永久性终结点(TDM)和临时性终结点(RTP)。(2) Create a new association 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)软交换向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)软交换通过七号信令网关向电路交换网发送IAM,电路交换网回送ACM,被叫振铃。(5) The softswitch sends the IAM to the circuit switching network through the SS7 gateway, 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) The called party picks up the hook, and 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 true CN1501650A (en) | 2004-06-02 |
| CN1266901C 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 (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007059650A1 (en) * | 2005-11-25 | 2007-05-31 | Zte Corporation | A media gateway system and a method for achieving the internal calling of the media gateway |
| WO2007131435A1 (en) * | 2006-05-09 | 2007-11-22 | Huawei Technologies Co., Ltd. | A calling method, system and msce over ip supporting |
| CN100407854C (en) * | 2004-07-31 | 2008-07-30 | 华为技术有限公司 | Announcement Method in Wideband Code Division Multiple Access Communication System |
| CN100452786C (en) * | 2006-10-16 | 2009-01-14 | 武汉市中光通信公司 | Large-Scale Integrated Access Gateway System Based on NGN |
| CN100461968C (en) * | 2006-09-29 | 2009-02-11 | 华为技术有限公司 | Method, system and media gateway for obtaining calling number information |
| WO2009046592A1 (en) * | 2007-10-10 | 2009-04-16 | Zte Corporation | A method, system and a mobile terminal for restraining ring in a mobile communication service |
| CN101056282B (en) * | 2006-06-20 | 2010-05-12 | 华为技术有限公司 | Implementation method, device and system of channel-associated signaling under H.248 separation architecture |
| CN101123593B (en) * | 2007-09-20 | 2010-06-09 | 中兴通讯股份有限公司 | Method for Realizing Early Media Function by Media Gateway Control Function |
| CN101247313B (en) * | 2007-02-13 | 2010-11-10 | 中兴通讯股份有限公司 | Outgoing Trunk Call Setup Method |
| CN1984177B (en) * | 2006-04-14 | 2011-04-06 | 华为技术有限公司 | System and method for realizing color bell service |
| CN101132348B (en) * | 2006-08-22 | 2011-05-25 | 中兴通讯股份有限公司 | Method for implementing IMS distinguished ring business by SIP signaling expansion |
| CN101207547B (en) * | 2006-12-20 | 2011-05-25 | 曲锐 | System and method for implementing intercommunication of public switched telephone network and IP network |
| CN108833441A (en) * | 2018-07-23 | 2018-11-16 | 中国联合网络通信集团有限公司 | Method and system for releasing temporary endpoints |
| CN111405131A (en) * | 2020-03-30 | 2020-07-10 | 深圳震有科技股份有限公司 | Method, system and storage medium for detecting far-end off-hook signal |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108848116A (en) * | 2018-09-05 | 2018-11-20 | 中国联合网络通信集团有限公司 | call recording method, device and storage medium |
-
2002
- 2002-11-14 CN CN 02152502 patent/CN1266901C/en not_active Expired - Fee Related
Cited By (16)
| 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 |
| WO2007059650A1 (en) * | 2005-11-25 | 2007-05-31 | Zte Corporation | A media gateway system and a method for achieving the internal calling of the media gateway |
| CN1984177B (en) * | 2006-04-14 | 2011-04-06 | 华为技术有限公司 | System and method for realizing color bell service |
| WO2007131435A1 (en) * | 2006-05-09 | 2007-11-22 | Huawei Technologies Co., Ltd. | A calling method, system and msce over ip supporting |
| 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 |
| WO2009046592A1 (en) * | 2007-10-10 | 2009-04-16 | Zte Corporation | A method, system and a mobile terminal for restraining ring in a mobile communication service |
| CN108833441A (en) * | 2018-07-23 | 2018-11-16 | 中国联合网络通信集团有限公司 | Method and system for releasing temporary endpoints |
| CN111405131A (en) * | 2020-03-30 | 2020-07-10 | 深圳震有科技股份有限公司 | Method, system and storage medium for detecting far-end off-hook signal |
| CN111405131B (en) * | 2020-03-30 | 2021-04-20 | 深圳震有科技股份有限公司 | Method, system and storage medium for detecting far-end off-hook signal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1266901C (en) | 2006-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1165137C (en) | Network telephone exchange system and call control method thereof | |
| CN1266901C (en) | A call flow setting up method | |
| CN1489354A (en) | Method and system for realizing interworking of telecommunication services among broadband heterogeneous networks | |
| CN1497906A (en) | System and method for generating ringbace tone | |
| CN1553676A (en) | Method for Multiple Protocol Terminals to Conduct Same Audio-Video Conference | |
| CN1798137A (en) | Method for controlling soft exchange call, and soft exchange equipment | |
| CN1288884C (en) | IP access method and system of phonetic service | |
| CN1266885C (en) | Method for realizing monitoring based on soft switch | |
| CN1324869C (en) | Method for implementing facsimile in next generation network | |
| CN1849808A (en) | Interworking of hybrid protocol multimedia networks | |
| CN101060504A (en) | A method for negotiating the next generation of network media gateway fax switching mode | |
| CN1897622A (en) | Method for inspecting and releasing abnormal realtime transmission protocol source of medium gateway | |
| CN101192851A (en) | Method, system and application server for preventing ring tone crosstalk | |
| CN1874380A (en) | Method for realizing a call | |
| CN1918892A (en) | Multimedia packet transmission link setup using an interactive voice response system | |
| CN1524369A (en) | Method for synchronizing call signaling and session establishment in voice network over internet protocol | |
| CN1930849A (en) | Method for establishing a call in a telecommunications network, telecommunications network, and controlling device for packet networks | |
| CN1874349A (en) | Method for implementing internal connection in media gateway | |
| CN1893475A (en) | Method for realizing handshake between network apparatus and network terminal while talking | |
| CN1622555A (en) | Port dynamic binding module for media gateway and dynamic binding method thereof | |
| CN1825866A (en) | Calling treatment method for use under next generation network architecture | |
| CN1738263A (en) | Monitoring method for soft switching system media stream and gateway-monitoring processing device | |
| CN101031006A (en) | Sink-bureau multi-service transmitting method based on IP | |
| CN108900723B (en) | Forced insertion calling method, forced insertion calling equipment and communication system | |
| CN1992706A (en) | Method for adjusting statistical parameter value in media gateway |
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 |