[go: up one dir, main page]

CN1295911C - A routing method for IP telephone system - Google Patents

A routing method for IP telephone system Download PDF

Info

Publication number
CN1295911C
CN1295911C CNB031152759A CN03115275A CN1295911C CN 1295911 C CN1295911 C CN 1295911C CN B031152759 A CNB031152759 A CN B031152759A CN 03115275 A CN03115275 A CN 03115275A CN 1295911 C CN1295911 C CN 1295911C
Authority
CN
China
Prior art keywords
calling
called
node
party
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031152759A
Other languages
Chinese (zh)
Other versions
CN1522012A (en
Inventor
廖猛蛟
满士杰
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031152759A priority Critical patent/CN1295911C/en
Publication of CN1522012A publication Critical patent/CN1522012A/en
Application granted granted Critical
Publication of CN1295911C publication Critical patent/CN1295911C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a route selecting method for an IP telephone system. Speech data packets of calling parties and called parties are conveyed among nodes in an IP network; for each called party, address information of each calling party can be corresponding to one node connected with the called party, and the address information is a calling number and/or an IP address of a calling node. When each calling party initiates a call, the IP telephone system performs the following steps: (1) one of the nodes connected with each corresponding called party is determined according to the address information and a called number; (2) an IP address of the node connected with the called party, which is determined in the step (1) is conveyed to the calling node to instruct the calling node to set up a call with the node connected with the called party. Since route search is based on the called number and the address information of the calling party, a plurality of routes from the calling node to the node connected with the called party can be distinguished by the address information of the calling party, and thereby, the present invention realizes flexible route selection.

Description

一种用于IP电话系统的路由选择方法A Routing Method for IP Telephone System

技术领域technical field

本发明涉及IP电话技术,特别涉及一种用于IP电话系统的路由选择方法。The invention relates to IP telephone technology, in particular to a routing selection method for an IP telephone system.

背景技术Background technique

传统的电话是通过电路交换网,采用基于连接的电路方式来传输语音信息的。现代程控电话主要采用时分复用技术来提高电路的利用率,将一条物理线路上周期性出现的每一个固定时隙作为一个逻辑电路,给每一个话路通信分配一个固定的逻辑电路。Traditional telephony transmits voice information through a circuit switching network and a connection-based circuit method. Modern program-controlled telephones mainly use time-division multiplexing technology to improve circuit utilization, and use each fixed time slot that periodically appears on a physical line as a logic circuit, and assign a fixed logic circuit to each voice channel communication.

所谓IP电话,是指主要以因特网作为传输媒介的一种新型电话系统,其基本原理是:通过语音压缩算法对语音信号进行压缩编码处理,然后把这些语音数据按TCP/IP标准进行打包,经过网络把数据包发送到接收地;接收端把这些语音数据串接起来,经过解码解压缩处理后恢复成原来的语音信号,从而达到由因特网传送语音的目的。The so-called IP phone refers to a new type of telephone system that mainly uses the Internet as the transmission medium. The network sends the data packet to the receiving place; the receiving end connects these voice data in series, and restores the original voice signal after decoding and decompressing, so as to achieve the purpose of transmitting voice through the Internet.

例如在按照基于ITU(国际电信联盟)H.323标准的IP电话系统中,就逻辑功能层面而言,系统可包括终端、网关、网守和多点控制单元,终端和网关都被视为H.323节点,其中,终端是一个在IP网络中提供实时、双向通信的节点设备;网关完成数据传送格式和通信流程的转换等功能,为IP网与电话网互相间的呼叫、信令和通信进行透明传送;网守的功能是向H.323节点提供呼叫控制服务;多点控制单元用于提供多点会议控制功能。For example, in an IP telephone system based on the ITU (International Telecommunication Union) H.323 standard, in terms of logical function level, the system may include terminals, gateways, gatekeepers and multipoint control units, and both terminals and gateways are regarded as H. .323 nodes, where the terminal is a node device that provides real-time, two-way communication in the IP network; the gateway completes the functions of data transmission format and communication process conversion, and provides the call, signaling and communication between the IP network and the telephone network Transparent transmission; the function of the gatekeeper is to provide call control services to H.323 nodes; the multipoint control unit is used to provide multipoint conference control functions.

打包后语音数据包在IP网络中的路由选择既可以由网守实现,也可以由网关或H.323终端实现,以下借助图1描述一个IP电话呼叫过程中的路由选择示例,在该示例中,假设由网守负责实现路由选择功能,并且主叫方和被叫方都通过网关连入IP网络,但是主叫方或被叫方也可以是H.323终端而且仍然可采用下述路由来选择方式确定语音数据包的路由。如图1所示,当网关11接收到主叫方发起的呼叫时(由于接收主叫方发起的呼叫,因此网关11相当于主叫网关),其首先向网守发送呼叫接入请求消息ARQ,该消息包含网关11的IP地址、主叫号码和被叫号码(其中被叫号码的前三位为020)等信息。网守则从接入请求消息ARQ中获取被叫号码并根据其存储的被叫号码与路由的对应关系查找匹配的落地网关(即与被叫方相连的网关),在本实例中,当网关11作为主叫网关而网关12和网关13作为被叫网关时,前三位为010的被叫号码对应编号为010的路由,前三位为010的被叫号码对应编号为020的路由,即,如果被叫号码前三位为010,则该呼叫的落地网关为网关12,如果被叫号码前三位为020,则该呼叫的落地网关为网关13。因此在这里,网守向网关11发送包含网关13的呼叫信令地址和其它相关信息的呼叫应答消息ACF,而网关11根据ACF消息与网关13建立呼叫连接。The route selection of the packaged voice data packet in the IP network can be realized by the gatekeeper, the gateway or the H.323 terminal. The following describes an example of route selection in the process of an IP phone call with the help of Figure 1. In this example , assuming that the gatekeeper is responsible for implementing the routing function, and both the calling party and the called party are connected to the IP network through the gateway, but the calling party or the called party can also be an H.323 terminal and still use the following route to The selection mode determines the routing of voice packets. As shown in Figure 1, when gateway 11 receives the call that calling party initiates (because receiving the call that calling party initiates, so gateway 11 is equivalent to calling gateway), it first sends call access request message ARQ to gatekeeper , the message includes information such as the IP address of the gateway 11, the calling number and the called number (wherein the first three digits of the called number are 020). The gatekeeper obtains the called number from the access request message ARQ and searches for a matching landing gateway (that is, the gateway connected to the called party) according to the corresponding relationship between the called number and the route stored in it. In this example, when the gateway 11 When gateway 12 and gateway 13 are used as calling gateways as calling gateways, the called number whose first three digits are 010 corresponds to the route numbered 010, and the called number whose first three digits are 010 corresponds to the route numbered 020, that is, If the first three digits of the called number are 010, the destination gateway of the call is gateway 12; if the first three digits of the called number are 020, the destination gateway of the call is gateway 13. Therefore, here, the gatekeeper sends a call response message ACF containing the call signaling address of the gateway 13 and other relevant information to the gateway 11, and the gateway 11 establishes a call connection with the gateway 13 according to the ACF message.

在上述路由选择方式中,对于每个主叫方,路由与被叫号码之间都存在一定的对应关系,因此网守可根据对应关系,从被叫号码确定或选定路由。这种路由选择方式简单可行,但是存在处理方式不够灵活的缺点,因此无法满足用户种类繁多、内容丰富的实际需要。例如假设有两个主叫网关gw1和gw2以及两个被叫网关gw3和gw4,并且网关gw3和gw4均支持编号为010的路由,由于某种原因,gw1只能与gw3建立呼叫连接,gw2只能与gw4建立呼叫连接。对于这种有多个网关支持相同路由的情形,上述路由选择方式无法根据被叫号码区分出编号为010但是落地网关不同的路由,因此无法选定主叫方希望的落地网关。In the above route selection method, for each calling party, there is a certain corresponding relationship between the route and the called number, so the gatekeeper can determine or select the route from the called number according to the corresponding relationship. This route selection method is simple and feasible, but has the disadvantage of inflexible processing method, so it cannot meet the actual needs of users with various types and rich content. For example, suppose there are two calling gateways gw1 and gw2 and two called gateways gw3 and gw4, and both gateways gw3 and gw4 support the route numbered 010. For some reason, gw1 can only establish a call connection with gw3, and gw2 only Can establish call connection with gw4. For this situation where multiple gateways support the same route, the above route selection method cannot distinguish the route with the number 010 but different destination gateways according to the called number, so the destination gateway desired by the calling party cannot be selected.

发明内容Contents of the invention

本发明的目的是提供一种用于IP电话系统的路由选择方法,它可在被叫方有多个相连网关或终端的情形下根据需要灵活地配置主叫方与被叫方之间的路由。The purpose of the present invention is to provide a routing selection method for an IP telephone system, which can flexibly configure the routing between the calling party and the called party as required when the called party has multiple connected gateways or terminals .

在按照本发明的用于IP电话系统的路由选择方法中,主叫方和被叫方经各自所连的节点在IP网络内传送语音数据包,对于每个被叫方,每个主叫方的地址信息可与该被叫方的一个所连节点对应,所述地址信息为主叫号码和/或主叫节点的IP地址,当主叫方发起呼叫时IP电话系统执行以下步骤:In the routing method for IP telephone system according to the present invention, the calling party and the called party transmit voice data packets in the IP network via the nodes connected respectively, for each called party, each calling party The address information can correspond to a connected node of the called party, and the address information is the calling number and/or the IP address of the calling node. When the calling party initiates a call, the IP telephone system performs the following steps:

(1)根据所述地址信息、被叫号码和所述主叫方地址信息与被叫方所连节点的对应关系确定一个设定的被叫方所连节点;以及(1) Determine a set node connected to the called party according to the correspondence between the address information, the called number and the address information of the calling party and the node connected to the called party; and

(2)将步骤(1)确定的被叫方所连节点的呼叫信令地址传送至主叫节点以指示主叫节点与该被叫方所连节点建立呼叫。(2) Sending the call signaling address of the node connected to the called party determined in step (1) to the calling node to instruct the calling node to establish a call with the node connected to the called party.

在上述路由选择方法中,比较好的是,对于每个被叫方,每个主叫方的地址信息与该被叫方的其中一个所连节点按照下列方式对应:每个被叫方的被叫号码对应多个变换后被叫号码,每个所述变换后被叫号码与每个主叫方的地址信息一一对应并且与被叫方的其中一个所连节点对应。In the above route selection method, preferably, for each called party, the address information of each calling party corresponds to one of the connected nodes of the called party in the following manner: the called party of each called party The calling number corresponds to a plurality of transformed called numbers, and each transformed called number is in one-to-one correspondence with the address information of each calling party and corresponds to one of the connected nodes of the called party.

在上述路由选择方法中,比较好的是,IP电话系统遵循H.323协议,并且所述节点为网关或终端。In the above routing method, preferably, the IP telephone system follows the H.323 protocol, and the node is a gateway or a terminal.

由上可见,在按照本发明的路由选择方法中,路由的查找不仅基于被叫号码,而且还基于主叫方的地址信息,因此从主叫节点至被叫方所连节点的多条路由可以以主叫方的地址信息加以区分,实现了路由的灵活选择。As can be seen from above, in the route selection method according to the present invention, the search of the route is not only based on the called number, but also based on the address information of the calling party, so multiple routes from the calling node to the connected node of the called party can be The caller's address information is used to distinguish, which realizes the flexible selection of routes.

附图说明Description of drawings

图1为现有技术基于被叫号码选择路由的示意图。Fig. 1 is a schematic diagram of selecting a route based on a called number in the prior art.

图2为按照本发明路由选择方法的一个较佳实施例的示意图。Fig. 2 is a schematic diagram of a preferred embodiment of the route selection method according to the present invention.

图3为按照本发明路由选择方法的另一个较佳实施例的示意图。Fig. 3 is a schematic diagram of another preferred embodiment of the route selection method according to the present invention.

图4为按照本发明路由选择方法的另一个较佳实施例的示意图。Fig. 4 is a schematic diagram of another preferred embodiment of the route selection method according to the present invention.

具体实施方式Detailed ways

如上所述,对于每个被叫方,当主叫方呼叫时,仅仅利用被叫号码无法有效区分多个与被叫方所连的节点,或者说无法有效区分从主叫节点至被叫方所连节点的多条路由,为此,在本发明的路由选择方法中还引入主叫方的地址信息,将主叫方的地址信息与从主叫节点至被叫方所连节点的多条路由中的其中一条对应起来。显然,这种对应方式可以有多种,只要能够满足灵活配置路由的需求即可。比较好的是,主叫方的地址信息与从主叫节点至被叫方所连节点的多条路由中的其中一条(或者多个被叫方所连节点中的其中一个)按照如下方式对应:每个被叫方的被叫号码对应多个变换后被叫号码,每个所述变换后被叫号码与每个主叫方的地址信息一一对应并且与被叫方的其中一个所连节点对应。As mentioned above, for each called party, when the calling party calls, only using the called number cannot effectively distinguish multiple nodes connected to the called party, or in other words, it cannot effectively distinguish the number of nodes connected to the called party from the calling node to the called party. Multiple routes of the connected node, for this reason, also introduce the address information of the calling party in the routing selection method of the present invention, combine the address information of the calling party with the multiple routes of the connected node from the calling node to the called party One of the routes corresponds to it. Apparently, there may be multiple ways of this correspondence, as long as the requirements for flexible routing configuration can be met. Preferably, the address information of the calling party corresponds to one of the multiple routes from the calling node to the node connected to the called party (or one of the nodes connected to the called party) in the following manner : The called number of each called party corresponds to a plurality of transformed called numbers, and each said transformed called number is in one-to-one correspondence with the address information of each calling party and is connected to one of the called parties. corresponding to the node.

值得指出的是,在本文中,地址信息的含义是指下列三种情形之一:a)主叫方的主叫号码;b)主叫节点的IP地址;以及c)主叫方的主叫号码和主叫节点的IP地址。主叫节点是一个与主叫方相连的节点,它负责向IP网络发送主叫方语音数据包并从IP网络接收送往主叫方的语音数据包。It is worth pointing out that in this paper, the meaning of address information refers to one of the following three situations: a) the calling number of the calling party; b) the IP address of the calling node; and c) the calling number of the calling party number and the IP address of the calling node. The calling node is a node connected to the calling party, which is responsible for sending the voice data packets of the calling party to the IP network and receiving the voice data packets sent to the calling party from the IP network.

