WO2009086663A1 - Method for media gateway obtaining calling information - Google Patents

Method for media gateway obtaining calling information Download PDF

Info

Publication number
WO2009086663A1
WO2009086663A1 PCT/CN2007/003936 CN2007003936W WO2009086663A1 WO 2009086663 A1 WO2009086663 A1 WO 2009086663A1 CN 2007003936 W CN2007003936 W CN 2007003936W WO 2009086663 A1 WO2009086663 A1 WO 2009086663A1
Authority
WO
WIPO (PCT)
Prior art keywords
media gateway
calling
information
calling number
gateway controller
Prior art date
Application number
PCT/CN2007/003936
Other languages
French (fr)
Chinese (zh)
Inventor
Hao Chen
Hongjun Sun
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to CN200780100431.3A priority Critical patent/CN101796800B/en
Priority to PCT/CN2007/003936 priority patent/WO2009086663A1/en
Publication of WO2009086663A1 publication Critical patent/WO2009086663A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/125Details of gateway equipment
    • H04M7/1255Details of gateway equipment where the switching fabric and the switching logic are decomposed such as in Media Gateway Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways

Definitions

  • the present invention relates to the processing of associated signaling, and more particularly to a method for implementing a media gateway to obtain calling information under an NGN (Next Generation Network) architecture.
  • NGN Next Generation Network
  • the signalling mode of the associated channel signaling is a signal mode in which the signals of each channel are transmitted via the voice channel itself or through a signal channel corresponding to the voice channel. It is divided into line signals and register signals according to its signal content, and sometimes DC pulse signaling is required.
  • the associated signaling is sent and received by the MG (Media Gateway) device under the control of the MGC (Media Gateway Controller) through the H248 protocol.
  • MG Media Gateway
  • MGC Media Gateway Controller
  • the following deficiencies are handled by the associated signaling (R2 or China's No. 1 channel signaling): 1. If the MG is out of the office, if there is no calling information (including the calling number and the calling subscriber category KA/calling service category KD) If the next-level gateway or end office wants the MG to call the information, the gateway or the end office will time out and the call will fail. This result is unreasonable because the MGC is likely to get the calling information, and the MG can obtain the calling information from the MGC to continue the call. This is more reasonable.
  • the MG does not have an indication of whether or not to call the information when entering the office. Therefore, it is only inappropriate for the MG to decide whether to call the information to the previous office. This is not appropriate. For example, if the former office does not have the calling information, then the MG can only decide the subsequent process: Is the called number reported to the MGC or the reporting timeout failed? There is no agreement in the prior art, which will cause some calls that can be connected to fail. For example, the MG's pre-office has no calling information. At this time, the calling information is not needed, and the MG decides to call the information. Since the pre-office has no calling information, the MG cannot obtain the calling information, and thus the MG cannot obtain the calling information. The MGC reports a timeout failure. In fact, if the MG reports the called number to the MGC under the control of the MGC, the call can continue. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method for the media gateway to obtain the calling information, which solves the problem that the processing of the calling information in the prior art is not reasonable enough, resulting in a call failure.
  • the present invention provides a method for a media gateway to obtain calling information.
  • the media gateway and the media gateway controller enable the media gateway to obtain calling information through message interworking, which includes: defining a media gateway to the media gateway controller.
  • An event requesting the calling information after the call is initiated, the lower office requests the calling information from the outgoing media gateway, and the outgoing media gateway initiates the event requesting the calling information to the media gateway controller, the media gateway The controller responds to the event requesting the calling information.
  • the above method may further have the following features: the calling information is a calling number and a calling user category, or a calling number and a calling service category.
  • the foregoing method may further have the following feature: after receiving the request for the calling information event from the media gateway controller, the media gateway controller requests the calling side media gateway to call the calling information, and the calling side media The gateway reports the calling information to the media gateway controller, and the media gateway controller sends the calling information to the central office media gateway, and the outgoing media gateway sends the calling information to the lower-level office to complete the call.
  • the foregoing method may further have the following feature: after receiving the request for the calling information event from the media gateway controller, the media gateway controller requests the calling side media gateway to call the calling information, if the calling side is The media gateway has no caller information, and the media gateway controller times out to release the call.
  • the foregoing method may further have the following feature: an event that the media gateway requests the media gateway controller to request the calling information is defined in an existing definition packet or a newly defined packet in the H.248 protocol.
  • the invention also provides a method for the media gateway to obtain the calling information.
  • the media gateway and the media gateway controller enable the media gateway to obtain the calling information through the message intercommunication, which specifically includes: defining whether the attribute of the calling number is to be selected, and after the call is initiated,
  • the media gateway controller sends the attribute of the calling number to the inbound side media gateway; the ingress side media gateway determines whether to request the calling number from the preceding office according to whether the attribute of the calling number is to be determined.
  • the foregoing method may further have the following feature: whether the calling number attribute is required If the calling number is required or the calling number must be the same, the incoming media gateway requests the calling number from the preceding office, and the preceding office sends the calling number to the incoming media gateway, and the incoming media gateway sends the mutual After the control signal A3 is sent to the media gateway controller, the calling party media gateway requests the calling service class KD. After the KD is obtained, the inbound media gateway reports the calling number and the KD to the media gateway controller.
  • the foregoing method may further have the following feature: if the calling number attribute is required to require the calling number need, the ingress side media gateway requests the calling number from the preceding office, if the incoming media gateway fails to time out Receiving the calling number, the ingress side media gateway sends the non-inter-control signal A3 to the pre-office requesting the calling service class KD, and after the KD is obtained, the inbound-side media gateway reports the called number and the KD. Give the media gateway controller.
  • the foregoing method may further have the following feature: if the calling number attribute is a mandatory calling number must, the inbound side media gateway requests the calling number from the preceding office, if the incoming media gateway fails to time out Obtaining the calling number, the ingress side media gateway is wrong to the media gateway controller.
  • the foregoing method may further have the following feature: whether the calling number attribute is not the calling number not, and the media gateway continues the subsequent process according to the signal sent by the media gateway controller, if the media gateway controller gives the The incoming media gateway sends an A5 or A6 signal, and the ingress side media gateway requests the calling number from the preceding office, and then reports the calling number to the media gateway controller; if the incoming media gateway fails to time out Obtaining a calling number, the inbound side media gateway reporting the called number or an empty number to the media gateway controller.
  • the foregoing method may further have the following feature: whether the calling number attribute is not the calling number not, the ingress side media gateway continues the subsequent process according to the signal sent by the media gateway controller, if the media gateway The controller sends an A3 signal to the ingress side media gateway, and the ingress side media gateway sends an A3 signal to the preceding station, requests KD, and after sending the KD, sends the cleared calling and called number and KD to the media gateway control. , complete the call.
  • the foregoing method may further have the following feature: if the inbound side media gateway fails to obtain the KD, the ingress side media gateway reports an error to the media gateway controller.
  • the above method may further have the following feature: whether the attribute of the calling number is to be defined in an existing definition package or a newly defined package in the H.248 protocol.
  • the present invention solves the problem that the call failure occurs without the caller information on the outgoing side of the associated call; and provides a flexible and reasonable solution for handling the caller information for the incoming call side of the associated call, so that the MG The device is better controlled by the MGC device, increasing the flexibility of the system design.
  • FIG. 1 is a diagram of a next generation network architecture in the present invention.
  • FIG. 2 is a flow chart of the MG actively calling the MGC to call the information in the present invention
  • FIG. 3 is a flow chart 1 of the present invention in which the incoming MG is controlled by the MGC device to process the calling information;
  • FIG. 4 is a flow chart 2 of the present invention in which the incoming MG is controlled by the MGC device to process the calling information;
  • FIG. 5 is the present invention.
  • the incoming MG is controlled by the flow chart 3 of the MGC device processing the calling information.
  • the media gateway and the media gateway controller enable the media gateway to obtain the calling information through message intercommunication.
  • the following technical solutions are adopted, and the extended H248 protocol package of the present invention includes:
  • the rqsi attribute has three values:
  • the A signal sent after the incoming call is reported is controlled by the MGC. That is, it is also possible to send the A5/A6 calling number later.
  • the main called party number is cleared to 0 and reported to the media gateway controller; or the A3 signal is sent to D, and K is reported after timeout.
  • the attributes casa and rqsi are not limited to being implemented by two independent attributes, or they may be combined into one attribute, and the above-mentioned casa and rqsi attributes are implemented by specifying different values for the attribute, such as the value of the attribute. 1st corresponds to the casa attribute, and other values (such as must, need, not) correspond to the rqsi attribute.
  • Embodiment 1 On the outgoing side, the MG actively requests the MGC to call the information;
  • the MG uses the MG defined by the present invention to call the MGC for the event of the calling information (such as an extension).
  • the bcas attribute casa l) to request the calling information from the MGC, thereby completing the call, specifically includes the following steps:
  • Step 101 On the calling side of the MGC, the MG reports the called number to the MGC;
  • Step 102 the MGC sends the called number to the office side MG;
  • Step 103 The outgoing MG sends the called number to the lower-level office through the associated signaling (ie, the outgoing side PSTN);
  • Step 104 After receiving the called number, the lower-level office requests the calling party MG to request the calling information.
  • Step 105: The outgoing MG requests the calling information from the MGC through bcas/casa l; Step 106, after receiving the call, the MGC The side MG requests the calling information;
  • Step 107 If the calling MG does not have the calling information, the MGC times out, and the call is released; otherwise, the calling side MG reports the calling information to the MGC;
  • Step 108 The MGC sends the calling information to the office side MG.
  • Step 109 The outgoing side MG sends the calling information to the lower-level office through the accompanying signaling to complete the call.
  • the MG is controlled by the MGC to process the calling information by the following steps: Step A. After the call is initiated, the ingress side MG reports the forward occupancy message to the MGC;
  • Step B The MGC gives the entry side MG a number list with the rqsi attribute
  • Step C The ingress side MG requests the called number from the previous level office, and reports it to the MGC after the receipt; Subsequent processing varies according to the properties of rqsi, as follows:
  • Step D the ingress side MG sends the A5/A6 signal to the calling station to request the calling number. If the calling number can be obtained, go to step E, and the timeout does not get the calling number to enter step F;
  • Step E the ingress side MG sends a mutual control signal to the front office A3 requests KD, and then sends the calling number and KD to the MGC, and the timeout does not get KD to report to the MGC;
  • Step F the ingress side MG sends a non-inter-control signal to the front office A3 requests KD, and then sends the calling number and KD to the MGC, and the timeout does not get KD to report the error to the MGC.
  • the rqsi attribute is must,
  • Step D1 the ingress side MG sends an A5/A6 signal to the front office to request the calling number. If the calling number can be obtained, the process proceeds to step E1, and the timeout does not get the calling number to enter step F1;
  • Step E1 after the MG on the ingress side sends a mutual control signal to the preceding stage, A3 requests D, and after receiving the report, the calling number and the KD are reported to the MGC, and the timeout does not get the KD to report the error to the MGC;
  • Step F1 The incoming side MG reports an error to the MGC.
  • is not,
  • the MG sent to the SG to the front office is controlled by the MGC, and is processed according to the A3/A5/A6 signal sent by the MGC.
  • the MGC gives the MG an A3 signal. If the calling number is also required, the MGC sends the A5 (R2 Signaling) or A6 (China Signaling 1) signal to the MG.
  • Step D2 If the MGC requests the MG to send the A5 (R2 signaling) or A6 (China No. 1 signaling) signal to the calling party, the process proceeds to step E2. If the MGC sends the A3 signal to the MG to request the KD, the MG sends the message to the preceding station. The A3 signal is KD. After the KD is obtained, the called number and KD are reported to the MGC. If the KD is not obtained after the timeout, an error is reported to the MGC.
  • step E2 the MG sends the A5 (R2 signaling) or A6 (China No. 1 signaling) to the calling party to the calling station, and then the calling number is reported to the MGC; if the MGC times out, the calling number is not obtained, only the Call the number to the MGC (or give the empty number to the MGC, because the previous MG has already been called The number is reported to MGC).
  • A5 R2 signaling
  • A6 China No. 1 signaling
  • the ingress side MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is required, and the flag is configured on the MGC)
  • the MG when the MG requests the PSTN side to time out the calling number, it sends a non-mutual A3 signal request KD to the PSTN.
  • the non-inter-control signal is sent because the MG requests the mutual control number of the calling number.
  • the response has not yet been received, that is, the process of mutual control has not ended yet.
  • the MG cannot send another mutual control signal, the same below.
  • the MG After receiving the KD, the MG sends the called number and KD to the MGC to complete the connection.
  • the KD timeout reports a timeout error to the MGC, which includes the following steps:
  • Step 304 the ingress side MG wants the calling number to be forwarded to the previous office
  • Step 305 the MG timeout does not get the calling number
  • Step 306 the MGC sends a non-inter-control signal A3 to the MG, and the ingress side MG sends a mutual control signal A3 to the front office to request KD;
  • Step 307 the pre-office sends a KD to the MG
  • Step 308 the MG reports the called number and the KD to the MGC.
  • step 305 if the calling office sends the calling number to the MG, in step 306, the ingress side MG sends the mutual control signal A3 to the front office to request KD. In the step 308, the MG will call the calling number and KD reported to the MGC.
  • step 307 if the pre-office has not sent the KD to the MG, then in step 308, the MG reports an error to the MGC.
  • the incoming MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is must, this flag is configured on the MGC)
  • Step 404 The ingress side MG requests the calling number from the preceding office. Step 405, the MG times out to obtain the calling number;
  • Step 406 the incoming side MG is wrong with MGC 4
  • step 405 if the MG can obtain the calling number, the subsequent steps are the same as the steps 306-308 in the second embodiment, and the ingress side MG requests the KD to send the mutual control signal A3 to the preceding stage, and obtains the calling number and the KD. Reported to the MGC, the timeout did not get KD to report an error to the MGC.
  • Embodiment 4 The incoming MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is not, this flag is configured on the MGC).
  • the MG After the MG sends the called number to the MGC, the MG subsequently sends out to the PSTN side what A signal is controlled by the MGC. If the MG requests the PSTN to time out from the PSTN, it sends a non-mutual A3 signal request KD to the PSTN. After receiving the KD, the MG sends the primary and called number and KD to the MGC after clearing the 0, and the connection is completed. If the timeout is not obtained. KD reported a timeout error to MGC.
  • Step 503 The pre-office sends the called number to the media gateway.
  • Step 504 The media gateway sends the called number to the media gateway controller.
  • Step 505 The media gateway controller sends the A5/A6 signal to the media gateway according to the service requirement.
  • Step 506 The media gateway sends the A5/A6 signal to the pre-office according to the indication of the media gateway controller to request the calling information.
  • Step 507 if the caller information is obtained, the caller information is reported to the MGC, if the request caller information times out, go to step 508;
  • Step 508 The media gateway controller sends an A3 signal to the media gateway.
  • Step 509 the MG sends a non-inter-control signal A3 to the pre-office request KD;
  • Step 510 the front office returns KD to the MG
  • Step 511 The MG reports the cleared calling number and KD to the MG.
  • step 510 if the MG fails to obtain the KD, the MG reports an error to the MGC in step 511. Industrial applicability
  • the present invention solves the problem that the call failure occurs without the caller information on the outgoing side of the associated call; and provides a flexible and reasonable solution for handling the caller information for the incoming call side of the associated call, so that the MG The device is better controlled by the MGC device, increasing the flexibility of the system design.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for a media gateway obtaining calling information is provided, the media gateway and a media gateway controller make the media gateway obtain the calling information through the intercommunicating information. The method includes: defining the event that the media gateway requests the media gateway controller for the calling information, a lower level device requesting the media gateway in the outgoing side for the calling information, the media gateway in the outgoing side originating the event for requesting the calling information to the media gateway controller, the media gateway controller responding to the event for requestingthe calling information. Also an property of whether to need the calling number or not is provided, the media gateway controller sends the property of whether to need the calling number or not to the incoming side media gateway, the incoming side media gateway determines whether to request the forward device for the calling number.

