CN100444583C - Method for selecting voice route and voice gateway - Google Patents

Method for selecting voice route and voice gateway Download PDF

Info

Publication number
CN100444583C
CN100444583C CNB2006100783666A CN200610078366A CN100444583C CN 100444583 C CN100444583 C CN 100444583C CN B2006100783666 A CNB2006100783666 A CN B2006100783666A CN 200610078366 A CN200610078366 A CN 200610078366A CN 100444583 C CN100444583 C CN 100444583C
Authority
CN
China
Prior art keywords
voice
priority
route
actual
routing
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
CNB2006100783666A
Other languages
Chinese (zh)
Other versions
CN1845532A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006100783666A priority Critical patent/CN100444583C/en
Publication of CN1845532A publication Critical patent/CN1845532A/en
Application granted granted Critical
Publication of CN100444583C publication Critical patent/CN100444583C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The present invention discloses a method for selecting voice routes, which comprises the following steps: a priority is set for each voice route; the initial value of the actual priority of each voice route is equal to the value of a configuration priority; a voice gateway receives calling and then selects the current voice route with the highest actual priority to call continuously; if continuous calling is unsuccessful, the actual priority of the voice route having the continuous calling failed is reduced. The present invention simultaneously discloses a voice gateway, which comprises a voice route priority saving and setting module and a voice route selection module. After the voice route with the high priority is interrupted, the present invention receiving successive calling does not select the voice route preferably; thus, the present invention enhances the successful speed of the continuous calling, and shortens the time of calling establishment; further, the actual priority of the voice route of which the actual priority is lower than the configuration priority is reset the configuration priority after the preset time so that the present invention can use the interrupted voice route restored in time.

Description