以下借助附图描述本发明的较佳实施例,在下述实施例中,均假设IP电话系统遵循H.323协议,并且所述节点为网关或终端。The preferred embodiments of the present invention are described below with the help of drawings. In the following embodiments, it is assumed that the IP telephone system complies with the H.323 protocol, and the nodes are gateways or terminals.

第一实施例first embodiment

在第一实施例中,对于每个被叫号码,被叫网关根据主叫网关的IP地址选择,使得每个主叫网关都配置一个对应的被叫网关。假设当IP地址为1.1.1.1的网关21作为主叫网关时,主叫方可经由网关23和24到达某一被叫方,并且路由都为010;当IP地址为1.1.1.2的网关22作为主叫网关时,主叫方也可经由网关23和24到达该被叫方,路由也都为010。为了使主叫网关与该被叫方所连网关中的其中一个对应,在本实施例中,该被叫方的被叫号码通过在首端增加2位前缀符号1#或2#构成为变换后被叫号码并且与主叫网关21和22的IP地址对应关系如下:In the first embodiment, for each called number, the called gateway is selected according to the IP address of the calling gateway, so that each calling gateway is configured with a corresponding called gateway. Assume that when the gateway 21 with the IP address of 1.1.1.1 is used as the calling gateway, the calling party can reach a certain called party via gateways 23 and 24, and the routes are all 010; when the gateway 22 with the IP address as 1.1.1.2 acts as When calling the gateway, the calling party can also reach the called party via gateways 23 and 24, and the routes are also 010. In order to make the calling gateway correspond to one of the gateways connected to the called party, in this embodiment, the called number of the called party is formed as a transformation by adding 2 prefix symbols 1# or 2# at the beginning The corresponding relationship between the called number and the IP addresses of calling gateways 21 and 22 is as follows:

