JP2008205874A - Gateway device and call relay method - Google Patents

Gateway device and call relay method Download PDF

Info

Publication number
JP2008205874A
JP2008205874A JP2007040260A JP2007040260A JP2008205874A JP 2008205874 A JP2008205874 A JP 2008205874A JP 2007040260 A JP2007040260 A JP 2007040260A JP 2007040260 A JP2007040260 A JP 2007040260A JP 2008205874 A JP2008205874 A JP 2008205874A
Authority
JP
Japan
Prior art keywords
call
telephone
telephone network
telephone line
server
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.)
Granted
Application number
JP2007040260A
Other languages
Japanese (ja)
Other versions
JP4971823B2 (en
Inventor
Kazuhiro Okamoto
岡本和博
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.)
Hitachi Ltd
Original Assignee
Hitachi Communication Technologies 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 Hitachi Communication Technologies Ltd filed Critical Hitachi Communication Technologies Ltd
Priority to JP2007040260A priority Critical patent/JP4971823B2/en
Publication of JP2008205874A publication Critical patent/JP2008205874A/en
Application granted granted Critical
Publication of JP4971823B2 publication Critical patent/JP4971823B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide technique capable of surely notifying a user that a public telephone service is used in the case of performing detour transmission to a public telephone network in a gateway for making transmission to an IP telephone network and performing detour transmission to the public telephone network during a failure of the IP telephone network. <P>SOLUTION: The gateway 1 makes transmission to the IP telephone network 5 and performs detour transmission to the public telephone network 7 during a failure of the IP telephone network 5. In the case of performing detour transmission to the public telephone network 7 here, a speech communication path is established with an accommodation terminal 3 being a call transmission source before the detour transmission, and voice guidance to the effect that the public telephone service is used is transmitted to the speech communication path. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電話回線およびIP電話網間の呼の中継を行うゲートウェイ装置に関し、特に、IP電話網の障害時に、公衆電話網へ迂回発信するゲートウェイ装置に関する。   The present invention relates to a gateway device that relays a call between a telephone line and an IP telephone network, and more particularly to a gateway device that makes a detour call to a public telephone network when an IP telephone network fails.

電話回線およびIP電話網(VoIP網)間の呼の中継を行うゲートウェイ装置が知られている。特許文献1に記載のゲートウェイ装置は、電話回線を介して着信した呼をIP電話網に中継して、この電話回線に接続された既存のPBXまたは電話機にIP電話サービスを提供する。ここで、IP電話網に障害が発生している場合は、公衆電話網(PSTN)に迂回発信することにより、電話回線を介して着信した呼を公衆電話網に中継して、この電話回線に接続された既存のPBXまたは電話機に公衆電話サービスを提供する。   There is known a gateway device that relays a call between a telephone line and an IP telephone network (VoIP network). The gateway device described in Patent Document 1 relays an incoming call via a telephone line to an IP telephone network, and provides an IP telephone service to an existing PBX or telephone connected to the telephone line. Here, when a failure occurs in the IP telephone network, a call received via the telephone line is relayed to the public telephone network by detouring to the public telephone network (PSTN), and the telephone line is connected to the telephone line. Providing public telephone service to an existing connected PBX or telephone.

特開2001−333114号公報JP 2001-333114 A

IP電話サービスと公衆電話サービスとでは、課金システムが異なることが多い。一般に、公衆電話サービスはIP電話サービスよりも通話料金が高いことが多い。このため、公衆電話サービスを利用する場合には、電話回線に接続された既存のPBXまたは電話機に、その旨を通知することが好ましい。しかし、特許文献1に記載の技術は、この点を何ら考慮していない。   The charging system is often different between the IP telephone service and the public telephone service. In general, public telephone services often have higher call charges than IP telephone services. For this reason, when using the public telephone service, it is preferable to notify the existing PBX or telephone connected to the telephone line to that effect. However, the technique described in Patent Document 1 does not consider this point at all.

なお、電話回線に接続された既存のPBXまたは電話機に、特別なトーン信号を送出することで、公衆電話サービスの利用を通知する方法も考えられる。しかし、この方法では、特別なトーン信号の意味を知らないユーザは、それが公衆電話サービスの利用開始の合図であることを理解できない。   A method of notifying the use of the public telephone service by sending a special tone signal to an existing PBX or telephone connected to the telephone line is also conceivable. However, with this method, a user who does not know the meaning of a special tone signal cannot understand that it is a signal to start using a public telephone service.

本発明は上記事情に鑑みてなされたものであり、本発明の目的は、IP電話網に発信すると共に、IP電話網の障害時には公衆電話網へ迂回発信するゲートウェイ装置において、公衆電話網へ迂回発信する場合に、ユーザに公衆電話サービスを利用する旨を確実に知らせることのできる技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to make a detour to the public telephone network in a gateway device that transmits to the IP telephone network and makes a detour to the public telephone network when the IP telephone network fails. An object of the present invention is to provide a technology capable of surely informing a user that a public telephone service is used when making a call.

上記課題を解決するために、本発明では、公衆電話網に迂回発信する場合に、この迂回発信に先立って、呼の発信元である収容端末との間に通話路を確立し、この通話路に公衆電話サービスを利用する旨の音声ガイダンスを送出する。   In order to solve the above problems, in the present invention, when making a detour call to the public telephone network, prior to this detour call, a call path is established with the accommodating terminal that is the call originator, and this call path Voice guidance to use public telephone service is sent to.

例えば、本発明は、呼の中継を行うゲートウェイ装置であって、
少なくとも一つの電話回線を収容する電話回線インターフェースと、
IP電話網に接続するIP電話網インターフェースと、
公衆電話網に接続する公衆電話網インターフェースと、
前記電話回線インターフェースを介して前記電話回線から着信した呼を、前記IP電話網インターフェースを介して前記IP電話網に中継すると共に、当該呼に対する前記IP電話網の応答が所定の迂回条件と合致する場合に、前記公衆電話網インターフェースを介して前記公衆電話網に当該呼を中継する制御手段と、を有し、
前記制御手段は、
前記公衆電話網インターフェースを介して前記公衆電話網に呼を中継する場合に、当該中継に先立って、前記電話回線インターフェースを介して当該呼の発信元との間に通話路を確立し、当該通話路に音声ガイダンスを送出する。
For example, the present invention is a gateway device for relaying a call,
A telephone line interface accommodating at least one telephone line;
An IP telephone network interface connected to the IP telephone network;
A public telephone network interface connected to the public telephone network;
A call received from the telephone line via the telephone line interface is relayed to the IP telephone network via the IP telephone network interface, and a response of the IP telephone network to the call matches a predetermined detour condition. A control means for relaying the call to the public telephone network via the public telephone network interface,
The control means includes
When a call is relayed to the public telephone network via the public telephone network interface, a call path is established with the call originator via the telephone line interface prior to the relay, and the call Send voice guidance to the road.

ここで、前記制御手段は、
前記電話回線インターフェースを介して呼の発信元から前記公衆電話網への切替指示を受け付けた場合に、当該呼を前記公衆電話網に中継するものでもよい。
Here, the control means includes
When a switching instruction from the call source to the public telephone network is accepted via the telephone line interface, the call may be relayed to the public telephone network.

本発明によれば、公衆電話網への迂回発信に先立って、呼の発信元との間に通話路を確立し、この通話路に公衆電話サービスを利用する旨の音声ガイダンスを送出するので、ユーザに公衆電話サービスを利用する旨を確実に知らせることができる。   According to the present invention, prior to the detour call to the public telephone network, a call path is established with the call originator, and voice guidance to the effect that the public telephone service is used is sent to the call path. The user can be surely notified that the public telephone service is used.

以下、本発明の実施の形態を説明する。   Embodiments of the present invention will be described below.

図1は、本発明の一実施の形態が適用されたゲートウェイ1を含むIP電話システムの概略図である。   FIG. 1 is a schematic diagram of an IP telephone system including a gateway 1 to which an embodiment of the present invention is applied.

