CN1157924C - Routing selection method for IP telephone continued back-up - Google Patents
Routing selection method for IP telephone continued back-up Download PDFInfo
- Publication number
- CN1157924C CN1157924C CNB021169349A CN02116934A CN1157924C CN 1157924 C CN1157924 C CN 1157924C CN B021169349 A CNB021169349 A CN B021169349A CN 02116934 A CN02116934 A CN 02116934A CN 1157924 C CN1157924 C CN 1157924C
- Authority
- CN
- China
- Prior art keywords
- phone
- type
- configuration item
- telephone
- gatekeeper
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
所属领域Field
本发明涉及一种为IP电话接续备份的路径选择方法,确切地说,涉及一种使用静态IP路由作为动态IP路由的接续备份,以及将公共电话网作为IP电话的备份网络而使通话链路成功接续的路径选择方法。属于IP电话技术领域。The present invention relates to a kind of path selection method for IP phone connection backup, to be precise, relates to a kind of connection backup using static IP routing as dynamic IP routing, and using the public telephone network as the backup network of IP phone to make the call link Path selection method for successful continuation. It belongs to the technical field of IP telephony.
背景技术Background technique
随着IP电话的迅速发展,IP电话/传真技术已经成为Internet发展以来的一大热点。IP电话/传真技术以其带宽窄、成本低、功能齐全等优势,对现有的公共电话交换网造成了极大的冲击;同时,IP电话也存在着许多不足之处。例如,现有公共电话交换网(PSTN)为每次呼叫都提供64Kbps的固定信道,并且,在通话过程中始终占据此信道,因此传输的语音质量较好。但是,因特网是不保证带宽的,由于网络资源的紧张,有时会造成用户所需的通话链路无法建立、话音延时加大、话音数据丢失等现象;而且,传统的IP网络无法保证实时语音业务的质量,使IP电话的通话质量也无法与现有电话相比。这是因为因特网是不同网络和不同业务提供者的一个结合体,任何网络设备的故障和资源紧张都会使语音呼叫无法正常建立。目前,在用户拨出IP电话之后,只要网守(GK,Gatekeeper)服务器没有应答,或者IP网络发生故障,都无法建立呼叫接续。正是由于IP网络构成的不确定性,造成了IP电话的呼通率低,服务质量差等严重弊病,影响了IP电话的普及和推广使用。With the rapid development of IP telephony, IP telephony/fax technology has become a hot spot since the development of Internet. IP phone/fax technology has a great impact on the existing public switched telephone network because of its narrow bandwidth, low cost, and complete functions. At the same time, IP phone also has many shortcomings. For example, the existing public switched telephone network (PSTN) provides a fixed channel of 64Kbps for each call, and this channel is always occupied during the conversation, so the transmitted voice quality is better. However, the Internet does not guarantee bandwidth. Due to the shortage of network resources, sometimes the call link required by the user cannot be established, the voice delay is increased, and the voice data is lost; moreover, the traditional IP network cannot guarantee real-time voice. The quality of the business makes the call quality of the IP telephone unable to compare with the existing telephone. This is because the Internet is a combination of different networks and different service providers, any failure of network equipment and resource constraints will make voice calls unable to be established normally. At present, after the user dials out the IP call, as long as the gatekeeper (GK, Gatekeeper) server does not respond, or the IP network breaks down, the call connection cannot be established. It is precisely because of the uncertainty of the composition of the IP network that the serious disadvantages such as the low call rate and poor service quality of the IP phone have been caused, which have affected the popularization and promotion of the use of the IP phone.
发明内容Contents of the invention
本发明的目的是提供一种为IP电话接续备份的路径选择方法,该方法采用全新的选路策略,在网守(GK,Gatekeeper)服务器出现故障时,通过路由器中配置的静态IP路由作为从网守返回的动态IP路由的备份而与对方建立起呼叫链接;或者在主被叫路由器之间的IP网络出现故障,不能正常接续时,通过公共交换电话网PSTN与对方建立起呼叫链接。这样就保证在网络故障的情况下,充分利用传统电话和IP电话技术的各自优势,通过使用IP电话的静态路由作为其动态路由的接续备份,以及将公共电话交换网PSTN作为备份网络来有效提高IP电话的服务质量。The purpose of the present invention is to provide a kind of path selection method that connects backup for IP phone, this method adopts brand-new path selection strategy, when gatekeeper (GK, Gatekeeper) server breaks down, the static IP route that configures in the router is used as slave The backup of the dynamic IP route returned by the gatekeeper establishes a call link with the other party; or when the IP network between the calling and called routers fails and cannot be connected normally, a call link is established with the other party through the public switched telephone network PSTN. In this way, it is ensured that in the case of network failure, the respective advantages of traditional telephone and IP telephone technology are fully utilized, and the static routing of IP telephone is used as the connection backup of its dynamic routing, and the public switched telephone network PSTN is used as a backup network to effectively improve Quality of service for IP telephony.
本发明的目的是这样实现的:一种为IP电话接续备份的路径选择方法,其特征在于:The purpose of the present invention is achieved like this: a kind of path selection method for IP phone connection backup, is characterized in that:
(1)当IP电话在呼叫接续过程中无法建立呼叫链路时,判断网络的故障类型;(1) When the IP phone fails to establish a call link during the call connection process, determine the type of network failure;
(2)根据网络故障的不同情况,分别选用该IP电话号码的互联网电话VoIP(Voice Over IP)类型配置项的静态IP地址作为其注册、认证和状态RAS(Registration,Admission and Status)类型配置项的动态IP地址的接续备份,或者选用公共电话交换网PSTN作为其普通电话业务POTS(Plain Old TelephoneService)类型电话号码的备份网络,使通话链路接续成功。(2) According to different situations of network failures, select the static IP address of the VoIP (Voice Over IP) type configuration item of the IP phone number as its registration, authentication and status RAS (Registration, Admission and Status) type configuration item The connection backup of the dynamic IP address, or use the public switched telephone network PSTN as the backup network of its ordinary telephone service POTS (Plain Old Telephone Service) type telephone number, so that the call link can be successfully connected.
所述的发生在呼叫接续过程中的IP网络故障情况包括有:在语音路由器接收到主叫用户输入的IP电话呼叫后,查找到该被叫号码在注册、认证和状态RAS类型的配置项中,向网守GK发出请求,网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应。The IP network failure situation that occurs in the call connection process includes: After the voice router receives the IP phone call input by the calling user, it finds that the called number is in the configuration item of registration, authentication and status RAS type , Send a request to the gatekeeper GK, the gatekeeper GK fails, and does not respond to the request sent by the router to obtain a dynamic IP address.
所述的发生在呼叫接续过程中的IP网络故障情况包括有:在语音路由器接收到主叫用户输入的IP电话呼叫后,查找到该被叫号码在注册、认证和状态RAS类型的配置项中,向网守GK发出请求,网守GK应答,但根据网守GK返回的对端动态IP地址与对端网关仍然无法建立呼叫链路。The IP network failure situation that occurs in the call connection process includes: After the voice router receives the IP phone call input by the calling user, it finds that the called number is in the configuration item of registration, authentication and status RAS type , send a request to the gatekeeper GK, and the gatekeeper GK responds, but the call link still cannot be established with the opposite end gateway according to the opposite end dynamic IP address returned by the gate keeper GK.
所述的发生在呼叫接续过程中的IP网络故障情况包括有:当语音路由器使用注册、认证和状态RAS类型建立通话链路的操作没有成功而继续查找该被叫号码时,发现其在互联网电话VoIP类型的配置项中,但根据指定的静态IP地址与对端网关没有能够建立呼叫链路。The IP network failure situation that occurs in the call connection process includes: when the voice router uses the registration, authentication and status RAS type to establish a call link without success and continues to search for the called number, it is found that it is in the Internet phone In the configuration item of VoIP type, but the call link cannot be established with the peer gateway according to the specified static IP address.
所述的选用IP电话的静态IP地址作为其动态IP地址的备份是指:在语音路由器接收到主叫用户输入的IP电话呼叫后,在注册、认证和状态RAS类型的配置项中没有找到该号码时;或者在注册、认证和状态RAS类型的配置项中查找到该号码,并向网守GK发出请求,网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应时;或者网守GK应答,但根据网守GK返回的对端动态IP地址仍然无法与对端网关建立连接时;首先不释放本次IP电话呼叫,然后继续查找该被叫电话号码是否在属于互联网电话VoIP类型的配置项中,若在互联网电话VoIP类型的配置项中找到该被叫电话号码,则通过指定的静态IP地址与被叫建立呼叫链路而使本次通话接续成功的过程。The static IP address of described selection IP phone is used as the backup of its dynamic IP address and refers to: after voice router receives the IP phone call of calling user's input, does not find this IP phone in the configuration item of registration, authentication and status RAS type or find the number in the configuration items of the registration, authentication and status RAS type, and send a request to the gatekeeper GK, and the gatekeeper GK fails and does not respond to the request sent by the router to obtain a dynamic IP address; or When the gatekeeper GK answers, but the peer dynamic IP address returned by the gatekeeper GK still fails to establish a connection with the peer gateway; firstly, do not release the IP phone call, and then continue to check whether the called phone number belongs to the Internet phone VoIP In the configuration item of the VoIP type, if the called phone number is found in the configuration item of the VoIP type of Internet phone, the process of establishing a call link with the called party through the specified static IP address to make the call connection successful.
所述的选用公共电话交换网PSTN作为该IP电话的互联网电话POTS类型电话号码的备份网络是指:当语音路由器使用注册、认证和状态RAS类型和互联网电话VoIP类型建立通话链路的操作都没有成功时,首先不释放本次IP电话呼叫,然后继续查找该被叫电话号码是否在属于普通电话业务POTS类型的配置项中,若在普通电话业务POTS类型的配置项中找到该被叫电话号码,则通过公共电话交换网PSTN与被叫建立呼叫链路而使本次通话接续成功的过程。The described backup network of selecting the public switched telephone network PSTN as the Internet telephone POTS type telephone number of the IP telephone refers to: when the voice router uses the registration, authentication and state RAS type and the Internet telephone VoIP type to establish the operation of the call link, there is no When successful, firstly do not release the IP phone call, and then continue to check whether the called phone number is in the configuration item of the ordinary telephone service POTS type, if the called phone number is found in the configuration item of the ordinary phone service POTS type , the process of establishing a call link with the called party through the public switched telephone network PSTN to make the call connection successful.
该方法包括有下列具体步骤:The method includes the following specific steps:
(1)语音路由器接收到主叫用户输入的IP电话呼叫后,首先根据被叫号码查找其是否在注册、认证和状态RAS类型的配置项中;如果找到该被叫号码的注册、认证和状态RAS类型配置项,该路由器向网守GK发出请求,网守GK将与该被叫号码对应的对端网关的动态IP地址返回给路由器,该路由器根据该动态IP地址与对端网关建立连接,进行正常的语音处理流程;(1) After the voice router receives the IP phone call input by the calling user, it first checks whether it is in the configuration item of the registration, authentication and status RAS type according to the called number; if the registration, authentication and status of the called number are found RAS type configuration item, the router sends a request to the gatekeeper GK, and the gatekeeper GK returns the dynamic IP address of the peer gateway corresponding to the called number to the router, and the router establishes a connection with the peer gateway based on the dynamic IP address. Carry out normal speech processing flow;
(2)如果没有找到该被叫号码的注册、认证和状态RAS类型的配置项,或者网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应;或者网守GK应答,但根据网守GK返回的对端动态IP地址仍然无法与对端网关建立连接时,首先不释放本次IP电话呼叫,然后继续查找该被叫号码是否在相对应的互联网电话VoIP类型的配置项中;如果在互联网电话VoIP类型配置项中有该被叫号码,则根据指定的静态IP地址与对端网关建立连接,进行正常的语音处理流程;(2) If the registration, authentication and status RAS configuration items of the called number are not found, or the gatekeeper GK fails, it does not respond to the request for obtaining a dynamic IP address sent by the router; or the gatekeeper GK responds, but according to When the opposite end dynamic IP address returned by the gatekeeper GK still fails to establish a connection with the opposite end gateway, the IP telephone call is not released at first, and then continues to search whether the called number is in the configuration item of the corresponding Internet telephone VoIP type; If there is the called number in the Internet phone VoIP type configuration item, establish a connection with the peer gateway according to the specified static IP address, and perform normal voice processing;
(3)如果根据指定的静态IP地址与对端网关的连接失败,则该路由器首先不释放本次IP电话呼叫,然后继续查找该被叫号码是否在相对应的普通电话业务POTS类型的配置项中;如果该被叫号码有普通电话业务POTS类型的配置项,则直接通过本地交换机和公共电话交换网PSTN与对端接续,进行正常的语音处理流程;(3) If the connection with the peer gateway fails according to the specified static IP address, the router will not release the IP phone call at first, and then continue to check whether the called number is in the configuration item of the corresponding ordinary telephone service POTS type If the called number has configuration items of the POTS type for ordinary telephone services, it will directly connect to the opposite end through the local exchange and the public switched telephone network PSTN, and perform normal voice processing procedures;
(4)如果没有找到与被叫号码相对应的普通电话业务POTS类型配置项,本次呼叫失败。(4) If no common telephone service POTS type configuration item corresponding to the called number is found, the call fails.
本发明的特点是提供一种IP电话链路的路由选择方法,该方法是对IP电话链路的传统接续过程的重要改进。现有的IP电话接续过程中的查号顺序是:RAS→VoIP→POTS,即在没有找到RAS类型的配置项后,就去找VoIP类型的配置项,在VoIP类型的配置项也找不到后,就去找POTS类型的配置项。但是,在传统的接续过程中,一旦网络出现故障就会立即拆链,不会继续往下查找其后续的配置项。而IP电话通常是藉由各种各样的不同网络组成的因特网构成通话链路的,其网络出现故障的几率也相对较多。因此,人们普遍感觉到的IP电话的接通率低,即呼损率高也就很自然了。本发明的方法对IP电话链路的选择顺序并没有改变;其改进之处是:在IP网络出现故障而无法建立呼叫链路时,首先不释放本次IP电话呼叫,然后根据发生在呼叫接续过程中的该IP网络故障的不同情况,分别选用该IP电话号码的VoIP类型配置项的静态IP地址作为其RAS类型配置项的动态IP地址的接续备份,或者选用公共电话交换网PSTN作为其POTS类型电话号码的备份网络,使通话链路接续成功。这样就保证在IP网络故障的情况下,充分利用传统电话和IP电话技术的各自优势,通过使用IP电话的静态IP地址路由作为其动态IP地址路由的接续备份,以及将公共电话交换网PSTN作为其POTS类型电话号码的备份网络来有效解决IP电话接通率低的服务质量问题。而且,该方法是在语音路由器上利用语音路由器的硬件本身和操作系统的软件特性来实现该呼叫链路的选择备份功能,可以不增加任何硬件设施,保证提供基本的通话功能。此外,该方法在技术上实现手段比较简单、易行,无需增加新的命令,用户只要将需要备份的被叫电话号码加入不同类型(RAS类型、VoIP类型、POTS类型)的配置项中,就可在IP网络出现故障的时候通过上述两种备份方法与对端路由器建立呼叫链路,提高IP电话的接通率,这样无疑能够增加用户对IP电话的满意度。所以,本发明具有很好的应用前景。The feature of the present invention is to provide a routing selection method of IP telephone link, which is an important improvement to the traditional connection process of IP telephone link. The order of searching numbers in the existing IP phone connection process is: RAS→VoIP→POTS, that is, after the configuration item of the RAS type is not found, the configuration item of the VoIP type is searched, and the configuration item of the VoIP type cannot be found. After that, go to the configuration item of POTS type. However, in the traditional connection process, once the network fails, the link will be disconnected immediately, and the subsequent configuration items will not be searched. IP telephony usually uses the Internet composed of various networks to form a call link, and the probability of network failure is relatively high. Therefore, it is natural that people generally feel that the connection rate of IP phones is low, that is, the call loss rate is high. The method of the present invention does not change the selection order of the IP telephone link; its improvement is: when the IP network breaks down and the call link cannot be established, at first the IP telephone call is not released, and then the call is continued according to the occurrence of the call. In the different situations of the IP network failure in the process, the static IP address of the VoIP type configuration item of the IP phone number is selected as the continuous backup of the dynamic IP address of the RAS type configuration item, or the public switched telephone network PSTN is selected as its POTS The backup network of type phone numbers, so that the call link can be successfully connected. In this way, it is ensured that in the case of IP network failure, the respective advantages of traditional telephone and IP telephone technology are fully utilized, by using the static IP address routing of IP telephone as the connection backup of its dynamic IP address routing, and using the public switched telephone network PSTN as Its POTS-type telephone number backup network effectively solves the service quality problem of low IP telephone connection rate. Moreover, the method utilizes the hardware itself of the voice router and the software characteristics of the operating system to realize the selective backup function of the call link on the voice router, without adding any hardware facilities, and guarantees the provision of basic call functions. In addition, this method is relatively simple and easy to implement technically, and there is no need to add new commands. The user only needs to add the called phone number to be backed up into configuration items of different types (RAS type, VoIP type, POTS type), and the When the IP network fails, the above two backup methods can be used to establish a call link with the peer router to improve the connection rate of the IP phone, which will undoubtedly increase the user's satisfaction with the IP phone. Therefore, the present invention has good application prospects.
附图说明Description of drawings
图1是IP电话的基本网络系统结构示意图。FIG. 1 is a schematic diagram of a basic network system structure of an IP phone.
图2是本发明使用静态IP路由作为动态IP路由的接续备份,以及将公共电话网作为IP电话的备份网络而使通话链路接续成功的路径选择方法的流程示意图。Fig. 2 is a flow diagram of the present invention using the static IP routing as the connection backup of the dynamic IP routing, and using the public telephone network as the backup network of the IP phone to make the call link connection succeed.
具体实施方式Detailed ways
参见图1所示的IP电话的基本网络系统结构示意,这是一个集中式的IP电话网的系统构成,包括有:一个进行统一管理的网守服务器(GK Sever)、多个与IP网连接的路由器(Router,图示为两个)以及与各个路由器相连接的多个交换机(图示为两个)和公共交换电话网PSTN。Referring to the schematic diagram of the basic network system structure of IP telephone shown in Figure 1, this is a centralized IP telephone network system composition, including: a gatekeeper server (GK Sever) for unified management, multiple IP network connection The routers (Routers, shown as two in the figure) and multiple switches (shown as two in the figure) connected to each router and the public switched telephone network PSTN.
通常,语音路由器上配置的电话号码一般有三种类型:1、POTS类型,即本地号码;2、VoIP类型,通过指定被叫号码的静态IP地址来选择路由;3、RAS类型,通过与网守GK交互以确定对端网关的动态IP地址来选择路由。这里所述的动态地址是指:当网守GK接收到主叫网关发送的呼叫请求,根据该请求中的被叫电话号码,返回传送给主叫网关的被叫网关的IP地址。而静态地址是指:主叫网关通过查找其设置的VoIP配置项所获取的对端被叫网关的IP地址。因为该IP地址是配置在主叫网关的VoIP配置项中,不是从网守GK获取的,因此被称为静态地址。Generally, there are three types of phone numbers configured on voice routers: 1. POTS type, that is, a local number; 2. VoIP type, which selects a route by specifying the static IP address of the called number; 3. RAS type, which communicates with the gatekeeper The GK interacts to determine the dynamic IP address of the peer gateway to select a route. The dynamic address mentioned here means: when the gatekeeper GK receives the call request sent by the calling gateway, it returns the IP address of the called gateway sent to the calling gateway according to the called phone number in the request. The static address refers to: the IP address of the called gateway at the opposite end obtained by the calling gateway by searching the VoIP configuration items set by it. Because this IP address is configured in the VoIP configuration item of the calling gateway and is not obtained from the gatekeeper GK, it is called a static address.
本发明所要解决的问题是:在主叫用户A向被叫用户B拨打IP电话而由路由器查找RAS类型的被叫号码时,如果因为网守GK或网络出现故障等原因,对路由器发起的接续请求没有回应,此时路由器首先不释放本次呼叫,然后通过新的选路策略,即将路由器中配置的VoIP类型静态IP地址作为从网守GK返回的动态IP地址的备份而与对方建立起呼叫链接;或者在主被叫网关之间的IP网络发生故障,采用动静态IP地址都仍然无法建立呼叫链路时,将公共交换电话网PSTN作为备份网络而与被叫用户B建立连接,就可保证本次通话的成功接续。The problem to be solved by the present invention is: when the calling user A dials an IP phone to the called user B and the router searches for the called number of the RAS type, if the gatekeeper GK or the network fails, etc., the connection initiated by the router If there is no response to the request, the router will not release the call at first, and then establish a call with the other party through the new routing strategy, that is, the static IP address of VoIP type configured in the router will be used as the backup of the dynamic IP address returned from the gatekeeper GK or when the IP network between the calling and called gateways breaks down, and the call link cannot be established by adopting dynamic and static IP addresses, the public switched telephone network PSTN is used as a backup network to establish a connection with the called user B, and then you can Ensure the successful connection of this call.
本发明是一种为IP电话接续备份的路径选择方法,该方法是在IP网络出现故障而无法建立呼叫链路时,首先不释放本次呼叫,然后根据发生在呼叫接续过程中的该IP网络故障的不同情况,分别选用该IP电话号码的VoIP类型配置项的静态IP地址作为其RAS类型配置项的动态IP地址的接续备份,或者选用公共电话交换网PSTN作为其POTS类型电话号码的备份网络,使通话链路接续成功。The present invention is a backup path selection method for IP telephone connection. When the IP network breaks down and the call link cannot be established, the call is not released at first, and then according to the IP network in the call connection process, In different cases of failure, choose the static IP address of the VoIP type configuration item of the IP phone number as the connection backup of the dynamic IP address of the RAS type configuration item, or use the public switched telephone network PSTN as the backup network of the POTS type phone number , so that the call link is successfully connected.
所述的IP网络出现故障而无法建立呼叫的情况包括有多种:在语音路由器接收到主叫用户输入的IP电话呼叫后,查找到该被叫号码在RAS类型的配置项中,向网守GK发出请求时,网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应;或者网守GK应答,但根据网守GK返回的对端IP地址与对端网关仍然无法建立连接。以及在语音路由器继续查找到该被叫号码在相对应的VoIP类型的配置项中,并根据指定的静态IP地址与对端网关没有能够建立连接。The situation that the described IP network breaks down and the call cannot be established includes multiple types: after the voice router receives the IP phone call input by the calling user, it finds that the called number is in the configuration item of the RAS type, and reports to the gatekeeper When the GK sends out the request, the gatekeeper GK fails and does not respond to the request sent by the router to obtain a dynamic IP address; or the gatekeeper GK responds, but still cannot establish a connection with the peer gateway according to the peer IP address returned by the gatekeeper GK. And the voice router continues to find that the called number is in the configuration item of the corresponding VoIP type, and the connection with the peer gateway cannot be established according to the specified static IP address.
本发明对现有技术进行改进的路径选择方法是:在语音路由器接收到主叫用户输入的IP电话呼叫后,在RAS类型的配置项中没有找到该号码时;或者在RAS类型的配置项中查找到该号码,向网守GK发出请求,网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应时;或者网守GK应答,但根据网守GK返回的对端动态IP地址仍然无法与对端网关建立连接时;首先不释放本次IP电话呼叫,然后继续查找该被叫电话号码是否在属于VoIP类型的配置项中,若能够找到,则通过指定的静态IP地址与被叫建立连接而使本次通话接续成功。此外,当语音路由器使用RAS类型或VoIP类型建立通话链路的操作都没有成功时,也是先不释放本次IP电话呼叫,然后继续查找该被叫电话号码是否在属于POTS类型的配置项中,若有,则通过公共电话交换网PSTN与被叫建立连接而使本次通话接续成功。The present invention improves the path selection method of the prior art: after the voice router receives the IP phone call input by the calling user, when the number is not found in the configuration item of the RAS type; or in the configuration item of the RAS type Find the number and send a request to the gatekeeper GK, and the gatekeeper GK fails and does not respond to the request sent by the router to obtain a dynamic IP address; or the gatekeeper GK responds, but the peer dynamic IP address returned by the gatekeeper GK When still unable to establish a connection with the peer gateway; firstly do not release the IP phone call, and then continue to check whether the called phone number is in the configuration item of the VoIP type. If it can be found, use the specified static IP address to contact the called call to establish a connection so that the call is successfully connected. In addition, when the voice router fails to establish a call link using the RAS type or the VoIP type, it will not release the IP phone call first, and then continue to check whether the called phone number is in the configuration item belonging to the POTS type. If there is, then establish a connection with the called party through the public switched telephone network PSTN to make this conversation succeed.
参见图2,本发明的路径选择方法包括有下列具体步骤:Referring to Fig. 2, the path selection method of the present invention includes the following specific steps:
(1)语音路由器接收到主叫用户输入的IP电话呼叫后,首先根据被叫号码查找其是否在RAS类型的配置项中;如果找到该被叫号码的RAS类型配置项,该路由器向网守GK发出请求,网守GK将与该被叫号码对应的对端网关的动态IP地址返回给路由器,该路由器根据该动态IP地址与对端网关建立连接,进行正常的语音处理流程;(1) After the voice router receives the IP phone call input by the calling user, it first checks whether it is in the configuration item of RAS type according to the called number; if the RAS type configuration item of the called number is found, the router sends GK sends a request, and the gatekeeper GK returns the dynamic IP address of the peer gateway corresponding to the called number to the router, and the router establishes a connection with the peer gateway according to the dynamic IP address, and performs normal voice processing;
(2)如果没有找到该被叫号码的RAS类型的配置项,或者网守GK发生故障,对路由器发送的获取动态IP地址的请求没有回应;或者网守GK应答,但根据网守GK返回的对端动态IP地址仍然无法与对端网关建立连接时,首先不释放本次IP电话呼叫,然后继续查找该被叫号码是否在相对应的VoIP类型的配置项中;如果有,则根据指定的静态IP地址与对端网关建立连接,进行正常的语音处理流程;(2) If the RAS configuration item of the called number is not found, or the gatekeeper GK fails, it does not respond to the request sent by the router to obtain a dynamic IP address; or the gatekeeper GK responds, but according to the When the dynamic IP address of the opposite end still cannot establish a connection with the opposite end gateway, first do not release the IP phone call, and then continue to check whether the called number is in the corresponding VoIP type configuration item; if so, according to the specified The static IP address establishes a connection with the peer gateway for normal voice processing;
(3)如果根据指定的静态IP地址与对端网关的连接失败,则该路由器首先不释放本次IP电话呼叫,然后继续查找该被叫号码是否在相对应的POTS类型的配置项中;如果该被叫号码有POTS类型的配置项,则直接通过本地交换机和公共电话交换网PSTN与对端接续,进行正常的语音处理流程;(3) If the connection with the peer gateway fails according to the specified static IP address, the router will not release the IP phone call at first, and then continue to search whether the called number is in the corresponding POTS type configuration item; if If the called number has configuration items of POTS type, it will be directly connected to the opposite end through the local exchange and the public switched telephone network PSTN, and the normal voice processing process will be carried out;
(4)如果没有找到与被叫号码相对应的POTS类型配置项,本次呼叫失败。(4) If no POTS type configuration item corresponding to the called number is found, the call fails.
本发明的路由选择方法已经在申请人研制的安装有语音单板的路由器上试验实施,该路由选择方法的程序软件设置在语音路由器的主板侧。试验的结果是成功的,实现了发明目的。The routing selection method of the present invention has been tested and implemented on a router equipped with a voice single board developed by the applicant, and the program software of the routing selection method is set on the main board side of the voice router. The result of the test is successful, and the purpose of the invention has been realized.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021169349A CN1157924C (en) | 2002-04-26 | 2002-04-26 | Routing selection method for IP telephone continued back-up |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021169349A CN1157924C (en) | 2002-04-26 | 2002-04-26 | Routing selection method for IP telephone continued back-up |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1414775A CN1414775A (en) | 2003-04-30 |
| CN1157924C true CN1157924C (en) | 2004-07-14 |
Family
ID=4744292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021169349A Expired - Fee Related CN1157924C (en) | 2002-04-26 | 2002-04-26 | Routing selection method for IP telephone continued back-up |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1157924C (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4411222B2 (en) * | 2005-02-02 | 2010-02-10 | Necインフロンティア株式会社 | Network, network terminal device, IP address management method used therefor, and program thereof |
| CN100466811C (en) * | 2005-08-31 | 2009-03-04 | 华为技术有限公司 | A method of calling user terminal of IP multimedia subsystem |
| CN1881975B (en) * | 2005-09-05 | 2010-10-13 | 华为技术有限公司 | A method of calling user terminal of IP multimedia subsystem |
| CN100452738C (en) * | 2005-12-14 | 2009-01-14 | 华为技术有限公司 | Session Handling Method in IMS |
| DE602006011182D1 (en) | 2005-08-31 | 2010-01-28 | Huawei Tech Co Ltd | METHOD FOR SESSION PROCESSING IN AN IMS AND A CALL STATE INSPECTION CONTROL FUNCTION |
| CN1870690B (en) * | 2005-11-15 | 2010-05-05 | 华为技术有限公司 | Calculation Method of Connecting Rate of IP Multimedia Subsystem |
| CN100459805C (en) * | 2006-01-10 | 2009-02-04 | 华为技术有限公司 | A method and network system for connecting called users |
| CN100474854C (en) | 2006-01-10 | 2009-04-01 | 华为技术有限公司 | Method and network system for selecting called continued network |
| CN100403737C (en) * | 2006-05-16 | 2008-07-16 | 杭州华三通信技术有限公司 | Selecting Voice Routing Methods and Voice Gateways |
| CN101163176B (en) * | 2006-10-13 | 2010-09-29 | 中兴通讯股份有限公司 | A method for realizing backup of outbound VOIP service |
| CN101056283B (en) * | 2007-06-07 | 2011-08-17 | 杭州华三通信技术有限公司 | Voice gateway and method for providing VoIP service |
| CN103269316B (en) * | 2013-05-28 | 2016-06-29 | 北京星网锐捷网络技术有限公司 | The processing method of routing and device and the network equipment |
| GB201616310D0 (en) * | 2016-09-26 | 2016-11-09 | Microsoft Technology Licensing Llc | Communication System |
| CN112565013B (en) * | 2020-12-04 | 2022-09-23 | 迪爱斯信息技术股份有限公司 | Voice communication method, switch, IP terminal and system using IP network |
-
2002
- 2002-04-26 CN CNB021169349A patent/CN1157924C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1414775A (en) | 2003-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1616420B1 (en) | Method for verification of communication path in ip telephony ping | |
| CN1126335C (en) | Establishing a voice call from a client computer via a bridgeport | |
| CA2341163C (en) | Method and apparatus for facilitating tiered collaboration | |
| US7388946B1 (en) | System and method for evaluating the quality of service in an IP telephony network using call forwarding | |
| CN1157924C (en) | Routing selection method for IP telephone continued back-up | |
| CN1317854C (en) | Method for detecting medium gateway controller and medium between-gateways link state | |
| US8254540B2 (en) | Method and apparatus for providing end-to-end call completion status | |
| US9054887B2 (en) | Method and apparatus for enabling communications assistance for law enforcement act services | |
| US20100296408A1 (en) | System and method for monitoring communications in a network | |
| US8582590B2 (en) | Method and apparatus for providing disaster recovery using network peering arrangements | |
| JP3754619B2 (en) | Method and apparatus for overload control in multi-branch packet network | |
| US8675638B2 (en) | Method and apparatus for enabling dual tone multi-frequency signal processing in the core voice over internet protocol network | |
| EP1715651A2 (en) | Method and apparatus for enabling local survivability during network disruptions | |
| CA2544159A1 (en) | Method and apparatus for maintaining active calls during failover of network elements | |
| CA2544117A1 (en) | Method and apparatus for routing calls to an alternative endpoint during network disruptions | |
| EP1163769A1 (en) | Method and apparatus for creating and distributing cost telephony-switching functionality within an ip network | |
| US7746771B1 (en) | Method and apparatus for controlling logging in a communication network | |
| CN102932568B (en) | Embedded VoIP telephone system and method for realizing voice quality management of VoIP telephone | |
| CN1859517B (en) | Click-to-call system and control method for Internet phone | |
| EP1768344A1 (en) | Method and apparatus for dynamically establishing links between IP private branch exchanges | |
| KR101263018B1 (en) | Interface Apparatus, Method and Telecommunications Network for Processing Multiple TCAP Component Messages | |
| Martović et al. | Performance of VoIP Services with Integrated Analog Peripherals | |
| Kryvinska-Natalia | Heterogeneous Networks and Services Convergence-Main Aspects |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040714 Termination date: 20110426 |