JP2005123730A - Alternate route control method of communication trunk, alternate route control program, and recording medium recording program - Google Patents

Alternate route control method of communication trunk, alternate route control program, and recording medium recording program Download PDF

Info

Publication number
JP2005123730A
JP2005123730A JP2003353966A JP2003353966A JP2005123730A JP 2005123730 A JP2005123730 A JP 2005123730A JP 2003353966 A JP2003353966 A JP 2003353966A JP 2003353966 A JP2003353966 A JP 2003353966A JP 2005123730 A JP2005123730 A JP 2005123730A
Authority
JP
Japan
Prior art keywords
trunk
telephone
detour
bypass
communication
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.)
Pending
Application number
JP2003353966A
Other languages
Japanese (ja)
Inventor
Tetsuya Mitsui
哲也 三井
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.)
NEC Platforms Ltd
Original Assignee
NEC Infrontia Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Infrontia Corp filed Critical NEC Infrontia Corp
Priority to JP2003353966A priority Critical patent/JP2005123730A/en
Publication of JP2005123730A publication Critical patent/JP2005123730A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform smooth routing to another trunk alternative to an IP trunk. <P>SOLUTION: A control apparatus (20) houses a telephone set (10) and a plurality of communication trunks (30, 40, 50) including an IP trunk (60) for the telephone set. In this apparatus (20), alternate trunk information indicating the correlation between the telephone set and the alternate trunk of a predetermined communication trunk other than the IP trunk among the plurality of communication trunks, and alternate number information indicating a telephone number used for connecting to the alternate trunk, are set. The propriety of using the IP trunk is judged when the telephone set sends a transmission request to the IP trunk. An alternate trunk corresponding to the telephone set is selected on the basis of the alternate trunk information if it is judged that the IP trunk should not be used. The telephone number for the selected alternate trunk is acquired from the alternate number information. The telephone set is connected to the alternate trunk on the basis of the acquired telephone number. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、IPネットワーク上でVoIP(Voice over Internet Protocol)に従い音声データを伝送するためのIPトランクを含む複数の通信トランクと電話機とを収容する制御装置において、IPトランクに代わる通信トランクへの迂回を制御する方法に関する。   The present invention provides a control device that accommodates a plurality of communication trunks including an IP trunk for transmitting voice data according to VoIP (Voice over Internet Protocol) on an IP network and a telephone, and bypasses the communication trunk instead of the IP trunk. It is related with the method of controlling.

従来、電話機からIPトランクを使用して発信しようとする場合に、通信の輻輳などにより当該トランクが使用不可であるとき、ユーザは、その呼を一旦終了させた後、改めてPSTN(Public Switched Telephone Networks)のような他の通信トランクに発信作業を行う必要があった。このような煩わしい作業を不要とするために、例えば、後述の特許文献1に示すような技術が提案されている。この技術では、捕捉したトランク回路が使用不可であるとき、複数の通信トランクに対し、予め設定された順番でトランク使用の可否を判定し、これにより使用可能なトランクを選定するというものである。
特開平03−250952号公報
Conventionally, when an attempt is made to make an outgoing call using an IP trunk from a telephone, if the trunk is unusable due to communication congestion or the like, the user once terminates the call, and then reopens the PSTN (Public Switched Telephone Networks). It was necessary to perform outgoing work to other communication trunks such as In order to eliminate such troublesome work, for example, a technique as shown in Patent Document 1 described below has been proposed. In this technique, when a captured trunk circuit is unusable, it is determined whether or not trunks can be used in a preset order for a plurality of communication trunks, and usable trunks are selected accordingly.
Japanese Patent Laid-Open No. 03-250952

しかしながら、上述の手法では、その都度、所定の順序に沿って複数のトランク回路を確認することから、使用可否の判定に時間を要し、他のトランクへの迂回が遅延する可能性がある。また、各トランク間で接続コストの差異が顕著である場合は、自動的に任意のトランクに迂回されると、ユーザにとって不都合となるおそれがある。   However, in the above-described method, since a plurality of trunk circuits are confirmed in a predetermined order each time, it takes time to determine whether or not the trunk circuit can be used, and detouring to another trunk may be delayed. Further, when the difference in connection costs between the trunks is significant, there is a risk that it will be inconvenient for the user if it is automatically detoured to an arbitrary trunk.

本発明は、上記課題に鑑みてなされたものであり、電話機からの発信時に、通信トランクの迂回を円滑に行う迂回制御方法を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a detour control method for smoothly detouring a communication trunk when making a call from a telephone.

本発明に係る迂回制御方法は、電話機と該電話機のためのIPトランクを含む複数の通信トランクとを収容する制御装置において通信トランクの迂回を制御する方法であって、前記複数の通信トランクのうちのIPトランク以外の所定の通信トランクである迂回用トランクと前記電話機との対応関係を示す迂回トランク情報、および、当該迂回用トランクに接続するための電話番号を示す迂回番号情報を設定し、前記電話機からIPトランクへの発信要求があったときIPトランクの使用の可否を判定し、IPトランクが使用不可であると判定したとき前記迂回トランク情報に基づき当該電話機に対応する迂回用トランクを選定し、前記選定した迂回用トランクのための電話番号を前記迂回番号情報から取得し、前記取得した電話番号により前記電話機を当該迂回用トランクに接続することを特徴とする。   A detour control method according to the present invention is a method for controlling detouring of a communication trunk in a control device that accommodates a telephone and a plurality of communication trunks including an IP trunk for the telephone, Set detour trunk information indicating the correspondence between the detour trunk, which is a predetermined communication trunk other than the IP trunk, and the telephone, and detour number information indicating a telephone number for connecting to the detour trunk, When there is a call request from the telephone to the IP trunk, it is determined whether or not the IP trunk can be used, and when it is determined that the IP trunk cannot be used, a bypass trunk corresponding to the telephone is selected based on the bypass trunk information. The telephone number for the selected detour trunk is acquired from the detour number information, and the acquired telephone number is The serial telephone, characterized in that connected to the bypass trunk.