図示するように、本実施の形態のゲートウェイ1は、アナログ電話回線、ISDN回線、OD回線等の電話回線2を介して、アナログ電話機、ISDN電話機、PBX等の収容端末3を収容する。また、ゲートウェイ1は、ルータ4を介してIP電話網(VoIP網)5に接続されている。このIP電話網5には、加入者にIP電話サービスを提供するためのIP電話サーバ(SIPサーバ)6が接続されている。   As shown in the figure, the gateway 1 of the present embodiment accommodates accommodation terminals 3 such as analog telephones, ISDN telephones, and PBXs via telephone lines 2 such as analog telephone lines, ISDN lines, and OD lines. The gateway 1 is connected to an IP telephone network (VoIP network) 5 via a router 4. Connected to the IP telephone network 5 is an IP telephone server (SIP server) 6 for providing IP telephone services to subscribers.

上記構成において、ゲートウェイ1は、電話回線2を介して収容端末3から呼が着信した場合に、IP電話サーバ6にこの呼を中継する。また、この呼に対するIP電話サーバ6の応答が所定の迂回条件と合致するか否かを判断する。そして、所定の迂回条件と合致する場合に、この呼の発信元である収容端末3との間に通話路を確立して、確立した通話路に公衆電話サービスを利用する旨の音声ガイダンスを送出する。その後、公衆電話網(PSTN)7に迂回発信して、この収容端末3から着信した呼を公衆電話網7に中継する。   In the above configuration, the gateway 1 relays the call to the IP telephone server 6 when a call is received from the accommodating terminal 3 via the telephone line 2. Also, it is determined whether the response of the IP telephone server 6 to this call matches a predetermined detour condition. When a predetermined detour condition is met, a speech path is established with the accommodating terminal 3 that is the call originator, and voice guidance is sent to the effect that the public telephone service is used on the established speech path. To do. Thereafter, the call is detoured to the public telephone network (PSTN) 7 and a call received from the accommodating terminal 3 is relayed to the public telephone network 7.

図2は、図1に示すゲートウェイ1の概略図である。   FIG. 2 is a schematic diagram of the gateway 1 shown in FIG.

図示するように、本実施の形態のゲートウェイ1は、電話回線IF(インターフェース)部11と、IP電話網IF部12と、公衆電話網IF部13と、構成情報記憶部14と、主制御部15と、を有する。   As shown in the figure, the gateway 1 of this embodiment includes a telephone line IF (interface) unit 11, an IP telephone network IF unit 12, a public telephone network IF unit 13, a configuration information storage unit 14, and a main control unit. 15 and.

電話回線IF部11は、アナログ電話回線、ISDN回線、OD回線等の電話回線2と接続するためのインターフェースである。電話回線IF部11は、アナログ電話回線を収容するためのアナログ電話IF部111、ISDN回線を収容するためのISDNIF部112、およびOD回線を収容するためのODIF部113の少なくともいずれか一種類のIF部を少なくとも一つ有する。電話回線IF部11は、これらのIF部111〜113に収容された電話回線2を介して、アナログ電話機、ISDN電話機、PBX等の収容端末3と接続する。   The telephone line IF unit 11 is an interface for connecting to a telephone line 2 such as an analog telephone line, an ISDN line, or an OD line. The telephone line IF unit 11 includes at least one of an analog telephone IF unit 111 for accommodating an analog telephone line, an ISDNIF unit 112 for accommodating an ISDN line, and an ODIF unit 113 for accommodating an OD line. It has at least one IF section. The telephone line IF unit 11 is connected to the accommodating terminal 3 such as an analog telephone, an ISDN telephone, or a PBX via the telephone line 2 accommodated in these IF units 111 to 113.

IP電話網IF部12は、IP電話網5と接続するためのインターフェースであり、IP処理機能、UDP処理機能、RTP処理機能、およびSIP処理機能を有する。   The IP telephone network IF unit 12 is an interface for connecting to the IP telephone network 5 and has an IP processing function, a UDP processing function, an RTP processing function, and a SIP processing function.

公衆電話網IF部13は、公衆電話網7と接続するためのインターフェースである。   The public telephone network IF unit 13 is an interface for connecting to the public telephone network 7.

構成情報記憶部14には、収容端末3が、IP電話サービスおよび公衆電話サービスを享受するために必要な情報(構成情報)が記憶されている。構成情報記憶部14は、中継先記憶部141と、迂回条件記憶部142と、番号計画記憶部143と、を有する。   The configuration information storage unit 14 stores information (configuration information) necessary for the accommodation terminal 3 to enjoy the IP telephone service and the public telephone service. The configuration information storage unit 14 includes a relay destination storage unit 141, a detour condition storage unit 142, and a number plan storage unit 143.

中継先記憶部141は、電話回線IF部11が収容する電話回線2毎に、この電話回線2に接続された収容端末3が利用可能なIP電話サーバ6を記憶している。   The relay destination storage unit 141 stores, for each telephone line 2 accommodated by the telephone line IF unit 11, an IP telephone server 6 that can be used by the accommodating terminal 3 connected to the telephone line 2.

図3は、中継先記憶部141の登録内容を模式的に表した図である。図示するように、中継先記憶部141は、電話回線IF部11が収容する電話回線2毎に、レコード1410を有する。レコード1410は、電話回線2の識別情報である電話回線IDを登録するフィールド1411と、この電話回線2に接続された収容端末3が利用可能なIP電話サーバ6のアドレスを、優先順位の高いものから順番に登録するためのフィールド1412、1412、...と、を有する。ここで、フィールド1412には、優先順位n番目のIP電話サーバ6のアドレスが登録される。優先順位n番目のIP電話サーバ6がない場合、フィールド1412には、ヌルデータ「Null」が登録される。 FIG. 3 is a diagram schematically showing the registered contents of the relay destination storage unit 141. As shown in the figure, the relay destination storage unit 141 has a record 1410 for each telephone line 2 accommodated by the telephone line IF unit 11. The record 1410 has a field 1411 for registering a telephone line ID, which is identification information of the telephone line 2, and the address of the IP telephone server 6 that can be used by the accommodating terminal 3 connected to the telephone line 2 with high priority. Fields 1412 1 , 1412 2 ,. . . And having. Here, the address of the IP telephone server 6 with the priority n is registered in the field 1412 n . When there is no n-th priority IP telephone server 6, null data “Null” is registered in the field 1412 n .

迂回条件記憶部142は、収容端末3が利用可能なIP電話サーバ6毎に、このIP電話サーバ6を迂回する場合の条件(迂回条件)を記憶している。   The detour condition storage unit 142 stores a condition (a detour condition) for detouring the IP telephone server 6 for each IP telephone server 6 that can be used by the accommodating terminal 3.

図4は、迂回条件記憶部142の登録内容を模式的に表した図である。図示するように、迂回条件記憶部142は、収容端末3が利用可能なIP電話サーバ6毎に、レコード1420を有する。レコード1420は、IP電話サーバ6のアドレスを登録するフィールド1421と、このIP電話サーバ6から他のIP電話サーバ6に迂回発信する場合の迂回条件であるIP電話サーバ迂回条件を登録するフィールド1422と、このIP電話サーバ6から公衆電話網7に迂回発信する場合の迂回条件である公衆電話網迂回条件を登録するフィールド1423と、を有する。   FIG. 4 is a diagram schematically showing the registration contents of the detour condition storage unit 142. As illustrated, the detour condition storage unit 142 includes a record 1420 for each IP telephone server 6 that can be used by the accommodating terminal 3. The record 1420 has a field 1421 for registering the address of the IP telephone server 6, and a field 1422 for registering an IP telephone server detour condition that is a detour condition when making a detour call from the IP telephone server 6 to another IP telephone server 6. And a field 1423 for registering a public telephone network detour condition, which is a detour condition when making a detour call from the IP telephone server 6 to the public telephone network 7.

番号計画記憶部143は、電話回線IF部11が収容する電話回線2毎に、番号計画テーブルを記憶している。   The number plan storage unit 143 stores a number plan table for each telephone line 2 accommodated by the telephone line IF unit 11.

図5は、番号計画記憶部143の登録内容を模式的に表した図である。図示するように、電話回線IF部11が収容する電話回線2毎に、番号計画テーブル1430を有する。番号計画テーブル1430には、呼の中継先(IP電話網5および公衆電話網7のいずれか)および番号編集の対象となるあて先の電話番号(着番号)の先頭番号の組合せ毎に、レコード1431を有する。レコード1431は、呼の中継先を登録するフィールド1432と、あて先の電話番号の先頭番号を登録するフィールド1433と、この電話番号の先頭番号からの削除桁数を登録するフィールド1434と、この電話番号に追加する番号を登録するフィールド1435と、を有する。   FIG. 5 is a diagram schematically showing the registered contents of the number plan storage unit 143. As shown in the figure, each telephone line 2 accommodated by the telephone line IF unit 11 has a numbering plan table 1430. The number plan table 1430 includes a record 1431 for each combination of a call relay destination (either the IP telephone network 5 or the public telephone network 7) and a head number of a destination telephone number (called number) to be edited. Have The record 1431 includes a field 1432 for registering a call relay destination, a field 1433 for registering the head number of the destination telephone number, a field 1434 for registering the number of digits deleted from the head number of the telephone number, and the telephone number. And a field 1435 for registering a number to be added.