IP地址=1.1.1.1—→1#+被叫号码IP address=1.1.1.1—→1#+called number

IP地址=1.1.1.2—→2#+被叫号码IP address=1.1.1.2—→2#+called number

与此同时,变换后被叫号码又按照下列方式与该被叫方的其中一个所连网关对应:变换后被叫号码“1#+被叫号码”对应网关23,变换后被叫号码“2#+被叫号码”对应网关24,相应地,被叫网关23和24的路由也要作相应的改变,即网关23的路由从010变为1#010,网关24的路由从010变为2#010。这样,来自主叫网关21的呼叫应路由至被叫网关23,来自网关22的呼叫应路由至被叫网关24。对于其它的被叫号码,也可以按照本实施例的方式完成主叫网关与被叫方所连网关之间对应关系的设定。At the same time, the converted called number corresponds to one of the connected gateways of the called party in the following manner: the converted called number "1#+called number" corresponds to gateway 23, and the converted called number "2 #+called number" corresponds to gateway 24, correspondingly, the routes of called gateways 23 and 24 should also be changed accordingly, that is, the route of gateway 23 changes from 010 to 1#010, and the route of gateway 24 changes from 010 to 2 #010. In this way, the call from the calling gateway 21 should be routed to the called gateway 23 , and the call from the gateway 22 should be routed to the called gateway 24 . For other called numbers, the setting of the corresponding relationship between the calling gateway and the gateway connected to the called party can also be completed in the manner of this embodiment.

