[go: up one dir, main page]

WO2012022148A1 - Method and gateway for cross-gateway self-exchange based on session initiation protocol - Google Patents

Method and gateway for cross-gateway self-exchange based on session initiation protocol Download PDF

Info

Publication number
WO2012022148A1
WO2012022148A1 PCT/CN2011/071933 CN2011071933W WO2012022148A1 WO 2012022148 A1 WO2012022148 A1 WO 2012022148A1 CN 2011071933 W CN2011071933 W CN 2011071933W WO 2012022148 A1 WO2012022148 A1 WO 2012022148A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
calling
call
self
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.)
Ceased
Application number
PCT/CN2011/071933
Other languages
French (fr)
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 Corp filed Critical ZTE Corp
Publication of WO2012022148A1 publication Critical patent/WO2012022148A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • a searching unit configured to search, from the number matching table, an associated gateway that matches the called number
  • the solution of the embodiment of the present invention is mainly to configure a number matching table between the calling gateway and the related gateway.
  • the number matching table may be searched.
  • the calling number of the calling gateway from the relevant gateway matches the corresponding called number, and the self-exchange call service is implemented across the gateway.
  • the self-switching call service between the calling gateway and the related gateway according to the number matching table and the SIP signaling in step S102 includes:
  • the calling gateway when the communication between the access network where the calling gateway is located and the core network is interrupted, if the calling gateway determines that the called number in the calling service belongs to the user in the calling gateway, the calling gateway performs the calling gateway. Self-exchange call service, complete the call between the main and the called.
  • AG1 receives the 486 Busy Here reply from AG3, it knows that the called user is on AG3 and is currently busy. AG1 puts a busy tone to the calling number, waits for the calling number to hang up and releases the call, and the call ends. AG1 receives The 180Ringing replied by AG3 knows that the called number is on AG3, so the ringing tone is returned to the calling number and the next step is entered.
  • the receiving unit 4023 is configured to receive a response message that is sent by the matching related gateway according to the call request.
  • the response message includes: matching the called success response message or matching the called failure response message; and the access release unit 4024 is configured to: according to the response message,
  • the call gateway connects to the matching related gateway to complete the call between the calling party and the called party; or, the calling party releases the current call.

Landscapes

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

Abstract

A method and gateway for cross-gateway self-exchange based on Session Initiation Protocol (SIP) are provided in the present invention. The method includes: configuring a number matching table of the related gateways for the calling gateway (S101); when the communication between the access network in which the calling gateway is located and the core network is interrupted and the called number does not belong to the users of the calling gateway, performing, according to the number matching table, the self-exchange call service between the calling gateway and the related gateway through the SIP signaling (S102). In the present invention, the cross-gateway self-exchange service is configured for the access gateways of different manufacturers; once the communication between the core network and the upward service interface of the access network is interrupted, each access gateway can switch to the self-exchange state automatically; not only the self-exchange call service inside the access gateway can be implemented, but also the cross-gateway self-exchange call service among the access gateways can be implemented if the access gateway can communication with other access gateways in the local area network segment; therefore the network resource can be utilized to the maximum extent to ensure the basic communication service among the gateways.

Description

基于 SIP的跨网关自交换的方法及网关 技术领域  SIP-based cross-gateway self-switching method and gateway

本发明涉及网络通讯领域, 尤其涉及一种基于 SIP ( Session Initiation Protocol, 应用层信令控制协议) 的跨网关自交换的方法及网关。 背景技术  The present invention relates to the field of network communication, and in particular, to a method and a gateway for cross-gateway self-switching based on SIP (Session Initiation Protocol). Background technique

目前, 无论在 NGN ( Next Generation Network, 下一代网络)还是 IMS ( IP Multimedia Subsystem, IP多媒体系统) 系统中, 接入网与核心网之间 的通讯是至关重要的, 一旦出现通讯中断, 接入网用户的业务提供将不能 正常进行。  At present, in the NGN (Next Generation Network) or IMS (IP Multimedia Subsystem) system, communication between the access network and the core network is crucial. The service provision of the networked users will not proceed normally.

自交换技术是接入网上行业务接口发生通讯中断时的一种保护方法。 当配置好业务接口的自交换业务后, 一旦业务接口发生通讯中断, 系统会 自动切换进入自交换状态。 进入该状态的接口用户如果拨打接入网内部的 用户, 可通过自交换方式实现用户基本业务, 为用户通信提供双重保证。 但是, 在业务接口发生通讯中断时, 若业务接口用户拨打接入网外部的用 户, 则用户之间的基本业务无法得到保障。  The self-switching technology is a protection method when communication interruption occurs when accessing the online service interface. After the self-switching service of the service interface is configured, once the communication interruption occurs on the service interface, the system automatically switches to the self-switching state. If an interface user enters this state, the user in the access network can implement the basic service of the user through the self-switching mode to provide double guarantee for user communication. However, when a service interface is interrupted, if the service interface user dials a user outside the access network, the basic services between users cannot be guaranteed.

现有技术中, 虽然已有部分接入设备实现了内部跨网关的自交换功能, 但由于其接口的私有性, 即不具有通用性, 比如有些厂家的接入网关(AG ) 自行配号、 收号以及进行 T网接续, 使得在出现接入网上行业务接口与核 心网通讯中断时, 各厂家接入网关之间无法进行自交换实现各接入网关用 户之间的通讯, 不仅造成了资源的浪费, 而且不能最大限度的保障接入网 关用户对基本业务的使用。 发明内容 In the prior art, although some access devices have implemented internal self-switching functions across gateways, due to the privacy of the interfaces, there is no universality. For example, some manufacturers' access gateways (AGs) have their own numbers. The receiving number and the T network connection enable the communication between the access gateways of each manufacturer to realize the communication between the access gateway users when the communication between the access network and the core network is interrupted, which not only causes resources. Waste, and can not maximize the use of basic services for access gateway users. Summary of the invention

本发明的主要目的在于提供一种基于 SIP 的跨网关自交换的方法及网 关, 在接入网与核心网通讯中断时, 可实现跨网关自交换, 保障不同接入 网关之间用户的基本通信业务。 本发明提出一种基于应用层信令控制协议 SIP的跨网关自交换的方法, 包括以下步骤:  The main purpose of the present invention is to provide a SIP-based cross-gateway self-switching method and gateway. When communication between the access network and the core network is interrupted, cross-gateway self-switching can be implemented to ensure basic communication between users of different access gateways. business. The invention provides a cross-gateway self-switching method based on an application layer signaling control protocol SIP, which comprises the following steps:

为主叫网关配置相关网关的号码匹配表;  Configuring a number matching table of the relevant gateway for the calling gateway;

当所述主叫网关所在的接入网与核心网通讯中断, 且被叫号码不属于 该主叫网关用户时, 根据所述号码匹配表并通过 SIP信令进行所述主叫网 关与相关网关间的自交换呼叫业务。  When the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number does not belong to the calling gateway user, the calling gateway and the related gateway are performed according to the number matching table and through SIP signaling. Self-switched call service.