Description

一种媒体网关获取主叫信息的方法  Method for obtaining caller information by media gateway
技术领域 Technical field
本发明涉及随路信令的处理, 特别涉及一秤用来实现在 NGN (下一代 网络) 架构下媒体网关获取主叫信息的方法。  The present invention relates to the processing of associated signaling, and more particularly to a method for implementing a media gateway to obtain calling information under an NGN (Next Generation Network) architecture.
背景技术 Background technique
• 随路信令的信号方式是指各话路的信号经由话路本身或通过与话路相 对应的信号通道来传送的一种信号方式。它按煦其信号内容又分为线路信号 和记发器信号, 此外有时还需要直流脉冲信令。  • The signalling mode of the associated channel signaling is a signal mode in which the signals of each channel are transmitted via the voice channel itself or through a signal channel corresponding to the voice channel. It is divided into line signals and register signals according to its signal content, and sometimes DC pulse signaling is required.
在 NGN (下一代网络)体系结构中,随路信令是通过 H248协议在 MGC (媒体网关控制器) 的控制下由 MG (媒体网关)设备发送和接收的。  In the NGN (Next Generation Network) architecture, the associated signaling is sent and received by the MG (Media Gateway) device under the control of the MGC (Media Gateway Controller) through the H248 protocol.
目前随路信令(R2或中国一号随路信令)处理存在以下不足: 一、 MG作为出局时如果没有主叫信息(包括主叫号码和主叫用户类别 KA/主叫业务类别 KD ) , 而下一级汇接局或端局向 MG要主叫信息, 会导 致汇接局或端局超时, 呼叫失败。 这种结果并不合理, 因为 MGC是有可能 得到主叫信息的, MG可以从 MGC处获得主叫信息从而将呼叫继续, 这样 的处理更加合理。  At present, the following deficiencies are handled by the associated signaling (R2 or China's No. 1 channel signaling): 1. If the MG is out of the office, if there is no calling information (including the calling number and the calling subscriber category KA/calling service category KD) If the next-level gateway or end office wants the MG to call the information, the gateway or the end office will time out and the call will fail. This result is unreasonable because the MGC is likely to get the calling information, and the MG can obtain the calling information from the MGC to continue the call. This is more reasonable.
二、 MG作为入局时没有是否要主叫信息的指示, 这样只能由 MG自己 决定是否向前一个局要主叫信息,这种处理是不妥的。 例如前级局如果没有 主叫信息, 这时 MG也只能自己决定后续流程: 是将被叫号码报给 MGC还 是上报超时失败? 现有技术并没有约定, 会导致一些可以接续的呼叫失败。 例如 MG的前级局没有主叫信息, 这时也不需要主叫信息, 而 MG 自己决 定要主叫信息, 由于前级局没有主叫信息, 此时 MG得不到主叫信息, 从而 给 MGC报超时失败, 实际上这时如果 MG在 MGC的控制下给 MGC报被 叫号码即可, 呼叫可以继续。 发明内容 2. The MG does not have an indication of whether or not to call the information when entering the office. Therefore, it is only inappropriate for the MG to decide whether to call the information to the previous office. This is not appropriate. For example, if the former office does not have the calling information, then the MG can only decide the subsequent process: Is the called number reported to the MGC or the reporting timeout failed? There is no agreement in the prior art, which will cause some calls that can be connected to fail. For example, the MG's pre-office has no calling information. At this time, the calling information is not needed, and the MG decides to call the information. Since the pre-office has no calling information, the MG cannot obtain the calling information, and thus the MG cannot obtain the calling information. The MGC reports a timeout failure. In fact, if the MG reports the called number to the MGC under the control of the MGC, the call can continue. Summary of the invention
本发明要解决的技术问题是, 提供一种媒体网关获取主叫信息的方法, 解决现有技术中对主叫信息的处理不够合理, 导致呼叫失败的问题。  The technical problem to be solved by the present invention is to provide a method for the media gateway to obtain the calling information, which solves the problem that the processing of the calling information in the prior art is not reasonable enough, resulting in a call failure.
为了解决上述技术问题,本发明提供了一种媒体网关获取主叫信息的方 法,媒体网关与媒体网关控制器通过消息互通使媒体网关获取主叫信息, 具 体包括:定义媒体网关向媒体网关控制器请求主叫信息的事件,发起呼叫后, 下级局向出局侧媒体网关请求主叫信息,所述出局侧媒体网关向所述媒体网 关控制器发起所述请求主叫信息的事件,所述媒体网关控制器响应所述諳求 主叫信息的事件。  In order to solve the above technical problem, the present invention provides a method for a media gateway to obtain calling information. The media gateway and the media gateway controller enable the media gateway to obtain calling information through message interworking, which includes: defining a media gateway to the media gateway controller. An event requesting the calling information, after the call is initiated, the lower office requests the calling information from the outgoing media gateway, and the outgoing media gateway initiates the event requesting the calling information to the media gateway controller, the media gateway The controller responds to the event requesting the calling information.
进一步地, 上述方法还可具有以下特点, 所述主叫信息为主叫号码和主 叫用户类别, 或主叫号码和主叫业务类别。  Further, the above method may further have the following features: the calling information is a calling number and a calling user category, or a calling number and a calling service category.
进一步地, 上述方法还可具有以下特点, 所述媒体网关控制器收到所述 媒体网关向媒体网关控制器请求主叫信息事件后 ,向起呼侧媒体网关请求主 叫信息,起呼侧媒体网关将主叫信息报给媒体网关控制器,媒体网关控制器 将主叫信息下发给出局侧媒体网关, 出局侧媒体网关将主叫信息发给下级 局, 完成呼叫。  Further, the foregoing method may further have the following feature: after receiving the request for the calling information event from the media gateway controller, the media gateway controller requests the calling side media gateway to call the calling information, and the calling side media The gateway reports the calling information to the media gateway controller, and the media gateway controller sends the calling information to the central office media gateway, and the outgoing media gateway sends the calling information to the lower-level office to complete the call.
进一步地, 上述方法还可具有以下特点, 所述媒体网关控制器收到所述 媒体网关向媒体网关控制器请求主叫信息事件后 ,向起呼侧媒体网关请求主 叫信息, 如果起呼侧媒体网关没有主叫信息, 媒体网关控制器超时, 释放呼 叫。  Further, the foregoing method may further have the following feature: after receiving the request for the calling information event from the media gateway controller, the media gateway controller requests the calling side media gateway to call the calling information, if the calling side is The media gateway has no caller information, and the media gateway controller times out to release the call.
进一步地, 上述方法还可具有以下特点, 在 H.248协议中的现有定义包 或新定义的包中定义所述媒体网关向媒体网关控制器请求主叫信息的事件。  Further, the foregoing method may further have the following feature: an event that the media gateway requests the media gateway controller to request the calling information is defined in an existing definition packet or a newly defined packet in the H.248 protocol.
本发明还提出一种媒体网关获取主叫信息的方法,媒体网关与媒体网关 控制器通过消息互通使媒体网关获取主叫信息, 具体包括: 定义是否要主叫 号码的属性,发起呼叫后, 所述媒体网关控制器发送所述是否要主叫号码的 属性给入局侧媒体网关;所述入局侧媒体网关根据所述是否要主叫号码的属 性决定是否向前级局请求主叫号码。  The invention also provides a method for the media gateway to obtain the calling information. The media gateway and the media gateway controller enable the media gateway to obtain the calling information through the message intercommunication, which specifically includes: defining whether the attribute of the calling number is to be selected, and after the call is initiated, The media gateway controller sends the attribute of the calling number to the inbound side media gateway; the ingress side media gateway determines whether to request the calling number from the preceding office according to whether the attribute of the calling number is to be determined.
进一步地, 上述方法还可具有以下特点, 所述是否要主叫号码属性为需 要主叫号码 need或必须主叫号码 must, 所述入局侧媒体网关向前级局请求 主叫号码,前级局发送主叫号码给所述入局侧媒体网关,所述入局侧媒体网 关发送互控信号 A3至前级局请求主叫业务类别 KD, 得到所述 KD后, 所 述入局侧媒体网关将所述主叫号码和 KD上报给媒体网关控制器。 Further, the foregoing method may further have the following feature: whether the calling number attribute is required If the calling number is required or the calling number must be the same, the incoming media gateway requests the calling number from the preceding office, and the preceding office sends the calling number to the incoming media gateway, and the incoming media gateway sends the mutual After the control signal A3 is sent to the media gateway controller, the calling party media gateway requests the calling service class KD. After the KD is obtained, the inbound media gateway reports the calling number and the KD to the media gateway controller.
进一步地,上述方法还可具有以下特点,所述是否要主叫号码属性为需 要主叫号码 need,所述入局侧媒体网关向前级局请求主叫号码,如果所述入 局侧媒体网关超时未收到所述主叫号码,所述入局侧媒体网关发送非互控信 号 A3至前级局请求主叫业务类别 KD, 得到所述 KD后, 所述入局侧媒体 网关将被叫号码和 KD上报给所述媒体网关控制器。  Further, the foregoing method may further have the following feature: if the calling number attribute is required to require the calling number need, the ingress side media gateway requests the calling number from the preceding office, if the incoming media gateway fails to time out Receiving the calling number, the ingress side media gateway sends the non-inter-control signal A3 to the pre-office requesting the calling service class KD, and after the KD is obtained, the inbound-side media gateway reports the called number and the KD. Give the media gateway controller.
进一步地,上述方法还可具有以下特点, 所述是否要主叫号码属性为必 须主叫号码 must, 所述入局侧媒体网关向前级局请求主叫号码, 如果所述 入局侧媒体网关超时未得到所述主叫号码,所述入局侧媒体网关向所述媒体 网关控制器艮错。  Further, the foregoing method may further have the following feature: if the calling number attribute is a mandatory calling number must, the inbound side media gateway requests the calling number from the preceding office, if the incoming media gateway fails to time out Obtaining the calling number, the ingress side media gateway is wrong to the media gateway controller.
进一步地,上述方法还可具有以下特点,所述是否要主叫号码属性为不 要主叫号码 not, 媒体网关根据媒体网关控制器下发的信号继续后续流程, 如果所述媒体网关控制器给所述入局侧媒体网关下发 A5或 A6信号, 所述 入局侧媒体网关向前级局请求主叫号码,得到后将主叫号码上报所述媒体网 关控制器;如果所述入局侧媒体网关超时未得到主叫号码, 所述入局侧媒体 网关将被叫号码或空号报给所述媒体网关控制器。  Further, the foregoing method may further have the following feature: whether the calling number attribute is not the calling number not, and the media gateway continues the subsequent process according to the signal sent by the media gateway controller, if the media gateway controller gives the The incoming media gateway sends an A5 or A6 signal, and the ingress side media gateway requests the calling number from the preceding office, and then reports the calling number to the media gateway controller; if the incoming media gateway fails to time out Obtaining a calling number, the inbound side media gateway reporting the called number or an empty number to the media gateway controller.
进一步地,上述方法还可具有以下特点, 所述是否要主叫号码属性为不 要主叫号码 not, 所述入局侧媒体网关根据媒体网关控制器下发的信号继续 后续流程, 如果所述媒体网关控制器给入局侧媒体网关下发 A3信号, 所述 入局侧媒体网关向前级局发送 A3信号, 请求 KD, 得到 KD后将清零后的 主被叫号码和 KD发送给所述媒体网关控制器, 完成呼叫。  Further, the foregoing method may further have the following feature: whether the calling number attribute is not the calling number not, the ingress side media gateway continues the subsequent process according to the signal sent by the media gateway controller, if the media gateway The controller sends an A3 signal to the ingress side media gateway, and the ingress side media gateway sends an A3 signal to the preceding station, requests KD, and after sending the KD, sends the cleared calling and called number and KD to the media gateway control. , complete the call.
进一步地,上述方法还可具有以下特点,如果所述入局侧媒体网关超时 未得到所述 KD, 所述入局侧媒体网关向所述媒体网关控制器报错。  Further, the foregoing method may further have the following feature: if the inbound side media gateway fails to obtain the KD, the ingress side media gateway reports an error to the media gateway controller.
进一步地,上述方法还可具有以下特点,在 H.248协议中的现有定义包 或新定义的包中定义所述是否要主叫号码的属性。 与现有技术相比较,本发明解决了随路呼叫出局侧没有主叫信息导致呼 叫失败的问题;对于随路呼叫入局侧,提供了一种灵活而合理的处理主叫信 息的方案,使 MG设备更好地受控于 MGC设备,提高了系统设计的灵活性。 附图概述 Further, the above method may further have the following feature: whether the attribute of the calling number is to be defined in an existing definition package or a newly defined package in the H.248 protocol. Compared with the prior art, the present invention solves the problem that the call failure occurs without the caller information on the outgoing side of the associated call; and provides a flexible and reasonable solution for handling the caller information for the incoming call side of the associated call, so that the MG The device is better controlled by the MGC device, increasing the flexibility of the system design. BRIEF abstract
图 1是本发明中下一代网络架构图;  1 is a diagram of a next generation network architecture in the present invention;
图 2是本发明中出局 MG主动向 MGC要主叫信息的流程图;  2 is a flow chart of the MG actively calling the MGC to call the information in the present invention;
图 3是本发明中入局 MG受控于 MGC设备处理主叫信息的流程图 1; 图 4是本发明中入局 MG受控于 MGC设备处理主叫信息的流程图 2; 图 5是本发明中入局 MG受控于 MGC设备处理主叫信息的流程图 3。 本发明的较佳实施方式  3 is a flow chart 1 of the present invention in which the incoming MG is controlled by the MGC device to process the calling information; FIG. 4 is a flow chart 2 of the present invention in which the incoming MG is controlled by the MGC device to process the calling information; FIG. 5 is the present invention. The incoming MG is controlled by the flow chart 3 of the MGC device processing the calling information. Preferred embodiment of the invention
本发明中,媒体网关与媒体网关控制器通过消息互通使媒体网关获取主 叫信息, 采用以下技术方案, 本发明扩充的 H248协议包有:  In the present invention, the media gateway and the media gateway controller enable the media gateway to obtain the calling information through message intercommunication. The following technical solutions are adopted, and the extended H248 protocol package of the present invention includes:
1. 扩充 bcas包的事件, 增加一个 MG向 MGC要主叫信息的事件, 如 定义一个事件 casa, 其值为 1时表明这时出局 MG向 MGC要主叫信息; 1. Expand the event of the bcas package, add an event that the MG wants to call the MGC, such as defining an event casa, the value of 1 indicates that the outgoing MG wants the MGC to call the information;
2. 扩充 bcas包的事件, 增加一个是否要主叫号码的属性 rqsi; 2. Expand the bcas package event, add an attribute rqsi to the calling number;
其中的 rqsi属性有 3个取值:  The rqsi attribute has three values:
1 ) need, 表示要主叫号码, 超时后向端局发一个非互控的 A3信号要 KD (主叫业务类别), 得到 KD后将被叫号码和 KD上报 MGC, 超时未得 到 KD报错;  1) need, indicates the calling number, after the timeout, sends a non-mutual A3 signal to the end office to KD (calling service category), and after the KD is obtained, the called number and KD are reported to the MGC, and the KD error is not obtained after the timeout;
2 ) must, 表示要主叫号码, 超时未得到主叫号码报错;  2) must, indicates that the calling number is to be obtained, and the calling number is not reported as an error;
3 ) not, 表示不要主叫号码, 入局上报完被叫号码后发的 A信号是受控 于 MGC下发的信号, 即后续也有可能发 A5/A6要主叫号码,得主叫号码超 时后将主被叫号码清 0后报媒体网关控制器; 或发 A3信号要 D, 得 K 超时后报错。  3) not, indicating that the calling number is not required. The A signal sent after the incoming call is reported is controlled by the MGC. That is, it is also possible to send the A5/A6 calling number later. The main called party number is cleared to 0 and reported to the media gateway controller; or the A3 signal is sent to D, and K is reported after timeout.
其中, 不仅仅局限于在 bcas 包中新增上述属性, 也可以在现有的其它 包中 (如 bcasaddr, icas等); 或者是新定义的扩展包。 Among them, not only the above attributes are added to the bcas package, but also existing ones. In the package (such as bcasaddr, icas, etc.); or a newly defined extension package.
所述属性 casa和 rqsi, 不仅仅局限于用独立的两种属性来实现, 也可以 将它们合并为一个属性, 通过为该属性指定不同的值实现上述 casa和 rqsi 属性, 如该属性取值为 1时对应 casa属性, 取其它值(如 must, need, not ) 时对应 rqsi属性。  The attributes casa and rqsi are not limited to being implemented by two independent attributes, or they may be combined into one attribute, and the above-mentioned casa and rqsi attributes are implemented by specifying different values for the attribute, such as the value of the attribute. 1st corresponds to the casa attribute, and other values (such as must, need, not) correspond to the rqsi attribute.
实施例 1:出局侧 MG主动向 MGC要主叫信息 ;  Embodiment 1: On the outgoing side, the MG actively requests the MGC to call the information;
如图 2所示, 当出局侧 PSTN (公共交换电话网络)向出局侧 MG要主 叫信息, 而 MG没有此信息时, MG通过本发明定义的 MG向 MGC要主叫 信息的事件(比如扩展的 bcas属性 casa=l )来向 MGC请求主叫信息, 从而 完成本次呼叫, 具体包括以下步骤:  As shown in FIG. 2, when the outgoing side PSTN (Public Switched Telephone Network) wants to call the information to the outgoing MG, and the MG does not have this information, the MG uses the MG defined by the present invention to call the MGC for the event of the calling information (such as an extension). The bcas attribute casa=l) to request the calling information from the MGC, thereby completing the call, specifically includes the following steps:
步骤 101 , 在 MGC控制下的起呼侧 MG将被叫号码报给 MGC;  Step 101: On the calling side of the MGC, the MG reports the called number to the MGC;
步骤 102, MGC将被叫号码下发给出局侧 MG;  Step 102, the MGC sends the called number to the office side MG;
步骤 103, 出局侧 MG通过随路信令将被叫号码发给下级局(即出局侧 PSTN);  Step 103: The outgoing MG sends the called number to the lower-level office through the associated signaling (ie, the outgoing side PSTN);
步骤 104, 下级局收完被叫号码后向出局侧 MG请求主叫信息; 步骤 105, 出局侧 MG通过 bcas/casa=l向 MGC请求主叫信息; 步骤 106, MGC收到后, 向起呼侧 MG请求主叫信息;  Step 104: After receiving the called number, the lower-level office requests the calling party MG to request the calling information. Step 105: The outgoing MG requests the calling information from the MGC through bcas/casa=l; Step 106, after receiving the call, the MGC The side MG requests the calling information;
步骤 107, 如果起呼侧 MG没有主叫信息, MGC超时, 将呼叫释放, 否则, 起呼侧 MG将主叫信息报给 MGC;  Step 107: If the calling MG does not have the calling information, the MGC times out, and the call is released; otherwise, the calling side MG reports the calling information to the MGC;
步骤 108. MGC将主叫信息下发给出局侧 MG;  Step 108. The MGC sends the calling information to the office side MG.
步骤 109. 出局侧 MG将主叫信息通过随路信令发给下级局,完成呼叫。  Step 109. The outgoing side MG sends the calling information to the lower-level office through the accompanying signaling to complete the call.
利用本发明 MG受控于 MGC要主叫信息的处理包括以下步骤: 步驟 A. 发起呼叫后, 入局侧 MG将前向占用消息报给 MGC; The MG is controlled by the MGC to process the calling information by the following steps: Step A. After the call is initiated, the ingress side MG reports the forward occupancy message to the MGC;
. 步骤 B, MGC给入局侧 MG下号码表, 其中带上 rqsi属性;  Step B: The MGC gives the entry side MG a number list with the rqsi attribute;
步骤 C, 入局侧 MG向前级局请求被叫号码, 收完后报给 MGC; 后续处理根据 rqsi的属性不同而不同, 具体如下: Step C: The ingress side MG requests the called number from the previous level office, and reports it to the MGC after the receipt; Subsequent processing varies according to the properties of rqsi, as follows:
当 rqsi属'! "生为 need时,  When rqsi is '!' is born as need,
步驟 D, 入局侧 MG向前级局发送 A5/A6信号请求主叫号码, 如果能 得到主叫号码, 进入步驟 E, 超时未得到主叫号码进入步骤 F;  Step D, the ingress side MG sends the A5/A6 signal to the calling station to request the calling number. If the calling number can be obtained, go to step E, and the timeout does not get the calling number to enter step F;
步骤 E, 入局侧 MG向前级局发互控信号 A3请求 KD, 得到后将主叫 号码和 KD报给 MGC, 超时未得到 KD向 MGC报错;  Step E, the ingress side MG sends a mutual control signal to the front office A3 requests KD, and then sends the calling number and KD to the MGC, and the timeout does not get KD to report to the MGC;
步骤 F, 入局侧 MG向前级局发非互控信号 A3请求 KD, 得到后将主 叫号码和 KD报给 MGC, 超时未得到 KD向 MGC报错。 当 rqsi属性为 must时,  Step F, the ingress side MG sends a non-inter-control signal to the front office A3 requests KD, and then sends the calling number and KD to the MGC, and the timeout does not get KD to report the error to the MGC. When the rqsi attribute is must,
步骤 D1 , 入局侧 MG向前級局发 A5/A6信号请求主叫号码, 如果能得 到主叫号码, 进入步驟 E1 , 超时未得到主叫号码进入步骤 F1;  Step D1, the ingress side MG sends an A5/A6 signal to the front office to request the calling number. If the calling number can be obtained, the process proceeds to step E1, and the timeout does not get the calling number to enter step F1;
步骤 E1 , 入局侧 MG后向前级局发互控信号 A3请求 D, 得到后将主 叫号码和 KD报给 MGC, 超时未得到 KD向 MGC报错;  Step E1, after the MG on the ingress side sends a mutual control signal to the preceding stage, A3 requests D, and after receiving the report, the calling number and the KD are reported to the MGC, and the timeout does not get the KD to report the error to the MGC;
步骤 F1; 入局侧 MG向 MGC报错。 当 rqsi属, ί"生为 not时,  Step F1; The incoming side MG reports an error to the MGC. When rqsi belongs to, ί" is not,
这时入局侧的 MG向前级局发送什么样的 A信号是受控于 MGC的,根 据 MGC下发的 A3/A5/A6信号进行后续处理。  At this time, the MG sent to the SG to the front office is controlled by the MGC, and is processed according to the A3/A5/A6 signal sent by the MGC.
其中, 如果不要主叫号码, MGC给 MG下 A3信号。 如果还需要主叫 号码, MGC给 MG下 A5 ( R2信令)或 A6 (中国一号信令)信号。  Among them, if you do not want the calling number, the MGC gives the MG an A3 signal. If the calling number is also required, the MGC sends the A5 (R2 Signaling) or A6 (China Signaling 1) signal to the MG.
步驟 D2, 如果 MGC给 MG下 A5 ( R2信令)或 A6 (中国一号信令) 信号请求主叫信息,进入步骤 E2;如果 MGC给 MG下发 A3信号请求 KD, MG向前级局发送 A3信号要 KD,得到 KD后将被叫号码和 KD上报 MGC, 如果超时未得到 KD, 向 MGC报错;  Step D2: If the MGC requests the MG to send the A5 (R2 signaling) or A6 (China No. 1 signaling) signal to the calling party, the process proceeds to step E2. If the MGC sends the A3 signal to the MG to request the KD, the MG sends the message to the preceding station. The A3 signal is KD. After the KD is obtained, the called number and KD are reported to the MGC. If the KD is not obtained after the timeout, an error is reported to the MGC.
步骤 E2, MG向前级局发送 A5 ( R2信令)或 A6 (中国一号信令)要 主叫号码, 得到后将主叫号码上报 MGC; 如果 MGC超时未得到主叫号码, 只将被叫号码报给 MGC (或者报空号码给 MGC, 因为前面 MG已经将被叫 号码报给 MGC ) 。 In step E2, the MG sends the A5 (R2 signaling) or A6 (China No. 1 signaling) to the calling party to the calling station, and then the calling number is reported to the MGC; if the MGC times out, the calling number is not obtained, only the Call the number to the MGC (or give the empty number to the MGC, because the previous MG has already been called The number is reported to MGC).
下面通过三个实施例进行进一步的说明。 Further explanation will be given below by means of three embodiments.
实施例二, 入局侧 MG受控于 MGC设备处理主叫信息(是否要主叫号 码的属性 rqsi为 need, 此标志在 MGC上配置)  In the second embodiment, the ingress side MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is required, and the flag is configured on the MGC)
如图 3所示, 当 MG向 PSTN侧请求主叫号码超时后, 向 PSTN发出非 互控的 A3信号请求 KD (发出非互控的信号是因为这时 MG的请求主叫号 码的互控信号还没有收到应答, 即互控的过程还没有结束,这时 MG发不出 另一个互控信号, 下同) , MG收到 KD后将被叫号码和 KD发给 MGC, 完成接续, 如果得 KD超时向 MGC报超时错, 具体包含如下步骤:  As shown in Figure 3, when the MG requests the PSTN side to time out the calling number, it sends a non-mutual A3 signal request KD to the PSTN. (The non-inter-control signal is sent because the MG requests the mutual control number of the calling number. The response has not yet been received, that is, the process of mutual control has not ended yet. At this time, the MG cannot send another mutual control signal, the same below. After receiving the KD, the MG sends the called number and KD to the MGC to complete the connection. The KD timeout reports a timeout error to the MGC, which includes the following steps:
步骤 304, 入局侧 MG向前级局要主叫号码;  Step 304, the ingress side MG wants the calling number to be forwarded to the previous office;
• 步驟 305, MG超时未得到主叫号码;  • Step 305, the MG timeout does not get the calling number;
步驟 306, MGC向 MG发非互控信号 A3 , 入局侧 MG向前级局发互控 信号 A3请求 KD;  Step 306, the MGC sends a non-inter-control signal A3 to the MG, and the ingress side MG sends a mutual control signal A3 to the front office to request KD;
步骤 307, 前级局发送 KD给 MG;  Step 307, the pre-office sends a KD to the MG;
步骤 308, MG将被叫号码和 KD报给 MGC。  Step 308, the MG reports the called number and the KD to the MGC.
在上述步骤 305中, 如果前级局将主叫号码发送给 MG, 那么步骤 306 中, 入局侧 MG向前级局发送互控信号 A3请求 KD, 所述步骤 308中, MG 将主叫号码和 KD报给 MGC。  In the foregoing step 305, if the calling office sends the calling number to the MG, in step 306, the ingress side MG sends the mutual control signal A3 to the front office to request KD. In the step 308, the MG will call the calling number and KD reported to the MGC.
在上述步驟 307中,如果前级局未发送 KD给 MG,则步驟 308中, MG 向 MGC报错。  In the above step 307, if the pre-office has not sent the KD to the MG, then in step 308, the MG reports an error to the MGC.
实施例三, 入局 MG受控于 MGC设备处理主叫信息(是否要主叫号码 的属性 rqsi为 must, 此标志在 MGC上配置) In the third embodiment, the incoming MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is must, this flag is configured on the MGC)
如图 4所示, 当 MG向 PSTN侧请求主叫号码超时后, 直接向 MGC报 超时错误, 由 MGC本次释放呼叫。  As shown in Figure 4, when the MG requests the PSTN side to time out, the MG reports a timeout error directly to the MGC, and the MGC releases the call this time.
步骤 404, 入局侧 MG向前级局请求主叫号码, 步骤 405, MG超时未得到主叫号码; Step 404: The ingress side MG requests the calling number from the preceding office. Step 405, the MG times out to obtain the calling number;
步骤 406, 入局侧 MG向 MGC 4艮错  Step 406, the incoming side MG is wrong with MGC 4
上述步骤 405中,如果 MG能得到主叫号码,则其后续步骤同实施例二 中步驟 306 ~ 308, 入局侧 MG向前级局发互控信号 A3请求 KD, 得到后将 主叫号码和 KD报给 MGC, 超时未得到 KD向 MGC报错。  In the above step 405, if the MG can obtain the calling number, the subsequent steps are the same as the steps 306-308 in the second embodiment, and the ingress side MG requests the KD to send the mutual control signal A3 to the preceding stage, and obtains the calling number and the KD. Reported to the MGC, the timeout did not get KD to report an error to the MGC.
实施例四, 入局 MG受控于 MGC设备处理主叫信息(是否要主叫号码 的属性 rqsi为 not, 此标志在 MGC上配置)。 Embodiment 4: The incoming MG is controlled by the MGC device to process the calling information (whether the attribute rqsi of the calling number is not, this flag is configured on the MGC).
如图 5所示, 当 MG将被叫号码发送给 MGC后, MG后续向 PSTN侧 发出何种 A信号是受控于 MGC的。 如果 MG向 PSTN请求主叫号码超时, 就向 PSTN发出非互控的 A3信号请求 KD, MG收到 KD后将清 0后的主被 叫号码和 KD发给 MGC,完成接续,如果超时未得到 KD向 MGC报超时错。  As shown in Figure 5, after the MG sends the called number to the MGC, the MG subsequently sends out to the PSTN side what A signal is controlled by the MGC. If the MG requests the PSTN to time out from the PSTN, it sends a non-mutual A3 signal request KD to the PSTN. After receiving the KD, the MG sends the primary and called number and KD to the MGC after clearing the 0, and the connection is completed. If the timeout is not obtained. KD reported a timeout error to MGC.
步骤 503, 前级局向媒体网关上报被叫号码;  Step 503: The pre-office sends the called number to the media gateway.
步骤 504, 媒体网关向媒体网关控制器发送被叫号码;  Step 504: The media gateway sends the called number to the media gateway controller.
步骤 505, 媒体网关控制器根据业务需要发送 A5/A6信号至媒体网关; 步骤 506,媒体网关根据媒体网关控制器的指示,发送 A5/A6信号至前 级局, 请求主叫信息;  Step 505: The media gateway controller sends the A5/A6 signal to the media gateway according to the service requirement. Step 506: The media gateway sends the A5/A6 signal to the pre-office according to the indication of the media gateway controller to request the calling information.
步骤 507, 如果得到主叫信息, 则将主叫信息上报给 MGC, 如果请求 主叫信息超时, 转步骤 508;  Step 507, if the caller information is obtained, the caller information is reported to the MGC, if the request caller information times out, go to step 508;
步骤 508, 媒体网关控制器发送 A3信号至媒体网关;  Step 508: The media gateway controller sends an A3 signal to the media gateway.
步骤 509, MG发送非互控信号 A3至前级局请求 KD;  Step 509, the MG sends a non-inter-control signal A3 to the pre-office request KD;
步驟 510, 前级局返回 KD给 MG;  Step 510, the front office returns KD to the MG;
步骤 511 , MG上报清零后的主被叫号码和 KD给 MG。  Step 511: The MG reports the cleared calling number and KD to the MG.
其中, 步骤 510中, 如果 MG超时未得到 KD, 步驟 511 中, MG向 MGC报错。 工业实用性 In step 510, if the MG fails to obtain the KD, the MG reports an error to the MGC in step 511. Industrial applicability
与现有技术相比较,本发明解决了随路呼叫出局侧没有主叫信息导致呼 叫失败的问题;对于随路呼叫入局侧,提供了一种灵活而合理的处理主叫信 息的方案,使 MG设备更好地受控于 MGC设备,提高了系统设计的灵活性。  Compared with the prior art, the present invention solves the problem that the call failure occurs without the caller information on the outgoing side of the associated call; and provides a flexible and reasonable solution for handling the caller information for the incoming call side of the associated call, so that the MG The device is better controlled by the MGC device, increasing the flexibility of the system design.