また、本発明に係る迂回制御プログラムは、電話機と該電話機のためのIPトランクを含む複数の通信トランクとを収容する制御装置において通信トランクの迂回を制御するためのプログラムであって、前記複数の通信トランクのうちのIPトランク以外の所定の通信トランクである迂回用トランクと前記電話機との対応関係を示す迂回トランク情報、および、当該迂回用トランクに接続するための電話番号を示す迂回番号情報を設定し、前記電話機からIPトランクへの発信要求があったときIPトランクの使用の可否を判定し、IPトランクが使用不可であると判定したとき前記迂回トランク情報に基づき当該電話機に対応する迂回用トランクを選定し、前記選定した迂回用トランクのための電話番号を前記迂回番号情報から取得し、前記取得した電話番号により前記電話機を当該迂回用トランクに接続することを前記制御装置に実行させることを特徴とする。   A bypass control program according to the present invention is a program for controlling a bypass of a communication trunk in a control device that accommodates a telephone and a plurality of communication trunks including an IP trunk for the telephone. Detour trunk information indicating a correspondence relationship between the telephone and a detour trunk that is a predetermined communication trunk other than an IP trunk among the communication trunks, and detour number information indicating a telephone number for connecting to the detour trunk When the call is requested from the telephone to the IP trunk, it is determined whether or not the IP trunk can be used. When it is determined that the IP trunk is not usable, the bypass for the telephone corresponding to the telephone based on the bypass trunk information is determined. A trunk is selected, and a telephone number for the selected bypass trunk is obtained from the bypass number information. To connect the phone to the bypass trunk by the acquired telephone number, characterized in that to be executed by the control device.

さらに、本発明に係る記録媒体は、上記迂回制御プログラムを記録したことを特徴とする。   Furthermore, a recording medium according to the present invention is characterized in that the detour control program is recorded.

本発明に係る迂回制御方法によれば、予めIPトランクに対し迂回用トランクを設定しておくことから、IPトランクが使用不可となっても、迂回に使用すべき通信トランクを迅速に決定することができる。これにより、通信トランクを迂回することに起因した通信遅延を防止することができる。   According to the detour control method of the present invention, since a detour trunk is set in advance for an IP trunk, a communication trunk to be used for detour can be quickly determined even if the IP trunk becomes unusable. Can do. Thereby, a communication delay caused by bypassing the communication trunk can be prevented.

[実施例1]
以下、本発明の実施例について図面を用いて詳細に説明する。図1は、本発明に係る迂回制御方法の実施例を適用したシステム100のブロック図である。システム100は、VoIPによる通話機能を有するボタン電話である電話機10と、電話機10を収容する制御装置である主装置20とを備える。また、主装置20は、アナログ回線網としてのPSTN網30およびディジタル回線網であるISDN(Integrated Services Digital Network)網40のような公衆網と、専用線網50と、電話機10を内線接続するためのLAN60を収容する。LAN60は、電話機10の音声通信をインターネットプロトコル(以下、単に「IP」と称す。)に従い接続する通信回線であるIPトランクから成る。
[Example 1]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of a system 100 to which an embodiment of a detour control method according to the present invention is applied. The system 100 includes a telephone 10 that is a button telephone having a VoIP call function, and a main apparatus 20 that is a control device that accommodates the telephone 10. The main device 20 is for connecting the public network such as the PSTN network 30 as an analog network and the ISDN (Integrated Services Digital Network) network 40 as a digital network, the private network 50, and the telephone 10 by extension. The LAN 60 is accommodated. The LAN 60 includes an IP trunk that is a communication line that connects voice communication of the telephone 10 in accordance with the Internet protocol (hereinafter simply referred to as “IP”).

主装置20は、図1に示すように、上記の電話機10、PSTN網30、ISDN網40、専用線網50およびLAN60のそれぞれを収容するためのインタフェースである内線電話機収容I/F21、PSTN回線I/F22、ISDN回線I/F23、専用線I/F24およびLAN収容I/F25と、電話機10およびLAN60間で授受されるRTP(Real-time Transport Protocol)信号を音声信号あるいはデータ信号に変換するCODEC(Coder-Decoder)回路26と、電話機10の通信接続のための後述のシステムデータを保持するデータベース27と、電話機10の通信を制御する制御回路28とを備える。   As shown in FIG. 1, the main apparatus 20 includes an extension telephone accommodating I / F 21 that is an interface for accommodating each of the telephone 10, PSTN network 30, ISDN network 40, private line network 50, and LAN 60, and a PSTN line. RTP (Real-time Transport Protocol) signals exchanged between the I / F 22, ISDN line I / F 23, dedicated line I / F 24, LAN accommodating I / F 25, telephone 10 and LAN 60 are converted into voice signals or data signals. A CODEC (Coder-Decoder) circuit 26, a database 27 that holds system data to be described later for communication connection of the telephone set 10, and a control circuit 28 that controls communication of the telephone set 10 are provided.

