CN1474566A - Method for readlizing voice communication between medium gates based on medium gate control protocol - Google Patents

Method for readlizing voice communication between medium gates based on medium gate control protocol Download PDF

Info

Publication number
CN1474566A
CN1474566A CNA021260362A CN02126036A CN1474566A CN 1474566 A CN1474566 A CN 1474566A CN A021260362 A CNA021260362 A CN A021260362A CN 02126036 A CN02126036 A CN 02126036A CN 1474566 A CN1474566 A CN 1474566A
Authority
CN
China
Prior art keywords
media gateway
description message
conversation description
public
caller
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
Application number
CNA021260362A
Other languages
Chinese (zh)
Other versions
CN1232084C (en
Inventor
赵君贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02126036 priority Critical patent/CN1232084C/en
Publication of CN1474566A publication Critical patent/CN1474566A/en
Application granted granted Critical
Publication of CN1232084C publication Critical patent/CN1232084C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

This invention relates to a method realizing phonetic communication between media gates based on media gate control protocol (MGCP) which proceeds in related a ress conversion to MGCP according to the distribution of the calling and called media gates in the network, that is to realize MGCP control function based on NAT, and a MGC setting in WAN sets up connection between the calling and called MG according to MGCP messages to realized the phonetic communication between them. This invention realizes the connection of MG to WAN by an acc gate in LAN to realize communication with MGC in WAN to reach the aim of controlling MG in LAN by MGC in WAN to realize phonetic inter communication among MG in LAN and between LAN and WAN or between different LANS.

Description

Based on the method that realizes voice communication between the media gateway of MGCP
Technical field
The present invention relates to a kind of network communications technology, relate in particular to a kind of based on the method that realizes voice communication between the media gateway of MGCP.
Background technology
Distributed system based on MGCP (MGCP) is made up of a MGC (Media Gateway Controller) and one group of MG (media gateway); Media gateway need be carried out the order that Media Gateway Controller sends, and realizes the voice communication between the MG.As shown in Figure 1, at present, in promulgation system, when two media gateway are managed as Call Agent by same Media Gateway Controller, can between two media gateway, create connection by following three steps based on MGCP:
(1) MGC utilizes first media gateway of " CRCX " command request MG1 to create connection on first end points, and media gateway MG1 distributes connection resource for this connects, and responds this order with SDP (conversation description), and answer code is 200.Conversation description has comprised the third party and has sent packet to the necessary message of this newly-built connection, for example IP address, UDP (User Datagram Protoco (UDP)) port and packing parameter etc.
(2) then, MGC utilizes second media gateway MG2 of " CRCX " command request to create connection on second end points, and the SDP that first media gateway MG1 provides is carried in this order.Second media gateway MG2 distributes connection resource for this connects, and should order with 200 response responses of band SDP.
(3) MGC utilizes " MDCX " (revise and connect) order that the SDP of second media gateway MG2 is offered first end points.This process is finished, and just can carry out two-way communication between media gateway MG1 and the MG2, and the voice message between MG1 and the MG2 can be sent out and receive mutually.
By above-mentioned prior art as can be seen, based on the networking of MGCP only in same WAN (metropolitan area network) or LAN (local area network (LAN)) MGC can control MG, thereby realize voice communication between the MG.If not the control in same metropolitan area network or local area network (LAN), link WAN as the MG in the LAN by IAD (AG), wish to communicate by letter to reach the purpose of the MG in the MGC control LAN in the WAN with the MGC realization in the WAN, thereby realize between the interior MG of LAN and the MG voice intercommunication among LAN and the WAN, and the voice intercommunication between the MG between the Different L AN, prior art can't realize, it is mutual that promptly existing networking technology can not satisfy in the LAN control between the MGC in the MG and WAN.
Summary of the invention
The purpose of this invention is to provide a kind of method, the MGC in the WAN can be controlled the MG among the LAN, to realize realizing voice communication between the MG in the heterogeneous networks based on realization voice communication between the media gateway of MGCP.
The object of the present invention is achieved like this: the method based on realizing voice communication between the media gateway of MGCP comprises:
(1) Media Gateway Controller is created according to the request notice caller media gateway of caller media gateway and is connected;
(2) utilize in the network public and private map addresses in the IAD as required,, and send to Media Gateway Controller for the privately owned source address of conversation description message that is used for responding Media Gateway Controller of caller media gateway is made public and private address transition;
(3) Media Gateway Controller carries the called media gateway establishment of the conversation description message notifying connection of caller media gateway;
(4) utilize in the network public and private map addresses in the IAD as required,, and send to Media Gateway Controller for the privately owned source address of conversation description message that is used for responding Media Gateway Controller of called media gateway is made public and private address transition;
(5) judge that according to the conversation description message calling and called media gateway is whether in consolidated network, if in consolidated network, utilizing public and private map addresses in the IAD is that publicly-owned destination address in the conversation description message of called media gateway is made public and private address transition, and send to the caller media gateway, otherwise directly the conversation description message with called media gateway sends to the caller media gateway;
(6) caller media gateway is finished establishment of connection between the calling and called media gateway according to the attended operation of making amendment of the conversation description message of called media gateway.
Public and private map addresses comprises in the described IAD: RTP (RTP) mapping and RTCP (RTCP Real-time Transport Control Protocol) mapping, two are mapped as based on the foundation of same IP address.
Described step (2) comprising:
(31) judge that whether the caller media gateway coexists in the wide area network with Media Gateway Controller, if, execution in step (32) then, otherwise, execution in step (33);
(32) direct conversation description message with the caller media gateway sends to Media Gateway Controller;
(33) the conversation description message of caller media gateway is utilized after public and private map addresses is carried out public and private address transition in the IAD, send to Media Gateway Controller.
Described step (4) comprising:
(41) judge that whether called media gateway coexists in the wide area network with Media Gateway Controller, if, execution in step (42) then, otherwise, execution in step (43);
(42) direct conversation description message with called media gateway sends to Media Gateway Controller;
(43) the conversation description message of called media gateway is utilized after public and private map addresses is carried out public and private address transition in the IAD, send to Media Gateway Controller.
In the described consolidated network be: in the same local area network (LAN).
Comprise in the described conversation description message: IP address field, UIDP port number field and packing parameter field.
By technique scheme as can be seen, the present invention can realize that MG in the LAN networking such as broadband cell and the MGC intercommunication among the WAN realize the controlled function based on MGCP.The present invention has realized that the MG in the LAN links WAN by IAD, can realize with the MGC in the WAN communicating by letter to reach the purpose of the MG in the MGC control LAN in the WAN, thereby realize between the interior MG of LAN and the MG voice intercommunication among LAN and the WAN, and the voice intercommunication between the MG between the Different L AN, satisfied the demand that realizes voice communication between the various media gateway of user in network.
Description of drawings
Fig. 1 is the distributed system networking schematic diagram based on MGCP;
The grid networking schematic diagram that Fig. 2 is suitable for for the present invention;
Fig. 3 is concrete implementing procedure figure of the present invention.
Embodiment
Embodiment based on the method for realization voice communication between the media gateway of MGCP of the present invention is described below in conjunction with the accompanying drawings, referring to Fig. 2, the objective of the invention is to realize between each media gateway in the local area network (LAN) LAN1, between each media gateway among local area network (LAN) LAN1 and the local area network (LAN) LAN2 and media gateway among local area network (LAN) LAN1 or the LAN2 and the voice communication between the media gateway among the wide area network WAN, wherein MGC is arranged among the WAN, and specific implementation process of the present invention is referring to Fig. 3:
Any two MG among step 1:WAN or the LAN need set up voice communication, then need be sent to Media Gateway Controller by the caller media gateway and set up voice communication request;
Media gateway controller MGC among the step 2:WAN is created according to request utilization " CRCX " the command request caller media gateway of caller media gateway and is connected, for this connects Resources allocation;
Step 3: the caller media gateway generates the conversation description message of response Media Gateway Controller request, the conversation description message comprises that called media gateway sends corresponding message to the necessary information of caller media gateway at this newly-built connection, as IP address, udp port number and packing parameter etc.;
Step 4: according to the relevant information in the request message of caller media gateway, judge caller media gateway and Media Gateway Controller whether in consolidated network, i.e. whether caller media gateway is in WAN, if in WAN, then execution in step 5, otherwise, execution in step 6;
Step 5: directly the conversation description message with the caller media gateway sends to Media Gateway Controller, execution in step 7;
Step 6: the conversation description message of caller media gateway is utilized after public and private map addresses is carried out public and private address transition among the AG (IAD), soon the private IP address in the literary composition of conversation description replaces with corresponding public ip address, send to Media Gateway Controller, to guarantee that the conversation description message can pass through IAD, outwards sends;
In addition, because the transmission of media message need be followed RTP (RTP) and RTCP (RTCP Real-time Transport Control Protocol), so the public and private map addresses among the AG needs to set up in pairs, promptly two mappings are set up in an IP address, comprise: at the mapping of RTP with at the mapping of RTCP, two are mapped as and set up based on same IP address;
Step 7: Media Gateway Controller carries the called media gateway of conversation description message request of caller media gateway and creates connection;
Step 8: same, called media gateway generates the conversation description message of response Media Gateway Controller request;
Step 9: judge that whether called media gateway coexists among the WAN with Media Gateway Controller, if in WAN, then execution in step 10, otherwise, execution in step 11;
Step 10: directly the conversation description message with called media gateway sends to Media Gateway Controller, execution in step 12;
Step 11: the conversation description message of called media gateway is utilized after public and private map addresses is carried out public and private address transition in the IAD, send to Media Gateway Controller, execution in step 12;
Step 12: judge the calling and called media gateway whether in same local area network (LAN) according to the conversation description message, if in same local area network (LAN), execution in step 13, otherwise, execution in step 14;
Herein, the calling and called media gateway in the situation of same local area network (LAN) is not: the calling and called media gateway respectively can be in local area network (LAN) LAN1 or LAN2, also can be in WAN, but the calling and called media gateway has one at least in local area network (LAN);
Step 13: the public and private map addresses of utilizing in the IAD to be set up, the publicly-owned destination address in the conversation description message of called media gateway is made public and private address transition, and send to the caller media gateway, execution in step 15;
Comprise the caller media gateway in this conversation description message and revised and finally set up the needed information of connection between the calling and called media gateway;
Step 14: directly the conversation description message with called media gateway sends to the caller media gateway, execution in step 15;
Step 15: the caller media gateway is finished establishment of connection between the calling and called media gateway according to the attended operation of making amendment of the conversation description message of called media gateway, and afterwards, the calling and called media gateway just can be carried out voice communication based on the connection of being set up.
Through the processing procedure of above steps, make the MG among the LAN can be in WAN to set up intercommunication under the control of MGC, thereby realized that any one MG among the LAN and any one other MG in the whole network set up voice communication, have realized purpose of the present invention.

Claims (6)

1, a kind of based on the method that realizes voice communication between the media gateway of MGCP, comprising:
(1) Media Gateway Controller is created according to the request notice caller media gateway of caller media gateway and is connected;
(2) utilize in the network public and private map addresses in the IAD as required,, and send to Media Gateway Controller for the privately owned source address of conversation description message that is used for responding Media Gateway Controller of caller media gateway is made public and private address transition;
(3) Media Gateway Controller carries the called media gateway establishment of the conversation description message notifying connection of caller media gateway;
(4) utilize in the network public and private map addresses in the IAD as required,, and send to Media Gateway Controller for the privately owned source address of conversation description message that is used for responding Media Gateway Controller of called media gateway is made public and private address transition;
(5) judge that according to the conversation description message calling and called media gateway is whether in consolidated network, if in consolidated network, utilizing public and private map addresses in the IAD is that publicly-owned destination address in the conversation description message of called media gateway is made public and private address transition, and send to the caller media gateway, otherwise directly the conversation description message with called media gateway sends to the caller media gateway;
(6) caller media gateway is finished establishment of connection between the calling and called media gateway according to the attended operation of making amendment of the conversation description message of called media gateway.
2, according to claim 1 based on the method that realizes voice communication between the media gateway of MGCP, it is characterized in that public and private map addresses comprises in the described IAD: RTP (RTP) mapping and RTCP (RTCP Real-time Transport Control Protocol) mapping, two are mapped as based on the foundation of same IP address.
3, according to claim 1 based on the method that realizes voice communication between the media gateway of MGCP, it is characterized in that described step (2) comprising:
(31) judge that whether the caller media gateway coexists in the wide area network with Media Gateway Controller, if, execution in step (32) then, otherwise, execution in step (33);
(32) direct conversation description message with the caller media gateway sends to Media Gateway Controller;
(33) the conversation description message of caller media gateway is utilized after public and private map addresses is carried out public and private address transition in the IAD, send to Media Gateway Controller.
4, according to claim 1 based on the method that realizes voice communication between the media gateway of MGCP, it is characterized in that described step (4) comprising:
(41) judge that whether called media gateway coexists in the wide area network with Media Gateway Controller, if, execution in step (42) then, otherwise, execution in step (43);
(42) direct conversation description message with called media gateway sends to Media Gateway Controller;
(43) the conversation description message of called media gateway is utilized after public and private map addresses is carried out public and private address transition in the IAD, send to Media Gateway Controller.
5, according to claim 1,3 or 4 described methods, it is characterized in that in the described consolidated network being: in the same local area network (LAN) based on realization voice communication between the media gateway of MGCP.
6, according to claim 1 based on the method that realizes voice communication between the media gateway of MGCP, it is characterized in that comprising in the described conversation description message: IP address field, UDP (User Datagram Protoco (UDP)) port number field and packing parameter field.
CN 02126036 2002-08-09 2002-08-09 Method for readlizing voice communication between medium gates based on medium gate control protocol Expired - Fee Related CN1232084C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02126036 CN1232084C (en) 2002-08-09 2002-08-09 Method for readlizing voice communication between medium gates based on medium gate control protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02126036 CN1232084C (en) 2002-08-09 2002-08-09 Method for readlizing voice communication between medium gates based on medium gate control protocol

Publications (2)

Publication Number Publication Date
CN1474566A true CN1474566A (en) 2004-02-11
CN1232084C CN1232084C (en) 2005-12-14

Family

ID=34143194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02126036 Expired - Fee Related CN1232084C (en) 2002-08-09 2002-08-09 Method for readlizing voice communication between medium gates based on medium gate control protocol

Country Status (1)

Country Link
CN (1) CN1232084C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007025429A1 (en) * 2005-09-02 2007-03-08 Huawei Technologies Co., Ltd. A method for preventing the media stream from bypassing and the device thereof
WO2008000188A1 (en) * 2006-06-22 2008-01-03 Huawei Technologies Co., Ltd. Method and system for realizing media stream interaction and media gateway controller and media gateway
CN100421421C (en) * 2005-10-08 2008-09-24 华为技术有限公司 Method and system for realizing random address space UE communication
CN100488136C (en) * 2004-07-09 2009-05-13 华为技术有限公司 System and method for convergence access of intelligent terminal
WO2009086754A1 (en) * 2007-12-28 2009-07-16 Huawei Technologies Co., Ltd. Method and system for distributing the local transport address and media gateway and media gateway controller
WO2009121305A1 (en) * 2008-04-03 2009-10-08 华为技术有限公司 Network address translation address mapping table maintaining method, media gateway and its controller
WO2009121267A1 (en) * 2008-03-31 2009-10-08 华为技术有限公司 A method and an apparatus for realizing nat
WO2010048804A1 (en) * 2008-10-30 2010-05-06 华为技术有限公司 A method, device and system for performing network address translation
CN101232499B (en) * 2007-12-14 2010-12-01 中兴通讯股份有限公司 Method for implementing media surface switch in replacement function
CN108989353A (en) * 2018-09-05 2018-12-11 中国联合网络通信集团有限公司 Soft switch method of calling and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100488136C (en) * 2004-07-09 2009-05-13 华为技术有限公司 System and method for convergence access of intelligent terminal
WO2007025429A1 (en) * 2005-09-02 2007-03-08 Huawei Technologies Co., Ltd. A method for preventing the media stream from bypassing and the device thereof
US8108526B2 (en) 2005-09-02 2012-01-31 Huawei Technologies Co., Ltd. Communication method and device for preventing media stream circuitry
CN100421421C (en) * 2005-10-08 2008-09-24 华为技术有限公司 Method and system for realizing random address space UE communication
WO2008000188A1 (en) * 2006-06-22 2008-01-03 Huawei Technologies Co., Ltd. Method and system for realizing media stream interaction and media gateway controller and media gateway
CN101094171B (en) * 2006-06-22 2011-02-16 华为技术有限公司 Method and system for implementing interaction of media streams, controller of media gateway, and media gateway
CN101232499B (en) * 2007-12-14 2010-12-01 中兴通讯股份有限公司 Method for implementing media surface switch in replacement function
CN101471965B (en) * 2007-12-28 2012-01-04 华为技术有限公司 Method for distributing local transmission address, medium gateway and medium gateway controller
WO2009086754A1 (en) * 2007-12-28 2009-07-16 Huawei Technologies Co., Ltd. Method and system for distributing the local transport address and media gateway and media gateway controller
WO2009121267A1 (en) * 2008-03-31 2009-10-08 华为技术有限公司 A method and an apparatus for realizing nat
WO2009121305A1 (en) * 2008-04-03 2009-10-08 华为技术有限公司 Network address translation address mapping table maintaining method, media gateway and its controller
CN101552803B (en) * 2008-04-03 2011-10-05 华为技术有限公司 Method for maintaining network address translation address mapping table, media gateway and controller thereof
WO2010048804A1 (en) * 2008-10-30 2010-05-06 华为技术有限公司 A method, device and system for performing network address translation
CN101729367B (en) * 2008-10-30 2012-08-08 华为技术有限公司 Method, equipment and system for realizing network address conversion
CN108989353A (en) * 2018-09-05 2018-12-11 中国联合网络通信集团有限公司 Soft switch method of calling and system
CN108989353B (en) * 2018-09-05 2021-04-27 中国联合网络通信集团有限公司 Soft switch calling method and system

Also Published As

Publication number Publication date
CN1232084C (en) 2005-12-14

Similar Documents

Publication Publication Date Title
CN1170393C (en) Method and system of realizing IP speech service of private network
CN1232084C (en) Method for readlizing voice communication between medium gates based on medium gate control protocol
CN1493140A (en) Method and apparatus to permit data transmission to transverse firewalls
CN101056269A (en) Method, system and session bound controller for the application-layer routing of the intercommunicated gateway
CN1516409A (en) Method for making medium stream pass through network address converter
CN1489354A (en) Method and system for realizing inter communication of telecommunication business between isomerized networks
CN1941738A (en) Device and method for telecommunicating between customer end application component and object server
CN1968194A (en) Method for passing through network address switching
CN1863138A (en) Method for implementing multimedia service NAT transition
CN1586049A (en) Virtual gateway
CN1581872A (en) Method for realizing signaling agency based on MEGACO protocol
CN1501650A (en) A call flow setting up method
CN1764172A (en) Multimedia communication proxy system and method capable of crossing network address conversion and firewall
CN1497903A (en) Method and system for submitting control and monitoring function for telecommunication exchange area
CN1466344A (en) Method for passing fire wall by VOIP
CN1585385A (en) Signal agent realizing method based on medium gateway control protocol
CN1859339A (en) Communication system and method for realizing IP cross-domain inter communication by edge media gateway
CN101036342A (en) Selecting a routing mode for a call session
CN1585364A (en) Method for H.323 agent server to register on gatekeeper from terminals after being agent of NAT
CN1968181A (en) Method for implementing media stream message passing through network address converter
CN1859340A (en) Method for realizing IP cross domain intercommunication by edge media gateway
CN1946055A (en) Method for switching medium data transmission path in instant communication
CN1302410C (en) Network sharing method for electronic whiteboard
CN1832437A (en) Method for multimedium session transition NAT equipment of IL323 system
CN1561038A (en) Method of collecting insertion of multiple IP voice insertion equipment

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

Granted publication date: 20051214

Termination date: 20160809

CF01 Termination of patent right due to non-payment of annual fee