Claims

权 利 要 求 书 Claim
1、 一种媒体网关获取主叫信息的方法, 其特征在于, 媒体网关与媒 体网关控制器通过消息互通使媒体网关获取主叫信息, 具体包括: 定义媒体 网关向媒体网关控制器请求主叫信息的事件,发起呼叫后, 下级局向出局侧 媒体网关请求主叫信息,所述出局侧媒体网关向所述媒体网关控制器发起所 述请求主叫信息的事件, 所述媒体网关控制器响应所述请求主叫信息的事 件。  A method for obtaining a calling message by a media gateway, wherein the media gateway and the media gateway controller enable the media gateway to obtain the calling information through message intercommunication, which specifically includes: defining the media gateway to request the calling information from the media gateway controller. After the event is initiated, the lower office requests the calling information from the outgoing media gateway, and the outgoing media gateway initiates the event requesting the calling information to the media gateway controller, where the media gateway controller responds An event requesting caller information.
2、 如权利要求 1所述的方法, 其特征在于, 所述主叫信息为主叫号 码和主叫用户类别, 或主叫号码和主叫业务类别。  The method according to claim 1, wherein the calling information is a calling number and a calling user category, or a calling number and a calling service category.
3、 如权利要求 1所述的方法, 其特征在于, 所述媒体网关控制器收 到所述媒体网关向媒体网关控制器请求主叫信息事件后,向起呼侧媒体网关 请求主叫信息,起呼侧媒体网关将主叫信息报给媒体网关控制器,媒体网关 控制器将主叫信息下发给出局侧媒体网关,出局侧媒体网关将主叫信息发给 下级局, 完成呼叫。  The method of claim 1, wherein the media gateway controller requests the calling information from the media gateway controller after requesting the media gateway controller to request the calling information event, The calling side media gateway reports the calling information to the media gateway controller, and the media gateway controller sends the calling information to the central office media gateway, and the outgoing media gateway sends the calling information to the lower office to complete the call.
4、 如权利要求 1或 3所述的方法, 其特征在于, 所述媒体网关控制 器收到所述媒体网关向媒体网关控制器请求主叫信息事件后,向起呼侧媒体 网关请求主叫信息,如果起呼侧媒体网关没有主叫信息,媒体网关控制器超 时, 释放呼叫。  The method of claim 1 or 3, wherein the media gateway controller requests the caller from the originating media gateway after receiving the caller information event from the media gateway controller. Information, if the calling side media gateway does not have the calling information, the media gateway controller times out and releases the call.
5、 如权利要求 1所述的方法, 其特征在于, 在 H.248协议中的现有 定义包或新定义的包中定义所述媒体网关向媒体网关控制器请求主叫信息 的事件。  5. The method of claim 1, wherein the event that the media gateway requests the media gateway controller for the calling information is defined in an existing defined packet or a newly defined packet in the H.248 protocol.
6、 一种媒体网关获取主叫信息的方法, 其特征在于, 媒体网关与媒 体网关控制器通过消息互通使媒体网关获取主叫信息, 具体包括: 定义是否 要主叫号码的属性,发起呼叫后, 所述媒体网关控制器发送所述是否要主叫 号码的属性给入局侧媒体网关;所述入局侧媒体网关根据所述是否要主叫号 码的属性决定是否向前级局请求主叫号码。  A method for obtaining a calling message by a media gateway, wherein the media gateway and the media gateway controller enable the media gateway to obtain the calling information through message intercommunication, which specifically includes: defining whether the attribute of the calling number is to be selected, and after the call is initiated. The media gateway controller sends the attribute of the calling number to the inbound side media gateway; and the inbound side media gateway determines whether to request the calling number from the preceding office according to whether the attribute of the calling number is to be determined.
7、 如权利要求 6所述的方法, 其特征在于, 所述是否要主叫号码属 性为需要主叫号码 need或必须主叫号码 must, 所述入局侧媒体网关向前级 局请求主叫号码,前级局发送主叫号码给所述入局侧媒体网关,所述入局侧 媒体网关发送互控信号 A3至前级局请求主叫业务类别 KD, 得到所述 KD 后, 所述入局侧媒体网关将所述主叫号码和 KD上报给媒体网关控制器。 The method according to claim 6, wherein the calling party number attribute needs to be a calling number or a calling number must, and the ingress side media gateway is forward. The office requests the calling number, and the pre-office sends the calling number to the inbound media gateway. The inbound-side media gateway sends the mutual control signal A3 to the pre-office to request the calling service category KD. After the KD is obtained, the office obtains the calling number. The incoming media gateway reports the calling number and the KD to the media gateway controller.
8、 如权利要求 6所述的方法, 其特征在于, 所述是否要主叫号码属 性为需要主叫号码 need,所述入局侧媒体网关向前级局请求主叫号码,如果 所述入局侧媒体网关超时未收到所述主叫号码,所述入局侧媒体网关发送非 互控信号 A3至前级局请求主叫业务类别 KD, 得到所述 KD后, 所述入局 侧媒体网关将被叫号码和 KD上报给所述媒体网关控制器。  The method according to claim 6, wherein the calling party number attribute requires the calling number need, and the ingress side media gateway requests the calling number from the preceding office, if the incoming side The media gateway fails to receive the calling number, and the ingress side media gateway sends the non-inter-control signal A3 to the pre-office to request the calling service class KD. After the KD is obtained, the inbound media gateway will be called. The number and KD are reported to the media gateway controller.
9、 如权利要求 6或 7所述的方法, 其特征在于, 所述是否要主叫号 码属性为必须主叫号码 must, 所述入局侧媒体网关向前级局请求主叫号码, 如果所述入局侧媒体网关超时未得到所述主叫号码,所述入局侧媒体网关向 所述媒体网关控制器报错。  The method according to claim 6 or 7, wherein the calling party number attribute is a mandatory calling number must, and the ingress side media gateway requests the calling number from the preceding office, if The incoming media gateway fails to obtain the calling number, and the incoming media gateway reports an error to the media gateway controller.
10、 如权利要求 6所述的方法, 其特征在于, 所述是否要主叫号码属 性为不要主叫号码 not, 所述入局侧媒体网关根据媒体网关控制器下发的信 号继续后续流程, 如果所述媒体网关控制器给所述入局侧媒体网关下发 A5 或 A6信号, 所述入局侧媒体网关向前级局请求主叫号码, 得到后将主叫号 码上报所述媒体网关控制器; 如果所述入局侧媒体网关超时未得到主叫号 码, 所述入局侧媒体网关将被叫号码或空号报给所述媒体网关控制器。  The method according to claim 6, wherein, if the calling number attribute is not the calling number not, the ingress side media gateway continues the subsequent process according to the signal sent by the media gateway controller, if The media gateway controller sends an A5 or A6 signal to the inbound-side media gateway, and the inbound-side media gateway requests the calling number from the preceding office, and reports the calling number to the media gateway controller; The incoming media gateway fails to obtain the calling number, and the incoming media gateway reports the called number or the empty number to the media gateway controller.
11、 如权利要求 6或 7所述的方法, 其特征在于, 所述是否要主叫号 码属性为不要主叫号码 not, 所述入局侧媒体网关根据媒体网关控制器下发 的信号继续后续流程, 如果所述媒体网关控制器给入局侧媒体网关下发 A3 信号, 所述入局侧媒体网关向前级局发送 A3信号, 请求 KD, 得到 KD后 将清零后的主被叫号码和 KD发送给所述媒体网关控制器, 完成呼叫。  The method according to claim 6 or 7, wherein the calling party number attribute is not the calling number not, and the ingress side media gateway continues the subsequent process according to the signal sent by the media gateway controller. If the media gateway controller sends an A3 signal to the ingress side media gateway, the ingress side media gateway sends an A3 signal to the preceding station, requests the KD, and sends the KD to the primary called number and the KD after being cleared. To the media gateway controller, complete the call.
12、 如权利要求 7或 8或 11所述的方法,其特征在于,如果所述入局 侧媒体网关超时未得到所述 D, 所述入局侧媒体网关向所述媒体网关控制 器报错。  The method according to claim 7 or 8 or 11, wherein if the incoming media gateway fails to obtain the D, the ingress side media gateway reports an error to the media gateway controller.
13、 如权利要求 6所述的方法, 其特征在于, 在 H.248协议中的现有 定义包或新定义的包中定义所述是否要主叫号码的属性。  13. The method according to claim 6, wherein the attribute of the calling number is defined in an existing definition package or a newly defined package in the H.248 protocol.
PCT/CN2007/003936 2007-12-29 2007-12-29 Method for media gateway obtaining calling information WO2009086663A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200780100431.3A CN101796800B (en) 2007-12-29 2007-12-29 Method for media gateway obtaining calling information
PCT/CN2007/003936 WO2009086663A1 (en) 2007-12-29 2007-12-29 Method for media gateway obtaining calling information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/003936 WO2009086663A1 (en) 2007-12-29 2007-12-29 Method for media gateway obtaining calling information