当网关21向网守发送呼叫接入请求消息ARQ时,包含的被叫号码假设为01067899998,则网守根据上述对应关系将被叫号码变换为1#01067899998,然后通过路由查找确定路由为1#010,被叫网关为网关23,并将包含网关23呼叫信令地址的呼叫应答消息ACF返回给网关21,这样,网关21开始与网关23建立通话联系。当网关22作为主叫网关时,也以同样的方式完成路由选择,使其与网关24建立通话联系。When the gateway 21 sends the call access request message ARQ to the gatekeeper, the called number included is assumed to be 01067899998, then the gatekeeper converts the called number to 1#01067899998 according to the above-mentioned correspondence, and then determines the route to be 1# by routing lookup 010, the called gateway is the gateway 23, and returns the call response message ACF including the calling signaling address of the gateway 23 to the gateway 21, so that the gateway 21 starts to establish a call connection with the gateway 23. When the gateway 22 is used as the calling gateway, it also completes the routing selection in the same manner, so that it establishes a call connection with the gateway 24 .

第二实施例second embodiment

在第二实施例中,对于每个被叫号码,被叫方所连网关根据主叫号码选择,使得每个主叫号码都配置一个对应的被叫网关。假设电话号码以021或020开头的主叫方可以H.323节点为主叫节点经由网关33和34到达某个被叫方,并且路由都为010。为了使每个主叫方与该被叫方所连网关中的其中一个对应,在本实施例中,该被叫方的被叫号码通过在首端增加3位前缀符号21#或20#构成变换后被叫号码并且与主叫号码的对应关系如下:In the second embodiment, for each called number, the gateway connected to the called party is selected according to the calling number, so that each calling number is configured with a corresponding called gateway. Assume that the calling party whose phone number starts with 021 or 020 can reach a called party via gateways 33 and 34 through the H.323 node as the calling node, and the routes are both 010. In order to make each calling party correspond to one of the gateways connected to the called party, in this embodiment, the called number of the called party is formed by adding a 3-digit prefix symbol 21# or 20# at the beginning After conversion, the corresponding relationship between the called number and the calling number is as follows:

以020开头的主叫号码—→20#+被叫号码The calling number starting with 020—→20#+called number

以021开头的主叫号码—→21#+被叫号码The calling number starting with 021—→21#+called number

与此同时,变换后被叫号码又按照下列方式与该被叫方的其中一个所连网关对应:变换后被叫号码“21#+被叫号码”对应网关33,变换后被叫号码“20#+被叫号码”对应网关34,相应地,被叫网关33和34的路由也要作相应的改变,即网关33的路由从010变为21#010,网关34的路由从010变为20#010。这样,021局向的呼叫被路由至被叫网关33,020局向的呼叫被路由至被叫网关34。对于其它的被叫号码,也可以按照本实施例的方式完成主叫号码与被叫方所连网关之间对应关系的设定。At the same time, the converted called number corresponds to one of the connected gateways of the called party in the following manner: the converted called number "21#+called number" corresponds to gateway 33, and the converted called number "20# #+called number" corresponds to gateway 34, correspondingly, the routes of called gateways 33 and 34 should be changed accordingly, that is, the route of gateway 33 is changed from 010 to 21#010, and the route of gateway 34 is changed from 010 to 20 #010. In this way, calls to the 021 office are routed to the called gateway 33 , and calls to the 020 office are routed to the called gateway 34 . For other called numbers, the setting of the corresponding relationship between the calling number and the gateway connected to the called party can also be completed in the manner of this embodiment.

当主叫方为021局向时,呼叫通过H.323节点向网守发送呼叫接入请求消息ARQ,包含的被叫号码假设为02776236288,则网守根据上述对应关系将被叫号码变换为21#02776236288,然后通过路由查找确定路由为21#010,被叫网关为网关33,并将包含网关33呼叫信令地址的呼叫应答消息ACF返回给H.323节点,这样,H.323节点开始与网关33建立通话联系。当主叫方为020局向呼叫上述被叫方时,也以同样的方式完成路由选择,使其与网关34建立通话联系。When the calling party is the 021 office, the call sends a call access request message ARQ to the gatekeeper through the H.323 node, and the called number contained is assumed to be 02776236288, and the gatekeeper changes the called number to 21 according to the above correspondence #02776236288, then determine that the route is 21#010 through routing search, the called gateway is gateway 33, and return the call response message ACF containing the calling signaling address of gateway 33 to the H.323 node, so that the H.323 node starts to communicate with The gateway 33 establishes a call connection. When the calling party calls the above-mentioned called party for the 020 office, the routing selection is also completed in the same way, so that it establishes a conversation with the gateway 34 .

第三实施例third embodiment

在第三实施例中,对于每个被叫号码,被叫方所连网关根据主叫号码和主叫网关的IP地址选择,使得每个主叫号码与主叫网关IP地址的组合对应一个被叫网关。假设电话号码以021xxx或020xxx开头的主叫方可以IP地址为1.1.1.1的网关41作为主叫网关经由网关43和44到达某个被叫方,并且路由.都为010,同样,电话号码以027xxx开头的主叫方可以IP地址为1.1.1.2的网关42作为主叫网关经由网关43和44到达该被叫方,并且路由都为010。为了使主叫方与被叫方所连网关中的其中一个对应,在本实施例中,被叫方的被叫号码通过在首端依次增加代表局向和IP地址的两类前缀符号构成变换后被叫号码,如果先增加IP地址前缀符号而后增加局向前缀符号,则其与主叫号码的对应关系如下:In the third embodiment, for each called number, the gateway connected to the called party is selected according to the calling number and the IP address of the calling gateway, so that each combination of the calling number and the IP address of the calling gateway corresponds to a called number. called gateway. Assume that the calling party whose phone number starts with 021xxx or 020xxx can use the gateway 41 whose IP address is 1.1.1.1 as the calling gateway to reach a certain called party via gateways 43 and 44, and the routes are all 010. Similarly, the phone number starts with The calling party beginning with 027xxx can reach the called party via gateways 43 and 44 with the gateway 42 whose IP address is 1.1.1.2 as the calling gateway, and the routes are both 010. In order to make the calling party correspond to one of the gateways connected to the called party, in this embodiment, the called number of the called party is converted by sequentially adding two types of prefix symbols representing the office route and IP address at the beginning After the called number, if the IP address prefix symbol is added first and then the office prefix symbol is added, the corresponding relationship with the calling number is as follows:

以021开头并以IP地址为1.1.1.1的网关为主叫网关的主叫号码—→211#010The calling number starting with 021 and using the gateway with IP address 1.1.1.1 as the calling gateway—→211#010

以020开头并以IP地址为1.1.1.1的网关为主叫网关的主叫号码—→201#010The calling number starting with 020 and using the gateway with IP address 1.1.1.1 as the calling gateway—→201#010

以027开头并以IP地址为1.1.1.2的网关为主叫网关的主叫号码—→272#010The calling number starting with 027 and using the gateway with IP address 1.1.1.2 as the calling gateway—→272#010

如果先增加局向前缀符号而后增加IP地址前缀符号,则其与主叫号码的对应关系如下:If the office prefix symbol is added first and then the IP address prefix symbol is added, the corresponding relationship with the calling number is as follows:

以021开头并以IP地址为1.1.1.1的网关为主叫网关的主叫号码—→121#010The calling number starting with 021 and using the gateway with IP address 1.1.1.1 as the calling gateway—→121#010

以020开头并以IP地址为1.1.1.1的网关为主叫网关的主叫号码—→120#010The calling number starting with 020 and using the gateway with IP address 1.1.1.1 as the calling gateway—→120#010

以027开头并以IP地址为1.1.1.2的网关为主叫网关的主叫号码—→227#010The calling number starting with 027 and using the gateway with IP address 1.1.1.2 as the calling gateway—→227#010

与此同时,变换后被叫号码又按照下列方式与该被叫方的其中一个所连网关对应(以先增加IP地址前缀符号而后增加局向前缀符号构成的变换后被叫号码为例):变换后被叫号码“211#+被叫号码”对应网关43,变换后被叫号码“201#+被叫号码”对应网关43,变换后被叫号码“272#+被叫号码”对应网关44,相应地,被叫网关43和44的路由也要作相应的改变,即网关43的路由从010变为211#010和201#010,网关44的路由从010变为272#010。这样,021和020局向并且以网关41为主叫网关的呼叫被路由至被叫网关43,027局向并且以网关42为主叫网关的呼叫被路由至被叫网关44。对于其它的被叫号码,也可以按照本实施例的方式完成主叫号码和主叫网关组合与被叫方所连网关之间对应关系的设定。At the same time, the converted called number corresponds to one of the connected gateways of the called party in the following manner (take the converted called number formed by first adding the IP address prefix symbol and then adding the office prefix symbol as an example): The converted called number "211#+called number" corresponds to gateway 43, the converted called number "201#+ called number" corresponds to gateway 43, and the converted called number "272#+ called number" corresponds to gateway 44 Correspondingly, the routes of the called gateways 43 and 44 also need to be changed accordingly, that is, the route of the gateway 43 is changed from 010 to 211#010 and 201#010, and the route of the gateway 44 is changed from 010 to 272#010. In this way, calls to the 021 and 020 offices and gateway 41 as the calling gateway are routed to the called gateway 43 , and calls to the 027 office and the gateway 42 is the calling gateway are routed to the called gateway 44 . For other called numbers, the setting of the corresponding relationship between the combination of the calling number and the calling gateway and the gateway connected to the called party can also be completed in the manner of this embodiment.

当以020或021局向的主叫方通过网关41发起呼叫时,主叫网关41通过向网守发送呼叫接入请求消息ARQ,包含的被叫号码假设为02876236288,则网守根据上述对应关系将被叫号码变换为20#02876236288或21#02876236288,然后通过路由查找确定路由为201#010或211#010,被叫网关为网关43,并将包含网关43呼叫信令地址的呼叫应答消息ACF返回给网关41,这样,网关41开始与网关33建立通话联系。当以027局向的主叫方通过网关42呼叫该被叫方时,也以同样的方式完成路由选择,使其与网关44建立通话联系。When the calling party with the 020 or 021 office direction initiates a call through the gateway 41, the calling gateway 41 sends a call access request message ARQ to the gatekeeper, and the called number contained is assumed to be 02876236288, then the gatekeeper Change the called number to 20#02876236288 or 21#02876236288, then determine the route as 201#010 or 211#010 through routing search, the called gateway is gateway 43, and send the call response message ACF containing the calling signaling address of gateway 43 Return to gateway 41, like this, gateway 41 starts to establish call connection with gateway 33. When the calling party with the 027 office direction calls the called party through the gateway 42, the routing selection is also completed in the same way, so that it establishes a conversation with the gateway 44.

在上述实施例中,路由选择功能是由网守实现的,而且从逻辑上讲网守与H.323节点设备是分离的,但是在本发明中,完全可以将网守的功能融入终端、网关或多点控制单元等物理设备中,这对于本发明方法的实现并无实质性的影响。In the above-mentioned embodiment, the route selection function is realized by the gatekeeper, and logically speaking, the gatekeeper is separated from the H.323 node equipment, but in the present invention, the function of the gatekeeper can be fully integrated into the terminal, gateway or multi-point control unit and other physical devices, this has no substantial impact on the realization of the method of the present invention.