主制御部15は、ゲートウェイ1の各部と連携して、収容端末3にIP電話サービスおよび公衆電話サービスを提供する。   The main control unit 15 provides an IP telephone service and a public telephone service to the accommodating terminal 3 in cooperation with each unit of the gateway 1.

具体的には、主制御部15は、ルータ4を介してIP電話網5から、あるいは、公衆電話網7から呼が着信すると、この呼の着番号により特定される収容端末3にこの呼を中継する。これにより、この呼の発信元とこの呼の着番号により特定される収容端末3との間に通話路を形成する(着信処理)。   Specifically, when a call arrives from the IP telephone network 5 or the public telephone network 7 via the router 4, the main control unit 15 sends this call to the accommodating terminal 3 specified by the called number of this call. Relay. As a result, a communication path is formed between the call originator and the accommodating terminal 3 specified by the call destination number (incoming call processing).

また、主制御部15は、収容端末3から呼が着信すると、IP電話サーバ6にこの呼を中継する。これにより、IP電話網5経由で収容端末3とこの呼のあて先との間に通話路を形成する。ここで、IP電話サーバ6の応答が所定の迂回条件と合致する場合、収容端末3との間に通話路を確立して、確立した通話路に、公衆電話サービスを利用する旨の音声ガイダンスを送出する。その後、公衆電話網7に迂回発信して、この収容端末3から着信した呼を公衆電話網7に中継する。これにより、公衆電話網7経由で収容端末3とこの呼のあて先との間に通話路を形成する(発信処理)。   Further, when a call arrives from the accommodation terminal 3, the main control unit 15 relays this call to the IP telephone server 6. As a result, a communication path is formed between the accommodating terminal 3 and the destination of the call via the IP telephone network 5. Here, when the response of the IP telephone server 6 matches a predetermined detour condition, a voice path is established with the accommodating terminal 3 and voice guidance to the effect that the public telephone service is used is established on the established telephone path. Send it out. Thereafter, the call is detoured to the public telephone network 7, and the call received from the accommodation terminal 3 is relayed to the public telephone network 7. As a result, a communication path is formed between the accommodating terminal 3 and the destination of the call via the public telephone network 7 (transmission processing).

図6は、図1に示すゲートウェイ1の動作を説明するためのフロー図である。   FIG. 6 is a flowchart for explaining the operation of the gateway 1 shown in FIG.

IP電話網IF部12は、ルータ4を介してIP電話網5から呼(INVITEメッセージ)が着信すると(S11でYES)、この呼を主制御部15に通知する。これを受けて、主制御部15は、着信処理を行う。すなわち、主制御部15は、図示していない局データを参照して、この呼の着番号に対応する電話回線2を特定する。そして、電話回線IF部11を介して、この特定した電話回線2に、IP電話網5から着信した呼を転送する。以降、この電話回線2とIP電話網5との間のデータ送受を中継する。これにより、この呼の発信元とこの電話回線2に接続された収容端末3との間に、IP電話網5経由で通話路を形成する(S12)。   When a call (INVITE message) arrives from the IP telephone network 5 via the router 4 (YES in S11), the IP telephone network IF unit 12 notifies the main control unit 15 of this call. In response to this, the main control unit 15 performs incoming processing. That is, the main control unit 15 specifies the telephone line 2 corresponding to the called number of the call with reference to station data not shown. A call received from the IP telephone network 5 is transferred to the identified telephone line 2 via the telephone line IF unit 11. Thereafter, data transmission / reception between the telephone line 2 and the IP telephone network 5 is relayed. As a result, a call path is formed via the IP telephone network 5 between the call originator and the accommodating terminal 3 connected to the telephone line 2 (S12).

また、公衆電話網IF部13は、公衆電話網7から呼が着信すると(S13でYES)、この呼を主制御部15に通知する。これを受けて、主制御部15は、着信処理を行う。すなわち、主制御部15は、図示していない局データを参照して、この呼の着番号に対応する電話回線2を特定する。そして、電話回線IF部11を介して、この特定した電話回線2に、公衆電話網7から着信した呼を転送する。以降、この電話回線2と公衆電話網7との間のデータ送受を中継する。これにより、この呼の発信元とこの電話回線2に接続された収容端末3との間に、公衆電話網7経由で通話路を形成する(S14)。   In addition, when a call arrives from the public telephone network 7 (YES in S13), the public telephone network IF unit 13 notifies the main control unit 15 of this call. In response to this, the main control unit 15 performs incoming processing. That is, the main control unit 15 specifies the telephone line 2 corresponding to the called number of the call with reference to station data not shown. A call received from the public telephone network 7 is transferred to the identified telephone line 2 via the telephone line IF unit 11. Thereafter, data transmission / reception between the telephone line 2 and the public telephone network 7 is relayed. Thus, a communication path is formed via the public telephone network 7 between the call originator and the accommodating terminal 3 connected to the telephone line 2 (S14).

また、電話回線網IF部11は、収容する電話回線2から呼が着信すると(S15でYES)、この呼を主制御部15に通知する。これを受けて、主制御部15は、後述する発信処理を行う(S16)。   Further, when a call is received from the accommodated telephone line 2 (YES in S15), the telephone line network IF unit 11 notifies the main control unit 15 of this call. In response to this, the main control unit 15 performs a transmission process described later (S16).

図7は、図6に示す発信処理(S16)の詳細を説明するためのフロー図である。   FIG. 7 is a flowchart for explaining the details of the calling process (S16) shown in FIG.

先ず、主制御部15は、カウンタ値nを1に設定する(S1601)。次に、主制御部15は、呼の発信元の電話回線2に付与された電話回線IDをキーにして、構成情報記憶部141の中継先記憶部141からレコード1410を検索し、検索したレコード1410のフィールド1412に、優先度nのIP電話サーバ6のアドレスが登録されているか否かを調べる(S1602)。登録されている場合は(S1602でYES)、S1603に進む。一方、登録されていない場合は(S1602でNO)、S1609に進む。 First, the main control unit 15 sets a counter value n to 1 (S1601). Next, the main control unit 15 retrieves the record 1410 from the relay destination storage unit 141 of the configuration information storage unit 141 using the telephone line ID assigned to the telephone line 2 of the call originator as a key, and the retrieved record It is checked whether or not the address of the IP telephone server 6 with the priority n is registered in the field 1412 n of 1410 (S1602). If registered (YES in S1602), the process proceeds to S1603. On the other hand, if not registered (NO in S1602), the process proceeds to S1609.

S1603において、主制御部15は、呼の発信元の電話回線2に付与された電話回線IDをキーにして、番号計画記憶部143から番号計画テーブル1430を検索する。そして、検索した番号計画テーブル1430から、フィールド1432に呼の中継先としてIP電話網5が登録され、かつ、フィールド1433に呼の着番号(あて先の電話番号)の先頭番号が登録されたレコード1431をさらに検索する。このようなレコード1431を検索できた場合は、このレコード1431に登録されている番号計画に従って着番号を編集する。具体的には、着番号からフィールド1434に登録されている削除桁数を削除すると共に、着番号に、フィールド14344に登録されている追加番号を追加する。   In step S1603, the main control unit 15 searches the number plan storage unit 143 from the number plan table 1430 using the telephone line ID assigned to the telephone line 2 of the call originator as a key. Then, from the retrieved numbering plan table 1430, the record 1431 in which the IP telephone network 5 is registered as the call relay destination in the field 1432 and the first number of the called party number (the destination telephone number) is registered in the field 1433. Search for more. If such a record 1431 can be searched, the called number is edited according to the numbering plan registered in this record 1431. Specifically, the number of deleted digits registered in the field 1434 is deleted from the called number, and an additional number registered in the field 14344 is added to the called number.