Publications (1)

Publication Number Publication Date
WO2009086663A1 true WO2009086663A1 (en) 2009-07-16

Family

ID=40852747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003936 WO2009086663A1 (en) 2007-12-29 2007-12-29 Method for media gateway obtaining calling information

Country Status (2)

Country Link
CN (1) CN101796800B (en)
WO (1) WO2009086663A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739878A (en) * 2011-04-12 2012-10-17 中兴通讯股份有限公司 Method for acquiring calling information under soft switching architecture and next generation network (NGN) system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005088933A1 (en) * 2004-02-18 2005-09-22 Telefonaktiebolaget Lm Ericsson Optimized setup of intra-domain media gateway connections
CN1889612A (en) * 2006-04-12 2007-01-03 华为技术有限公司 Calling number unavailable information transmitting method under soft exchange constitution
CN1933671A (en) * 2006-09-29 2007-03-21 华为技术有限公司 Method, system and media gateway for obtaining dialing number information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005088933A1 (en) * 2004-02-18 2005-09-22 Telefonaktiebolaget Lm Ericsson Optimized setup of intra-domain media gateway connections
CN1889612A (en) * 2006-04-12 2007-01-03 华为技术有限公司 Calling number unavailable information transmitting method under soft exchange constitution
CN1933671A (en) * 2006-09-29 2007-03-21 华为技术有限公司 Method, system and media gateway for obtaining dialing number information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739878A (en) * 2011-04-12 2012-10-17 中兴通讯股份有限公司 Method for acquiring calling information under soft switching architecture and next generation network (NGN) system