Claims (7)

1.一种用于IP电话系统的路由选择方法,主叫方和被叫方经各自所连的节点在IP网络内传送语音数据包,主叫方所连节点是主叫节点,其特征在于,对于每个被叫方,每个主叫方的地址信息可与该被叫方的一个所连节点对应,所述地址信息为主叫号码和/或主叫节点的IP地址,当主叫方发起呼叫时IP电话系统执行以下步骤:1. a kind of routing selection method that is used for IP telephone system, calling party and called party transmit voice data packet in IP network through the node that is connected respectively, and the node that calling party is connected is calling node, it is characterized in that , for each called party, the address information of each calling party may correspond to a connected node of the called party, and the address information is the calling number and/or the IP address of the calling node, when the calling party When a party initiates a call, the IP telephony system performs the following steps: (1)根据所述地址信息、被叫号码和所述主叫方地址信息与被叫方所连节点的对应关系确定一个设定的被叫方所连节点;以及(1) Determine a set node connected to the called party according to the correspondence between the address information, the called number and the address information of the calling party and the node connected to the called party; and (2)将步骤(1)确定的被叫方所连节点的呼叫信令地址传送至主叫节点以指示主叫节点与该被叫方所连节点建立呼叫。(2) Sending the call signaling address of the node connected to the called party determined in step (1) to the calling node to instruct the calling node to establish a call with the node connected to the called party. 2.如权利要求1所述的路由选择方法,其特征在于,对于每个被叫方,每个主叫方的地址信息与该被叫方的其中一个所连节点按照下列方式对应:每个被叫方的被叫号码对应多个变换后被叫号码,每个所述变换后被叫号码与每个主叫方的地址信息一一对应并且与被叫方的其中一个所连节点对应。2. The route selection method as claimed in claim 1, wherein, for each called party, the address information of each calling party corresponds to one of the connected nodes of the called party in the following manner: each The called number of the called party corresponds to a plurality of converted called numbers, each of which is in one-to-one correspondence with the address information of each calling party and corresponds to one of the connected nodes of the called party. 3.如权利要求2所述的路由选择方法,其特征在于,IP电话系统遵循H.323协议,并且所述节点为网关或H.323终端。3. The routing method according to claim 2, wherein the IP telephone system follows the H.323 protocol, and the node is a gateway or an H.323 terminal. 4.如权利要求3所述的路由选择方法,其特征在于,IP电话系统包含网守,所述地址信息为主叫节点的IP地址,并且所述步骤(1)包括以下步骤:4. routing method as claimed in claim 3 is characterized in that, IP telephone system comprises gatekeeper, and described address information is the IP address of calling node, and described step (1) comprises the following steps: (1a)主叫节点向网守发送包含被叫号码的接入请求消息;以及(1a) the calling node sends an access request message comprising the called number to the gatekeeper; and (1b)网守根据主叫节点的IP地址确定所述变换后被叫号码并根据该变换后被叫号码确定一个设定的被叫方所连节点。(1b) The gatekeeper determines the converted called number according to the IP address of the calling node and determines a set called party connected node according to the converted called number. 5.如权利要求3所述的路由选择方法,其特征在于,IP电话系统包含网守,所述地址信息为主叫方的主叫号码,并且所述步骤(1)包括以下步骤:5. routing method as claimed in claim 3 is characterized in that, IP telephone system comprises gatekeeper, and described address information is the calling number of calling party, and described step (1) comprises the following steps: (1a)主叫节点向网守发送包含被叫号码的接入请求消息;以及(1a) the calling node sends an access request message comprising the called number to the gatekeeper; and (1b)网守根据主叫号码确定所述变换后被叫号码并根据该变换后被叫号码确定一个设定的被叫方所连节点。(1b) The gatekeeper determines the converted called number according to the calling number and determines a set node connected to the called party according to the converted called number. 6.如权利要求3所述的路由选择方法,其特征在于,IP电话系统包含网守,所述地址信息为主叫方的主叫号码和主叫节点的IP地址,并且所述步骤(1)包括以下步骤:6. routing method as claimed in claim 3 is characterized in that, IP telephone system comprises gatekeeper, and described address information is the calling number of calling party and the IP address of calling node, and described step (1 ) includes the following steps: (1a)主叫节点向网守发送包含被叫号码的接入请求消息;以及(1a) the calling node sends an access request message comprising the called number to the gatekeeper; and (1b)网守根据主叫方的主叫号码和所连节点的IP地址确定所述变换后被叫号码并根据该变换后被叫号码确定一个设定的被叫方所连节点。(1b) The gatekeeper determines the converted called number according to the calling number of the calling party and the IP address of the connected node, and determines a set connected node of the called party according to the converted called number. 7.如权利要求4~6中任一项所述的路由选择方法,其特征在于,在所述步骤(2)中,网守通过向主叫节点发送呼叫应答消息来传送被叫方所连节点的呼叫信令地址。7. The routing method according to any one of claims 4 to 6, characterized in that, in the step (2), the gatekeeper sends a call response message to the calling node to transmit The call signaling address of the node.
CNB031152759A 2003-01-30 2003-01-30 A routing method for IP telephone system Expired - Fee Related CN1295911C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031152759A CN1295911C (en) 2003-01-30 2003-01-30 A routing method for IP telephone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031152759A CN1295911C (en) 2003-01-30 2003-01-30 A routing method for IP telephone system