Method for selecting voice route and voice gateway
Technical Field
The invention relates to the technical field of voice calling, in particular to a method for selecting voice routing and a voice gateway.
Background
With the wide application of voice over ip (voip) technology, dialing schemes are more and more abundant, and the requirements for rationality and operability of number management are increasingly obvious while service flexibility is improved and the requirements of multiple users are met. For the same call, when there are multiple voice routes to reach the called party, the voice gateway needs to decide the sequence of selecting the multiple voice routes.
In practical networking there are usually two routes for a call to reach the called party, one through the IP network and the other through the Public Switched Telephone Network (PSTN), and the IP network route is usually selected first. When the voice gateway receives the call, the IP network route is preferentially selected to realize long-distance bypass, if the IP network can not continue the call, the call is not released, and then the PSTN route is selected to continue the call. The purpose of improving the call completing rate can be achieved through the voice route backup.
When there are a plurality of voice routes at the same time that can match the same call number, the voice route to be used should be selected according to a predetermined rule. The common rule is priority, that is, the priority of each voice route is configured on the voice gateway, the voice route is selected for the call according to the priority of the voice route, and when the call of the voice route with high priority fails, the voice route with the next priority is selected for the call. The disadvantages of this method are: when the voice route with high priority is interrupted due to network fault and other reasons, the voice gateway still selects the voice route with high priority every time the voice gateway receives a call, and when the call fails, the voice route with low priority is selected for calling, which obviously increases the call setup time greatly.
Disclosure of Invention
In view of the above, the present invention provides a method for selecting a voice route and a voice gateway, so as to reduce the call setup time.
The technical scheme of the invention is realized as follows:
a method of selecting voice routes, each voice route being provided with an actual priority, and the initial value of the actual priority of each voice route being equal to the configured priority, the method comprising:
A. the voice gateway receives a call;
B. the voice gateway selects the current voice route with the highest actual priority to continue the call, judges whether the call is continued successfully or not, and if yes, the process is ended; otherwise, executing step C;
C. the voice gateway reduces the actual priority of the voice route which causes the call connection failure, and then the step B is carried out.
The step A further comprises the following steps: presetting the number of stages for reducing the actual priority of all voice routes each time;
step C, the voice gateway reduces the actual priority of the voice route which causes the call connection failure to be as follows: and according to the preset reduction grade, reducing the actual priority of the voice route with the call connection failure.
The preset number of stages for reducing the actual priority of all voice routes each time is as follows: the number of steps of lowering the actual priority of all voice routes each time is set to be the same.
The preset number of stages for reducing the actual priority of all voice routes each time is as follows: and setting the number of stages of each voice route, in which the actual priority of each voice route is reduced, to be different according to different configuration priorities of the voice routes.
Step C, the voice gateway will reduce the actual priority of the voice route with the call connection failure, and at the same time, further includes: and starting a timer, and resetting the actual priority of the voice route to be the same as the configured priority when the time length of the timer is longer than the preset time length.
The method further comprises the following steps: and the voice gateway resets the actual priorities of all the current voice gateways with the actual priorities lower than the configuration priority to be the same as the configuration priority every preset time.
A voice gateway, the voice gateway comprising:
the voice routing priority storage setting module is used for storing the configuration priority and the actual priority of the voice routing and initializing the actual priority of the voice routing to be the same as the configuration priority; after receiving a routing request, sending out the voice routing information with the highest current actual priority, and after receiving a call connection failure indication, reducing the actual priority of the voice routing with the call connection failure;
the voice route selection module receives the call, sends a route selection request to the voice route priority storage setting module, and selects a corresponding voice route to continue the call according to the voice route information sent by the voice route priority storage setting module; after detecting the call connection failure, sending a call connection failure indication to a voice route priority storage setting module.
The voice gateway further comprises: the timer module sends a timing duration arrival indication to the voice routing priority storage setting module every predetermined duration;
and after receiving the timing duration arrival indication, the voice route priority saving setting module resets the actual priorities of all the current voice routes with the actual priorities lower than the configured priorities to be the same as the configured priorities.
The voice gateway further comprises: timer modules 1 to n, corresponding to the n voice routes respectively,
the timer modules 1-n start timing after receiving a starting instruction sent by the voice route priority storage setting module, and send a timing duration arrival instruction to the voice route priority storage setting module after the timing duration arrives;
and after receiving the call connection failure indication, the voice route priority storage setting module sends a starting instruction to the timer module corresponding to the voice route which makes the call connection failure, and after receiving the timing duration reaching indication sent by the timer module, resets the actual priority of the corresponding voice route to be the same as the configuration priority.
Compared with the prior art, the method and the voice gateway provided by the invention have the advantages that the actual priority is set for each voice route, the initial value of the actual priority of each voice route is equal to the configured priority, the voice route with the highest actual priority is selected to continue the call after the voice gateway receives the call, if the call is not continued successfully, the actual priority of the voice route which fails to continue the call is reduced, and the voice route with the high priority is interrupted and then the call is continued without preferentially selecting the voice route, so that the speed of success of the voice route connection is improved, and the call setup time is shortened; furthermore, the invention resets the actual priority of the voice route with the actual priority lower than the configured priority to be the same as the configured priority after the preset time length, so that the interrupted voice route can be used in time after being recovered.
Drawings
FIG. 1 is a flow chart of selecting voice routing provided by the present invention;
fig. 2 is a first block diagram of a voice gateway according to an embodiment of the present invention;
fig. 3 is a block diagram of a voice gateway according to an embodiment of the present invention;
fig. 4 is a block diagram of a third component of the voice gateway according to the embodiment of the present invention.
Detailed Description
The core idea of the invention is as follows: the priority of each voice route configured on the voice gateway is called as a configuration priority, an actual priority is set for each voice route, and the initial value of the actual priority of each voice route is equal to the configuration priority; when a voice route is detected to be interrupted, the actual priority of the voice route is reduced, and the voice route with the highest actual priority is selected again to continue the current call.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of selecting a voice route according to the present invention, as shown in fig. 1, the specific steps are as follows:
step 101: the voice gateway sets an actual priority for each voice route, and the initial value of the actual priority of each voice route is equal to the configuration priority.
Step 102: the voice gateway receives the call.
Step 103: the voice gateway selects the voice route with the highest actual priority to continue the call.
Step 104: the voice gateway judges whether the call is successfully connected, if so, the process is ended; otherwise, step 105 is performed.
Step 105: the voice gateway lowers the actual priority of the voice route that fails to make the call connection, and then goes to step 103.
The voice gateway presets the number of stages of voice route which can be reduced each time, and the number of stages of voice route which can be reduced each time can be set to be the same; the number of stages in which the actual priority of each voice route can be reduced at a time may be set to be different according to the configured priority of the voice route.
Further, the voice gateway, while lowering the actual priority of the voice route that fails to make the call connection, further includes: and starting a timer, and resetting the actual priority of the voice route to be the same as the configured priority when the time length of the timer is longer than the preset time length.
Or, further, the voice gateway resets the actual priorities of all the voice gateways with the actual priorities lower than the configuration priority to be the same as the configuration priority every preset time.
Fig. 2 is a block diagram of a first component of a voice gateway applying the voice routing method provided by the present invention, as shown in fig. 2, the voice gateway includes: voice routing priority saving setting module 21 and voice routing selection module 22, wherein:
voice routing priority saving setting module 21: the voice routing configuration method comprises the steps of storing configuration priority and actual priority of each voice route, and initializing the actual priority of each voice route to be the same as the configuration priority; after receiving the routing request from the voice routing module 22, the voice routing information with the highest current actual priority is sent to the voice routing module 22, and after receiving the call connection failure indication from the voice routing module 22, the actual priority of the voice routing with the call connection failure is reduced.
Voice routing module 22: the voice routing priority storage and setting module 21 is configured to send a routing request to the voice routing priority storage and setting module 21 after receiving a call, select a corresponding voice routing to continue the call according to the voice routing information after receiving the voice routing information sent by the voice routing priority storage and setting module 21, and send a call connection failure indication to the voice routing priority storage and setting module 21 after detecting a call connection failure.
Further, as shown in fig. 3, the voice gateway provided in the embodiment of the present invention includes: the timer module 23: the voice routing priority storage setting module 21 is used for sending a timing duration arrival indication to the voice routing priority storage setting module 21 every predetermined duration;
and, the voice route priority saving setting module 21 is further configured to, after receiving the indication of the arrival of the timing duration sent by the timer module 23, reset the actual priority of the voice route with the current actual priority lower than the configuration priority to be the same as the configuration priority.
Or, further, as shown in fig. 4, the voice gateway provided in the embodiment of the present invention includes: timer modules 1-n, wherein n is a natural number and is equal to the total number of voice routes, and the timer modules 1-n correspond to the voice routes 1-n respectively,
timer modules 1 to n: the voice routing priority saving setting module 21 is used for starting timing after receiving a starting instruction sent by the voice routing priority saving setting module 21, and sending a timing duration arrival instruction to the voice routing priority saving setting module 21 after the timing duration arrives;
the voice routing priority saving setting module 21 is further configured to, after receiving a call connection failure indication sent by the voice routing module 22, send a start instruction to a timer module m (m is greater than or equal to 1 and less than or equal to n) corresponding to the voice routing that makes the call connection failure; and after receiving the indication of the arrival of the timing duration sent by the timer module m, resetting the actual priority of the corresponding voice route m to be the same as the configuration priority.
Here, the voice route priority saving setting module 21 saves the correspondence relationship of the timer module identification and the voice route identification.
The above-described embodiments of the process and method are merely exemplary and not intended to limit the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (6)