Also Published As

Publication number Publication date
CN101796800B (en) 2014-09-10
CN101796800A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
US9736299B2 (en) Method, apparatus and application server for associating one-number two-terminal call
WO2007006206A1 (en) A method for detecting and releasing abnormal media gateway rtp resource
US8953758B2 (en) Terminating a call according to reverse signaling data
US20040208192A1 (en) Exchange equipment
JP5516774B2 (en) System and method for preventing loss of first call of VoIP terminal (System method for preventing first call loss VoIP)
JP4899659B2 (en) Telephone line connection method
CN100473059C (en) Method for switching media stream code/decode format
WO2009086663A1 (en) Method for media gateway obtaining calling information
US6731738B1 (en) Call tones in communication networks
WO2008138187A1 (en) A realizing method for re-answering call
WO2012013029A1 (en) Method for realizing nesting of services with different categories and system thereof
WO2007059676A1 (en) A method and a system for implementing trunk offering
CN101166162B (en) A method for transmitting service event
WO2009079836A1 (en) A method for realizing channel associated re-offhook line signaling in next generation network
WO2008128405A1 (en) IP NETWORK SIGNALING TRANSPORT PROTOCOL BASED OPTIMIZED SYSTEM AND ACHIEVEMENT METHOD thereof
WO2007131435A1 (en) A calling method, system and msce over ip supporting
JP2006135522A (en) Signaling relay device
WO2014086036A1 (en) Calling method, apparatus, and system
WO2012171290A1 (en) Transfer inquiry method, application server, service terminal, and system
CN102065342A (en) Call hold method, system and device in packet switching network
CN108900723B (en) Forced insertion calling method, forced insertion calling equipment and communication system
WO2009079833A1 (en) A method for realizing associated channel rering line signalling in the next generation network
WO2009079835A1 (en) A method for realizing channel associated trunk offering line signaling in next generation network
US9491303B2 (en) Call setup using voice over the internet protocol (VoIP)
JP2002218055A (en) Exchange control system and exchange control method

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200780100431.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07855936

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07855936

Country of ref document: EP

Kind code of ref document: A1