优选地, 所述根据号码匹配表并通过 SIP信令进行所述主叫网关与相 关网关间的自交换呼叫业务的步骤具体包括:  Preferably, the step of performing the self-switching call service between the calling gateway and the related gateway according to the number matching table and using SIP signaling specifically includes:

从所述号码匹配表中查找与所述被叫号码匹配的相关网关;  Finding, from the number matching table, an associated gateway that matches the called number;

通过 SIP信令顺序或并行的向所述匹配的相关网关发起呼叫请求; 接收所述匹配的相关网关根据所述呼叫请求反馈的应答消息; 所述应 答消息包括: 匹配被叫成功应答消息或匹配被叫失败应答消息;  Initiating a call request to the matched related gateway by SIP signaling sequence or in parallel; receiving a response message fed back by the matched related gateway according to the call request; the response message includes: matching the called successful response message or matching The called failure response message;

根据所述应答消息, 在所述主叫网关与所述匹配的相关网关之间进行 呼叫接续, 完成主被叫通话; 或者, 为主叫用户释放本次呼叫。  And performing, according to the response message, a call connection between the calling gateway and the matched related gateway to complete the calling party and the called party; or, releasing the current call to the calling user.

优选地, 所述从号码匹配表中查找与所述被叫号码匹配的相关网关的 步骤之后还包括:  Preferably, after the step of searching for the related gateway matching the called number from the number matching table, the method further includes:

若所有相关网关均与所述被叫号码不匹配, 则为所述主叫用户释放本 次呼叫。  If all relevant gateways do not match the called number, the call is released for the calling user.

优选地, 所述根据应答消息, 在所述主叫网关与所述匹配的相关网关 之间进行呼叫接续的步骤之前还包括: 向在预定时间内未反馈所述应答消息的相关网关重复三次发起所述呼 叫请求, 若等待超时, 则为所述主叫用户释放本次呼叫。 Preferably, the step of performing a call connection between the calling gateway and the matched related gateway according to the response message further includes: The call request is initiated three times to the relevant gateway that did not feed back the response message within a predetermined time, and if the waiting timeout occurs, the call is released for the calling user.

优选地, 所述为主叫网关配置相关网关的号码匹配表的步骤之后还包 括:  Preferably, after the step of configuring the number matching table of the related gateway for the calling gateway, the method further includes:

当所述主叫网关所在的接入网与核心网通讯中断, 且被叫号码属于该 主叫网关用户时, 在所述主叫网关内进行呼叫接续, 完成主被叫通话。 本发明还提出一种基于 SIP的跨网关自交换的网关, 包括:  When the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number belongs to the calling gateway user, the call is connected in the calling gateway to complete the calling and calling calls. The invention also proposes a SIP-based cross-gateway self-switching gateway, comprising:

配置模块, 为主叫网关配置相关网关的号码匹配表;  The configuration module configures a number matching table of the relevant gateway for the calling gateway;

自交换模块, 当所述主叫网关所在的接入网与核心网通讯中断, 且被 叫号码不属于该主叫网关用户时, 根据所述号码匹配表并通过 SIP信令进 行所述主叫网关与相关网关间的自交换呼叫业务。  The self-switching module, when the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number does not belong to the calling gateway user, according to the number matching table, the calling is performed by using SIP signaling. Self-switching call service between the gateway and the relevant gateway.

优选地, 所述自交换模块包括:  Preferably, the self-switching module comprises:

查找单元, 用于从所述号码匹配表中查找与所述被叫号码匹配的相关 网关;  a searching unit, configured to search, from the number matching table, an associated gateway that matches the called number;

呼叫请求发起单元, 用于通过 SIP信令顺序或并行的向所述匹配的相 关网关发起呼叫请求;  a call request initiating unit, configured to initiate a call request to the matched related gateway by using SIP signaling sequence or in parallel;

接收单元, 用于接收所述匹配的相关网关根据所述呼叫请求反馈的应 答消息; 所述应答消息包括: 匹配被叫成功应答消息或匹配被叫失败应答 消息;  a receiving unit, configured to receive an answer message that is sent by the matching related gateway according to the call request; the response message includes: matching a called successful response message or matching a called failed response message;

接入释放单元, 用于根据所述应答消息, 在所述主叫网关与所述匹配 的相关网关之间进行呼叫接续, 完成主被叫通话; 或者, 为主叫用户释放 本次呼叫。  And an access release unit, configured to perform a call connection between the calling gateway and the matched related gateway according to the response message, to complete a call between the calling party and the called party; or, to release the current call to the calling user.

优选地, 所述接入释放单元, 还用于当所有相关网关均与所述被叫号 码不匹配时, 为所述主叫用户释放本次呼叫。  Preferably, the access release unit is further configured to release the current call for the calling user when all related gateways do not match the called number.

优选地, 所述呼叫请求发起单元, 还用于向在预定时间内未反馈所述 应答消息的相关网关重复三次发起所述呼叫请求, 若等待超时, 则由所述 接入释放单元为所述主叫用户释放本次呼叫。 Preferably, the call request initiation unit is further configured to not feed back the information within a predetermined time The relevant gateway of the response message repeats the call request three times. If the waiting timeout occurs, the access release unit releases the current call for the calling user.

优选地, 所述自交换模块, 还用于当所述网关所在的接入网与核心网 通讯中断, 且被叫号码属于该网关用户时, 在所述网关内进行呼叫接续, 完成主被叫通话。 本发明提出一种基于 SIP 的跨网关自交换的方法及网关, 通过配置主 叫网关与除该主叫网关外的相关网关的号码匹配表, 当主叫网关所在的接 入网与核心网通讯中断时, 各接入网关可自动切换到自交换状态, 不仅可 以实现接入网关内部的自交换呼叫业务, 而且如果接入网关能够与局域网 段内其它接入网关通讯, 还能在各接入网关之间实现跨网关自交换呼叫业 务, 从而可以最大限度的利用网络资源, 保障网关之间的基本通信业务。 附图说明  Preferably, the self-switching module is further configured to: when the access network where the gateway is located and the core network are interrupted, and the called number belongs to the gateway user, perform call connection in the gateway, complete the calling and calling call. The invention provides a SIP-based cross-gateway self-switching method and a gateway, and configures a number matching table between a calling gateway and an associated gateway except the calling gateway, and the access network where the calling gateway is located communicates with the core network. When interrupted, each access gateway can automatically switch to the self-switching state, which can not only realize the self-switching call service inside the access gateway, but also can access each other if the access gateway can communicate with other access gateways in the LAN segment. Gateways can implement self-switching call services across gateways, thereby maximizing the use of network resources and ensuring basic communication services between gateways. DRAWINGS