1. A method of selecting a voice route, wherein an actual priority is set for each voice route, and an initial value of the actual priority of each voice route is equal to a configured priority, the method comprising:
A. the voice gateway receives a call;
B. the voice gateway selects the current voice route with the highest actual priority to continue the call, judges whether the call is continued successfully or not, and if yes, the process is ended; otherwise, executing step C;
C. the voice gateway reduces the actual priority of the voice route which makes the call connection fail, and then the step B is carried out;
the voice gateway starts a timer when reducing the actual priority of the voice route, and resets the actual priority of the voice route to be the same as the configuration priority when the time length of the timer is longer than the preset time length; or,
and the voice gateway resets the actual priorities of all the current voice gateways with the actual priorities lower than the configuration priority to be the same as the configuration priority every preset time.
2. The method of claim 1, wherein step a is preceded by the further step of: presetting the number of stages for reducing the actual priority of all voice routes each time;
step C, the voice gateway reduces the actual priority of the voice route which causes the call connection failure to be as follows: and according to the preset reduction grade, reducing the actual priority of the voice route with the call connection failure.
3. The method of claim 2, wherein the predetermined number of steps for each reduction of the actual priority of all voice routes is: the number of steps of lowering the actual priority of all voice routes each time is set to be the same.
4. The method of claim 2, wherein the predetermined number of steps for each reduction of the actual priority of all voice routes is: and setting the number of stages of each voice route, in which the actual priority of each voice route is reduced, to be different according to different configuration priorities of the voice routes.
5. A voice gateway, comprising:
the voice routing priority storage setting module is used for storing the configuration priority and the actual priority of the voice routing and initializing the actual priority of the voice routing to be the same as the configuration priority; after receiving a routing request, sending out the voice routing information with the highest current actual priority, and after receiving a call connection failure indication, reducing the actual priority of the voice routing with the call connection failure; after receiving the timing duration arrival indication, resetting the actual priority of all the voice routes with the actual priority lower than the configuration priority to be the same as the configuration priority;
the voice route selection module receives the call, sends a route selection request to the voice route priority storage setting module, and selects a corresponding voice route to continue the call according to the voice route information sent by the voice route priority storage setting module; after detecting that the call connection fails, sending a call connection failure indication to a voice route priority storage setting module;
and the timer module sends a timing length arrival indication to the voice routing priority storage setting module every predetermined time length.
6. A voice gateway, comprising:
the voice routing priority storage setting module is used for storing the configuration priority and the actual priority of the voice routing and initializing the actual priority of the voice routing to be the same as the configuration priority; after receiving a routing request, sending out the voice routing information with the highest current actual priority, and after receiving a call connection failure indication, reducing the actual priority of the voice routing with the call connection failure; after receiving a call connection failure indication, sending a starting instruction to a timer module corresponding to a voice route which causes the call connection failure, and after receiving a timing duration reaching indication sent by the timer module, resetting the actual priority of the corresponding voice route to be the same as the configured priority;
the voice route selection module receives the call, sends a route selection request to the voice route priority storage setting module, and selects a corresponding voice route to continue the call according to the voice route information sent by the voice route priority storage setting module; after detecting that the call connection fails, sending a call connection failure indication to a voice route priority storage setting module;
the timer modules 1-n correspond to the n voice routes respectively, start timing after receiving a starting instruction sent by the voice route priority storage setting module, and send a timing duration arrival instruction to the voice route priority storage setting module after the timing duration arrives.
CNB2006100783666A 2006-05-15 2006-05-15 Method for selecting voice route and voice gateway Expired - Fee Related CN100444583C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100783666A CN100444583C (en) 2006-05-15 2006-05-15 Method for selecting voice route and voice gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100783666A CN100444583C (en) 2006-05-15 2006-05-15 Method for selecting voice route and voice gateway