制御回路28は、IPトランクとしてのLAN60に対する通信において、主装置20の記憶機構(図示略)に保持されたSIP(Session Initiation Protocol)やH.323のようなIPを処理するアプリケーションプログラムに沿って動作する。   In communication with the LAN 60 as an IP trunk, the control circuit 28 is configured to use SIP (Session Initiation Protocol) or H.264 stored in a storage mechanism (not shown) of the main device 20. It operates along an application program that processes IP such as H.323.

制御回路28は、電話機10からの発信にIPトランクを使用する際、そのIPトランクが使用不可であるとき、PSTN網30のような他の通信トランクに迂回するよう動作する。本実施例において、IPトランクが使用不可の場合とは、LAN60のリンクが切れていると判断した場合や、LAN60における回線が全て「BUSY」である場合等を指す。また、一旦は捕捉されたトランクが、その後に発生した通信の輻輳により、実際は使用できないという事態にも対処するために、当該トランクに送信した最初の発呼要求メッセージに対し所定の応答メッセージが得られない場合も、IPトランクが使用不可であると判断する。   When an IP trunk is used for outgoing calls from the telephone 10, the control circuit 28 operates to bypass another communication trunk such as the PSTN network 30 when the IP trunk is unavailable. In the present embodiment, the case where the IP trunk is unavailable refers to the case where it is determined that the link of the LAN 60 is broken, the case where all the lines in the LAN 60 are “BUSY”, and the like. In addition, in order to cope with a situation in which a trapped trunk cannot be actually used due to subsequent communication congestion, a predetermined response message is obtained for the first call request message transmitted to the trunk. If not, it is determined that the IP trunk is not usable.

なお、上記の発呼要求メッセージに対する応答とは、例えば、SIPではINVITEメッセージに対する100Tryingメッセージ又は180Ringingメッセージを指し、H.323プロトコルの場合は、Setupメッセージに対するCall Proccedingメッセージ又はAlertingメッセージを指す。制御回路28は、発呼要求メッセージを送信後、所定時間内に、応答メッセージを受けることができずタイムアウトしたとき、当該IPトランクが使用不可であると判断する。   Note that the response to the call request message is, for example, a 100 Trying message or 180 Ringing message for the INVITE message in SIP. In the case of the H.323 protocol, it refers to a Call Proceding message or an Alerting message for the Setup message. The control circuit 28 determines that the IP trunk is unusable when a response message cannot be received within a predetermined time after transmission of the call request message and a time-out occurs.

図2に、データベース27に保持されるシステムデータを示す。これらのシステムデータは、例えば、予めシステム管理者がデータベース27に登録しておくようにする。図2(a)に示すシステムデータAは、電話機10の内線番号と、IPトランクに代わる他の通信トランクへ迂回する機能が有効であるか否かを示す情報と、トランクの迂回をユーザに確認する必要があるか否かを示す情報とがそれぞれ対応付けられている。図2(b)のシステムデータBは、各IPトランクに割り当てられた番号と、当該番号が属するグループとの対応付けを示す。   FIG. 2 shows system data held in the database 27. These system data are registered in advance in the database 27 by the system administrator, for example. The system data A shown in FIG. 2 (a) includes the extension number of the telephone 10, information indicating whether or not the function of detouring to another communication trunk replacing the IP trunk is effective, and confirming the detour of the trunk with the user. The information indicating whether or not it is necessary to correspond is associated with each other. The system data B in FIG. 2 (b) indicates the association between the number assigned to each IP trunk and the group to which the number belongs.

図2(c)のシステムデータCは、迂回トランク情報であり、システムデータBで規定されたトランクグループと、当該グループに割り当てられた迂回用の通信トランクの情報と、当該迂回用トランクに接続するための電話番号テーブルとの対応付けを示す。図示の例では、迂回用トランクとして、予めPSTN網30が設定されている。   The system data C in FIG. 2C is detour trunk information, and is connected to the trunk group specified by the system data B, detour communication trunk information assigned to the group, and the detour trunk. The correspondence with the telephone number table for this is shown. In the illustrated example, the PSTN network 30 is set in advance as a bypass trunk.

図2(d)のシステムデータDは、迂回番号情報であり、システムデータCに示される電話番号テーブルを示す。図示の例では、着信側の電話機にIP発信する際に用いる電話番号と、当該IP発信用の電話番号に対応するPSTN発信番号とが示されている。なお、図2(d)は、電話番号テーブルの一例として、システムデータCにおける「テーブル1」の内容を示したものであり、他の電話番号テーブルに対しても同様な形式で電話番号が設定されている。   The system data D in FIG. 2D is detour number information, and indicates a telephone number table shown in the system data C. In the example shown in the figure, a telephone number used when making an IP call to the telephone on the called side and a PSTN call number corresponding to the telephone number for the IP call are shown. FIG. 2D shows the contents of “table 1” in the system data C as an example of the telephone number table, and the telephone numbers are set in the same format for the other telephone number tables. Has been.