次に、主制御部15は、IP電話網IF部12を制御し、着番号を編集した呼を、優先度nのIP電話サーバ6に転送する(S1604)。   Next, the main control unit 15 controls the IP telephone network IF unit 12 and transfers the call with the called number edited to the IP telephone server 6 with the priority n (S1604).

さて、主制御部15は、優先度nのIP電話サーバ6に呼を転送し、この呼に対する応答を受信したならば、このIP電話サーバ6のアドレスをキーとして、迂回条件記憶部142からレコード1420を検索する。そして、このIP電話サーバ6の、呼に対する応答が、このレコード1420のフィールド1422に登録されているIP電話サーバ迂回条件に合致するか否かを判断する(S1605)。例えば優先度nのIP電話サーバ6のアドレスが「192.168.10.1」である場合、図4に示す例では、このIP電話サーバ6からの応答が「408レスポンス」あるいは「486レスポンス」であれば、IP電話サーバ迂回条件に合致するものと判断する。   When the main control unit 15 transfers the call to the IP telephone server 6 with the priority n and receives a response to the call, the main control unit 15 records from the detour condition storage unit 142 using the address of the IP telephone server 6 as a key. 1420 is searched. Then, it is determined whether or not the response to the call of the IP telephone server 6 matches the IP telephone server detour condition registered in the field 1422 of the record 1420 (S1605). For example, when the address of the IP telephone server 6 with the priority n is “192.168.10.1”, in the example shown in FIG. 4, the response from the IP telephone server 6 is “408 response” or “486 response”. If so, it is determined that the IP telephone server bypass condition is met.

IP電話サーバ迂回条件に合致するものと判断した場合(S1605でYES)、主制御部15は、カウンタ値を一つインクリメントし(S1606)、それからS1602に戻る。一方、IP電話サーバ迂回条件に合致しないものと判断した場合(S1605でNO)、S1607に進む。   If it is determined that the IP telephone server bypass condition is met (YES in S1605), the main control unit 15 increments the counter value by one (S1606), and then returns to S1602. On the other hand, if it is determined that the IP telephone server bypass condition is not met (NO in S1605), the process proceeds to S1607.

S1607において、主制御部15は、優先度nのIP電話サーバ6の、呼に対する応答が、S1605で検索したレコード1420のフィールド1423に登録されている公衆電話網迂回条件に合致するか否かを判断する。例えば優先度nのIP電話サーバ6のアドレスが「192.168.10.1」である場合、図4に示す例では、このIP電話サーバ6からの応答が「408レスポンス」、「486レスポンス」、および「レスポンスなし(タイムアウト)」であれば、公衆電話網迂回条件に合致するものと判断する。   In S1607, the main control unit 15 determines whether or not the response to the call of the IP telephone server 6 having the priority n matches the public telephone network detour condition registered in the field 1423 of the record 1420 searched in S1605. to decide. For example, when the address of the IP telephone server 6 with priority n is “192.168.10.1”, in the example shown in FIG. 4, the responses from the IP telephone server 6 are “408 response”, “486 response”. And “no response (timeout)”, it is determined that the public telephone network detour condition is met.

公衆電話網迂回条件に合致するものと判断した場合(S1607でYES)、S1609に進む。一方、公衆電話網迂回条件に合致しないものと判断した場合(S1607でNO)、主制御部15は、呼の発信元の電話回線2と優先度nのIP電話サーバ6との間で送受されるデータを中継する(S1608)。これにより、IP電話網5経由で、呼の発信元である収容端末3と、この呼のあて先である通話相手との間に通話路が確立される。   If it is determined that the public telephone network detour condition is met (YES in S1607), the process proceeds to S1609. On the other hand, if it is determined that the public telephone network detour condition is not met (NO in S1607), the main control unit 15 transmits / receives the call between the telephone line 2 of the call originator and the IP telephone server 6 of priority n. The data to be relayed is relayed (S1608). As a result, a communication path is established between the accommodating terminal 3 that is the call source and the call partner that is the destination of the call via the IP telephone network 5.

また、S1609において、主制御部15は、電話回線IF部11を制御し、呼の発信元である収容端末3との間に通話路を確立する。それから、この通話路を介して収容端末3に、公衆電話網を利用することについて確認をとるための音声ガイダンスを送出する(S1610)。そして、この通話路を介して収容端末3から、例えばPB信号により、公衆電話網の利用の有無を示す迂回指示が送られてくるのを待つ(S1611)。   In step S <b> 1609, the main control unit 15 controls the telephone line IF unit 11 to establish a communication path with the accommodating terminal 3 that is a call source. Then, voice guidance for confirming that the public telephone network is used is sent to the accommodation terminal 3 via this communication path (S1610). And it waits for the detour instruction | indication which shows the presence or absence of use of a public telephone network by the PB signal from the accommodation terminal 3 via this communication path, for example (S1611).

収容端末3から受信した迂回指示が公衆電話網を利用しない旨を示している場合(S1611でNG)、このフローを終了する。一方、公衆電話網を利用する旨を示している場合(S1611でOK)、S1612に進む。   If the detour instruction received from the accommodation terminal 3 indicates that the public telephone network is not used (NG in S1611), this flow ends. On the other hand, if it indicates that the public telephone network is to be used (S1611: OK), the process proceeds to S1612.

S1612において、主制御部15は、呼の発信元の電話回線2に付与された電話回線IDをキーにして、番号計画記憶部143から番号計画テーブル1430を検索する。そして、検索した番号計画テーブル1430から、フィールド1432に呼の中継先として公衆電話網7が登録され、かつ、フィールド1433に呼の着番号(あて先の電話番号)の先頭番号が登録されたレコード1431をさらに検索する。このようなレコード1431を検索できた場合は、このレコード1431に登録されている番号計画に従って着番号を編集する。具体的には、着番号からフィールド1434に登録されている削除桁数を削除すると共に、着番号に、フィールド1435に登録されている追加番号を追加する。   In step S <b> 1612, the main control unit 15 searches the number plan storage unit 143 from the number plan table 1430 using the telephone line ID assigned to the telephone line 2 as the call originator as a key. Then, from the retrieved numbering plan table 1430, the record 1431 in which the public telephone network 7 is registered as a call relay destination in the field 1432 and the first number of the called party number (destination telephone number) is registered in the field 1433. Search for more. If such a record 1431 can be searched, the called number is edited according to the numbering plan registered in this record 1431. Specifically, the number of deleted digits registered in the field 1434 is deleted from the called number, and an additional number registered in the field 1435 is added to the called number.

次に、主制御部15は、公衆電話網IF部13を制御し、着番号を編集した呼を、公衆電話網7に転送する(S1613)。それから、主制御部15は、公衆電話網IF部13を介して、公衆電話網7から接続応答が送られ、これにより、公衆電話網7経由で、呼のあて先である通話相手との間に通話路が確立されるのを待つ(S1614)。その後、主制御部15は、この通話路と、S1609において呼の発信元である収容端末3との間に予め確立しておいた通話路とを中継する(S1615)。これにより、公衆電話網7経由で、呼の発信元である収容端末3と、この呼のあて先である通話相手との間に通話路が確立される。   Next, the main control unit 15 controls the public telephone network IF unit 13 to transfer the call with the called number edited to the public telephone network 7 (S1613). Then, the main control unit 15 receives a connection response from the public telephone network 7 via the public telephone network IF unit 13, and thereby, via the public telephone network 7, between the call partner as a call destination. It waits for a call path to be established (S1614). Thereafter, the main control unit 15 relays this call path and the call path established in advance between the accommodating terminal 3 that is the call originator in S1609 (S1615). As a result, a communication path is established between the accommodating terminal 3 that is the call source and the call partner that is the destination of the call via the public telephone network 7.

次に、図1に示すIP電話システムにおける呼制御手順例を説明する。   Next, an example of a call control procedure in the IP telephone system shown in FIG. 1 will be described.

図8は、図3において電話回線ID「01」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。   FIG. 8 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “01” in FIG. 3 makes a call.

ゲートウェイ1は、収容端末3から呼が着信すると(S201)、この呼の中継先を決定すると共に、必要に応じて着番号の番号編集を行う(S202)。   When a call arrives from the accommodation terminal 3 (S201), the gateway 1 determines the relay destination of this call and edits the number of the called number as necessary (S202).