Publications (2)

Publication Number Publication Date
CN1845532A CN1845532A (en) 2006-10-11
CN100444583C true CN100444583C (en) 2008-12-17

Family

ID=37064447

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100783666A Expired - Fee Related CN100444583C (en) 2006-05-15 2006-05-15 Method for selecting voice route and voice gateway

Country Status (1)

Country Link
CN (1) CN100444583C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008064599A1 (en) * 2006-12-01 2008-06-05 Huawei Technologies Co., Ltd. Resuming method when called in msc pool, system and equipment thereof
CN104618617B (en) * 2015-01-30 2017-06-13 深圳市云之讯网络技术有限公司 The polling dispatching method and device of gateway priority are landed based on VOIP

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000056023A1 (en) * 1999-03-12 2000-09-21 Telefonaktiebolaget Lm Ericsson (Publ) Methods and arrangements for policing and forwarding data in a data communications system
JP2000324154A (en) * 1999-05-14 2000-11-24 Pfu Ltd Path multiplexing system and method, and computer- readable recording medium recorded with program for executing the method
CN1426198A (en) * 2001-12-12 2003-06-25 富士通株式会社 Jam control system of voice network through internet protocol
CN1501651A (en) * 2002-11-14 2004-06-02 华为技术有限公司 Call routing method in frame relay voice network
CN1518325A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Route priority dynamic regulation method for IP telephone system
US6798750B1 (en) * 1999-06-30 2004-09-28 Siemens Aktiengesellschaft Priority administration method
US20050001744A1 (en) * 2002-11-29 2005-01-06 Alan Roth Block programmable priority encoder in a CAM

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000056023A1 (en) * 1999-03-12 2000-09-21 Telefonaktiebolaget Lm Ericsson (Publ) Methods and arrangements for policing and forwarding data in a data communications system
JP2000324154A (en) * 1999-05-14 2000-11-24 Pfu Ltd Path multiplexing system and method, and computer- readable recording medium recorded with program for executing the method
US6798750B1 (en) * 1999-06-30 2004-09-28 Siemens Aktiengesellschaft Priority administration method
CN1426198A (en) * 2001-12-12 2003-06-25 富士通株式会社 Jam control system of voice network through internet protocol
CN1501651A (en) * 2002-11-14 2004-06-02 华为技术有限公司 Call routing method in frame relay voice network
US20050001744A1 (en) * 2002-11-29 2005-01-06 Alan Roth Block programmable priority encoder in a CAM
CN1518325A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Route priority dynamic regulation method for IP telephone system