実施例1の動作を図3に示すフローチャートに沿って説明する。ここでは、内線番号「100」の電話機10が、LAN60におけるトランク番号「1」のIPトランクに対し、電話番号「050−1111−1111」を発信する際に、迂回用トランクとしてPSTN網30を使用する例を示す。   The operation of the first embodiment will be described with reference to the flowchart shown in FIG. Here, when the telephone 10 having the extension number “100” transmits the telephone number “050-1111-1111” to the IP trunk having the trunk number “1” in the LAN 60, the PSTN network 30 is used as a bypass trunk. An example is shown.

主装置20の制御回路28は、電話機10からIPトランクへの発信要求を受けると(ステップS1)、LAN60におけるリンクが切れているか否か、または、LAN60のIPトランクが全て「BUSY」か否かを確認する(ステップS2)。いずれにも該当しない場合は(ステップS2:No)、さらに、使用するIPの種別に応じた応答メッセージを受けたかどうか確認し、所定の応答メッセージを受けたとき(ステップS3:Yes)、電話機10からの要求に従い、CODEC回路26およびLAN収容I/F25を介して、対象のIPトランクにIP発信を行う(ステップS4)。   When the control circuit 28 of the main device 20 receives a call request from the telephone 10 to the IP trunk (step S1), whether the link in the LAN 60 is broken or whether all the IP trunks in the LAN 60 are “BUSY”. Is confirmed (step S2). If it does not correspond to any of them (step S2: No), it is further confirmed whether or not a response message corresponding to the type of IP to be used is received, and when a predetermined response message is received (step S3: Yes), the telephone 10 In response to the request from the terminal, IP transmission is performed to the target IP trunk via the CODEC circuit 26 and the LAN accommodating I / F 25 (step S4).

また、LAN60のリンク切れ又は全て「BUSY」(ステップS2:Yes)のとき、あるいは、発呼要求メッセージに対し応答が得られないときは(ステップS3:No)、図2(a)のシステムデータAを参照し、電話機10の迂回機能が有効であるか否かを確認する。ここでは、内線番号「100」の迂回機能が「有効」であることから(ステップS5:Yes)、制御回路28は、使用しようとしたIPトランクのグループを確認すべく、図2(b)のシステムデータBを参照し、当該トランクの番号「1」に対応する「グループ1」との情報を取得する(ステップS6)。また、仮に、内線番号「102」のように迂回機能が「無効」であった場合は(ステップS5:No)、制御回路28は、電話機10に対し「BUSY」との結果を通知し、この接続処理を中止する(ステップS7)。   Further, when the link of the LAN 60 is broken or all are “BUSY” (step S2: Yes), or when a response to the call request message is not obtained (step S3: No), the system data of FIG. Referring to A, it is confirmed whether or not the bypass function of the telephone 10 is valid. Here, since the bypass function of the extension number “100” is “valid” (step S5: Yes), the control circuit 28 checks the IP trunk group to be used as shown in FIG. With reference to the system data B, information on “group 1” corresponding to the trunk number “1” is acquired (step S6). If the detour function is “invalid” as indicated by the extension number “102” (step S5: No), the control circuit 28 notifies the telephone set 10 of the result “BUSY”. The connection process is stopped (step S7).

続いて、制御回路28は、図2(c)のシステムデータCを参照し、使用しようとしたIPトランクに代わる迂回用トランク、すなわちPSTN網30のトランクと、その電話番号とが登録されているかどうかを確認する(ステップS8、S9)。ここでは、IPトランク「グループ1」の代わりに使用すべきPSTN網30のトランク番号が「6」であり、この迂回用のトランクへ発信するための電話番号テーブルが「テーブル1」であるとの情報を得る(ステップS8、S9:Yes)。また、仮に、迂回用トランクおよび電話番号テーブルの登録がない場合は、電話機10に対し「BUSY」との通知を行い、接続処理を中止する(ステップS7)。   Subsequently, the control circuit 28 refers to the system data C in FIG. 2C, and checks whether a bypass trunk in place of the IP trunk to be used, that is, the trunk of the PSTN network 30 and its telephone number are registered. Whether or not is confirmed (steps S8 and S9). Here, the trunk number of the PSTN network 30 to be used instead of the IP trunk “group 1” is “6”, and the telephone number table for calling to this detour trunk is “table 1”. Information is obtained (steps S8, S9: Yes). If the bypass trunk and the telephone number table are not registered, the telephone 10 is notified of “BUSY” and the connection process is stopped (step S7).

制御回路28は、上記「テーブル1」に対応する図2(d)のシステムデータDを参照し、PSTN網30へ迂回する際に用いる電話番号を取得する(ステップS10)。この例では、当初、電話機10がIP発信番号「050−1111−1111」を発信したことから、当該番号に対応するPSTN発信番号である「03−9999−9999」を図示のテーブルから取得する。   The control circuit 28 refers to the system data D in FIG. 2D corresponding to the “table 1”, and acquires a telephone number used when detouring to the PSTN network 30 (step S10). In this example, since the telephone 10 initially transmits the IP transmission number “050-1111-1111”, the PSTN transmission number “03-9999-9999” corresponding to the number is acquired from the table shown in the figure.