すなわち、ゲートウェイ1は、この収容端末3が接続された電話回線2の電話回線ID「01」をキーにして、構成情報記憶部141の中継先記憶部141からレコード1410を検索する。そして、このレコード1410のフィールド1412に登録されている優先度「1」のIP電話サーバ6(アドレス「192.168.21.1」)を呼の中継先に決定する。また、この収容端末3が接続された電話回線2の電話回線ID「01」をキーにして、番号計画記憶部143から番号計画テーブル1430を検索すると共に、中継先「IP電話網」および呼の着番号の先頭番号をキーにして、検索した番号計画テーブル143からレコード1431をさらに検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。 That is, the gateway 1 retrieves the record 1410 from the relay destination storage unit 141 of the configuration information storage unit 141 using the telephone line ID “01” of the telephone line 2 to which the accommodating terminal 3 is connected as a key. Then, the IP telephone server 6 (address “192.168.21.1”) with the priority “1” registered in the field 1412 1 of the record 1410 is determined as the call relay destination. In addition, the telephone line ID “01” of the telephone line 2 to which the accommodating terminal 3 is connected is used as a key to search the numbering plan table 1430 from the numbering plan storage unit 143, and the relay destination “IP telephone network” and the call The record 1431 is further searched from the searched numbering plan table 143 using the first number of the called number as a key. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

次に、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を表すINVITEメッセージを、中継先に決定されたIP電話サーバ6(アドレス「192.168.21.1」)に送信する(S203)。   Next, the gateway 1 sends an IP phone server 6 (address “192.168.21.1”) determined as the relay destination to the INVITE message representing the call whose called number is edited as necessary. (S203).

さて、ゲートウェイ1は、IP電話サーバ6(アドレス「192.168.21.1」)から486レスポンスを受信すると(S204)、このIP電話サーバ6のアドレスをキーとして、図4に示す迂回条件記憶部142からレコード1420を検索し、486レスポンスがこのレコード1420のIP電話サーバ迂回条件に含まれているか否かを確認する。そして、486レスポンスがIP電話サーバ迂回条件に含まれていることを確認すると、この呼の新たな中継先を決定すると共に、必要に応じて着番号の番号編集を行う(S205)。   When the gateway 1 receives a 486 response from the IP telephone server 6 (address “192.168.21.1”) (S204), the bypass condition storage shown in FIG. 4 is stored using the address of the IP telephone server 6 as a key. The record 1420 is searched from the unit 142, and it is confirmed whether or not the 486 response is included in the IP telephone server bypass condition of the record 1420. When it is confirmed that the 486 response is included in the IP telephone server bypass condition, a new relay destination of this call is determined, and the number of the called number is edited as necessary (S205).

すなわち、S202で検索した中継先記憶部141のレコード1410のフィールド1412に登録されている優先度「2」のIP電話サーバ6(アドレス「192.168.10.1」)を呼の新たな中継先に決定する。また、中継先「IP電話網」および呼の着番号の先頭番号をキーにして、S202で検索した番号計画テーブル1430からレコード1431を検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。 That, IP telephone server 6 (address "192.168.10.1") priority that is registered retrieved field 1412 the second record 1410 of the relay destination storage unit 141 in step S202, "2" new a call Determine the relay destination. Further, the record 1431 is retrieved from the number plan table 1430 retrieved in S202, using the relay destination “IP telephone network” and the first number of the called party number as keys. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

次に、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を表すINVITEメッセージを、新たな中継先に決定されたIP電話サーバ6(アドレス「192.168.10.1」)に送信する(S206)。   Next, the gateway 1 sends the INVITE message representing the call whose called number is edited as necessary as described above to the IP telephone server 6 (address “192.168.10.1” determined as the new relay destination). ]) (S206).

さて、ゲートウェイ1は、IP電話サーバ6(アドレス「192.168.10.1」)から408レスポンスを受信すると(S207)、このIP電話サーバ6のアドレスをキーとして、図4に示す迂回条件記憶部142からレコード1420を検索し、408レスポンスがこのレコード1420のIP電話サーバ迂回条件に含まれているか否かを確認する。そして、408レスポンスがIP電話サーバ迂回条件に含まれていることを確認すると、この呼の新たな中継先を決定する(S208)。   When the gateway 1 receives a 408 response from the IP telephone server 6 (address “192.168.10.1”) (S207), the bypass condition storage shown in FIG. 4 is stored using the address of the IP telephone server 6 as a key. The record 1420 is searched from the unit 142, and it is confirmed whether or not the 408 response is included in the IP telephone server bypass condition of the record 1420. When it is confirmed that the 408 response is included in the IP telephone server bypass condition, a new relay destination of this call is determined (S208).

すなわち、S202で検索した中継先記憶部141のレコード1410のフィールド1412に優先度「3」のIP電話サーバ6が登録されていないことを確認し、公衆電話網7を呼の新たな中継先に決定する。 That is, to verify that the IP telephone server 6 priority "3" in the field 1412 third record 1410 of the relay destination storage unit 141 searched in S202 is not registered, a new relay destination of the call to the public telephone network 7 To decide.

次に、ゲートウェイ1は、呼の発信元である収容端末3との間に通話路を確立し、この通話路を介して収容端末3に、公衆電話網7を利用することについて確認をとるための音声ガイダンスを送出する(S209)。そして、ゲートウェイ1は、この通話路を介して収容端末3から、公衆電話網7の利用を許可することを示す迂回指示を受信すると(S210)、必要に応じて着番号の番号編集を行う(S211)。   Next, the gateway 1 establishes a communication path with the accommodating terminal 3 that is a call source, and confirms that the public telephone network 7 is used for the accommodating terminal 3 through the communication path. Is sent (S209). When the gateway 1 receives a detour instruction indicating that the use of the public telephone network 7 is permitted from the accommodating terminal 3 via this communication path (S210), the gateway 1 performs number editing of the called number as necessary (S210). S211).

すなわち、中継先「公衆電話網」および呼の着番号の先頭番号をキーにして、S202で検索した番号計画テーブル1430からレコード1431を検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。   That is, the record 1431 is retrieved from the number plan table 1430 retrieved in S202, using the relay destination “public telephone network” and the first number of the called party number as keys. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

それから、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を公衆電話網7に送信する(S212)。   Then, the gateway 1 transmits the call with the called number edited as necessary to the public telephone network 7 as described above (S212).

図9は、図3において電話回線ID「02」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。   FIG. 9 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “02” in FIG. 3 makes a call.

ゲートウェイ1は、収容端末3から呼が着信すると(S221)、この呼の中継先を決定する(S222)。   When a call arrives from the accommodation terminal 3 (S221), the gateway 1 determines a relay destination of this call (S222).

すなわち、ゲートウェイ1は、この収容端末3が接続された電話回線2の電話回線ID「02」をキーにして、構成情報記憶部141の中継先記憶部141からレコード1410を検索する。そして、このレコード1410のフィールド1412に優先度「1」のIP電話サーバ6が登録されていないことを確認し、公衆電話網7を呼の中継先に決定する。 That is, the gateway 1 retrieves the record 1410 from the relay destination storage unit 141 of the configuration information storage unit 141 using the telephone line ID “02” of the telephone line 2 to which the accommodating terminal 3 is connected as a key. Then, IP telephone server 6 of the priority "1" in the field 1412 1 of this record 1410 is to make sure that is not registered, to determine the public telephone network 7 to the relay destination of the call.

次に、ゲートウェイ1は、呼の発信元である収容端末3との間に通話路を確立し、この通話路を介して収容端末3に、公衆電話網7を利用することについて確認をとるための音声ガイダンスを送出する(S223)。そして、ゲートウェイ1は、この通話路を介して収容端末3から、公衆電話網7の利用を許可することを示す迂回指示を受信すると(S224)、必要に応じて着番号の番号編集を行う(S225)。   Next, the gateway 1 establishes a communication path with the accommodating terminal 3 that is a call source, and confirms that the public telephone network 7 is used for the accommodating terminal 3 through the communication path. The voice guidance is sent out (S223). When the gateway 1 receives a detour instruction indicating that the use of the public telephone network 7 is permitted from the accommodation terminal 3 through the communication path (S224), the gateway 1 performs number editing of the called number as necessary (S224). S225).