Also Published As

Publication number Publication date
CN1845532A (en) 2006-10-11

Similar Documents

Publication Publication Date Title
US8441924B2 (en) Redundant capability in a fiber optic network
US6807150B1 (en) System and method for controlling a telephony communication session
CN101262528B (en) A multi-gateway backup method for voice access of network call
JPH11225206A (en) System and method to set up call connection
JP4672571B2 (en) Emergency call call back method, emergency call call back system, VoIP node device and program in VoIP network
CN101411175A (en) Routing of telecommunications
EP2870745B1 (en) Handling incoming video calls to a hunt list
JP2005184802A (en) Call waiting service method and its apparatus in voip terminal having back up function of public phone network
CN101951346B (en) SIP (Session Initiation Protocol) relay routing method and system thereof
KR100440246B1 (en) Method of Controlling Calls between a Packet Network and a PSTN in the Next Generation Open Network
CN100444583C (en) Method for selecting voice route and voice gateway
CN102137364A (en) Calling method and device
US7710880B2 (en) Method and apparatus for security protection of service interruption in switch network
CN100403737C (en) Method for selecting voice route and voice gateway
CN101355804B (en) System and method for seamless disaster-containing switching next generation network medium gateway
CN101389080A (en) Method and assembly for providing communication in a communications system
CN100334882C (en) Method of transmission line configuration
CN101472011B (en) Detection method of analog trunk line
CN102355412A (en) Method and equipment for transmitting voice call request
US20090252317A1 (en) Method of managing a telecommunications system for adaptive serial ringing and program product therefor
CN101478618B (en) External line state detection method for external switching center
JP2005167421A (en) Voice communication system, and communication apparatus and telephone exchange for voice communication system
CN101656939B (en) Communication resource allocation processor and communication resource allocation processing method
CN100518338C (en) Method for increasing jointing-success-rate of calling
JP2007124037A (en) Telephone exchange and incoming call control method of telephone exchange

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

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

Granted publication date: 20081217

Termination date: 20200515