制御回路28は、上述の発信番号を取得すると、PSTN網30への発信に先立ち、システムデータAを参照して、通信トランクを迂回することを電話機10のユーザに確認すべきか否かを判定する。このように、ユーザに対し迂回の可否を確認することにより、例えば、通信トランク間で接続料金の差異が大きい場合に、ユーザにとってコスト高となるトランクへ自動的に迂回されることを回避できる。図2(a)のシステムデータAでは、内線番号「100」に対し、迂回の確認が必要と設定されていることから(ステップS11:Yes)、PSTN網30への迂回の可否を確認するメッセージを電話機10に送信する。この確認に対するユーザの応答方法としては、例えば、電話機10における所定のボタンの押下により、その回答を送るようにすることができる。   When the control circuit 28 acquires the above-mentioned transmission number, prior to the transmission to the PSTN network 30, the control circuit 28 refers to the system data A to determine whether or not to confirm with the user of the telephone 10 that the communication trunk is bypassed. . In this way, by confirming whether or not detouring is possible for the user, for example, when there is a large difference in connection charges between communication trunks, it is possible to avoid detouring automatically to a trunk that increases the cost for the user. In the system data A of FIG. 2A, since the confirmation of detouring is set for the extension number “100” (step S11: Yes), a message confirming whether or not detouring to the PSTN network 30 is possible. Is transmitted to the telephone 10. As a response method of the user to this confirmation, for example, the answer can be sent by pressing a predetermined button on the telephone 10.

制御回路28は、迂回に関しユーザへの確認の必要がない場合(ステップS11:No)、および、ユーザからPSTN網30への迂回を許可された場合(ステップS12:Yes)、PSTN回線I/F22を介して発信処理を行う(ステップS13)。また、ユーザから迂回の許可が得られない場合は(ステップS12:No)、処理を中止すべく、電話機10に「BUSY」との通知を行う(ステップS7)。   When there is no need to confirm with the user regarding the detour (step S11: No), and when the detour is permitted from the user to the PSTN network 30 (step S12: Yes), the control circuit 28 performs the PSTN line I / F 22 Then, the outgoing call processing is performed (step S13). If the user cannot obtain the detour permission (step S12: No), the telephone 10 is notified of “BUSY” in order to stop the process (step S7).

図4は、上記の手順を概略的に示すものである。このように、システム100では、ユーザが電話機10からLAN60のIPトランクを介して、相手側の電話機10´に接続しようとする場合、制御回路28が当該IPトランクを使用できないと判断したときは、着信側の主装置20´への経路として、予め設定したPSTN網30のトランクに迂回する。よって、実施例1によれば、IPトランクが使用できない場合であっても、迅速に迂回用のトランクを選定することができる。また、迂回に先立ってユーザの意向を確認することから、ユーザにとって不本意な迂回処理を回避できる。   FIG. 4 schematically shows the above procedure. As described above, in the system 100, when the control circuit 28 determines that the IP trunk cannot be used when the user tries to connect to the other party's telephone 10 'via the IP trunk of the LAN 60 from the telephone 10, As a route to the main device 20 ′ on the receiving side, a detour is made to a preset trunk of the PSTN network 30. Therefore, according to the first embodiment, even when an IP trunk cannot be used, a bypass trunk can be selected quickly. Further, since the user's intention is confirmed prior to detouring, it is possible to avoid detour processing unintentional for the user.

[実施例2]
本発明に係る迂回制御方法の実施例2は、通信トランクの迂回を行うか否かの判定にあたって、IPトランクの音声品質に関する条件を加味するものである。具体的には、音声品質の判断に、例えばIPトランクにおけるパケットのドロップ率を用い、現状のドロップ率が予め設定した閾値を上回るとき、音声品質が劣化したと判定する。
[Example 2]
In the second embodiment of the detour control method according to the present invention, a condition relating to the voice quality of the IP trunk is taken into account when determining whether or not to detour a communication trunk. Specifically, for example, the packet drop rate in the IP trunk is used for the voice quality determination, and when the current drop rate exceeds a preset threshold, it is determined that the voice quality has deteriorated.

これを実現するために、本実施例では、図5に示すようなシステムデータをデータベース27に登録しておく。図5(a)に示すシステムデータEは、図2(b)の各トランクグループの音声品質の判断に用いるQoS(Quality of Service)テーブルの番号を示すものである。また、図5(b)のシステムデータFは、上記システムデータEに記載されたQoSテーブルの内容を示すものであり、図示の例では、QoSテーブルの一例として、QoSテーブル1の内容が示されている。このテーブルに基づく判断では、トランクグループ番号「1」のIPトランクにおいて、パケットドロップ率に関する「過去5回」の平均計測値が、閾値である「5%」を上回る場合、当該トランクの音声品質が劣化していると見なされる。   In order to realize this, in this embodiment, system data as shown in FIG. The system data E shown in FIG. 5 (a) indicates the number of the QoS (Quality of Service) table used for determining the voice quality of each trunk group in FIG. 2 (b). The system data F in FIG. 5B indicates the contents of the QoS table described in the system data E. In the illustrated example, the contents of the QoS table 1 are shown as an example of the QoS table. ing. According to the determination based on this table, if the average measurement value of “past 5 times” regarding the packet drop rate exceeds the threshold value “5%” in the IP trunk of trunk group number “1”, the voice quality of the trunk is Considered degraded.