すなわち、この収容端末3が接続された電話回線2の電話回線ID「02」をキーにして、番号計画記憶部143から番号計画テーブル1430を検索すると共に、中継先「公衆電話網」および呼の着番号の先頭番号をキーにして、検索した番号計画テーブル1430からレコード1431をさらに検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。   That is, using the telephone line ID “02” of the telephone line 2 to which the accommodating terminal 3 is connected as a key, the numbering plan table 1430 is searched from the numbering plan storage unit 143 and the relay destination “public telephone network” and the call The record 1431 is further searched from the searched numbering plan table 1430 using the first number of the called number as a key. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

それから、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を公衆電話網7に送信する(S226)。   Then, the gateway 1 transmits the call with the called number edited as necessary to the public telephone network 7 as described above (S226).

図10は、図3において電話回線ID「03」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。   FIG. 10 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “03” in FIG. 3 places a call.

ゲートウェイ1は、収容端末3から呼が着信すると(S231)、この呼の中継先を決定すると共に、必要に応じて着番号の番号編集を行う(S232)。   When a call arrives from the accommodation terminal 3 (S231), the gateway 1 determines the relay destination of this call and edits the number of the called number as necessary (S232).

すなわち、ゲートウェイ1は、この収容端末3が接続された電話回線2の電話回線ID「03」をキーにして、構成情報記憶部141の中継先記憶部141からレコード1410を検索する。そして、このレコード1410のフィールド1412に登録されている優先度「1」のIP電話サーバ6(アドレス「192.168.10.1」)を呼の中継先に決定する。また、この収容端末3が接続された電話回線2の電話回線ID「03」をキーにして、番号計画記憶部143から番号計画テーブル1430を検索すると共に、中継先「IP電話網」および呼の着番号の先頭番号をキーにして、検索した番号計画テーブル1430からレコード1431をさらに検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。 That is, the gateway 1 searches the record 1410 from the relay destination storage unit 141 of the configuration information storage unit 141 using the telephone line ID “03” of the telephone line 2 to which the accommodating terminal 3 is connected as a key. Then, to determine the IP telephone server 6 of the priority "1" registered in the field 1412 1 of the record 1410 (the address "192.168.10.1") to the relay destination of the call. In addition, the telephone line ID “03” of the telephone line 2 to which the accommodating terminal 3 is connected is used as a key to search the numbering plan table 1430 from the numbering plan storage unit 143, and the relay destination “IP telephone network” and the call The record 1431 is further searched from the searched numbering plan table 1430 using the first number of the called number as a key. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

次に、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を表すINVITEメッセージを、中継先に決定されたIP電話サーバ6(アドレス「192.168.10.1」)に送信する(S233)。   Next, the gateway 1 sends an IP phone server 6 (address “192.168.10.1”) determined as the relay destination to the INVITE message representing the call whose called number is edited as necessary. (S233).

ここで、IP電話網5に障害が発生し、このため、INVITEメッセージが中継先のIP電話サーバ6(アドレス「192.168.10.1」)に到着していないものとする。この場合、IP電話サーバ6(アドレス「192.168.10.1」)は、ゲートウェイ1にレスポンスを返信しない。   Here, it is assumed that a failure has occurred in the IP telephone network 5, and therefore the INVITE message has not arrived at the relay destination IP telephone server 6 (address “192.168.10.1”). In this case, the IP telephone server 6 (address “192.168.10.1”) does not return a response to the gateway 1.

さて、ゲートウェイ1は、IP電話サーバ6(アドレス「192.168.10.1」)のレスポンスがタイムアウトしたことを検出すると(S234)、このIP電話サーバ6のアドレスをキーとして、図4に示す迂回条件記憶部142からレコード1420を検索し、レスポンスのタイムアウトがこのレコード1420のIP電話サーバ迂回条件に含まれているか否かを確認する。そして、登録されていないことを確認すると、さらに、レスポンスのタイムアウトがこのレコード1420の公衆電話網迂回条件1423に含まれているか否かを確認する。それから、ゲートウェイ1は、レスポンスのタイムアウトが公衆電話網迂回条件1423に含まれていることを確認すると、公衆回線網7を新たな中継先に決定する(S235)。   When the gateway 1 detects that the response of the IP telephone server 6 (address “192.168.10.1”) has timed out (S234), the gateway 1 uses the address of the IP telephone server 6 as a key, as shown in FIG. The record 1420 is searched from the detour condition storage unit 142, and it is confirmed whether or not the response timeout is included in the IP telephone server detour condition of the record 1420. Then, when it is confirmed that it is not registered, it is further confirmed whether or not a response timeout is included in the public telephone network bypass condition 1423 of this record 1420. After confirming that the response timeout is included in the public telephone network bypass condition 1423, the gateway 1 determines the public line network 7 as a new relay destination (S235).

次に、ゲートウェイ1は、呼の発信元である収容端末3との間に通話路を確立し、この通話路を介して収容端末3に、公衆電話網7を利用することについて確認をとるための音声ガイダンスを送出する(S236)。そして、ゲートウェイ1は、この通話路を介して収容端末3から、公衆電話網7の利用を許可することを示す迂回指示を受信すると(S237)、必要に応じて着番号の番号編集を行う(S238)。   Next, the gateway 1 establishes a communication path with the accommodating terminal 3 that is a call source, and confirms that the public telephone network 7 is used for the accommodating terminal 3 through the communication path. The voice guidance is sent out (S236). When the gateway 1 receives a detour instruction indicating that the use of the public telephone network 7 is permitted from the accommodation terminal 3 through the communication path (S237), the gateway 1 edits the number of the called number as necessary (S237). S238).

すなわち、中継先「公衆電話網」および呼の着番号の先頭番号をキーにして、S232で検索した番号計画テーブル1430からレコード1431を検索する。そして、レコード1431を検索できた場合、このレコード1431に登録されている番号計画に従って、呼の着番号を編集する。   That is, the record 1431 is retrieved from the number plan table 1430 retrieved in S232, using the relay destination “public telephone network” and the first number of the called party number as keys. If the record 1431 can be searched, the call arrival number is edited according to the numbering plan registered in the record 1431.

それから、ゲートウェイ1は、以上のように必要に応じて着番号が編集された呼を公衆電話網7に送信する(S239)。   Then, the gateway 1 transmits the call with the called number edited as necessary to the public telephone network 7 as described above (S239).

以上、本発明の実施の形態について説明した。   The embodiment of the present invention has been described above.

本実施の形態では、公衆電話網7に迂回発信に先立って、呼の発信元との間に通話路を確立し、この通話路に公衆電話サービスを利用する旨の音声ガイダンスを送出する。したがって、本実施の形態によれば、収容端末3のユーザに公衆電話サービスを利用する旨を確実に知らせることができる。   In the present embodiment, prior to the detour transmission to the public telephone network 7, a communication path is established with the call originator, and voice guidance to the effect that the public telephone service is used is transmitted to this communication path. Therefore, according to the present embodiment, it is possible to reliably notify the user of the accommodation terminal 3 that the public telephone service is used.

また、本実施の形態では、収容端末3のユーザから公衆電話サービスの利用を許可する旨の迂回指示を受け付けた場合にのみ、収容端末3に公衆電話サービスを提供する。このため、公衆電話サービスの利用を望まないユーザは、公衆電話サービスの利用を拒否することができる。   In the present embodiment, the public telephone service is provided to the accommodation terminal 3 only when a detour instruction for permitting the use of the public telephone service is received from the user of the accommodation terminal 3. For this reason, a user who does not wish to use the public telephone service can refuse to use the public telephone service.

また、本実施の形態では、IP電話サーバ6の応答がIP電話サーバ迂回条件に該当する場合において、呼の発信元の電話回線2に対応付けられている他のIP電話サーバ6があるならば、この他のIP電話サーバ6に呼を中継し、ない場合にのみ公衆電話網7に呼を中継する。したがって、本実施の形態によれば、収容端末3のユーザに、IP電話サービスを、優先的に提供することができる。   In the present embodiment, if the response of the IP telephone server 6 corresponds to the IP telephone server bypass condition, there is another IP telephone server 6 associated with the telephone line 2 that is the call source. The call is relayed to the other IP telephone server 6, and the call is relayed to the public telephone network 7 only when there is not. Therefore, according to the present embodiment, the IP telephone service can be preferentially provided to the user of the accommodation terminal 3.