图 1是本发明基于 SIP的跨网关自交换的方法一实施例流程示意图; 图 2是本发明基于 SIP的跨网关自交换的方法一实施例中根据号码匹 配表并通过 SIP信令进行主叫网关与相关网关间的自交换呼叫业务的具体 流程示意图;  1 is a schematic flowchart of an embodiment of a SIP-based cross-gateway self-switching method according to the present invention; FIG. 2 is a schematic diagram of a SIP-based cross-gateway self-switching method according to an embodiment of the present invention, according to a number matching table and calling by SIP signaling. A schematic diagram of a specific process of a self-switched call service between a gateway and a related gateway;

图 3是本发明基于 SIP的跨网关自交换的方法另一实施例流程示意图; 图 4是本发明基于 SIP的跨网关自交换的网关一实施例结构示意图; 图 5是本发明基于 SIP的跨网关自交换的网关一实施例中自交换模块 具体结构示意图。 具体实施方式  3 is a schematic flow chart of another embodiment of a SIP-based cross-gateway self-switching method according to the present invention; FIG. 4 is a schematic structural diagram of a SIP-based cross-gateway self-switching gateway according to an embodiment of the present invention; FIG. A schematic diagram of a specific structure of a self-switching module in an embodiment of a gateway self-switching gateway. detailed description

本发明实施例解决方案主要是通过配置主叫网关与相关网关之间的号 码匹配表, 当接入网与核心网之间的通讯中断时, 可通过查找号码匹配表, 从相关网关为主叫网关的呼叫号码匹配相应的被叫号码, 实现跨网关自交 换呼叫业务。 The solution of the embodiment of the present invention is mainly to configure a number matching table between the calling gateway and the related gateway. When the communication between the access network and the core network is interrupted, the number matching table may be searched. The calling number of the calling gateway from the relevant gateway matches the corresponding called number, and the self-exchange call service is implemented across the gateway.

如图 1 所示, 本发明一实施例提出一种基于 SIP ( Session Initiation Protocol, 应用层信令控制协议) 的跨网关自交换的方法, 包括:  As shown in FIG. 1 , an embodiment of the present invention provides a method for inter-gateway self-switching based on a SIP (Session Initiation Protocol), including:

步骤 S101 , 为主叫网关配置相关网关的号码匹配表;  Step S101: Configure a number matching table of the relevant gateway for the calling gateway.