実施例2の動作を図6のフローチャートに沿って説明する。ここでは、実施例1での動作例と同様に、LAN60におけるトランク番号「1」のIPトランクを使用しようとする手順であり、上述の音声品質に関する判定以外の手順は、図3に沿って説明した実施例1の手順と同様であり、説明を省略する。図6は、主に、実施例1との差異を示すものである。   The operation of the second embodiment will be described with reference to the flowchart of FIG. Here, similarly to the operation example in the first embodiment, the procedure is to use the IP trunk having the trunk number “1” in the LAN 60. The procedures other than the determination regarding the voice quality described above will be described with reference to FIG. The procedure is the same as that of the first embodiment, and a description thereof will be omitted. FIG. 6 mainly shows the difference from the first embodiment.

主装置20の制御回路28は、電話機10からの発信を受けた後、補足したIPトランクから所定の応答メッセージを得た場合(ステップS3:Yes)、当該トランクの音声品質を判定すべく図5(a)のシステムデータEを参照し、グループ「1」のIPトランクの音声品質判定に「QoSテーブル1」を用いるとの情報を得る。   When the control circuit 28 of the main device 20 receives a call from the telephone 10 and then obtains a predetermined response message from the supplemented IP trunk (step S3: Yes), the control circuit 28 of FIG. With reference to the system data E in (a), information is obtained that “QoS table 1” is used for voice quality determination of the IP trunk of group “1”.

続いて、制御回路28は、図5(b)のシステムデータFを参照し、当該テーブルと実際の測定結果との比較を行った結果、IPトランクの音声品質が劣化していると判断した場合(ステップA1:Yes)、PSTN網30へ迂回すべく、電話機10の迂回機能が設定されているか否かの判断に入る(ステップS5)。また、パケットのドロップ率が閾値を上回っておらず、音声品質が劣化していないと判断した場合は(ステップA1:No)、当該IPトランクを使用して発信を行う(ステップS4)。以降、PSTN網30への迂回に関しては、図3に沿った実施例1と同様の手順により処理を行う。   Subsequently, when the control circuit 28 refers to the system data F in FIG. 5B and compares the table with the actual measurement result, the control circuit 28 determines that the voice quality of the IP trunk has deteriorated. (Step A1: Yes), in order to make a detour to the PSTN network 30, it is determined whether or not the detour function of the telephone 10 is set (step S5). If it is determined that the packet drop rate does not exceed the threshold value and the voice quality is not deteriorated (step A1: No), the IP trunk is used to make a call (step S4). Thereafter, with respect to detouring to the PSTN network 30, processing is performed in the same procedure as in the first embodiment along FIG.

上記の例では、音声品質の判断にパケットのドロップ率を用いたが、これに代えて、例えば音声遅延の測定値やノイズの測定値、あるいは、ITU(International Telecommunication Union:国際電気通信連合)で勧告されている評価値であるMOS値やR値等を用いて音声品質の判定を行うようにしてもよい。   In the above example, the packet drop rate is used to determine the voice quality. Instead, for example, a voice delay measurement value, a noise measurement value, or ITU (International Telecommunication Union) is used. The voice quality may be determined using a recommended evaluation value such as a MOS value or an R value.

以上説明したように、実施例2によれば、IPトランクへの発信を決定する前に、音声品質を判定する手順を加えたことから、音声品質が劣化したIPトランクを使用して発信されることを防止することができる。   As described above, according to the second embodiment, since the procedure for determining the voice quality is added before the call to the IP trunk is determined, the call is transmitted using the IP trunk having the voice quality deteriorated. This can be prevented.

上記各実施例では、IPトランクに代わる迂回用トランクとしてPSTNトランクを設定したが、本発明では、この例に限らず、図1に示すISDN網40や専用線網50のような他の通信網におけるトランクを迂回用に設定することができる。   In each of the above embodiments, a PSTN trunk is set as a bypass trunk instead of an IP trunk. However, the present invention is not limited to this example, and other communication networks such as the ISDN network 40 and the dedicated line network 50 shown in FIG. The trunk in can be set for detour.

また、本発明は、上記実施例1および2で説明した手順をコンピュータに実行させるプログラム、および、このプログラムを記録する記録媒体にも適用可能である。   The present invention is also applicable to a program that causes a computer to execute the procedure described in the first and second embodiments and a recording medium that records the program.

本発明に係る迂回制御方法の実施例1を適用したシステムのブロック図である。1 is a block diagram of a system to which a first embodiment of a detour control method according to the present invention is applied. 実施例1のシステムデータを説明するための説明図である。FIG. 4 is an explanatory diagram for explaining system data according to the first embodiment. 実施例1の動作を示すフローチャートである。3 is a flowchart illustrating the operation of the first embodiment. 実施例1の動作を概略的に説明するための説明図である。FIG. 6 is an explanatory diagram for schematically explaining the operation of the first embodiment. 実施例2のシステムデータを説明するための説明図である。FIG. 6 is an explanatory diagram for explaining system data of a second embodiment. 実施例2の動作を示すフローチャートである。10 is a flowchart showing the operation of the second embodiment.

符号の説明Explanation of symbols

100 システム
10 電話機
20 主装置
30 PSTN網
40 ISDN網
50 専用線網
60 LAN
21:内線電話機収容I/F、22:PSTN回線I/F、23:ISDN回線I/F、24:専用線I/F、25:LAN収容I/F
100 System 10 Telephone 20 Main Device 30 PSTN Network 40 ISDN Network 50 Private Line Network 60 LAN
21: Extension telephone accommodation I / F, 22: PSTN line I / F, 23: ISDN line I / F, 24: Dedicated line I / F, 25: LAN accommodation I / F