Publications (2)

Publication Number Publication Date
CN1522012A CN1522012A (en) 2004-08-18
CN1295911C true CN1295911C (en) 2007-01-17

Family

ID=34284212

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031152759A Expired - Fee Related CN1295911C (en) 2003-01-30 2003-01-30 A routing method for IP telephone system

Country Status (1)

Country Link
CN (1) CN1295911C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8254541B2 (en) * 2006-12-29 2012-08-28 Alcatel Lucent Validating caller ID information to protect against caller ID spoofing
CN105812102B (en) * 2014-12-31 2019-10-25 北京大唐高鸿数据网络技术有限公司 Call authority management method of distributed VoIP network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999014931A2 (en) * 1997-09-16 1999-03-25 Transnexus, Llc Internet telephony call routing engine
US6198738B1 (en) * 1997-04-16 2001-03-06 Lucent Technologies Inc. Communications between the public switched telephone network and packetized data networks
WO2001039444A1 (en) * 1999-11-08 2001-05-31 Mci Worldcom, Inc. Method and system for dynamic gateway selection in an ip telephony network
CN1354593A (en) * 2000-11-20 2002-06-19 华为技术有限公司 IP telephone system and its communication method
CN1384641A (en) * 2001-05-08 2002-12-11 深圳市中兴通讯股份有限公司上海第二研究所 Speech business method based on Internet
CN1391396A (en) * 2001-06-07 2003-01-15 华为技术有限公司 Routing method for implementing intelligent IP telephone service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6198738B1 (en) * 1997-04-16 2001-03-06 Lucent Technologies Inc. Communications between the public switched telephone network and packetized data networks
WO1999014931A2 (en) * 1997-09-16 1999-03-25 Transnexus, Llc Internet telephony call routing engine
WO2001039444A1 (en) * 1999-11-08 2001-05-31 Mci Worldcom, Inc. Method and system for dynamic gateway selection in an ip telephony network
CN1354593A (en) * 2000-11-20 2002-06-19 华为技术有限公司 IP telephone system and its communication method
CN1384641A (en) * 2001-05-08 2002-12-11 深圳市中兴通讯股份有限公司上海第二研究所 Speech business method based on Internet
CN1391396A (en) * 2001-06-07 2003-01-15 华为技术有限公司 Routing method for implementing intelligent IP telephone service

Also Published As

Publication number Publication date
CN1522012A (en) 2004-08-18

Similar Documents

Publication Publication Date Title
US6636594B1 (en) Dial plan mapper
US8315251B2 (en) Multi-mode endpoint in a communication network system and methods thereof
JP3940122B2 (en) Method for forming usable features for alternate connections of primary connections
US6434528B1 (en) Computer network telephony
CN100346624C (en) Route-selecting service method in network agreement voice bussiness system
CN1376349A (en) Method of and system for extending Internet telephony over virtual provate network direct access lines
US7248682B1 (en) Dial plan mapper
CN101069411A (en) Emergency call completion for VOIP based on location of call originator
CN1836433A (en) Call re-direction method for an sip telephone number of an sip client in a combined wired and packet switched network
CN1360788A (en) Cooperation between VOIP and IP nodes and signaling points using SS7 signaling
CN1165136C (en) Method and device for providing station group service in network telephone switching system
CN1523868B (en) Network phone system and method having dynamic gain control function
CN1412982A (en) Calling processing message converter for network telephone switching system and its method
US6553116B1 (en) System and method for early detection of area code changes
CN1375159A (en) System and apparatus for telecommunication
US7408922B2 (en) Communication between switched-circuit communication network and VoIP network domains
CN1295911C (en) A routing method for IP telephone system
US6958980B2 (en) Establishing call sessions between terminals through plural switch systems
CN1516416A (en) Method and system for call processing and link testing in VoIP gateway
CN1949781A (en) System and method for establishing emergency communications in a telecommunication network
KR20060069298A (en) How to Provide Multiple Individual JOIP Call Sessions
US20090201920A1 (en) Enhancing voice QoS over unmanaged bandwidth limited packet network
CN1473424A (en) End-to-end voice over IP flows for telephone calls established over legacy switching systems
US7274687B2 (en) Signaling method and arrangement
JP2003143320A (en) Method for reaching incoming call to ip terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070117

Termination date: 20160130

EXPY Termination of patent right or utility model