在本实施例中, 主叫网关和相关网关可以是属于同一局域网段内的通 过 SIP通信的接入网关, 本实施例相关网关是指同一局域网段内除主叫网 关之外的其它接入网关, 为了实现当主叫网关所在的接入网与核心网通讯 中断时, 该主叫网关内的用户仍然能够与其它网关内用户进行基本通信业 务, 首先为主叫网关配置其它接入网关即相关网关的小号码匹配表(相对 于和核心网通讯正常时的号码匹配表来说, 为其中的一' 部分), 该号码匹 配表应尽量准确, 以使被叫号码能够在其他网关中唯一确定或在小范围内 确定, 同时配置对应网关的协议 IP地址。 通过该号码匹配表, 可以查找主 叫网关内各主叫用户呼叫的被叫号码与相关网关的对应匹配关系, 即被叫 号码可以在匹配的相关网关内唯一确定或能够在少数几个网关 (一个或多个) 的小范围内确定。  In this embodiment, the calling gateway and the related gateway may be access gateways that communicate through SIP in the same local area network segment. In this embodiment, the related gateway refers to other access gateways except the calling gateway in the same local area network segment. In order to realize that the communication between the access network and the core network where the calling gateway is located is interrupted, the users in the calling gateway can still perform basic communication services with users in other gateways. First, the other gateways are configured to be associated with the calling gateway. The small number matching table of the gateway (as a part of the number matching table when the communication with the core network is normal), the number matching table should be as accurate as possible, so that the called number can be uniquely determined in other gateways. Or determine in a small scope, and configure the protocol IP address of the corresponding gateway at the same time. Through the number matching table, the matching relationship between the called number of each calling party in the calling gateway and the related gateway can be found, that is, the called number can be uniquely determined in the matching related gateway or can be in a few gateways ( One or more of the small ranges are determined.

步骤 S102 , 当主叫网关所在的接入网与核心网通讯中断, 且被叫号码 不属于该主叫网关用户时, 根据号码匹配表并通过 SIP信令进行主叫网关 与相关网关间的自交换呼叫业务。  Step S102, when the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number does not belong to the calling gateway user, according to the number matching table, the self-referencing between the calling gateway and the related gateway is performed according to the SIP signaling. Exchange call services.

在本实施例中核心网可以为 IMS、 NGN等核心网, 当主叫网关所在的 接入网与核心网通讯中断, 即主叫网关所在的接入网的上行业务接口与核 心网之间的通讯发生中断时, 主叫网关根据被叫号码判断该被叫号码是否 为本网关用户, 如果该被叫号码不是本主叫网关内的用户, 则根据上述号 码匹配表进行号码匹配, 并通过 SIP信令顺序或者并行的向其它能够匹配 该被叫号码的各个 (一个或多个)相关网关发起呼叫请求。之后主叫网关等待 各相关网关的应答响应, 直到收到来自相关网关的匹配被叫成功应答消息 或匹配被叫失败应答消息, 然后根据应答消息进行相应的处理, 或者等待 超时为主叫用户释放本次呼叫。 若被叫匹配成功且被叫用户空闲, 则在主 叫网关与匹配的相关网关之间进行呼叫接续, 完成跨网关自交换呼叫业务; 若被叫匹配失败, 则为主叫用户释放本次呼叫。 In this embodiment, the core network may be a core network such as IMS or NGN. When the access network where the calling gateway is located and the core network are interrupted, that is, between the uplink service interface of the access network where the calling gateway is located and the core network. When the communication is interrupted, the calling gateway determines whether the called number is the gateway user according to the called number. If the called number is not the user in the calling gateway, the number matching is performed according to the number matching table, and the SIP is matched. The signaling sequence or in parallel initiates a call request to each of the associated gateway(s) that can match the called number. After the calling gateway waits The response response of each relevant gateway is received until the matching called success response message or the matching called failure response message is received from the relevant gateway, and then corresponding processing is performed according to the response message, or waiting for the timeout to release the current call to the calling user. If the called party matches successfully and the called user is idle, the call is connected between the calling gateway and the matching related gateway to complete the cross-gateway self-switching call service; if the called match fails, the calling user releases the call. .

如图 2所示, 步骤 S102中根据号码匹配表并通过 SIP信令进行主叫网 关与相关网关间的自交换呼叫业务具体包括:  As shown in FIG. 2, the self-switching call service between the calling gateway and the related gateway according to the number matching table and the SIP signaling in step S102 includes:

步骤 S 1021 , 从号码匹配表中查找与被叫号码匹配的相关网关; 步骤 S1022 ,通过 SIP信令顺序或并行的向匹配的相关网关发起呼叫请 求;  Step S1021: Search for a related gateway that matches the called number from the number matching table. Step S1022: initiate a call request to the matched related gateway by using SIP signaling sequence or in parallel;

在本实施例中, 各接入网关之间通过 SIP信令通信, 如果主叫网关与 相关网关之间为串行通信模式, 则可通过 SIP信令依次向能够匹配的相关 网关发起呼叫请求, 直到能够确认被叫号码所在相关网关, 或所有相关网 关都无该被叫号码。 如果主叫网关与相关网关之间为并行通信模式, 则主 叫网关同时向能够匹配的相关网关发起呼叫请求, 并等待各匹配的相关网 关的应答响应。  In this embodiment, each access gateway communicates through SIP signaling. If the calling gateway and the related gateway are in a serial communication mode, the call request may be initiated to the related gateways that can be matched through the SIP signaling. Until the relevant gateway where the called number is located can be confirmed, or all related gateways do not have the called number. If there is a parallel communication mode between the calling gateway and the related gateway, the calling gateway simultaneously initiates a call request to the relevant gateway that can match, and waits for the response response of each matching relevant gateway.

步骤 S1023 , 接收匹配的相关网关根据呼叫请求反馈的应答消息; 当各匹配的相关网关收到主叫网关的呼叫请求时, 各自进行被叫号码 的匹配, 根据匹配结果向主叫网关反馈应答消息, 该应答消息包括: 匹配 被叫成功应答消息或匹配被叫失败应答消息。  Step S1023: Receive a response message fed back by the matching related gateway according to the call request. When each matching related gateway receives the call request of the calling gateway, each of the matched gateways performs matching of the called number, and returns a response message to the calling gateway according to the matching result. The response message includes: matching the called success response message or matching the called failure response message.

如果向在预定时间内, 匹配的相关网关未反馈应答消息, 则主叫网关 会向未反馈的相关网关重复三次发起呼叫请求, 若等待超时, 则向主叫用 户释放本次呼叫。  If the matching gateway does not feed back the response message within the predetermined time, the calling gateway will repeat the call request three times to the relevant gateway that is not fed back, and if the waiting timeout, release the current call to the calling user.

步骤 S1024,根据应答消息,在主叫网关与匹配的相关网关之间进行呼 叫接续, 完成主被叫通话; 或者, 为主叫用户释放本次呼叫。 在本实施例中, 在步骤 S1021之后还包括: Step S1024: Perform a call connection between the calling gateway and the matching related gateway according to the response message, and complete the calling and the called call; or, release the current call to the calling user. In this embodiment, after step S1021, the method further includes:

步骤 S1025 ,若所有相关网关均与被叫号码不匹配, 则为主叫用户释放 本次呼叫。  Step S1025: If all related gateways do not match the called number, the calling user releases the current call.

本实施例当接入网与核心网之间通讯出现中断时, 仍然能够以通用的 接口, 最大限度的在用户之间实现基本业务, 从而使接入网用户的业务提 供有了更加安全的保障。 如图 3所示, 本发明另一实施例提出一种基于 SIP的跨网关自交换的 方法, 包括:  In this embodiment, when the communication between the access network and the core network is interrupted, the basic service can be implemented between the users by using a common interface, so that the service provided by the access network user has a more secure guarantee. . As shown in FIG. 3, another embodiment of the present invention provides a method for self-switching across a gateway based on SIP, including:

步骤 S301 , 为主叫网关配置相关网关的号码匹配表;  Step S301: Configure a number matching table of the relevant gateway for the calling gateway.

步骤 S302, 当主叫网关所在的接入网与核心网通讯中断, 且被叫号码 不属于该主叫网关用户时, 根据号码匹配表并通过 SIP信令进行主叫网关 与相关网关间的自交换呼叫业务。  Step S302, when the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number does not belong to the calling gateway user, according to the number matching table, the self-address between the calling gateway and the related gateway is performed through SIP signaling. Exchange call services.

上述步骤 S301和步骤 S302与上述实施例中的步骤 S101和步骤 S102 相同, 在此不再详细描述。  The above steps S301 and S302 are the same as the steps S101 and S102 in the above embodiment, and will not be described in detail herein.

步骤 S303 , 当主叫网关所在的接入网与核心网通讯中断, 且被叫号码 属于该主叫网关用户时, 在主叫网关内进行呼叫接续, 完成主被叫通话。  Step S303: When the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number belongs to the calling gateway user, the call is connected in the calling gateway to complete the calling and called calls.

在本实施例中, 当主叫网关所在的接入网与核心网通讯中断时, 若主 叫网关判断呼叫业务中被叫号码属于本主叫网关内的用户, 则在本主叫网 关内进行自交换呼叫业务, 完成主被叫通话。  In this embodiment, when the communication between the access network where the calling gateway is located and the core network is interrupted, if the calling gateway determines that the called number in the calling service belongs to the user in the calling gateway, the calling gateway performs the calling gateway. Self-exchange call service, complete the call between the main and the called.

下面以一个局 i或网段内的四个接入网关之间的用户通信为例详细说明 本实施例方法流程:  The following describes the method and method of this embodiment by taking the user communication between four access gateways in one office or network segment as an example:

若基于 SIP的接入网关 AG1、 AG2、 AG3、 AG4处于局域网同一网段 内, 各网关配置除本网关外的其它网关的具体的小号码表即号码匹配表, 以及对应网关的协议 IP地址。  If the SIP-based access gateways AG1, AG2, AG3, and AG4 are in the same network segment of the local area network, each gateway configures a specific small number table, that is, a number matching table of the gateways other than the local gateway, and a protocol IP address of the corresponding gateway.

初始状态时, AG1、 AG2、 AG3、 AG4 均能与核心网正常通讯, 各自 通过协议接口和核心网设备进行通讯, 完成呼叫交互过程。 In the initial state, AG1, AG2, AG3, AG4 can communicate with the core network normally, each The call interaction process is completed by communicating with the core network device through the protocol interface.

当发生网络故障时, AG1、 AG2、 AG3、 AG4 均与核心网通讯中断, 但各 AG之间通讯正常。 以 AG 1为例, AG 1转入自交换状态。  When a network failure occurs, AG1, AG2, AG3, and AG4 are all interrupted from communication with the core network, but communication between the AGs is normal. Taking AG 1 as an example, AG 1 is transferred to the self-exchange state.

AG1上的用户摘机, AG1为该用户放拨号音; 用户拨号; AG1收号, 并按照号码匹配规则进行号码匹配。  The user on the AG1 picks up the phone, and the AG1 puts a dial tone for the user; the user dials; the AG1 receives the number, and the number is matched according to the number matching rule.

首先, AG1 判断用户所拨的被叫号码是否为本网关用户, 若是, 则在 本网关内部直接进行呼叫接续, 完成主被叫通话, 直到通话结束, 完成此 次呼叫; 否则, 如果不是本网关用户, 则与预先配置的 AG2、 AG3、 AG4 的号码匹配表进行匹配, 根据被叫号码与其它各网关的号码匹配表的匹配 情况, 向能够匹配的各网关 AG发出呼叫请求。 如果各网关均不匹配, 则 直接为主叫号码即主叫用户放忙音, 等待主叫号码挂机, 释放本次呼叫。  First, AG1 determines whether the called number dialed by the user is the gateway user. If yes, the call is directly connected within the gateway to complete the calling call, until the call ends, and the call is completed; otherwise, if it is not the gateway The user matches the number matching table of the pre-configured AG2, AG3, and AG4, and issues a call request to each of the matching gateways AG according to the matching of the called number with the number matching table of each of the other gateways. If the gateways do not match, the calling party directly calls the calling party, and waits for the calling number to hang up to release the call.

假设被叫该号码与 AG2、 AG3、 AG4均匹配。 若 AG1与 AG2、 AG3 以及 AG4之间通信为串行模式,则 AG1依次向能够匹配的网关发出呼叫请 求(INVITE ) 消息, 直到能够确认被叫号码所在网关, 或所有网关都无该 号码。 若 AG1与 AG2、 AG3以及 AG4之间通信为并行模式, 则 AG1同时 向其余各网关发出 INVITE消息。  Assume that the called number matches both AG2, AG3, and AG4. If the communication between AG1 and AG2, AG3 and AG4 is in serial mode, AG1 sends a call request (INVITE) message to the matching gateway in turn until it can confirm the gateway where the called number is located, or all gateways do not have the number. If the communication between AG1 and AG2, AG3 and AG4 is in parallel mode, AG1 simultaneously sends an INVITE message to the remaining gateways.

之后, AG1 等待其它网关的应答消息, 在等待状态中, 如果超时, 则 向未收到回复的各 AG重发三次 INVITE消息,仍然没有收到应答消息, 则 认为网络不通, 释放此次呼叫, 本次呼叫结束。  After that, AG1 waits for the response message from other gateways. In the waiting state, if it times out, it resends the INVITE message three times to each AG that has not received the reply, and still does not receive the response message, then the network is considered unreachable and the call is released. This call ends.

当 AG2、 AG3和 AG4收到 INVITE消息后 ,各自进行被叫号码的匹配, 根据匹配结果向 AG1 发送应答消息: 如果不能匹配被叫号码, 则向 AG1 回复匹配被叫失败( 404Not Found )消息; 如果能够匹配被叫号码, 则进入 正常呼叫流程, 根据目前被叫用户状态向 AG1回复相应的应答消息: 若该 被叫用户正忙, 则向 AG1回复用户忙的 486Busy Here消息; 若该被叫用户 正空闲, 则向 AG 1回复 180Ringing消息, 表示被叫用户空闲, 并向被叫用 户振铃。 After receiving the INVITE message, AG2, AG3, and AG4 respectively match the called number, and send a response message to AG1 according to the matching result: If the called number cannot be matched, the AG1 is replied with a message indicating that the called party failed to be called (404Not Found); If the called number can be matched, the normal call flow is entered, and the corresponding response message is returned to the AG1 according to the current called user status: if the called user is busy, the user is replied to the 486Busy Here message that the user is busy; If the user is idle, the user will reply 180 Ringing message to the AG 1, indicating that the called user is idle and using the called party. The user rings.

主叫网关 AGl根据各网关反馈的应答消息作出相应处理:  The calling gateway AG1 performs corresponding processing according to the response message fed back by each gateway:

若 AG1收到 AG2回复的 404Not Found消息, 获知被叫用户不在 AG2 上, AG1 查看是否还有未应答网关。 若有, 不作处理, 继续等待; 否则, 若各网关均已回复 404Not Found消息, 获知被叫用户不在所有可匹配网关 上, 因此 AG1为主叫号码放忙音, 等待主叫号码挂机后释放此次呼叫, 本 次呼叫结束。  If AG1 receives the 404Not Found message replied by AG2, it knows that the called user is not on AG2, and AG1 checks whether there is still an unanswered gateway. If yes, do not process, continue to wait; otherwise, if each gateway has replied to the 404Not Found message, it is known that the called user is not on all the matching gateways, so AG1 puts a busy tone for the calling number, waiting for the calling number to hang up and release this time. Call, the call ends.

AG1若收到 AG3回复的 486Busy Here, 获知被叫用户在 AG3上且目 前正忙, AG1 向主叫号码放忙音, 等待主叫号码挂机后释放此次呼叫, 本 次呼叫结束; AG1若收到 AG3回复的 180Ringing, 获知被叫号码在 AG3 上, 因此为主叫号码放回铃音, 进入下一步。  If AG1 receives the 486 Busy Here reply from AG3, it knows that the called user is on AG3 and is currently busy. AG1 puts a busy tone to the calling number, waits for the calling number to hang up and releases the call, and the call ends. AG1 receives The 180Ringing replied by AG3 knows that the called number is on AG3, so the ringing tone is returned to the calling number and the next step is entered.

被叫用户摘机, AG3向 AG1发送 OK, 主被叫用户进入通话状态, 主 叫号码将开始通话时间录入通话话单, 直至用户挂机。  The called user picks up the phone, and AG3 sends an OK to AG1. The calling party and the called party enter the call state, and the calling number will start the call time and enter the call bill until the user hangs up.

若主叫号码挂机, AG1向 AG3发送 BYE消息, 并将结束通话时间录 入话单, AG3收到 AG1发过来的 BYE消息, 为被叫用户放忙音。 被叫用 户挂机, 释放此次呼叫, 本次呼叫结束。  If the calling number hangs up, AG1 sends a BYE message to AG3, and the end time is recorded into the CDR. AG3 receives the BYE message sent by AG1, and sends the busy tone to the called user. The called user hangs up and releases the call. The call ends.

若被叫用户挂机, AG3向 AG1发 BYE消息, AG1收到 AG3发过来的 BYE消息, 为主叫号码放忙音, 并将结束通话时间记录到通话话单。 主叫 号码挂机, 释放此次呼叫, 本次呼叫结束。  If the called user hangs up, AG3 sends a BYE message to AG1. AG1 receives the BYE message sent by AG3, puts the busy tone for the calling number, and records the ending call time to the call CDR. The calling number hangs up, the call is released, and the call ends.

其中, 通话话单由主叫网关产生, 可以暂存主叫网关内, 也可以传到 网管或者计费服务器。  The call CDR is generated by the calling gateway, and can be temporarily stored in the calling gateway or transmitted to the network management or accounting server.

釆用本发明实施例所述方法, 在不同厂家之间的接入网同时配置跨网 关自交换业务, 一旦接入网上行业务接口与核心网发生通讯中断, 各接入 网关可自动切换到自交换状态, 不仅可以实现接入网关内部的自交换呼叫 业务, 而且如果接入网关能够与局域网段内其它接入网关通讯, 则还能在 各接入网关之间实现跨网关自交换呼叫业务, 从而可以最大限度的利用网 络资源, 保障网关之间的基本通信业务。 如图 4所示, 本发明一实施例提出一种基于 SIP的跨网关自交换的网 关, 包括: 配置模块 401和自交换模块 402, 其中: By using the method in the embodiment of the present invention, the access network between different vendors is configured to perform cross-gateway self-switching services at the same time. Once the access to the online service interface is interrupted, the access gateways can automatically switch to the self. The exchange status can not only realize the self-switching call service inside the access gateway, but also if the access gateway can communicate with other access gateways in the LAN segment, Each access gateway implements self-switching call services across gateways, thereby maximizing the use of network resources and ensuring basic communication services between gateways. As shown in FIG. 4, an embodiment of the present invention provides a SIP-based gateway-to-gateway self-switching gateway, including: a configuration module 401 and a self-switching module 402, where:

配置模块 401 , 用于为主叫网关配置相关网关的号码匹配表; 在本实施例中, 主叫网关和相关网关可以是属于同一局域网段内的通 过 SIP通信的接入网关, 本实施例相关网关是指同一局域网段内除主叫网 关之外的其它接入网关, 为了实现当主叫网关所在的接入网与核心网通讯 中断时, 该主叫网关内的用户仍然能够与其它网关内用户进行基本通信业 务, 首先为主叫网关通过配置模块 401 配置其它接入网关即相关网关的小 号码匹配表, 该号码匹配表应尽量准确, 以使被叫号码能够在其他网关中 唯一确定或在小范围内确定, 同时配置对应网关的协议 IP地址。 通过该号 码匹配表, 可以查找主叫网关内各主叫用户呼叫的被叫号码与相关网关的 对应匹配关系, 即被叫号码可以在匹配的相关网关内唯一确定或能够在少 数几个网关 (一个或多个)的小范围内确定。  The configuration module 401 is configured to configure a number matching table of the related gateways for the calling gateway. In this embodiment, the calling gateway and the related gateway may be access gateways that communicate through SIP in the same local area network segment, which is related to this embodiment. The gateway refers to an access gateway other than the calling gateway in the same LAN segment. In order to realize that the communication between the access network and the core network where the calling gateway is located is interrupted, the users in the calling gateway can still communicate with other gateways. The basic communication service is performed by the user. First, the calling gateway configures the small number matching table of the other access gateway, that is, the related gateway, through the configuration module 401. The number matching table should be as accurate as possible, so that the called number can be uniquely determined in other gateways or Determine in a small scope, and configure the protocol IP address of the corresponding gateway at the same time. Through the number matching table, the matching relationship between the called number of each calling party in the calling gateway and the related gateway can be found, that is, the called number can be uniquely determined in the matching related gateway or can be in a few gateways ( One or more) is determined within a small range.

自交换模块 402, 用于当主叫网关所在的接入网与核心网通讯中断, 且 被叫号码不属于该主叫网关用户时, 根据号码匹配表并通过 SIP信令进行 主叫网关与相关网关间的自交换呼叫业务。  The self-switching module 402 is configured to: when the access network where the calling gateway is located and the core network are interrupted, and the called number does not belong to the calling gateway user, according to the number matching table, the calling gateway is related by using SIP signaling. Self-switching call service between gateways.

在本实施例中, 当主叫网关所在的接入网与核心网通讯中断, 即主叫 网关所在的接入网的上行业务接口与核心网之间的通讯发生中断时, 主叫 网关自交换模块 402根据被叫号码判断该被叫号码是否为本网关用户, 如 果该被叫号码不是本主叫网关内的用户, 则根据上述号码匹配表进行号码 匹配, 并通过 SIP信令顺序或者并行的向其它能够匹配该被叫号码的各个 (一个或多个)相关网关发起呼叫请求。之后主叫网关等待各相关网关的应答 响应, 直到收到来自相关网关的匹配被叫成功应答消息或匹配被叫失败应 答消息, 然后根据应答消息进行相应的处理, 或者等待超时为主叫用户释 放本次呼叫。 若被叫匹配成功且被叫用户空闲, 则在主叫网关与匹配的相 关网关之间进行呼叫接续, 完成跨网关自交换呼叫业务; 若被叫匹配失败, 则为主叫用户释放本次呼叫。 In this embodiment, when the communication between the access network where the calling gateway is located and the core network is interrupted, that is, when the communication between the uplink service interface of the access network where the calling gateway is located and the core network is interrupted, the calling gateway exchanges itself. The module 402 determines, according to the called number, whether the called number is a gateway user. If the called number is not a user in the calling gateway, the number matching is performed according to the number matching table, and the SIP signaling sequence or parallel is used. A call request is initiated to each of the associated gateway(s) that can match the called number. After that, the calling gateway waits for the response response of each relevant gateway until it receives a matching called success response message from the relevant gateway or fails to match the called party. Answer the message, and then perform corresponding processing according to the response message, or wait for the timeout to release the call to the calling user. If the called party matches successfully and the called user is idle, the call is connected between the calling gateway and the matching related gateway to complete the cross-gateway self-switching call service; if the called match fails, the calling user releases the call. .

如图 5所示, 自交换模块 402包括: 查找单元 4021、 呼叫请求发起单 元 4022、 接收单元 4023以及接入释放单元 4024, 其中:  As shown in FIG. 5, the self-switching module 402 includes: a searching unit 4021, a call request originating unit 4022, a receiving unit 4023, and an access releasing unit 4024, where:

查找单元 4021 ,用于从号码匹配表中查找与被叫号码匹配的相关网关; 呼叫请求发起单元 4022, 用于通过 SIP信令顺序或并行的向匹配的相 关网关发起呼叫请求;  The searching unit 4021 is configured to search for a related gateway that matches the called number from the number matching table, and the call request initiating unit 4022 is configured to initiate a call request to the matched related gateway by using SIP signaling sequence or in parallel;

接收单元 4023 , 用于接收匹配的相关网关根据呼叫请求反馈的应答消 息; 应答消息包括: 匹配被叫成功应答消息或匹配被叫失败应答消息; 接入释放单元 4024, 用于根据应答消息, 在主叫网关与匹配的相关网 关之间进行呼叫接续, 完成主被叫通话; 或者, 为主叫用户释放本次呼叫。  The receiving unit 4023 is configured to receive a response message that is sent by the matching related gateway according to the call request. The response message includes: matching the called success response message or matching the called failure response message; and the access release unit 4024 is configured to: according to the response message, The call gateway connects to the matching related gateway to complete the call between the calling party and the called party; or, the calling party releases the current call.

更进一步的, 接入释放单元 4024, 还用于当所有相关网关均与被叫号 码不匹配时, 为主叫用户释放本次呼叫。  Further, the access release unit 4024 is further configured to release the current call to the calling user when all related gateways do not match the called number.

呼叫请求发起单元 4022 , 还用于向在预定时间内未反馈应答消息的相 关网关重复三次发起呼叫请求, 若等待超时, 则由接入释放单元为主叫用 户释放本次呼叫。  The call request initiation unit 4022 is further configured to repeatedly initiate a call request to the related gateway that does not feed back the response message within a predetermined time. If the waiting timeout occurs, the access release unit releases the current call to the calling user.

在进一步的实施例中, 自交换模块 402还用于当网关所在的接入网与 核心网通讯中断, 且被叫号码属于该网关用户时, 在该网关内进行呼叫接 续, 完成主被叫通话。  In a further embodiment, the self-switching module 402 is further configured to: when the access network where the gateway is located and the core network are interrupted, and the called number belongs to the gateway user, perform call connection in the gateway to complete the calling call. .

需要说明的是, 本发明实施例中核心网可以为 IMS、 NGN等核心网。 本发明实施例在不同厂家之间的接入网同时配置跨网关自交换业务, 一旦接入网上行业务接口与核心网发生通讯中断, 各接入网关可自动切换 到自交换状态, 不仅可以实现接入网关内部的自交换呼叫业务, 而且如果 接入网关能够与局域网段内其它接入网关通讯, 则还能在各接入网关之间 实现跨网关自交换呼叫业务, 从而可以最大限度的利用网络资源, 保障网 关之间的基本通信业务。 It should be noted that, in the embodiment of the present invention, the core network may be a core network such as IMS or NGN. In the embodiment of the present invention, the access network between different vendors is configured to perform cross-gateway self-switching services at the same time. Once the communication between the access network service interface and the core network is interrupted, each access gateway can automatically switch to the self-switching state, which can not only be implemented. Self-switching call service inside the access gateway, and if The access gateway can communicate with other access gateways in the LAN segment, and can also implement inter-gateway self-switching call services between the access gateways, thereby maximally utilizing network resources and ensuring basic communication services between the gateways.

以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或流程变换, 或直接或 间接运用在其它相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and equivalent structural or process changes made by the present specification and drawings may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim 1、 一种基于应用层信令控制协议 SIP的跨网关自交换的方法, 其特征 在于, 包括以下步骤:  A method for self-switching across gateways based on an application layer signaling control protocol SIP, comprising the steps of: 为主叫网关配置相关网关的号码匹配表;  Configuring a number matching table of the relevant gateway for the calling gateway; 当所述主叫网关所在的接入网与核心网通讯中断, 且被叫号码不属于 该主叫网关用户时, 根据所述号码匹配表并通过 SIP信令进行所述主叫网 关与相关网关间的自交换呼叫业务。  When the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number does not belong to the calling gateway user, the calling gateway and the related gateway are performed according to the number matching table and through SIP signaling. Self-switched call service. 2、 根据权利要求 1所述的方法, 其特征在于, 所述根据号码匹配表并 通过 SIP信令进行所述主叫网关与相关网关间的自交换呼叫业务的步骤包 括: The method according to claim 1, wherein the step of performing the self-switching call service between the calling gateway and the related gateway according to the number matching table and by using SIP signaling comprises: 从所述号码匹配表中查找与所述被叫号码匹配的相关网关;  Finding, from the number matching table, an associated gateway that matches the called number; 通过 SIP信令顺序或并行的向所述匹配的相关网关发起呼叫请求; 接收所述匹配的相关网关根据所述呼叫请求反馈的应答消息; 所述应 答消息包括: 匹配被叫成功应答消息或匹配被叫失败应答消息;  Initiating a call request to the matched related gateway by SIP signaling sequence or in parallel; receiving a response message fed back by the matched related gateway according to the call request; the response message includes: matching the called successful response message or matching The called failure response message; 根据所述应答消息, 在所述主叫网关与所述匹配的相关网关之间进行 呼叫接续, 完成主被叫通话; 或者, 为主叫用户释放本次呼叫。  And performing, according to the response message, a call connection between the calling gateway and the matched related gateway to complete the calling party and the called party; or, releasing the current call to the calling user. 3、 根据权利要求 2所述的方法, 其特征在于, 所述从号码匹配表中查 找与所述被叫号码匹配的相关网关的步骤之后还包括: The method according to claim 2, wherein the step of searching for the relevant gateway matching the called number from the number matching table further comprises: 若所有相关网关均与所述被叫号码不匹配, 则为所述主叫用户释放本 次呼叫。  If all relevant gateways do not match the called number, the call is released for the calling user. 4、 根据权利要求 2所述的方法, 其特征在于, 所述根据应答消息, 在 所述主叫网关与所述匹配的相关网关之间进行呼叫接续的步骤之前还包 括: The method according to claim 2, wherein the step of performing a call connection between the calling gateway and the matching related gateway according to the response message further includes Includes: 向在预定时间内未反馈所述应答消息的相关网关重复三次发起所述呼 叫请求, 若等待超时, 则为所述主叫用户释放本次呼叫。  The call request is initiated three times to the relevant gateway that did not feed back the response message within a predetermined time, and if the waiting timeout occurs, the call is released for the calling user. 5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述为主 叫网关配置相关网关的号码匹配表的步骤之后还包括: The method according to any one of claims 1 to 4, wherein the step of configuring the number matching table of the related gateway by the calling gateway further comprises: 当所述主叫网关所在的接入网与核心网通讯中断, 且被叫号码属于该 主叫网关用户时, 在所述主叫网关内进行呼叫接续, 完成主被叫通话。  When the communication between the access network where the calling gateway is located and the core network is interrupted, and the called number belongs to the calling gateway user, the call is connected in the calling gateway to complete the calling and calling calls. 6、一种基于 SIP的跨网关自交换的网关, 其特征在于, 所述网关包括: 配置模块, 为主叫网关配置相关网关的号码匹配表; A SIP-based cross-gateway self-switching gateway, wherein the gateway includes: a configuration module, configured to configure a number matching table of the relevant gateway for the calling gateway; 自交换模块, 当所述主叫网关所在的接入网与核心网通讯中断, 且被 叫号码不属于该主叫网关用户时, 根据所述号码匹配表通过 SIP信令进行 所述主叫网关与相关网关间的自交换呼叫业务。  The self-switching module, when the access network where the calling gateway is located is disconnected from the core network, and the called number does not belong to the calling gateway user, the calling gateway is performed by using SIP signaling according to the number matching table. Self-switched call service with related gateways. 7、 根据权利要求 6所述的网关, 其特征在于, 所述自交换模块包括: 查找单元, 用于从所述号码匹配表中查找与所述被叫号码匹配的相关 网关; The gateway according to claim 6, wherein the self-switching module comprises: a searching unit, configured to search, from the number matching table, an associated gateway that matches the called number; 呼叫请求发起单元, 用于通过 SIP信令顺序或并行的向所述匹配的相 关网关发起呼叫请求;  a call request initiating unit, configured to initiate a call request to the matched related gateway by using SIP signaling sequence or in parallel; 接收单元, 用于接收所述匹配的相关网关根据所述呼叫请求反馈的应 答消息; 所述应答消息包括: 匹配被叫成功应答消息或匹配被叫失败应答 消息;  a receiving unit, configured to receive an answer message that is sent by the matching related gateway according to the call request; the response message includes: matching a called successful response message or matching a called failed response message; 接入释放单元, 用于根据所述应答消息, 在所述主叫网关与所述匹配 的相关网关之间进行呼叫接续, 完成主被叫通话; 或者, 为主叫用户释放 本次呼叫。 And an access release unit, configured to perform a call connection between the calling gateway and the matched related gateway according to the response message, complete a call between the primary and the called, or release the current call to the calling user. 8、 根据权利要求 7所述的网关, 其特征在于, 所述接入释放单元, 还 用于当所有相关网关均与所述被叫号码不匹配时, 为所述主叫用户释放本 次呼叫。 The gateway according to claim 7, wherein the access release unit is further configured to release the call for the calling user when all related gateways do not match the called number. . 9、根据权利要求 7所述的网关, 其特征在于, 所述呼叫请求发起单元, 还用于向在预定时间内未反馈所述应答消息的相关网关重复三次发起所述 呼叫请求, 若等待超时, 则由所述接入释放单元为所述主叫用户释放本次 呼叫。 The gateway according to claim 7, wherein the call request initiating unit is further configured to repeatedly initiate the call request to the relevant gateway that does not feed back the response message within a predetermined time, if the waiting timeout occurs And the call release unit releases the current call for the calling user. 10、 根据权利要求 6至 9中任一项所述的网关, 其特征在于, 所述自 交换模块, 还用于当所述网关所在的接入网与核心网通讯中断, 且被叫号 码属于该网关用户时, 在所述网关内进行呼叫接续, 完成主被叫通话。 The gateway according to any one of claims 6 to 9, wherein the self-switching module is further configured to interrupt communication between the access network where the gateway is located and the core network, and the called number belongs to When the gateway user is in the call, the call is connected in the gateway to complete the calling party and the called party.
PCT/CN2011/071933 2010-08-17 2011-03-17 Method and gateway for cross-gateway self-exchange based on session initiation protocol Ceased WO2012022148A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010260164.XA CN102378398B (en) 2010-08-17 2010-08-17 Method and the gateway of the spanning gateway self-exchange based on SIP
CN201010260164.X 2010-08-17

Publications (1)

Publication Number Publication Date
WO2012022148A1 true WO2012022148A1 (en) 2012-02-23

Family

ID=45604731

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071933 Ceased WO2012022148A1 (en) 2010-08-17 2011-03-17 Method and gateway for cross-gateway self-exchange based on session initiation protocol

Country Status (2)

Country Link
CN (1) CN102378398B (en)
WO (1) WO2012022148A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916962B (en) * 2012-10-25 2016-09-28 华为技术有限公司 The triggering method of self-exchange, Apparatus and system under a kind of IMS architecture
CN108616507A (en) * 2018-03-28 2018-10-02 深圳震有科技股份有限公司 A kind of voice gateway system and its processing method to access terminal
CN109495661A (en) * 2018-12-27 2019-03-19 广州芯德通信科技股份有限公司 A kind of communication means of the VOIP equipment based on multiple IP relaying
CN119854271A (en) * 2024-12-10 2025-04-18 中电信数智科技有限公司 Method, storage medium, device and computer program product for realizing cross-gateway self-switching communication under soft switching architecture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949781A (en) * 2005-10-10 2007-04-18 阿尔卡特公司 System and method for establishing emergency communications in a telecommunication network
CN101106612A (en) * 2007-07-25 2008-01-16 中兴通讯股份有限公司 A method and system for realizing self-switching disaster tolerance in NGN network
CN101163171A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 Method of implementing uplink service interface protection based on access network
CN101316448A (en) * 2007-06-01 2008-12-03 日立通讯技术株式会社 Gateway device, optical network terminal and passive optical network system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213440B2 (en) * 2007-02-21 2012-07-03 Tekelec Global, Inc. Methods, systems, and computer program products for using a location routing number based query and response mechanism to route calls to IP multimedia subsystem (IMS) subscribers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949781A (en) * 2005-10-10 2007-04-18 阿尔卡特公司 System and method for establishing emergency communications in a telecommunication network
CN101163171A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 Method of implementing uplink service interface protection based on access network
CN101316448A (en) * 2007-06-01 2008-12-03 日立通讯技术株式会社 Gateway device, optical network terminal and passive optical network system
CN101106612A (en) * 2007-07-25 2008-01-16 中兴通讯股份有限公司 A method and system for realizing self-switching disaster tolerance in NGN network

Also Published As

Publication number Publication date
CN102378398A (en) 2012-03-14
CN102378398B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
JP5636516B2 (en) Backup SIP server for enterprise network survivability using SIP
US8606936B2 (en) Communication system, session control management server and session control method
US20060256774A1 (en) Systems and methods for a session initiation protocol (SIP) translator
EP2536118A2 (en) Providing resilient digital telephony services for wireless devices
WO2008116408A1 (en) System, equipment and method for implementing special calling services
US20130007291A1 (en) MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS
WO2009010013A1 (en) A method for accomplishing poc service and a poc gateway
WO2012022148A1 (en) Method and gateway for cross-gateway self-exchange based on session initiation protocol
WO2010091588A1 (en) Method and apparatus for distinguishing several user equipments sharing a same public user identity
CN102263775B (en) Method and device for controlling local session initiation protocol (SIP) calling
WO2012126382A1 (en) Method for implementing main exchange service and gateway apparatus
WO2012019546A1 (en) Method and system for establishing voice over ip call
WO2010075697A1 (en) System and method for transferring multi-party call into conference
JP2010130396A (en) Management system
WO2011097926A1 (en) Method and apparatus for processing session description protocol request during process of optimizing media path
JP5325871B2 (en) Communication system and server
WO2008049346A1 (en) Method, system and device for registering device
WO2013120387A1 (en) Method, system and domain name system server for intercommunication between different networks
WO2011107001A1 (en) Call processing method and apparatus thereof
EP2509272B1 (en) Method and system for implementing call by media gateway
JP4924156B2 (en) Button telephone equipment
JP6187111B2 (en) Telephone system
JP2005136844A (en) SIP TELEPHONE SET AND VoIP SYSTEM USING THE SAME
JP4906823B2 (en) Call control method, communication system, and information processing apparatus
WO2013029380A1 (en) Resource control method and system for broadband network

Legal Events

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

Ref document number: 11817676

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: 11817676

Country of ref document: EP

Kind code of ref document: A1