また、本実施の形態では、IP電話サーバ6の応答が公衆電話網迂回条件にのみ該当する場合、呼の発信元の電話回線2に対応付けられている他のIP電話サーバ6がある場合でも、公衆電話網7に呼を中継する。したがって、本実施の形態によれば、収容端末3のユーザに、公衆電話サービスをより迅速に提供することができる。   Further, in this embodiment, when the response of the IP telephone server 6 corresponds only to the public telephone network detour condition, even when there is another IP telephone server 6 associated with the telephone line 2 that is the call originator. The call is relayed to the public telephone network 7. Therefore, according to the present embodiment, the public telephone service can be provided to the user of the accommodation terminal 3 more quickly.

なお、本発明は上記の実施形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。例えば、ゲートウェイ1の構成は、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)などの集積ロジックICによりハード的に実行されるものでもよいし、あるいはDSP(Digital Signal Processer)、PC(Personal Computer)などの計算機によりソフトウエア的に実行されるものでもよい。   In addition, this invention is not limited to said embodiment, Many deformation | transformation are possible within the range of the summary. For example, the configuration of the gateway 1 may be executed by an integrated logic IC such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA), or may be a DSP (Digital Signal Process). It may be executed by software by a computer such as a personal computer.

例えば、CPUと、プログラムおよび構成情報を記憶するメモリと、アナログ電話回線、ISDN回線、OD回線等と接続し、これら回線を介して収容端末3と通信を行なう回線IFと、例えばLANケーブルと接続し、このケーブルを介してIP電話網6と通信を行なうネットワークIFと、公衆電話回線と接続し、この電話回線を介して公衆電話網7と通信を行なう公衆電話回線IFと、これら各構成要素を相互接続する内部バスと、を有する計算機において、CPUがメモリに記憶されているプログラムを実行することで実現されるものでもよい。この場合、構成情報記憶部14にはメモリが、電話回線IF部11には回線IFが、IP電話網IF部12にはネットワークIFが、そして、公衆電話網IF部13には公衆電話回線IFが用いられる。   For example, a CPU, a memory for storing program and configuration information, an analog telephone line, an ISDN line, an OD line, etc., and a line IF for communicating with the accommodating terminal 3 via these lines, for example, a LAN cable The network IF that communicates with the IP telephone network 6 via this cable, the public telephone line IF that communicates with the public telephone network 7 via this telephone line, and these components. May be realized by a CPU executing a program stored in a memory. In this case, the configuration information storage unit 14 has a memory, the telephone line IF unit 11 has a line IF, the IP telephone network IF unit 12 has a network IF, and the public telephone network IF unit 13 has a public telephone line IF. Is used.

また、本実施の形態において、ゲートウェイ1に、ルータ4の機能を持たせることで、ゲートウェイ1を直接IP電話網5に接続されるようにしてもよい。   In the present embodiment, the gateway 1 may be directly connected to the IP telephone network 5 by providing the gateway 1 with the function of the router 4.

また、本実施の形態では、IP電話サービスに用いる呼制御プロトコルとしてSIPを用いる場合を例にとり説明したが、本発明はこれに限定されない。例えばH.323を利用するものであってもよい。   In this embodiment, the case where SIP is used as the call control protocol used for the IP telephone service has been described as an example. However, the present invention is not limited to this. For example, H.323 may be used.

図1は、本発明の一実施の形態が適用されたゲートウェイ1を含むIP電話システムの概略図である。FIG. 1 is a schematic diagram of an IP telephone system including a gateway 1 to which an embodiment of the present invention is applied. 図2は、図1に示すゲートウェイ1の概略図である。FIG. 2 is a schematic diagram of the gateway 1 shown in FIG. 図3は、中継先記憶部141の登録内容を模式的に表した図である。FIG. 3 is a diagram schematically showing the registration contents of the relay destination storage unit 141. 図4は、迂回条件記憶部142の登録内容を模式的に表した図である。FIG. 4 is a diagram schematically showing the registration contents of the detour condition storage unit 142. 図5は、番号計画記憶部143の登録内容を模式的に表した図である。FIG. 5 is a diagram schematically showing the registered contents of the number plan storage unit 143. 図6は、図1に示すゲートウェイ1の動作を説明するためのフロー図である。FIG. 6 is a flowchart for explaining the operation of the gateway 1 shown in FIG. 図7は、図6に示す発信処理(S16)を説明するためのフロー図である。FIG. 7 is a flowchart for explaining the calling process (S16) shown in FIG. 図8は、図3において電話回線ID「01」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。FIG. 8 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “01” in FIG. 3 makes a call. 図9は、図3において電話回線ID「02」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。FIG. 9 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “02” in FIG. 3 makes a call. 図10は、図3において電話回線ID「03」を持つ電話回線2に接続された収容端末3が発呼した場合の呼制御手順例を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining an example of a call control procedure when the accommodating terminal 3 connected to the telephone line 2 having the telephone line ID “03” in FIG. 3 places a call.

符号の説明Explanation of symbols

1:ゲートウェイ、2:電話回線、3:収容端末、4:ルータ、5:IP電話網、6:IP電話サーバ、7:公衆回線網、11:電話回線IF部、12:IP電話網IF部、13:公衆電話網IF部、14:構成情報記憶部、15:主制御部、111:アナログ電話IF部、112:ISDNIF部、113:ODIF部、141:中継先記憶部、142:迂回条件記憶部、143:番号計画記憶部   1: gateway, 2: telephone line, 3: accommodating terminal, 4: router, 5: IP telephone network, 6: IP telephone server, 7: public line network, 11: telephone line IF section, 12: IP telephone network IF section , 13: Public telephone network IF unit, 14: Configuration information storage unit, 15: Main control unit, 111: Analog telephone IF unit, 112: ISDNIF unit, 113: ODIF unit, 141: Relay destination storage unit, 142: Detour condition Storage unit, 143: Number plan storage unit

Claims (7)