Claims (9)

電話機と該電話機のためのIPトランクを含む複数の通信トランクとを収容する制御装置において通信トランクの迂回を制御する方法であって、
前記複数の通信トランクのうちのIPトランク以外の所定の通信トランクである迂回用トランクと前記電話機との対応関係を示す迂回トランク情報、および、当該迂回用トランクに接続するための電話番号を示す迂回番号情報を設定し、
前記電話機からIPトランクへの発信要求があったときIPトランクの使用の可否を判定し、
IPトランクが使用不可であると判定したとき前記迂回トランク情報に基づき当該電話機に対応する迂回用トランクを選定し、
前記選定した迂回用トランクのための電話番号を前記迂回番号情報から取得し、
前記取得した電話番号により前記電話機を当該迂回用トランクに接続することを特徴とする迂回制御方法。
A method for controlling the bypass of a communication trunk in a control device accommodating a telephone and a plurality of communication trunks including an IP trunk for the telephone,
Detour trunk information indicating a correspondence relationship between a detour trunk, which is a predetermined communication trunk other than an IP trunk among the plurality of communication trunks, and the telephone, and a detour indicating a telephone number for connecting to the detour trunk Set the number information,
Determining whether or not the IP trunk can be used when there is a call request from the telephone to the IP trunk;
When it is determined that the IP trunk is unusable, a bypass trunk corresponding to the telephone is selected based on the bypass trunk information,
Obtaining a telephone number for the selected bypass trunk from the bypass number information;
A detour control method comprising connecting the telephone to the detour trunk by the acquired telephone number.
さらに、IPトランクの音声品質の判定条件を示す品質判定情報を設定し、
前記判定においてIPトランクが使用可能であると判定したとき当該IPトランクの音声品質を前記品質判定情報に基づき判定し、
前記音声品質が劣化していると判定したとき前記迂回用トランクの選定を行うことを特徴とする請求項1記載の迂回制御方法。
Furthermore, the quality judgment information indicating the judgment condition of the voice quality of the IP trunk is set,
When it is determined that the IP trunk is usable in the determination, the voice quality of the IP trunk is determined based on the quality determination information,
2. The bypass control method according to claim 1, wherein the bypass trunk is selected when it is determined that the voice quality is deteriorated.
前記電話機からIPトランクへの発信要求があったときIPトランクに対し所定の発呼要求メッセージを発信し、当該発呼要求メッセージに対する所定の応答メッセージを受ける前にタイムアウトした場合、IPトランクが使用不可であると判定することを特徴とする請求項1又は2記載の迂回制御方法。   When a call request is made from the telephone to the IP trunk, a predetermined call request message is sent to the IP trunk, and the IP trunk cannot be used if a timeout occurs before receiving the predetermined response message for the call request message. The detour control method according to claim 1, wherein the detour control method is determined. 前記電話機を当該迂回用トランクに接続するに先立って、当該トランクへの迂回の可否をユーザに問い合わせることを特徴とする請求項1乃至3のいずれか1項に記載の迂回制御方法。   The detour control method according to any one of claims 1 to 3, wherein the user is inquired of whether or not detouring to the trunk is possible before the telephone is connected to the detouring trunk. 電話機と該電話機のためのIPトランクを含む複数の通信トランクとを収容する制御装置において通信トランクの迂回を制御するためのプログラムであって、
前記複数の通信トランクのうちのIPトランク以外の所定の通信トランクである迂回用トランクと前記電話機との対応関係を示す迂回トランク情報、および、当該迂回用トランクに接続するための電話番号を示す迂回番号情報を設定し、
前記電話機からIPトランクへの発信要求があったときIPトランクの使用の可否を判定し、
IPトランクが使用不可であると判定したとき前記迂回トランク情報に基づき当該電話機に対応する迂回用トランクを選定し、
前記選定した迂回用トランクのための電話番号を前記迂回番号情報から取得し、
前記取得した電話番号により前記電話機を当該迂回用トランクに接続することを前記制御装置に実行させることを特徴とする迂回制御プログラム。
A program for controlling a bypass of a communication trunk in a control device that accommodates a telephone and a plurality of communication trunks including an IP trunk for the telephone,
Detour trunk information indicating a correspondence relationship between a detour trunk, which is a predetermined communication trunk other than an IP trunk among the plurality of communication trunks, and the telephone, and a detour indicating a telephone number for connecting to the detour trunk Set the number information,
Determining whether or not the IP trunk can be used when there is a call request from the telephone to the IP trunk;
When it is determined that the IP trunk is unusable, a bypass trunk corresponding to the telephone is selected based on the bypass trunk information,
Obtaining a telephone number for the selected bypass trunk from the bypass number information;
A bypass control program that causes the control device to execute connection of the telephone to the bypass trunk by the acquired telephone number.
さらに、IPトランクの音声品質の判定条件を示す品質判定情報を設定し、
前記判定においてIPトランクが使用可能であると判定したとき当該IPトランクの音声品質を前記品質判定情報に基づき判定し、
前記音声品質が劣化していると判定したとき前記迂回用トランクの選定を行うことを前記制御装置に実行させることを特徴とする請求項5記載の迂回制御プログラム。
Furthermore, the quality judgment information indicating the judgment condition of the voice quality of the IP trunk is set,
When it is determined that the IP trunk is usable in the determination, the voice quality of the IP trunk is determined based on the quality determination information,
6. The bypass control program according to claim 5, wherein when the voice quality is determined to be deteriorated, the control device is caused to execute the selection of the bypass trunk.
前記電話機からIPトランクへの発信要求があったときIPトランクに対し所定の発呼要求メッセージを発信し、当該発呼要求メッセージに対する所定の応答メッセージを受ける前にタイムアウトした場合、IPトランクが使用不可であると判定することを前記制御装置に実行させることを特徴とする請求項5又は6記載の迂回制御プログラム。   When a call request is made from the telephone to the IP trunk, a predetermined call request message is sent to the IP trunk, and the IP trunk cannot be used if a timeout occurs before receiving the predetermined response message for the call request message. The detour control program according to claim 5 or 6, wherein the control device is caused to execute the determination that it is. 前記電話機を当該迂回用トランクに接続するに先立って、当該トランクへの迂回の可否をユーザに問い合わせることを前記制御装置に実行させることを特徴とする請求項5乃至7のいずれか1項に記載の迂回制御プログラム。   8. The control device according to claim 5, wherein, prior to connecting the telephone to the bypass trunk, the control device is configured to inquire a user about whether or not the trunk can be bypassed. Detour control program. 請求項5乃至8のいずれか1項に記載の迂回制御プログラムを記録したことを特徴とする記録媒体。   9. A recording medium on which the detour control program according to claim 5 is recorded.
JP2003353966A 2003-10-14 2003-10-14 Alternate route control method of communication trunk, alternate route control program, and recording medium recording program Pending JP2005123730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003353966A JP2005123730A (en) 2003-10-14 2003-10-14 Alternate route control method of communication trunk, alternate route control program, and recording medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003353966A JP2005123730A (en) 2003-10-14 2003-10-14 Alternate route control method of communication trunk, alternate route control program, and recording medium recording program

Publications (1)

Publication Number Publication Date
JP2005123730A true JP2005123730A (en) 2005-05-12

Family

ID=34612090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003353966A Pending JP2005123730A (en) 2003-10-14 2003-10-14 Alternate route control method of communication trunk, alternate route control program, and recording medium recording program

Country Status (1)

Country Link
JP (1) JP2005123730A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008098738A (en) * 2006-10-06 2008-04-24 Nec Engineering Ltd Inter-base bypass connection system
US7912203B2 (en) 2005-09-09 2011-03-22 Avaya Inc. Method and apparatus for providing called party information to a coverage point during survivable processor operation
US8054955B2 (en) 2008-03-26 2011-11-08 Kabushiki Kaisha Toshiba Telephone system, associated exchange, and transmission control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912203B2 (en) 2005-09-09 2011-03-22 Avaya Inc. Method and apparatus for providing called party information to a coverage point during survivable processor operation
JP2008098738A (en) * 2006-10-06 2008-04-24 Nec Engineering Ltd Inter-base bypass connection system
US8054955B2 (en) 2008-03-26 2011-11-08 Kabushiki Kaisha Toshiba Telephone system, associated exchange, and transmission control method

Similar Documents

Publication Publication Date Title
US8098672B2 (en) Internet telephone system ensuring communication quality and path setting method
AU2005200060B2 (en) Managing routing path of voice over internet protocol (VoIP) system
US7738638B1 (en) Voice over internet protocol call recording
EP1109368A2 (en) System, method and computer program product for support of bearer path services in a distributed control network
JP3871604B2 (en) VoIP network system
US9054887B2 (en) Method and apparatus for enabling communications assistance for law enforcement act services
EP1589739A2 (en) IP telephone system, IP telephone apparatus and calling method
JP2004135329A (en) Internet phone provided with ringback tone generating apparatus, and ringback tone transmission method for the same
JP4576115B2 (en) VoIP gateway device and method for controlling call arrival and departure in VoIP gateway device
CN109792468B (en) Call recording system, call recording method, and non-transitory computer-readable medium storing call recording program
WO2004084531A1 (en) Communication path setting method and communication path setting system
US20040190500A1 (en) Method for maintaining quality of service for telephone calls routed between circuit switched and packet switched networks
US8644296B1 (en) Method and apparatus for establishing a media path between a gateway system and a border element
JP2005123730A (en) Alternate route control method of communication trunk, alternate route control program, and recording medium recording program
EP3055984B1 (en) Configurable call recording policy
JP4574225B2 (en) Call control method, IP telephone system, router and call control program in IP telephone network
JP2008113381A (en) Communication system
KR100770859B1 (en) Method and apparatus for forwarding call in ip-pcx
JP2005020676A (en) Telephone communication method and apparatus
TWI379580B (en) Peering network for parameter-based routing of special number calls
JP2004241954A (en) Speech monitoring method
JP3863061B2 (en) Telephone system that connects public network and Internet protocol network
JP4309832B2 (en) VoIP service system, call control server, and call control method
KR100902731B1 (en) Method of establishing VPN VoIP call via IP network
JP4031739B2 (en) Call control apparatus and call control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20050707

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071004

A131 Notification of reasons for refusal

Effective date: 20071121

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080508