呼の中継を行うゲートウェイ装置であって、
少なくとも一つの電話回線を収容する電話回線インターフェースと、
IP電話網に接続するIP電話網インターフェースと、
公衆電話網に接続する公衆電話網インターフェースと、
前記電話回線インターフェースを介して前記電話回線から着信した呼を、前記IP電話網インターフェースを介して前記IP電話網に中継すると共に、当該呼に対する前記IP電話網の応答が所定の迂回条件と合致する場合に、前記公衆電話網インターフェースを介して前記公衆電話網に当該呼を中継する制御手段と、を有し、
前記制御手段は、
前記公衆電話網インターフェースを介して前記公衆電話網に呼を中継する場合に、当該中継に先立って、前記電話回線インターフェースを介して当該呼の発信元との間に通話路を確立し、当該通話路に音声ガイダンスを送出する
ことを特徴とするゲートウェイ装置。
A gateway device that relays calls,
A telephone line interface accommodating at least one telephone line;
An IP telephone network interface connected to the IP telephone network;
A public telephone network interface connected to the public telephone network;
A call received from the telephone line via the telephone line interface is relayed to the IP telephone network via the IP telephone network interface, and a response of the IP telephone network to the call matches a predetermined detour condition. A control means for relaying the call to the public telephone network via the public telephone network interface,
The control means includes
When a call is relayed to the public telephone network via the public telephone network interface, a call path is established with the call originator via the telephone line interface prior to the relay, and the call A gateway device characterized by sending voice guidance to a road.
請求項1に記載のゲートウェイ装置であって、
前記制御手段は、
前記電話回線インターフェースを介して呼の発信元から前記公衆電話網への切替指示を受け付けた場合に、当該呼を前記公衆電話網に中継する
ことを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The control means includes
A gateway device that relays a call to the public telephone network when an instruction to switch from the call source to the public telephone network is received via the telephone line interface.
請求項1又は2に記載のゲートウェイ装置であって、
前記電話回線毎に、当該電話回線に接続された端末が利用可能なIP電話サーバを登録するサーバ登録手段をさらに有し、
前記制御手段は、
前記電話回線インターフェースを介して前記電話回線から着信した呼を、前記IP電話網インターフェースを介して、当該電話回線に対応付けられて前記サーバ登録手段に登録されているIP電話サーバに中継する
ことを特徴とするゲートウェイ装置。
The gateway device according to claim 1 or 2,
Server registration means for registering an IP telephone server that can be used by a terminal connected to the telephone line for each telephone line;
The control means includes
Relaying a call received from the telephone line via the telephone line interface to an IP telephone server registered in the server registration means in association with the telephone line via the IP telephone network interface. A gateway device characterized.
請求項3に記載のゲートウェイ装置であって、
前記所定の迂回条件は、
IP電話サーバからの障害通知の受信を含み、
前記制御手段は、
呼の中継先であるIP電話サーバから前記障害通知を受信した場合に、当該呼の発信元と接続する電話回線に対応付けられて前記サーバ登録手段に登録されている他のIP電話サーバがあるか否かを調べ、あるならば当該他のIP電話サーバに当該呼を中継し、ないならば前記公衆電話網に当該呼を中継する
ことを特徴とするゲートウェイ装置。
The gateway device according to claim 3,
The predetermined detour condition is
Including failure notification from the IP phone server,
The control means includes
When the failure notification is received from the IP telephone server that is the call relay destination, there is another IP telephone server that is registered in the server registration means in association with the telephone line connected to the call source. A gateway device characterized in that, if there is, the call is relayed to the other IP telephone server, and if not, the call is relayed to the public telephone network.
請求項4に記載のゲートウェイ装置であって、
前記所定の迂回条件は、
IP電話サーバからの応答のタイムアウトを含み、
前記制御手段は、
呼の中継先であるIP電話サーバからの応答がタイムアウトした場合に、当該呼の発信元と接続する電話回線に対応付けられて前記サーバ登録手段に登録されている他のIP電話サーバがある場合でも、前記公衆電話網に当該呼を中継する
ことを特徴とするゲートウェイ装置。
The gateway device according to claim 4,
The predetermined detour condition is
Including timeout of response from IP phone server,
The control means includes
When a response from the IP telephone server which is a call relay destination times out, there is another IP telephone server registered in the server registration means in association with the telephone line connected to the call originator. However, a gateway device that relays the call to the public telephone network.
請求項1乃至5のいずれか一項に記載のゲートウェイ装置であって、
前記電話回線インターフェースが収容する電話回線に対応付けて番号計画を登録する番号計画登録手段をさらに有し、
前記制御手段は、
前記電話回線インターフェースを介して前記電話回線から着信した呼の着番号を、当該電話回線に対応付けられて前記番号計画登録手段に登録されている番号計画に従い編集して、当該呼を中継する
ことを特徴とするゲートウェイ装置。
The gateway device according to any one of claims 1 to 5,
A numbering plan registration means for registering a numbering plan in association with the telephone line accommodated by the telephone line interface;
The control means includes
Edit the called number of a call received from the telephone line via the telephone line interface according to the number plan registered in the number plan registration means in association with the telephone line, and relay the call The gateway apparatus characterized by this.
呼の中継方法であって、
電話回線から呼が着信した場合に、当該呼をIP電話網に中継し、
当該呼に対する前記IP電話網の応答が所定の迂回条件と合致するか否かを判断し、
前記応答が前記所定の迂回条件と合致する場合に、当該呼の発信元との間に通話路を確立して、当該通話路に音声ガイダンスを送出し、その後、当該呼を公衆電話網に中継する
ことを特徴とする呼の中継方法。
A call relay method,
When a call is received from a telephone line, the call is relayed to the IP telephone network.
Determining whether a response of the IP telephone network to the call matches a predetermined detour condition;
If the response matches the predetermined detour condition, a call path is established with the call originator, voice guidance is sent to the call path, and then the call is relayed to the public telephone network. A call relay method characterized by:
JP2007040260A 2007-02-21 2007-02-21 Gateway device and call relay method Active JP4971823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007040260A JP4971823B2 (en) 2007-02-21 2007-02-21 Gateway device and call relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007040260A JP4971823B2 (en) 2007-02-21 2007-02-21 Gateway device and call relay method

Publications (2)

Publication Number Publication Date
JP2008205874A true JP2008205874A (en) 2008-09-04
JP4971823B2 JP4971823B2 (en) 2012-07-11

Family

ID=39782869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007040260A Active JP4971823B2 (en) 2007-02-21 2007-02-21 Gateway device and call relay method

Country Status (1)

Country Link
JP (1) JP4971823B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147981A (en) * 2008-12-22 2010-07-01 Nec Engineering Ltd Ip-pbx system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1042079A (en) * 1996-07-22 1998-02-13 Hitachi Ltd Exchange having LCR function and connection control method for the exchange
JPH11103340A (en) * 1997-09-29 1999-04-13 Oki Electric Ind Co Ltd Audio communication method, communication route notifying device and telephone exchange network
JP2001333114A (en) * 2000-05-22 2001-11-30 Hitachi Ltd Detour control method in Internet gateway system
JP2002094661A (en) * 2000-09-18 2002-03-29 Ntt Comware Corp A routing method integrating a telephone network and an IP network, and an exchange of the telephone network using the routing method
JP2004222013A (en) * 2003-01-16 2004-08-05 Fusion Communications Corp Internet protocol telephony sistem
JP2004289486A (en) * 2003-03-20 2004-10-14 Softbank Bb Corp Communication path setting method and communication path setting system
JP2005136844A (en) * 2003-10-31 2005-05-26 Sanyo Electric Co Ltd SIP TELEPHONE SET AND VoIP SYSTEM USING THE SAME
JP2006229303A (en) * 2005-02-15 2006-08-31 Hitachi Communication Technologies Ltd VoIP gateway device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1042079A (en) * 1996-07-22 1998-02-13 Hitachi Ltd Exchange having LCR function and connection control method for the exchange
JPH11103340A (en) * 1997-09-29 1999-04-13 Oki Electric Ind Co Ltd Audio communication method, communication route notifying device and telephone exchange network
JP2001333114A (en) * 2000-05-22 2001-11-30 Hitachi Ltd Detour control method in Internet gateway system
JP2002094661A (en) * 2000-09-18 2002-03-29 Ntt Comware Corp A routing method integrating a telephone network and an IP network, and an exchange of the telephone network using the routing method
JP2004222013A (en) * 2003-01-16 2004-08-05 Fusion Communications Corp Internet protocol telephony sistem
JP2004289486A (en) * 2003-03-20 2004-10-14 Softbank Bb Corp Communication path setting method and communication path setting system
JP2005136844A (en) * 2003-10-31 2005-05-26 Sanyo Electric Co Ltd SIP TELEPHONE SET AND VoIP SYSTEM USING THE SAME
JP2006229303A (en) * 2005-02-15 2006-08-31 Hitachi Communication Technologies Ltd VoIP gateway device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147981A (en) * 2008-12-22 2010-07-01 Nec Engineering Ltd Ip-pbx system

Also Published As

Publication number Publication date
JP4971823B2 (en) 2012-07-11

Similar Documents

Publication Publication Date Title
JP4502803B2 (en) Terminal connection device, connection control device, and multi-function telephone terminal
JP4139031B2 (en) Caller information display method
US20070160036A1 (en) Method and system for servicing enhanced 911 calls
KR101128971B1 (en) Intercept system, path changing device, and recording medium
JP2004135329A (en) Internet phone with ring back tone generator and ring back tone transmission method
JP4920516B2 (en) Telephone system and proxy answering phone
JP3911712B2 (en) Call system and call method
JP4469209B2 (en) IP telephone system, IP telephone apparatus and calling method
JP5614357B2 (en) Telephone control device, telephone system, and transfer control method
JP3560813B2 (en) Gateway device, terminal specifying method of gateway device, and computer-readable recording medium storing terminal specifying program
JP4971823B2 (en) Gateway device and call relay method
CN101167344B (en) telephone device
JP4672011B2 (en) IP telephone system and IP telephone method
US20050094626A1 (en) Voice communication system, and communication apparatus, cable modem, and method for controlling communication apparatus used for the system
CN101155215A (en) Telephone exchange system and service provision method used in the system
JP3976687B2 (en) Calling method and calling system
JP2007124036A (en) Server device
JP2008306375A (en) VoIP-GW equipment
KR100527905B1 (en) GATEWAY FOR VoIP
JP4094316B2 (en) Internet telephone system and method
JP2005167421A (en) VOICE COMMUNICATION SYSTEM, COMMUNICATION DEVICE FOR THE VOICE COMMUNICATION SYSTEM, AND TELEPHONE EXCHANGE DEVICE
JP4590302B2 (en) VoIP gateway device and call relay method
JP5282439B2 (en) Telephone adapter, telephone terminal and call connection method
JP5060354B2 (en) Call control apparatus, call control method, and call control program
JP2005167424A (en) Network telephone system, main device and telephone terminal of network telephone system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20091021

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120321

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120406

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4971823

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250