JP5708410B2 - VoIP gateway and communication system incoming call control method - Google Patents

VoIP gateway and communication system incoming call control method Download PDF

Info

Publication number
JP5708410B2
JP5708410B2 JP2011211671A JP2011211671A JP5708410B2 JP 5708410 B2 JP5708410 B2 JP 5708410B2 JP 2011211671 A JP2011211671 A JP 2011211671A JP 2011211671 A JP2011211671 A JP 2011211671A JP 5708410 B2 JP5708410 B2 JP 5708410B2
Authority
JP
Japan
Prior art keywords
voip
voip gateway
incoming call
gateway
turn
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.)
Active
Application number
JP2011211671A
Other languages
Japanese (ja)
Other versions
JP2013074440A5 (en
JP2013074440A (en
Inventor
秀和 永野
秀和 永野
Original Assignee
株式会社ナカヨ
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 株式会社ナカヨ filed Critical 株式会社ナカヨ
Priority to JP2011211671A priority Critical patent/JP5708410B2/en
Publication of JP2013074440A publication Critical patent/JP2013074440A/en
Publication of JP2013074440A5 publication Critical patent/JP2013074440A5/ja
Application granted granted Critical
Publication of JP5708410B2 publication Critical patent/JP5708410B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、VoIPゲートウェイに関し、特に、複数のVoIPゲートウェイを含む通信システムの着信制御技術に関する。   The present invention relates to a VoIP gateway, and more particularly, to an incoming call control technique for a communication system including a plurality of VoIP gateways.

特許文献1には、動的に負荷分散を実現する仮想ルータを利用した負荷分散システムが開示されている。   Patent Document 1 discloses a load distribution system using a virtual router that dynamically realizes load distribution.

この負荷分散システムは、一つの共通のアドレスを有する仮想ルータを構成する複数のルータと、仮想ルータを介してネットワークに接続される複数のエンドシステムと、を備えている。仮想ルータを構成する複数のルータのうちの一つは、マスタルータとなり、自ルータを含む各ルータに担当のエンドステムを割り当て、他のルータ(バックアップルータ)各々に担当のエンドシステムを通知する。それから、マスタルータおよび各バックアップルータは、担当のエンドシステムを送信元あるいは送信先とするパケットについてのみルーティング処理を行い、その他のパケットについては破棄する。   This load distribution system includes a plurality of routers constituting a virtual router having one common address, and a plurality of end systems connected to the network via the virtual router. One of the plurality of routers constituting the virtual router becomes a master router, assigns an assigned end system to each router including the own router, and notifies the assigned end system to each of the other routers (backup routers). Then, the master router and each backup router perform the routing process only for the packets whose transmission source or transmission destination is the end system in charge, and discard the other packets.

特開2003−23444号公報JP 2003-23444 A

特許文献1に記載の負荷分散システムを、VoIPゲートウェイを含む通信システムに適用した場合、つぎのような問題が発生する。   When the load distribution system described in Patent Document 1 is applied to a communication system including a VoIP gateway, the following problem occurs.

一つの共通のアドレスを有する複数のVoIPゲートウェイにより仮想VoIPゲートウェイを構成し、複数の内線端末を収容するPBXを、この仮想VoIPゲートウェイを介してVoIP網に接続した場合において、この仮想VoIPゲートウェイにVoIP網からINVITEメッセージが着信したとする。このINVITEメッセージの宛先が、PBXに割り当てられている代表番号である場合、このINVITEメッセージが仮想VoIPゲートウェイに着信した時点では、このINVIEメッセージに応答する内線端末が確定していない。このため、このINVITEメッセージの処理を担当するVoIPゲートウェイを特定することができない。   When a virtual VoIP gateway is configured by a plurality of VoIP gateways having one common address, and a PBX accommodating a plurality of extension terminals is connected to the VoIP network via the virtual VoIP gateway, the VoIP gateway is connected to the virtual VoIP gateway. Assume that an INVITE message arrives from the network. When the destination of the INVITE message is a representative number assigned to the PBX, the extension terminal that responds to the INVIE message is not fixed when the INVITE message arrives at the virtual VoIP gateway. For this reason, the VoIP gateway in charge of processing this INVITE message cannot be specified.

本発明は上記事情に鑑みてなされたものであり、その目的は、共通のアドレスが割り当てられた複数のVoIPゲートウェイ間における負荷分散を図る技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique for distributing the load among a plurality of VoIP gateways to which a common address is assigned.

上記課題を解決するために、本発明では、複数の内線端末を収容するPBXをVoIP網に接続するVoIPゲートウェイを複数設け、これらのVoIPゲートウェイに対して、VoIP網上のアドレスとして共通のアドレスを割り当てるとともに、着信当番の順番を割り当てる。そして、この共通のアドレスに対してINVITEメッセージがVoIP網から着信した場合に、着信当番のVoIPゲートウェイのみが、このINVITEメッセージを処理して呼制御シーケンスを実施し、着信当番でないVoIPゲートウェイは、このINVITEメッセージを処理することなく破棄する。また、着信当番のVoIPゲートウェイは、自VoIPゲートウェイが所定の当番交代条件(例えば収容チャネルに空きがない、所定数の着信を続けて処理したなど)を満足したか否かを判断し、この当番交代条件を満足したならば、所定の当番順番に従い、他のいずれか一つのVoIPゲートウェイに着信当番を移す。   In order to solve the above problems, in the present invention, a plurality of VoIP gateways for connecting PBXs accommodating a plurality of extension terminals to a VoIP network are provided, and a common address is set as an address on the VoIP network for these VoIP gateways. In addition to assigning, the order of incoming calls is assigned. When an INVITE message is received from the VoIP network for this common address, only the incoming VoIP gateway processes the INVITE message and performs a call control sequence. Discard the INVITE message without processing it. In addition, the incoming VoIP gateway determines whether or not the own VoIP gateway satisfies a predetermined on-duty change condition (for example, there is no available channel, or a predetermined number of incoming calls are continuously processed). If the replacement condition is satisfied, the incoming call turn is transferred to any one of the other VoIP gateways according to a predetermined turn order.

例えば、本発明は、VoIP網と複数の内線端末を収容するPBXとの間に複数配置され、前記VoIP網対応のアドレスとして共通のアドレスが割り当てられるVoIPゲートウェイであって、
自VoIPゲートウェイを含む複数の前記VoIPゲートウェイのうちのいずれが着信に係る処理を実行する着信当番となるかを決定する着信当番決定手段と、
前記VoIP網から着信があった場合に自VoIPゲートウェイが前記着信当番ならば当該着信に係る処理を実行し、自VoIPゲートウェイが前記着信当番でないならば当該着信に係る処理を実行しない着信制御手段と、を有し、
前記着信当番決定手段は、
自VoIPゲートウェイが前記着信当番である場合に、自VoIPゲートウェイの状態が所定の当番交代条件を満足するか否かを監視し、前記当番交代条件を満足したならば、自VoIPゲートウェイを含む複数の前記VoIPゲートウェイ間で予め定められた当番順番に従い、いずれかの他VoIPゲートウェイに着信当番依頼を送信して、自VoIPゲートウェイを前記着信当番から外し、
自VoIPゲートウェイが前記着信当番でない場合において、他VoIPゲートウェイから前記着信当番依頼を受信した場合に自VoIPゲートウェイにおいて処理中のチャネル数もしくはセッション数が、自VoIPゲートウェイに予め設定されているチャネル数あるいはセッション数に達していないならば、自VoIPゲートウェイを前記着信当番に決定し、当該設定されているチャネル数あるいはセッション数に達しているならば、自VoIPゲートウェイを前記着信当番に決定することなく、前記当番順番に従っていずれかの他VoIPゲートウェイに前記着信当番依頼を送信する。
For example, the present invention is a VoIP gateway that is arranged between a VoIP network and a PBX accommodating a plurality of extension terminals, and a common address is assigned as an address corresponding to the VoIP network,
An incoming call number determining means for determining which one of the plurality of VoIP gateways including the own VoIP gateway is an incoming call number for executing processing related to an incoming call;
An incoming call control unit that executes a process related to an incoming call if the local VoIP gateway is the incoming call number when an incoming call is received from the VoIP network, and does not execute a process related to the incoming call if the local VoIP gateway is not the incoming call number; Have
The incoming call turn number determining means includes:
When the local VoIP gateway is the incoming call turn, it monitors whether the state of the local VoIP gateway satisfies a predetermined turn change condition, and if the turn change condition is satisfied, a plurality of items including the self VoIP gateway are included. In accordance with a predetermined turn order between the VoIP gateways, send an incoming turn request to any other VoIP gateway to remove the own VoIP gateway from the incoming turn,
If the own VoIP gateway receives the incoming duty request Oite, other VoIP gateway if not the incoming call duty, the number of channels or the number of sessions in progress in the own VoIP gateway is preset to its own VoIP gateway If the number of channels or sessions has not been reached, the local VoIP gateway is determined as the incoming call number, and if the set number of channels or sessions has been reached, the local VoIP gateway is determined as the incoming number. Instead, the incoming call turn request is transmitted to any other VoIP gateway according to the turn order .

本発明によれば、VoIP網上のアドレスとして共通のアドレスが割り当てられた複数のVoIPゲートウェイにVoIP網から着信した場合、この着信を処理するVoIPゲートウェイを動的に割り振ることができるので、複数のVoIPゲートウェイ間における負荷分散を図ることができる。   According to the present invention, when receiving from the VoIP network to a plurality of VoIP gateways to which a common address is assigned as an address on the VoIP network, a VoIP gateway for processing this incoming call can be dynamically allocated. Load distribution among VoIP gateways can be achieved.

図1は、本発明の一実施の形態に係る電話システムの概略構成図である。FIG. 1 is a schematic configuration diagram of a telephone system according to an embodiment of the present invention. 図2は、VoIPゲートウェイ1を起動させた場合の動作を説明するためのシーケンス図である。FIG. 2 is a sequence diagram for explaining the operation when the VoIP gateway 1 is activated. 図3は、VoIPゲートウェイ1を起動させた場合の動作を説明するためのシーケンス図(図2の続き)である。FIG. 3 is a sequence diagram for explaining the operation when the VoIP gateway 1 is activated (continuation of FIG. 2). 図4は、VoIP網5からVoIPゲートウェイ1に着信した場合の動作を説明するためのシーケンス図である。FIG. 4 is a sequence diagram for explaining an operation when an incoming call is received from the VoIP network 5 to the VoIP gateway 1. 図5は、VoIP網5からVoIPゲートウェイ1に着信した場合の動作を説明するためのシーケンス図(図4の続き)である。FIG. 5 is a sequence diagram (continuation of FIG. 4) for explaining the operation when an incoming call is received from the VoIP network 5 to the VoIP gateway 1. 図6は、VoIPゲートウェイ1の概略機能構成図である。FIG. 6 is a schematic functional configuration diagram of the VoIP gateway 1. 図7は、VoIPゲートウェイ1の起動時の動作を説明するためのフロー図である。FIG. 7 is a flowchart for explaining the operation when the VoIP gateway 1 is activated. 図8(A)は、マスタGWに設定されたVoIPゲートウェイ1の登録サーバ部16の動作を説明するためのフロー図であり、図8(B)は、スレーブGWに設定されたVoIPゲートウェイ1の登録サーバ部16の動作を説明するためのフロー図である。FIG. 8A is a flowchart for explaining the operation of the registration server unit 16 of the VoIP gateway 1 set as the master GW, and FIG. 8B is a flowchart of the VoIP gateway 1 set as the slave GW. FIG. 10 is a flowchart for explaining the operation of the registration server unit 16. 図9は、VoIPゲートウェイ1の着信当番依頼受信時の動作を説明するためのフロー図である。FIG. 9 is a flowchart for explaining the operation of the VoIP gateway 1 when receiving an incoming call turn request. 図10は、VoIPゲートウェイ1の、VoIP網5からの着信時の動作を説明するためのフロー図である。FIG. 10 is a flowchart for explaining the operation of the VoIP gateway 1 when receiving an incoming call from the VoIP network 5.

以下に、本発明の一実施の形態について説明する。   An embodiment of the present invention will be described below.

図1は、本施の形態に係る電話システムの概略構成図である。   FIG. 1 is a schematic configuration diagram of a telephone system according to the present embodiment.

図示するように、本実施の形態に係る電話システムは、複数のアナログ電話機4を収容したPBX(Private Branch Exchange)3と、PBX3およびVoIP(Voice over Internet Protocol)網5間に複数配置されたVoIPゲートウェイ1−1〜1−n(以下、VoIPゲートウェイ1とも呼ぶ)と、VoIPゲートウェイ1−1〜1−nをVoIP網5に接続するハブ2と、を備えている。   As illustrated, the telephone system according to the present embodiment includes a PBX (Private Branch Exchange) 3 that accommodates a plurality of analog telephones 4 and a plurality of VoIPs arranged between the PBX 3 and the VoIP (Voice over Internet Protocol) network 5. Gateways 1-1 to 1-n (hereinafter also referred to as VoIP gateways 1) and a hub 2 that connects the VoIP gateways 1-1 to 1-n to the VoIP network 5.

VoIPゲートウェイ1−1〜1−nには、VoIP網5上のアドレスとして共通のアドレスが割り当てられる。また、VoIPゲートウェイ1−1〜1−nは、LAN6を介して互いに接続されており、VoIPゲートウェイ1−1〜1−nのうちの一つが着信当番となるように、LAN6を介して互いにネゴシエーションを行う。   A common address is assigned as an address on the VoIP network 5 to the VoIP gateways 1-1 to 1-n. Further, the VoIP gateways 1-1 to 1-n are connected to each other via the LAN 6, and are negotiated with each other via the LAN 6 so that one of the VoIP gateways 1-1 to 1-n becomes an incoming call duty. I do.

着信当番のVoIPゲートウェイ1は、VoIP網5からの着信を処理して呼制御シーケンスを実施するとともに、自VoIPゲートウェイ1の状態が所定の当番交代条件を満足するに至ったか否かを監視する。そして、当番交代条件を満足するに至ったならば、VoIPゲートウェイ1−1〜1−n間で予め定められた当番順番に従い、LAN6を介して他のいずれか一つのVoIPゲートウェイ1に着信当番依頼を送信して、自VoIPゲートウェイ1を着信当番から外す。一方、着信当番でないVoIPゲートウェイ1は、VoIP網5からの着信を無視するとともに、着信当番依頼を受信したならば、自VoIPゲートウェイ1を着信当番に決定する。   The incoming call VoIP gateway 1 processes the incoming call from the VoIP network 5 and executes a call control sequence, and monitors whether the state of the local VoIP gateway 1 satisfies a predetermined turn change condition. When the turn change condition is satisfied, the incoming turn request is sent to any one of the other VoIP gateways 1 via the LAN 6 according to the turn order determined in advance between the VoIP gateways 1-1 to 1-n. To remove the VoIP gateway 1 from the incoming call turn. On the other hand, the VoIP gateway 1 that is not the incoming call duty ignores the incoming call from the VoIP network 5 and determines the own VoIP gateway 1 as the incoming call order when receiving the incoming call request.

ハブ2は、リピータ機能およびブリッジ機能を有しており、VoIP網5から受信したパケットをリピータ機能によりVoIPゲートウェイ1−1〜1−nのそれぞれに中継するとともに、VoIPゲートウェイ1−1〜1−nから受信したパケットをブリッジ機能によりVoIP網5へ中継する。   The hub 2 has a repeater function and a bridge function. The hub 2 relays a packet received from the VoIP network 5 to each of the VoIP gateways 1-1 to 1-n by the repeater function, and at the same time, the VoIP gateways 1-1 to 1- The packet received from n is relayed to the VoIP network 5 by the bridge function.

図2および図3は、VoIPゲートウェイ1を起動させた場合の動作を説明するためのシーケンス図である。ここでは、説明を簡単にするために、三台のVoIPゲートウェイ1−1〜1−3を順次起動した場合を例示している。   2 and 3 are sequence diagrams for explaining the operation when the VoIP gateway 1 is activated. Here, in order to simplify the description, a case where three VoIP gateways 1-1 to 1-3 are sequentially activated is illustrated.

まず、VoIPゲートウェイ1−1が起動したものとする(S100)。VoIPゲートウェイ1−1は、マスタゲートウェイ(マスタGW)問合せをLAN6へマルチキャスト送信する。そして、所定の再送インターバル内にこのマスタGW問合せに対する応答がないならば、マスタGW問合せを繰り返しマルチキャスト送信する(S101)。   First, it is assumed that the VoIP gateway 1-1 is activated (S100). The VoIP gateway 1-1 multicasts a master gateway (master GW) inquiry to the LAN 6. If there is no response to this master GW inquiry within a predetermined retransmission interval, the master GW inquiry is repeatedly transmitted by multicast (S101).

ここでは、起動しているVoIPゲートウェイ1がVoIPゲートウェイ1−1のみなので、VoIPゲートウェイ1−1は、マスタGW問合せに対する応答を受信することなく、所定の問合せ時間の経過によりタイムアウトする(S102)。これを受けて、VoIPゲートウェイ1−1は、自VoIPゲートウェイ1−1をマスタGWに設定し(S103)、マスタGWとしての以下の処理を開始する。   Here, since the activated VoIP gateway 1 is only the VoIP gateway 1-1, the VoIP gateway 1-1 does not receive a response to the master GW inquiry and times out when a predetermined inquiry time elapses (S102). Receiving this, the VoIP gateway 1-1 sets its own VoIP gateway 1-1 as the master GW (S103), and starts the following processing as the master GW.

まず、VoIPゲートウェイ1−1は、VoIP網5上に存在する所定のDHCP(Dynamic Host Configuration Protocol)サーバにアクセスし、このDHCPサーバからVoIP網5上のIPアドレスを取得する(S104)。そして、自VoIPゲートウェイ1−1のIPアドレスを設定する。具体的には、VoIP網5上のアドレスとして、DHCPサーバから取得したIPアドレス(グローバルアドレス)を設定し、LAN6上のアドレスとして所定のIPアドレス(ローカルアドレス)を設定する(S105)。   First, the VoIP gateway 1-1 accesses a predetermined DHCP (Dynamic Host Configuration Protocol) server existing on the VoIP network 5, and acquires an IP address on the VoIP network 5 from the DHCP server (S104). Then, the IP address of the own VoIP gateway 1-1 is set. Specifically, an IP address (global address) acquired from the DHCP server is set as an address on the VoIP network 5, and a predetermined IP address (local address) is set as an address on the LAN 6 (S105).

つぎに、VoIPゲートウェイ1−1は、VoIP網5上に存在する所定のSIP(Session Initiation Protocol)サーバにアクセスし、このSIPサーバに自VoIPゲートウェイ1−1の登録情報を記述する(S106)。   Next, the VoIP gateway 1-1 accesses a predetermined SIP (Session Initiation Protocol) server existing on the VoIP network 5, and describes registration information of the own VoIP gateway 1-1 in this SIP server (S106).

それから、VoIPゲートウェイ1−1は、着信当番の順番リストを新たに作成して、この順番リストの最上位に自VoIPゲートウェイ1−1を登録する。また、VoIP網5からの着信を処理する権限である着信当番を獲得する(S107)。その後、VoIPゲートウェイ1−1は、この順番リストをLAN6へマルチキャスト送信する(S108)。   Then, the VoIP gateway 1-1 newly creates an incoming turn order list, and registers its own VoIP gateway 1-1 at the top of the order list. In addition, an incoming call duty which is an authority to process an incoming call from the VoIP network 5 is acquired (S107). Thereafter, the VoIP gateway 1-1 multicasts this order list to the LAN 6 (S108).

つぎに、VoIPゲートウェイ1−2が起動したものとする(S109)。VoIPゲートウェイ1−2は、マスタGW問合せをLAN6へマルチキャスト送信する(S110)。これを受けて、マスタGWであるVoIPゲートウェイ1−1は、VoIPゲートウェイ1−2にマスタGW通知を返信する(S111)。VoIPゲートウェイ1−2は、VoIPゲートウェイ1−1からマスタGW通知を受け取ると、自VoIPゲートウェイ1−2をスレーブゲートウェイ(スレーブGW)に設定し(S112)、スレーブGWとしての以下の処理を開始する。   Next, it is assumed that the VoIP gateway 1-2 is activated (S109). The VoIP gateway 1-2 multicasts a master GW inquiry to the LAN 6 (S110). In response, the VoIP gateway 1-1 as the master GW returns a master GW notification to the VoIP gateway 1-2 (S111). When receiving the master GW notification from the VoIP gateway 1-1, the VoIP gateway 1-2 sets the VoIP gateway 1-2 as a slave gateway (slave GW) (S112), and starts the following processing as the slave GW. .

まず、VoIPゲートウェイ1−2は、マスタGWであるVoIPゲートウェイ1−1にアクセスし、このVoIPゲートウェイ1−1からVoIP網5上およびLAN6上のIPアドレスを取得する(S113)。ここで、VoIPゲートウェイ1−1は、VoIP網5上のIPアドレスとして、自VoIPゲートウェイ1−1に設定されているVoIP網5上のIPアドレスをVoIPゲートウェイ1−2に通知する。また、LAN6上のIPアドレスとして、LAN6上でユニークなIPアドレスをVoIPゲートウェイ1−2に通知する。   First, the VoIP gateway 1-2 accesses the VoIP gateway 1-1, which is the master GW, and acquires IP addresses on the VoIP network 5 and the LAN 6 from the VoIP gateway 1-1 (S113). Here, the VoIP gateway 1-1 notifies the VoIP gateway 1-2 of the IP address on the VoIP network 5 set as the VoIP gateway 1-1 as the IP address on the VoIP network 5. Further, the IP address on the LAN 6 is notified to the VoIP gateway 1-2 of a unique IP address on the LAN 6.

つぎに、VoIPゲートウェイ1−2は、自VoIPゲートウェイ1−2のIPアドレスを設定する。具体的には、VoIP網5上のアドレスとして、VoIPゲートウェイ1−1から取得したVoIPゲートウェイ1−1と共通のIPアドレス(グローバルアドレス)を設定し、LAN6上のアドレスとして、VoIPゲートウェイ1−1から取得したLAN6上でユニークなIPアドレス(ローカルアドレス)を設定する(S114)。それから、VoIPゲートウェイ1−2は、マスタGWであるVoIPゲートウェイ1−1にアクセスし、このVoIPゲートウェイ1−1に自VoIPゲートウェイ1−2の登録情報を登録する(S115)。   Next, the VoIP gateway 1-2 sets the IP address of its own VoIP gateway 1-2. Specifically, an IP address (global address) common to the VoIP gateway 1-1 acquired from the VoIP gateway 1-1 is set as an address on the VoIP network 5, and the VoIP gateway 1-1 is set as an address on the LAN 6. A unique IP address (local address) is set on the LAN 6 acquired from (S114). Then, the VoIP gateway 1-2 accesses the VoIP gateway 1-1 that is the master GW, and registers the registration information of the VoIP gateway 1-2 in the VoIP gateway 1-1 (S115).

さて、VoIPゲートウェイ1−1は、VoIPゲートウェイ1−2の登録情報を登録すると、このVoIPゲートウェイ1−2を着信当番の順番リストの最後尾に追加して、着信当番の順番リストを更新する(S116)。それから、VoIPゲートウェイ1−1は、この順番リストをLAN6へマルチキャスト送信する(S117)。これを受けて、VoIPゲートウェイ1−2は、この順番リストを記憶する。   When the registration information of the VoIP gateway 1-2 is registered, the VoIP gateway 1-1 adds the VoIP gateway 1-2 to the tail of the incoming turn order list and updates the incoming turn order list ( S116). Then, the VoIP gateway 1-1 multicasts this order list to the LAN 6 (S117). In response, the VoIP gateway 1-2 stores this order list.

その後、マスタGWであるVoIPゲートウェイ1−1は、スレーブGWであるVoIPゲートウェイ1−2に定期的にマスタGW生存通知を送信し、これを受けて、VoIPゲートウェイ1−2は、VoIPゲートウェイ1−1にマスタGW生存通知応答を返信する(S118)。これにより、VoIPゲートウェイ1−1およびVoIPゲートウェイ1−2は、互いの生存を確認し合う。   Thereafter, the VoIP gateway 1-1 that is the master GW periodically transmits a master GW existence notification to the VoIP gateway 1-2 that is the slave GW. In response to this, the VoIP gateway 1-2 receives the VoIP gateway 1- A master GW existence notification response is returned to 1 (S118). Thereby, the VoIP gateway 1-1 and the VoIP gateway 1-2 confirm each other's survival.

つぎに、VoIPゲートウェイ1−3が起動したものとする(S119)。VoIPゲートウェイ1−3は、マスタGW問合せをLAN6へマルチキャスト送信する(S120)。これを受けて、マスタGWであるVoIPゲートウェイ1−1は、VoIPゲートウェイ1−3にマスタGW通知を返信する(S121)。VoIPゲートウェイ1−3は、VoIPゲートウェイ1−1からマスタGW通知を受け取ると、自VoIPゲートウェイ1−3をスレーブGWに設定し(S122)、VoIPゲートウェイ1−2と同様に、スレーブGWとしての以下の処理を開始する。   Next, it is assumed that the VoIP gateway 1-3 is activated (S119). The VoIP gateway 1-3 multicasts a master GW inquiry to the LAN 6 (S120). In response to this, the VoIP gateway 1-1 as the master GW returns a master GW notification to the VoIP gateway 1-3 (S121). When receiving the master GW notification from the VoIP gateway 1-1, the VoIP gateway 1-3 sets its own VoIP gateway 1-3 as the slave GW (S122), and the following as the slave GW, like the VoIP gateway 1-2. Start processing.

すなわち、VoIPゲートウェイ1−3は、マスタGWであるVoIPゲートウェイ1−1にアクセスし、このVoIPゲートウェイ1−1からVoIP網5上およびLAN6上のIPアドレスを取得する(S123)。ここで、VoIPゲートウェイ1−1は、VoIP網5上のIPアドレスとして、自VoIPゲートウェイ1−1に設定されているVoIP網5上のIPアドレスをVoIPゲートウェイ1−3に通知する。また、LAN6上のIPアドレスとして、LAN6上でユニークなIPアドレスをVoIPゲートウェイ1−3に通知する。   That is, the VoIP gateway 1-3 accesses the VoIP gateway 1-1, which is the master GW, and acquires IP addresses on the VoIP network 5 and the LAN 6 from the VoIP gateway 1-1 (S123). Here, the VoIP gateway 1-1 notifies the VoIP gateway 1-3 of the IP address on the VoIP network 5 set as the VoIP gateway 1-1 as the IP address on the VoIP network 5. Further, the IP address on the LAN 6 is notified to the VoIP gateway 1-3 of a unique IP address on the LAN 6.

つぎに、VoIPゲートウェイ1−3は、自VoIPゲートウェイ1−3のIPアドレスを設定する。具体的には、VoIP網5上のアドレスとして、VoIPゲートウェイ1−1から取得したVoIPゲートウェイ1−1、1−2と共通のIPアドレス(グローバルアドレス)を設定し、LAN6上のアドレスとして、VoIPゲートウェイ1−1から取得したLAN6上でユニークなIPアドレス(ローカルアドレス)を設定する(S124)。それから、VoIPゲートウェイ1−3は、マスタGWであるVoIPゲートウェイ1−1にアクセスして、VoIPゲートウェイ1−1に自VoIPゲートウェイ1−3の登録情報を登録する(S125)。   Next, the VoIP gateway 1-3 sets the IP address of its own VoIP gateway 1-3. Specifically, IP addresses (global addresses) common to the VoIP gateways 1-1 and 1-2 acquired from the VoIP gateway 1-1 are set as addresses on the VoIP network 5, and VoIP is set as an address on the LAN 6. A unique IP address (local address) is set on the LAN 6 acquired from the gateway 1-1 (S124). Then, the VoIP gateway 1-3 accesses the VoIP gateway 1-1, which is the master GW, and registers registration information of the VoIP gateway 1-3 in the VoIP gateway 1-1 (S125).

さて、VoIPゲートウェイ1−1は、VoIPゲートウェイ1−3の登録情報を登録すると、このVoIPゲートウェイ1−3を着信当番の順番リストの最後尾に追加して、着信当番の順番リストを更新する(S126)。それから、VoIPゲートウェイ1−1は、この順番リストをLAN6へマルチキャスト送信する(S127)。これを受けて、VoIPゲートウェイ1−3は、この順番リストを記憶する。また、VoIPゲートウェイ1−2は、記憶している順番リストを、新たに受信した順番リストに置き換える。   When the registration information of the VoIP gateway 1-3 is registered, the VoIP gateway 1-1 adds the VoIP gateway 1-3 to the end of the incoming turn order list and updates the incoming turn order list ( S126). Then, the VoIP gateway 1-1 multicasts this order list to the LAN 6 (S127). In response to this, the VoIP gateway 1-3 stores this order list. Also, the VoIP gateway 1-2 replaces the stored order list with the newly received order list.

その後、マスタGWであるVoIPゲートウェイ1−1は、スレーブGWであるVoIPゲートウェイ1−3に定期的にマスタGW生存通知を送信し、これを受けて、VoIPゲートウェイ1−3は、VoIPゲートウェイ1−1にマスタGW生存通知応答を返信する(S128)。これにより、VoIPゲートウェイ1−1およびVoIPゲートウェイ1−3は、互いの生存を確認し合う。   Thereafter, the VoIP gateway 1-1 that is the master GW periodically transmits a master GW existence notification to the VoIP gateway 1-3 that is the slave GW. In response to this, the VoIP gateway 1-3 receives the VoIP gateway 1- A master GW existence notification response is returned to 1 (S128). Thereby, the VoIP gateway 1-1 and the VoIP gateway 1-3 confirm each other's survival.

図4および図5は、VoIP網5からVoIPゲートウェイ1に着信した場合の動作を説明するためのシーケンス図である。ここでは、説明を簡単にするために、三台のVoIPゲートウェイ1−1〜1−3が起動中の場合を例示している。なお、着信当番の順番リストには、VoIPゲートウェイ1−1、1−2、1−3がこの順で登録されており、また、初期状態においては、VoIPゲートウェイ1−1が着信当番を獲得しているものとする。   FIG. 4 and FIG. 5 are sequence diagrams for explaining the operation when a call arrives from the VoIP network 5 to the VoIP gateway 1. Here, in order to simplify the description, a case where three VoIP gateways 1-1 to 1-3 are activated is illustrated. The VoIP gateways 1-1, 1-2, and 1-3 are registered in this order in the incoming turn order list. In the initial state, the VoIP gateway 1-1 acquires the incoming turn. It shall be.

ハブ2は、VoIPゲートウェイ1−1〜1−3に割り当てられた共通のIPアドレスを送信先とするINVITEメッセージをVoIP網5から受信すると(S200)、リピータ機能により、このINVITEメッセージを複製してVoIPゲートウェイ1−1〜1−3のそれぞれに中継する(S201)。   When the hub 2 receives an INVITE message with the common IP address assigned to the VoIP gateways 1-1 to 1-3 as a transmission destination from the VoIP network 5 (S200), the hub 2 duplicates the INVITE message by a repeater function. Relay to each of the VoIP gateways 1-1 to 1-3 (S201).

ここで、着信当番を獲得していないVoIPゲート1−2、1−3は、このINVITEメッセージを無視(破棄)する(S202−1、S202−2)。一方、着信当番を獲得しているVoIPゲートウェイ1−1は、このINVITEメッセージに基づく着信処理(呼制御シーケンス)を開始する(S203)。   Here, the VoIP gates 1-2 and 1-3 that have not acquired the incoming call turn ignore (discard) this INVITE message (S202-1 and S202-2). On the other hand, the VoIP gateway 1-1 that has acquired the incoming call number starts the incoming call processing (call control sequence) based on the INVITE message (S203).

すなわち、VoIPゲートウェイ1−1は、INVITEメッセージの送信元に180Ringingを送信する(S204)。ハブ2は、VoIPゲートウェイ1−1から180Ringingを受信すると、ブリッジ機能によりこの180RingingをVoIP網5に中継する(S205)。   That is, the VoIP gateway 1-1 transmits 180 Ringing to the transmission source of the INVITE message (S204). When the hub 2 receives the 180 Ringing from the VoIP gateway 1-1, the hub 2 relays the 180 Ringing to the VoIP network 5 by the bridge function (S205).

また、VoIPゲートウェイ1−1は、PBX3に着信信号を送信する(S206)。そして、PBX3から応答信号を受信したならば(S207)、INVITEメッセージの送信元宛ての200OKメッセージを送信する(S208)。ハブ2は、VoIPゲートウェイ1−1から200OKメッセージを受信すると、ブリッジ機能によりこの200OKメッセージをVoIP網5に中継する(S209)。   Further, the VoIP gateway 1-1 transmits an incoming signal to the PBX 3 (S206). If a response signal is received from the PBX 3 (S207), a 200 OK message addressed to the transmission source of the INVITE message is transmitted (S208). When the hub 2 receives the 200OK message from the VoIP gateway 1-1, the hub 2 relays the 200OK message to the VoIP network 5 by the bridge function (S209).

以上により、VoIPゲートウェイ1−1とVoIP網5との間にセッションが確立される(S210)。一方、VoIPゲートウェイ1−1とPBX3との間に通話チャネルが確立される(S211)。VoIPゲートウェイ1−1は、VoIP網5との間に確立されたセッションと、PBX3との間に確立された通話チャネルとを中継する(S212)。これにより、PBX3に収容されたアナログ電話機4と、VoIP網5に接続された相手端末との間の通話が可能となる。   As described above, a session is established between the VoIP gateway 1-1 and the VoIP network 5 (S210). On the other hand, a call channel is established between the VoIP gateway 1-1 and the PBX 3 (S211). The VoIP gateway 1-1 relays the session established with the VoIP network 5 and the call channel established with the PBX 3 (S212). Thereby, a call between the analog telephone 4 accommodated in the PBX 3 and the counterpart terminal connected to the VoIP network 5 becomes possible.

ここで、ハブ2は、VoIP網5から受信した、VoIPゲートウェイ1に共通のIPアドレスを送信先とするRTP(Realtime Transport Protocol)パケットを、リピータ機能により複製してVoIPゲートウェイ1−1〜1−3のそれぞれに中継する(S213)。しかし、着信処理を実施してセッション確立に関与したVoIPゲートウェイ1−1のみが、このRTPパケットを中継し(S212)、セッション確立に関与していないVoIPゲートウェイ1−2、1−3は、このRTPパケットを無視(破棄)する(S214−1、S214−2)。   Here, the hub 2 duplicates an RTP (Realtime Transport Protocol) packet received from the VoIP network 5 and destined for an IP address common to the VoIP gateway 1 by a repeater function, and is used for the VoIP gateways 1-1 to 1-1. 3 is relayed (S213). However, only the VoIP gateway 1-1 involved in session establishment by performing incoming processing relays this RTP packet (S212), and the VoIP gateways 1-2, 1-3 not involved in session establishment The RTP packet is ignored (discarded) (S214-1, S214-2).

つぎに、VoIPゲートウェイ1−1は、自VoIPゲートウェイ1−1の稼働状態が、所定の当番交代条件を満足するに至ったか否かを判断する(S215)。ここで、当番交代条件とは、VoIPゲートウェイ1−1〜1−3間で負荷分散を図るため、着信当番を獲得しているVoIPゲートウェイ1を着信当番から外す(他のVoIPゲートウェイ1に着信当番を交代させる)ための条件であり、着信当番を獲得しているVoIPゲートウェイ1に所定の負荷が新たに追加された場合に、当番交代条件を満足するように設定される。具体的には、着信当番を獲得しているVoIPゲートウェイ1がPBX3との間に確立している通話チャネル数が自VoIPゲートウェイ1で処理可能な最大チャネル数に達していること、着信当番を獲得しているVoIPゲートウェイ1がVoIP網5との間に確立しているセッション数が自VoIPゲートウェイ1で処理可能な最大セッション数に達していること、あるいは、自VoIPゲートウェイ1が着信当番を獲得してからの着信処理の実施回数が所定回数に達していることなどが、当番交代条件として設定される。   Next, the VoIP gateway 1-1 determines whether or not the operating state of the VoIP gateway 1-1 has satisfied a predetermined turn change condition (S215). Here, the duty change condition is to remove the VoIP gateway 1 that has acquired the incoming turn from the incoming turn in order to distribute the load among the VoIP gateways 1-1 to 1-3 (the other VoIP gateways 1 receive the incoming turn) Is set so as to satisfy the turn change condition when a predetermined load is newly added to the VoIP gateway 1 that has acquired the incoming turn. Specifically, the number of call channels established between the VoIP gateway 1 that has acquired the incoming call duty and the PBX 3 has reached the maximum number of channels that can be processed by the local VoIP gateway 1, and the incoming call duty is acquired. The number of sessions established between the VoIP gateway 1 and the VoIP network 5 has reached the maximum number of sessions that can be processed by the VoIP gateway 1, or the VoIP gateway 1 has acquired the incoming call number. The fact that the number of times the incoming call processing has been performed has reached a predetermined number is set as the duty change condition.

ここで、VoIPゲートウェイ1−1の稼働状態が当番交代条件を満足するに至ったものとする。このとき、VoIPゲートウェイ1−1は、獲得した着信当番を放棄する(S216)。それから、VoIPゲートウェイ1−1は、予め記憶してある着信順番の順番リストを参照し、この順番リスト中、自VoIPゲートウェイ1−1のつぎに記述されているVoIPゲートウェイ1−2を着信当番の引継先に決定する(S217)。そして、LAN6を介してVoIPゲートウェイ1−2に着信当番依頼を送信する(S218)。   Here, it is assumed that the operating state of the VoIP gateway 1-1 has reached the duty change condition. At this time, the VoIP gateway 1-1 abandons the acquired incoming call turn (S216). Then, the VoIP gateway 1-1 refers to the pre-stored order list of the incoming order, and in this order list, the VoIP gateway 1-2 described next to the own VoIP gateway 1-1 is assigned the incoming turn number. The transfer destination is determined (S217). Then, an incoming call turn request is transmitted to the VoIP gateway 1-2 via the LAN 6 (S218).

VoIPゲートウェイ1−2は、VoIPゲートウェイ1−1から着信当番依頼を受信すると、LAN6を介して、このVoIPゲートウェイ1−1に応答を返信する(S219)。それから、VoIPゲートウェイ1−2は、自VoIPゲートウェイ1−2の稼働状態に基づいて、着信当番の引受可否を判定する(S220)。具体的には、PBX3との間に確立している通話チャネル数が自VoIPゲートウェイ1で処理可能な最大チャネル数に達している場合、あるいはVoIP網5との間に確立しているセッション数が自VoIPゲートウェイ1で処理可能な最大セッションル数に達している場合に、着信当番の引受不可と判定し、それ以外の場合は着信当番の引受可能と判定する。   When receiving the incoming call turn request from the VoIP gateway 1-1, the VoIP gateway 1-2 returns a response to the VoIP gateway 1-1 via the LAN 6 (S219). Then, the VoIP gateway 1-2 determines whether to accept the incoming call number based on the operating state of the VoIP gateway 1-2 (S220). Specifically, when the number of communication channels established with the PBX 3 reaches the maximum number of channels that can be processed by the local VoIP gateway 1, or the number of sessions established with the VoIP network 5 When the maximum number of sessions that can be processed by the VoIP gateway 1 has been reached, it is determined that the incoming call number cannot be accepted, and in other cases, it is determined that the incoming call number can be accepted.

ここで、VoIPゲートウェイ1−2が着信当番の引受可能と判定したものとする。これを受けて、VoIPゲートウェイ1−2は着信当番を獲得する(S221)。これにより、VoIPゲートウェイ1−1からVoIPゲートウェイ1−2に着信当番が変更される。   Here, it is assumed that the VoIP gateway 1-2 determines that the incoming call duty can be accepted. Receiving this, the VoIP gateway 1-2 acquires the incoming call turn number (S221). As a result, the incoming call turn is changed from the VoIP gateway 1-1 to the VoIP gateway 1-2.

その後、ハブ2は、VoIPゲートウェイ1−1〜1−3に割り当てられた共通のIPアドレスを送信先とするINVITEメッセージをVoIP網5から受信すると(S222)、このINVITEメッセージを、リピータ機能により複製してVoIPゲートウェイ1−1〜1−3のそれぞれに中継する(S223)。   Thereafter, when the hub 2 receives an INVITE message with the common IP address assigned to the VoIP gateways 1-1 to 1-3 as a transmission destination from the VoIP network 5 (S222), the hub 2 duplicates the INVITE message by a repeater function. Then, it relays to each of the VoIP gateways 1-1 to 1-3 (S223).

ここで、着信当番を獲得していないVoIPゲート1−1、1−3は、このINVITEメッセージを無視する(S224−1、S224−2)。一方、着信当番を獲得しているVoIPゲートウェイ1−2は、このINVITEメッセージに基づく着信処理(呼制御シーケンス)を開始する(S225)。   Here, the VoIP gates 1-1 and 1-3 that have not acquired the incoming call turn ignore this INVITE message (S224-1, S224-2). On the other hand, the VoIP gateway 1-2 that has acquired the incoming call number starts an incoming call process (call control sequence) based on the INVITE message (S225).

すなわち、VoIPゲートウェイ1−2は、INVITEメッセージの送信元に180Ringingを送信し(S226)、ハブ2は、この180RingingをVoIPゲートウェイ1−2から受信すると、ブリッジ機能により、この180RingingをVoIP網5に中継する(S227)。   That is, the VoIP gateway 1-2 transmits 180 Ringing to the transmission source of the INVITE message (S226). When the hub 2 receives the 180 Ringing from the VoIP gateway 1-2, the bridge function transmits the 180 Ringing to the VoIP network 5. Relay (S227).

また、VoIPゲートウェイ1−2は、PBX3に着信信号を送信し(S228)、PBX3から応答信号を受信したならば(S229)、INVITEメッセージの送信元に200OKメッセージを送信する(S230)。ハブ2は、この200OKメッセージをVoIPゲートウェイ1−2から受信すると、ブリッジ機能により、この200OKメッセージをVoIP網5に中継する(S231)。   Further, the VoIP gateway 1-2 transmits an incoming signal to the PBX 3 (S228), and if a response signal is received from the PBX 3 (S229), transmits a 200 OK message to the source of the INVITE message (S230). When the hub 2 receives the 200OK message from the VoIP gateway 1-2, the hub 2 relays the 200OK message to the VoIP network 5 by the bridge function (S231).

以上により、VoIPゲートウェイ1−2とVoIP網5との間にセッションが確立される(S232)。一方、VoIPゲートウェイ1−2とPBX3との間に通話チャネルが確立される(S233)。VoIPゲートウェイ1−2は、VoIP網5との間に確立されたセッションと、PBX3との間に確立された通話チャネルとを中継する(S234)。これにより、PBX3に収容されたアナログ電話機4とVoIP網5に接続された相手端末との間の通話が可能となる。   As a result, a session is established between the VoIP gateway 1-2 and the VoIP network 5 (S232). On the other hand, a call channel is established between the VoIP gateway 1-2 and the PBX 3 (S233). The VoIP gateway 1-2 relays the session established with the VoIP network 5 and the call channel established with the PBX 3 (S234). As a result, a call between the analog telephone 4 accommodated in the PBX 3 and the counterpart terminal connected to the VoIP network 5 becomes possible.

ここで、ハブ2は、VoIP網5から受信した、VoIPゲートウェイ1に共通のIPアドレスを送信先とするRTPパケットを、リピータ機能により複製してVoIPゲートウェイ1−1〜1−3のそれぞれに中継する(S235)。しかし、着信処理を実施してセッション確立に関与したVoIPゲートウェイ1−2のみがこのRTPパケットを中継し(S234)、セッション確立に関与していないVoIPゲートウェイ1−1、1−3は、このRTPパケットを無視する(S236−1、S236−2)。   Here, the hub 2 replicates the RTP packet received from the VoIP network 5 and destined for the IP address common to the VoIP gateway 1 by the repeater function and relays it to each of the VoIP gateways 1-1 to 1-3. (S235). However, only the VoIP gateway 1-2 involved in session establishment by performing incoming processing relays the RTP packet (S234), and the VoIP gateways 1-1, 1-3 not involved in session establishment The packet is ignored (S236-1, S236-2).

つぎに、VoIPゲートウェイ1−2は、自VoIPゲートウェイ1−2の稼働状態が当番交代条件を満足するに至ったか否かを判断する(S237)。ここで、VoIPゲートウェイ1−2の稼働状態が当番交代条件を満足するに至ったものとする。このとき、VoIPゲートウェイ1−2は、獲得した着信当番を放棄する(S238)。それから、VoIPゲートウェイ1−2は、予め記憶してある着信順番の順番リストを参照し、この順番リスト中、自VoIPゲートウェイ1−2のつぎに記述されているVoIPゲートウェイ1−3を着信当番の引継先に決定する(S239)。そして、LAN6を介してVoIPゲートウェイ1−2に着信当番依頼を送信する(S240)。   Next, the VoIP gateway 1-2 determines whether or not the operating state of the VoIP gateway 1-2 has satisfied the duty change condition (S237). Here, it is assumed that the operating state of the VoIP gateway 1-2 has satisfied the duty change condition. At this time, the VoIP gateway 1-2 abandons the acquired incoming call turn (S238). Then, the VoIP gateway 1-2 refers to the pre-stored order list of the incoming order, and in this order list, the VoIP gateway 1-3 described next to its own VoIP gateway 1-2 is assigned the incoming turn number. The transfer destination is determined (S239). Then, an incoming call turn request is transmitted to the VoIP gateway 1-2 via the LAN 6 (S240).

VoIPゲートウェイ1−3は、VoIPゲートウェイ1−2から着信当番依頼を受信すると、LAN6を介して、このVoIPゲートウェイ1−2に応答を返信する(S241)。それから、VoIPゲートウェイ1−3は、自VoIPゲートウェイ1−3の稼働状態に基づいて、着信当番の引受可否を判定する(S242)。   When receiving the incoming call turn request from the VoIP gateway 1-2, the VoIP gateway 1-3 returns a response to the VoIP gateway 1-2 via the LAN 6 (S241). Then, the VoIP gateway 1-3 determines whether to accept the incoming call number based on the operating state of the VoIP gateway 1-3 (S242).

ここで、VoIPゲートウェイ1−3が着信当番の引受不可と判定したものとする。このとき、VoIPゲートウェイ1−3は、予め記憶してある着信順番の順番リストを参照し、自VoIPゲートウェイ1−3が順番リストの最後尾なので、順番リストの最初に記述されているVoIPゲートウェイ1−1を着信当番の引継先に決定する(S243)。そして、LAN6を介してVoIPゲートウェイ1−1に着信当番依頼を送信する(S244)。   Here, it is assumed that the VoIP gateway 1-3 determines that the incoming call cannot be accepted. At this time, the VoIP gateway 1-3 refers to the order list of the incoming order stored in advance, and since the VoIP gateway 1-3 is the tail of the order list, the VoIP gateway 1 described at the beginning of the order list. -1 is determined as the takeover destination of the incoming call duty (S243). Then, an incoming call turn request is transmitted to the VoIP gateway 1-1 via the LAN 6 (S244).

さて、VoIPゲートウェイ1−1は、VoIPゲートウェイ1−3から着信当番依頼を受信すると、LAN6を介してこのVoIPゲートウェイ1−3に応答を返信する(S245)。それから、VoIPゲートウェイ1−1は、自VoIPゲートウェイ1−1の稼働状態に基づいて着信当番の引受可否を判定する(S246)。ここで、VoIPゲートウェイ1−1が着信当番の引受可能と判定したものとする。このとき、VoIPゲートウェイ1−1は着信当番を獲得する(S247)。これにより、VoIPゲートウェイ1−3を飛ばして、VoIPゲートウェイ1−2からVoIPゲートウェイ1−1に着信当番が変更される。   When receiving the incoming turn request from the VoIP gateway 1-3, the VoIP gateway 1-1 returns a response to the VoIP gateway 1-3 via the LAN 6 (S245). Then, the VoIP gateway 1-1 determines whether to accept the incoming call number based on the operating state of the VoIP gateway 1-1 (S246). Here, it is assumed that the VoIP gateway 1-1 determines that the incoming call duty can be accepted. At this time, the VoIP gateway 1-1 acquires the incoming call number (S247). As a result, the VoIP gateway 1-3 is skipped, and the incoming call turn is changed from the VoIP gateway 1-2 to the VoIP gateway 1-1.

つぎに、VoIPゲートウェイ1の詳細を説明する。   Next, details of the VoIP gateway 1 will be described.

図6は、VoIPゲートウェイ1の概略機能構成図である。   FIG. 6 is a schematic functional configuration diagram of the VoIP gateway 1.

図示するように、VoIPゲートウェイ1は、VoIP網インターフェース部10と、LANインターフェース部11と、PBXインターフェース部12と、呼制御部13と、通話制御部14と、登録クライアント部15と、登録サーバ部16と、順番リスト記憶部17と、稼働状態監視部18と、着信当番決定部19と、を備えている。   As illustrated, the VoIP gateway 1 includes a VoIP network interface unit 10, a LAN interface unit 11, a PBX interface unit 12, a call control unit 13, a call control unit 14, a registration client unit 15, and a registration server unit. 16, an order list storage unit 17, an operating state monitoring unit 18, and an incoming call number determining unit 19.

VoIP網インターフェース部10は、VoIP網5(ハブ2)に接続するためのインターフェースである。   The VoIP network interface unit 10 is an interface for connecting to the VoIP network 5 (hub 2).

LANインターフェース部11は、LAN6に接続するためのインターフェースである。そして、PBXインターフェース部12は、PBX3に接続するためのインターフェースである。ここで、PBXインターフェース部12は、PBX3との間で複数の通話チャネルを同時並列的に確立できるよう構成されている。   The LAN interface unit 11 is an interface for connecting to the LAN 6. The PBX interface unit 12 is an interface for connecting to the PBX 3. Here, the PBX interface unit 12 is configured to be able to simultaneously establish a plurality of call channels with the PBX 3 in parallel.

呼制御部13は、SIPに従いVoIP網5上のSIPサーバと呼制御シーケンスを実行することにより、VoIP網5上の相手端末との間にセッションを確立する。また、呼制御部13は、SIPによる呼制御シーケンスに連動して、PBX3との間で予め定められた呼制御プロトコルに従い、PBX3と呼制御シーケンスを実行することにより、PBX3との間に通話チャネルを確立する。そして、VoIP網5上の相手端末との間に確立されたセッションと、PBX3との間に確立された通話チャネルとを中継するように、通話制御部14に指示する。   The call control unit 13 establishes a session with a partner terminal on the VoIP network 5 by executing a call control sequence with the SIP server on the VoIP network 5 in accordance with SIP. In addition, the call control unit 13 performs a call channel between the PBX 3 and the PBX 3 by executing the call control sequence according to a predetermined call control protocol with the PBX 3 in conjunction with the SIP call control sequence. Establish. Then, the call control unit 14 is instructed to relay the session established with the counterpart terminal on the VoIP network 5 and the call channel established with the PBX 3.

なお、呼制御部13において、VoIP網インターフェース部10を介してVoIP網5(ハブ2)から送られてくるSIPパケットを処理すべきか否かの判断は、SIPパケットに含まれているCall−IDに基づいて行われる。すなわち、呼制御部13は、VoIP網5から受信したSIPパケットに含まれているCall−IDが、自VoIPゲートウェイ1で処理したINVITEメッセージのSIPパケットと同じCall−IDならば処理し、異なるならば無視する。   The call control unit 13 determines whether or not to process the SIP packet sent from the VoIP network 5 (hub 2) via the VoIP network interface unit 10 based on the Call-ID included in the SIP packet. Based on. In other words, the call control unit 13 processes if the Call-ID included in the SIP packet received from the VoIP network 5 is the same Call-ID as the SIP packet of the INVITE message processed by the VoIP gateway 1, and if different, Ignore it.

通話制御部14は、呼制御部13の指示に従い、VoIP網5上の相手端末との間に確立されたセッションを介して送受信されるRTPパケット、およびPBX3との間に確立された通話チャネルを介して送受信される音声信号間の中継処理を行う。すなわち、通話制御部14は、セッションを介してVoIP網5上の相手端末から受信したRTPパケットから音声信号を取り出し、この音声信号を、通話チャネルを介してPBX3に送信する。また、通話チャネルを介してPBX3から受信した音声信号をRTPパケットに格納し、このRTPパケットを、セッションを介してVoIP網5上の相手端末に送信する。   In accordance with an instruction from the call control unit 13, the call control unit 14 determines an RTP packet transmitted / received through a session established with a partner terminal on the VoIP network 5 and a call channel established with the PBX 3. Relay processing between audio signals transmitted and received via the network. That is, the call control unit 14 extracts a voice signal from the RTP packet received from the counterpart terminal on the VoIP network 5 via the session, and transmits this voice signal to the PBX 3 via the call channel. Further, the voice signal received from the PBX 3 via the call channel is stored in the RTP packet, and this RTP packet is transmitted to the counterpart terminal on the VoIP network 5 via the session.

なお、通話制御部14において、VoIP網インターフェース部10を介してVoIP網5(ハブ2)から送られてくるRTPパケットを処理すべきか否かの判断は、RTPパケットに含まれているSession−IDに基づいて行われる。すなわち、通話制御部14は、VoIP網5から受信したRTPパケットに含まれているSession−IDが、呼制御部13によって確立されたセッションのSession−IDならば処理し、そうでないならば無視する。   The call control unit 14 determines whether or not to process the RTP packet sent from the VoIP network 5 (hub 2) via the VoIP network interface unit 10 based on the Session-ID included in the RTP packet. Based on. In other words, the call control unit 14 processes if the Session-ID included in the RTP packet received from the VoIP network 5 is the Session-ID of the session established by the call control unit 13, and ignores otherwise. .

登録クライアント部15は、DHCPクライアント機能およびSIPレジストラクライアント機能を有し、登録サーバ部16の指示に従い、これらの機能を利用してIPアドレスの取得および自VoIPゲートウェイ1の登録処理を行う。   The registration client unit 15 has a DHCP client function and a SIP registrar client function. In accordance with instructions from the registration server unit 16, the registration client unit 15 obtains an IP address and performs registration processing of the own VoIP gateway 1 using these functions.

具体的には、登録クライアント部15は、自VoIPゲートウェイ1がマスタGWに設定されていることを登録サーバ部16から通知された場合、DHCPクライアント機能により、VoIP網インターフェース部10を介して所定のDHCPサーバにアクセスし、このDHCPサーバからVoIP網5上のIPアドレスを取得する。そして、DHCPサーバから取得したIPアドレスを、自VoIPゲートウェイ1のVoIP網5上のアドレスとして設定し、所定のIPアドレスを、自VoIPゲートウェイ1のLAN6上のアドレスとして設定する。また、登録クライアント部15は、SIPレジストラクライアント機能により、VoIP網インターフェース部10を介して所定のSIPサーバにアクセスし、このSIPサーバに自VoIPゲートウェイ1の登録情報を登録する。   Specifically, when the registration client unit 15 is notified from the registration server unit 16 that the own VoIP gateway 1 is set as the master GW, the registration client unit 15 performs predetermined processing via the VoIP network interface unit 10 by the DHCP client function. The DHCP server is accessed, and the IP address on the VoIP network 5 is acquired from the DHCP server. Then, the IP address acquired from the DHCP server is set as an address on the VoIP network 5 of the own VoIP gateway 1, and a predetermined IP address is set as an address on the LAN 6 of the own VoIP gateway 1. Also, the registration client unit 15 accesses a predetermined SIP server via the VoIP network interface unit 10 by the SIP registrar client function, and registers registration information of the own VoIP gateway 1 in this SIP server.

また、登録クライアント部15は、自VoIPゲートウェイ1がスレーブGWに設定されていることを、マスタGWのアドレス情報(ローカルアドレス)とともに登録サーバ部16から通知された場合、DHCPクライアント機能により、LANインターフェース部11を介してマスタGWにアクセスし、このマスタGWからVoIP網5上のIPアドレスおよびLAN6上のIPアドレスを取得する。そして、これらの取得したアドレスを、自VoIPゲートウェイ1のVoIP網5上のアドレス、LAN6上のアドレスとして設定する。また、登録クライアント部15は、SIPレジスタクライアント機能により、LANインターフェース部11を介してマスタGWにアクセスして、このマスタGWに自VoIPゲートウェイ1の登録情報を登録する。   When the registration client unit 15 is notified from the registration server unit 16 together with the address information (local address) of the master GW that the own VoIP gateway 1 is set as the slave GW, the registration client unit 15 uses the DHCP client function to The master GW is accessed via the unit 11, and the IP address on the VoIP network 5 and the IP address on the LAN 6 are acquired from the master GW. These acquired addresses are set as addresses on the VoIP network 5 and LAN 6 of the VoIP gateway 1. Also, the registration client unit 15 accesses the master GW via the LAN interface unit 11 by the SIP register client function, and registers the registration information of the own VoIP gateway 1 in the master GW.

登録サーバ部16は、自VoIPゲートウェイ1の起動時にマスタGWの確認を行い、マスタGWが存在するならば自VoIPゲートウェイ1をスレーブGWに設定し、マスタGWが存在しないならば自VoIPゲートウェイ1をマスタGWに設定する。   The registration server unit 16 checks the master GW when the own VoIP gateway 1 is activated, sets the own VoIP gateway 1 as a slave GW if the master GW exists, and sets the own VoIP gateway 1 if the master GW does not exist. Set to master GW.

また、登録サーバ部16は、DHCPサーバ機能およびSIPレジストラサーバ機能を有し、自VoIPゲートウェイ1がマスタGWに設定されている場合に、DHCPサーバ機能によりスレーブGWにIPアドレスを付与するとともに、SIPレジストラサーバ機能によりスレーブGWの登録処理を行う。   In addition, the registration server unit 16 has a DHCP server function and a SIP registrar server function. When the own VoIP gateway 1 is set as the master GW, the registration server unit 16 assigns an IP address to the slave GW by the DHCP server function, and SIP Registration processing of the slave GW is performed by the registrar server function.

さらに、登録サーバ処理部16は、自VoIPゲートウェイ1がマスタGWに設定されている場合、着信当番の順番リストを作成・更新して順番リスト記憶部17に記憶するとともに、この順番リストの配布を行い、自VoIPゲートウェイ1がスレーブGWに設定されている場合、マスタGWから配布された順番リストを取得して、この順番リストを順番リスト記憶部17に記憶する。   Furthermore, when the own VoIP gateway 1 is set as the master GW, the registration server processing unit 16 creates and updates the incoming turn order list and stores it in the order list storage unit 17 and distributes this order list. If the local VoIP gateway 1 is set as the slave GW, the order list distributed from the master GW is acquired, and the order list is stored in the order list storage unit 17.

順番リスト記憶部17には、着信当番の担当順が記述された順番リストが記憶される。この順番リストは、自VoIPゲートウェイ1がマスタGWならば、登録サーバ部16によって作成・更新され、自VoIPゲートウェイ1がスレーブGWならば、登録クライアント部15によってマスタGWから取得される。   The order list storage unit 17 stores an order list in which the order of charge for incoming calls is described. This order list is created / updated by the registration server unit 16 if the local VoIP gateway 1 is the master GW, and is acquired from the master GW by the registration client unit 15 if the local VoIP gateway 1 is a slave GW.

稼働状態監視部18は、自VoIPゲートウェイ1の稼働状態(特に処理中のセッション数あるいは通話チャネル数)を監視する。   The operating state monitoring unit 18 monitors the operating state of the VoIP gateway 1 (particularly, the number of sessions being processed or the number of call channels).

着信当番決定部19は、自VoIPゲートウェイ1を含む複数のVoIPゲートウェイ1−1〜1−nのうちの一つが着信当番となるように着信当番の担当を決定する。   The incoming call duty determining unit 19 determines the incoming call duty so that one of the plurality of VoIP gateways 1-1 to 1-n including the own VoIP gateway 1 becomes the incoming call duty.

具体的には、自VoIPゲートウェイ1がマスタGWに設定された場合に、着信当番決定部19は、自VoIPゲートウェイ1を着信当番に決定する。   Specifically, when the own VoIP gateway 1 is set as the master GW, the incoming call number determining unit 19 determines the own VoIP gateway 1 as the incoming call number.

また、他のVoIPゲートウェイ1から着信当番依頼を受信した場合、着信当番決定部19は、稼働状態監視部18により取得された自VoIPゲートウェイ1の稼働状態に基づいて着信当番の引受可否を判定する。そして、引受可能と判定したならば、自VoIPゲートウェイ1を着信当番に決定する。一方、引受不可と判定したならば、順番リスト記憶部17に記憶されている順番リストにおいて、自VoIPゲートウェイ1のつぎに記述されているVoIPゲートウェイ1(自VoIPゲートウェイ1の記述がリスト最後尾ならば、リスト先頭に記述されているVoIPゲートウェイ1)を新たな着信当番に決定する。   Further, when an incoming call turn request is received from another VoIP gateway 1, the incoming call turn determining unit 19 determines whether or not to accept the incoming call turn based on the operating state of the own VoIP gateway 1 acquired by the operating state monitoring unit 18. . If it is determined that it can be accepted, the local VoIP gateway 1 is determined as the incoming call number. On the other hand, if it is determined that the acceptance is not possible, in the order list stored in the order list storage unit 17, the VoIP gateway 1 described next to the own VoIP gateway 1 (if the description of the own VoIP gateway 1 is at the end of the list) For example, the VoIP gateway 1) described at the top of the list is determined as a new incoming call number.

また、自VoIPゲートウェイ1が着信当番である場合、着信当番決定部19は、稼働状態監視部18により取得された自VoIPゲートウェイ1の稼働状態が所定の当番交代条件を満足するに至ったか否かを監視する。そして、自VoIPゲートウェイ1の稼働状態が当番交代条件を満足するに至ったならば、順番リスト記憶部17に記憶されている順番リストにおいて、自VoIPゲートウェイ1のつぎに記述されているVoIPゲートウェイ1(自VoIPゲートウェイ1の記述がリスト最後尾ならば、リスト先頭に記述されているVoIPゲートウェイ1)を新たな着信当番に決定する。   In addition, when the local VoIP gateway 1 is the incoming call turn, the incoming call turn determining unit 19 determines whether or not the operating state of the local VoIP gateway 1 acquired by the operating state monitoring unit 18 satisfies a predetermined turn changing condition. To monitor. If the operation state of the own VoIP gateway 1 satisfies the duty change condition, the VoIP gateway 1 described next to the own VoIP gateway 1 in the order list stored in the order list storage unit 17. (If the description of the local VoIP gateway 1 is the tail of the list, the VoIP gateway 1 described at the top of the list) is determined as a new incoming call number.

図7は、VoIPゲートウェイ1の起動時の動作を説明するためのフロー図である。このフローは、VoIPゲートウェイ1に電源が投入されて起動されることにより開始される。   FIG. 7 is a flowchart for explaining the operation when the VoIP gateway 1 is activated. This flow starts when the VoIP gateway 1 is powered on and activated.

まず、登録サーバ部16は、LANインターフェース部11を介してLAN6に、所定の再送インターバルで繰り返し、マスタGW問合せをマルチキャスト送信する(S301)。また、登録サーバ部16は、所定の問合せ時間を経過するまでの間、LANインターフェース部11を介して他のVoIPゲートウェイ1からマスタGW通知を受信するのを待つ(S302)。   First, the registration server unit 16 repeatedly transmits a master GW inquiry to the LAN 6 via the LAN interface unit 11 at a predetermined retransmission interval (S301). Further, the registration server unit 16 waits until a master GW notification is received from another VoIP gateway 1 via the LAN interface unit 11 until a predetermined inquiry time elapses (S302).

所定の問合せ時間を経過するまでの間に、他のVoIPゲートウェイ1からマスタGW通知を受信しなかった場合(S302でNO)、登録サーバ部16は、自VoIPゲートウェイ1をマスタGWに設定し(S303)、その旨を登録クライアント部15に通知する。   If the master GW notification is not received from another VoIP gateway 1 until the predetermined inquiry time has elapsed (NO in S302), the registration server unit 16 sets the own VoIP gateway 1 as the master GW ( In step S303, the registration client unit 15 is notified of this.

これを受けて、登録クライアント部15は、VoIP網インターフェース部10を介してVoIP網5上の所定のDHCPサーバにアクセスし、このDHCPサーバからVoIP網5上のIPアドレスを取得する。そして、登録クライアント部15は、自VoIPゲートウェイ1のVoIP網5上のアドレスとして、DHCPサーバから取得したIPアドレスをVoIP網インターフェース部10に設定するとともに、自VoIPゲートウェイ1のLAN6上のアドレスとして所定のIPアドレスをLANインターフェース部11に設定する(S304)。   In response to this, the registration client unit 15 accesses a predetermined DHCP server on the VoIP network 5 via the VoIP network interface unit 10 and acquires an IP address on the VoIP network 5 from this DHCP server. Then, the registration client unit 15 sets the IP address acquired from the DHCP server as the address on the VoIP network 5 of the own VoIP gateway 1 in the VoIP network interface unit 10, and as a predetermined address as the address on the LAN 6 of the own VoIP gateway 1. Is set in the LAN interface unit 11 (S304).

つぎに、登録クライアント部15は、VoIP網インターフェース部10を介してVoIP網5上の所定のSIPサーバにアクセスし、このSIPサーバに自VoIPゲートウェイ1の登録情報を登録する(S305)。   Next, the registration client unit 15 accesses a predetermined SIP server on the VoIP network 5 via the VoIP network interface unit 10, and registers registration information of the VoIP gateway 1 in this SIP server (S305).

つぎに、登録サーバ部16は、先頭に自VoIPゲートウェイ1の情報が記述された着信当番の順番リストを作成し、この順番リストを順番リスト記憶部17に記憶する(S306)。さらに、登録サーバ部16は、LANインターフェース部11を介してLAN6に、この順番リストをマルチキャスト送信する(S307)。   Next, the registration server unit 16 creates an incoming turn order list in which the information of the VoIP gateway 1 is described at the head, and stores this order list in the order list storage unit 17 (S306). Furthermore, the registration server unit 16 multicasts this order list to the LAN 6 via the LAN interface unit 11 (S307).

一方、所定の問合せ時間内に、他のVoIPゲートウェイ1からマスタGW通知を受信した場合(S302でYES)、登録サーバ部16は、自VoIPゲートウェイ1をスレーブGWに設定し(S308)、その旨を登録クライアント部15に通知する。   On the other hand, when a master GW notification is received from another VoIP gateway 1 within a predetermined inquiry time (YES in S302), the registration server unit 16 sets its own VoIP gateway 1 as a slave GW (S308), and accordingly To the registered client unit 15.

これを受けて、登録クライアント部15は、LANインターフェース部11を介してマスタGW(マスタGW通知の送信元アドレス)にアクセスし、マスタGWからVoIP網5上のIPアドレスおよびLAN6上のIPアドレスを取得する。そして、登録クライアント部15は、マスタGWから取得したVoIP網5上のIPアドレス、LAN6上のIPアドレスを、それぞれ、VoIP網インターフェース部10、LANインターフェース部11に設定する(S309)。   In response to this, the registration client unit 15 accesses the master GW (source address of the master GW notification) via the LAN interface unit 11, and obtains the IP address on the VoIP network 5 and the IP address on the LAN 6 from the master GW. get. Then, the registration client unit 15 sets the IP address on the VoIP network 5 and the IP address on the LAN 6 acquired from the master GW in the VoIP network interface unit 10 and the LAN interface unit 11, respectively (S309).

つぎに、登録クライアント部15は、LANインターフェース部11を介してマスタGWにアクセスし、このマスタGWに自VoIPゲートウェイ1の登録情報を登録する(S310)。また、登録クライアント部15は、LANインターフェース部11を介してマスタGWとの間でマスタGW生存通知およびその応答のやり取りを開始する(S311)。   Next, the registration client unit 15 accesses the master GW via the LAN interface unit 11, and registers the registration information of the own VoIP gateway 1 in the master GW (S310). Also, the registration client unit 15 starts exchanging a master GW existence notification and its response with the master GW via the LAN interface unit 11 (S311).

つぎに、登録サーバ部16は、LANインターフェース部11を介してマスタGWからマルチキャスト送信された着信当番の順番リストを受信し、この順番リストを順番リスト記憶部17に記憶する(S312)。   Next, the registration server unit 16 receives an incoming call turn order list multicast-transmitted from the master GW via the LAN interface unit 11, and stores this order list in the order list storage unit 17 (S312).

図8(A)は、マスタGWに設定されたVoIPゲートウェイ1の登録サーバ部16の動作を説明するためのフロー図である。   FIG. 8A is a flowchart for explaining the operation of the registration server unit 16 of the VoIP gateway 1 set in the master GW.

マスタGWに設定されたVoIPゲートウェイ1において、登録サーバ部16は、LANインターフェース部11を介して他のVoIPゲートウェイ1からマスタGW問合せを受信すると(S321でYES)、LANインターフェース部11を介して、このマスタGW問合せの送信元に、自VoIPゲートウェイ1のアドレス情報を含むマスタGW通知を返信する(S322)。   In the VoIP gateway 1 set as the master GW, when the registration server unit 16 receives a master GW inquiry from another VoIP gateway 1 through the LAN interface unit 11 (YES in S321), through the LAN interface unit 11, A master GW notification including the address information of the VoIP gateway 1 is returned to the transmission source of the master GW inquiry (S322).

また、登録サーバ部16は、LANインターフェース部11を介して他のVoIPゲートウェイ1(スレーブGW)からアドレス要求を受信すると(S323でYES)、このVoIPゲートウェイ1のVoIP網5上のアドレスとして、自VoIPゲートウェイ1と同じIPアドレスを割り当てるとともに、このVoIPゲートウェイ1のLAN6上のアドレスとして、DHCPサーバ機能により生成したLAN6上でユニークなアドレスを割り当てる。そして、これらのアドレスをアドレス要求元のVoIPゲートウェイ1に送信する(S324)。   In addition, when the registration server unit 16 receives an address request from another VoIP gateway 1 (slave GW) via the LAN interface unit 11 (YES in S323), the registration server unit 16 automatically determines the address of the VoIP gateway 1 on the VoIP network 5. The same IP address as that of the VoIP gateway 1 is assigned, and a unique address on the LAN 6 generated by the DHCP server function is assigned as an address on the LAN 6 of the VoIP gateway 1. Then, these addresses are transmitted to the VoIP gateway 1 of the address request source (S324).

また、登録サーバ部16は、LANインターフェース部11を介して他のVoIPゲートウェイ1(スレーブGW)から登録要求を受信すると(S325でYES)、SIPレジストラサーバ機能により、このVoIPゲートウェイ1の登録情報を登録する(S326)。また、登録サーバ部16は、LANインターフェース部11を介してこのスレーブGWとの間でマスタGW生存通知およびその応答のやり取りを開始する(S327)。さらに、登録サーバ部16は、順番リスト記憶部17に記憶されている着信当番の順番リストの最後尾にこのVoIPゲートウェイ1の情報を記述して、この順番リストを更新するとともに、LANインターフェース部11を介してLAN6に、更新後の順番リストをマルチキャスト送信する(S328)。   Further, when the registration server unit 16 receives a registration request from another VoIP gateway 1 (slave GW) via the LAN interface unit 11 (YES in S325), the registration server unit 16 obtains registration information of the VoIP gateway 1 by the SIP registrar server function. Registration is performed (S326). Also, the registration server unit 16 starts exchanging a master GW existence notification and its response with the slave GW via the LAN interface unit 11 (S327). Further, the registration server unit 16 describes the information of the VoIP gateway 1 at the tail of the incoming call turn order list stored in the order list storage unit 17, updates the order list, and the LAN interface unit 11 The updated order list is multicast-transmitted to the LAN 6 via S3 (S328).

図8(B)は、スレーブGWに設定されたVoIPゲートウェイ1の登録サーバ部16の動作を説明するためのフロー図である。   FIG. 8B is a flowchart for explaining the operation of the registration server unit 16 of the VoIP gateway 1 set as the slave GW.

スレーブGWに設定されたVoIPゲートウェイ1において、登録サーバ部16は、LANインターフェース部11を介して、マスタGWに設定されたVoIPゲートウェイ1からマルチキャスト送信された着信当番の順番リストを受信すると(S331でYES)、順番リスト記憶部17に記憶されている着信当番の順番リストを、新たに受信した順番リストに更新する(S332)。   In the VoIP gateway 1 set as the slave GW, the registration server unit 16 receives the order list of the incoming call numbers multicast-transmitted from the VoIP gateway 1 set as the master GW via the LAN interface unit 11 (S331). YES), the incoming call turn order list stored in the order list storage unit 17 is updated to the newly received order list (S332).

図9は、VoIPゲートウェイ1の着信当番依頼受信時の動作を説明するためのフロー図である。このフローは、LANインターフェース部11が、着信当番を放棄した他のVoIPゲートウェイ1から着信当番依頼を受信することにより開始される。   FIG. 9 is a flowchart for explaining the operation of the VoIP gateway 1 when receiving an incoming call turn request. This flow is started when the LAN interface unit 11 receives an incoming call request from another VoIP gateway 1 that has abandoned the incoming call.

まず、着信当番決定部19は、受信した着信当番依頼に添付されている送信履歴を取得するとともに、LANインターフェース部11を介して着信当番依頼の送信元に応答を返信する(S341)。つぎに、稼働状態監視部18は、自VoIPゲートウェイ1の稼働状態を取得して(S342)、この稼働状態を着信当番決定部19に渡す。   First, the incoming call number determining unit 19 acquires a transmission history attached to the received incoming call number request, and returns a response to the transmission source of the incoming call number request via the LAN interface unit 11 (S341). Next, the operating state monitoring unit 18 acquires the operating state of the local VoIP gateway 1 (S342), and passes this operating state to the incoming call number determining unit 19.

これを受けて、着信当番決定部19は、この稼働状態から、PBX3との間に確立している通話チャネル数を特定し、この通話チャネル数が自VoIPゲートウェイ1で処理可能な最大チャネル数に達しているか否かを判断する(S343)。そして、PBX3との間に確立している通話チャネル数が最大チャネル数に達していないならば(S343でNO)、着信当番決定部19は、この稼働状態から、VoIP網5との間に確立しているセッション数を特定し、このセッション数が自VoIPゲートウェイ1で処理可能な最大セッション数に達しているか否かをさらに判断する(S344)。そして、VoIP網5との間に確立しているセッション数が最大セッション数に達していないならば(S344でNO)、着信当番決定部19は、着信当番を獲得して、その旨を呼制御部13に通知する(S345)。   In response to this, the incoming call number determining unit 19 specifies the number of call channels established with the PBX 3 from this operating state, and sets the number of call channels to the maximum number of channels that can be processed by the own VoIP gateway 1. It is determined whether or not it has been reached (S343). If the number of call channels established with the PBX 3 has not reached the maximum number of channels (NO in S343), the incoming call number determining unit 19 establishes with the VoIP network 5 from this operating state. The number of sessions is specified, and it is further determined whether the number of sessions has reached the maximum number of sessions that can be processed by the VoIP gateway 1 (S344). If the number of sessions established with the VoIP network 5 has not reached the maximum number of sessions (NO in S344), the incoming call number determining unit 19 acquires the incoming call number and calls control to that effect. Notification to the unit 13 (S345).

一方、PBX3との間に確立している通話チャネル数が自VoIPゲートウェイ1で処理可能な最大チャネル数に達している場合(S343でYES)、あるいはVoIP網5との間に確立しているセッション数が自VoIPゲートウェイ1で処理可能な最大セッション数に達している場合(S344でYES)、着信当番決定部19は、受信した着信当番依頼に添付されていた送信履歴に、自VoIPゲートウェイ1が送信元として記述されているか否かを調べる(S345)。   On the other hand, if the number of communication channels established with the PBX 3 has reached the maximum number of channels that can be processed by the local VoIP gateway 1 (YES in S343), or a session established with the VoIP network 5 When the number has reached the maximum number of sessions that can be processed by the own VoIP gateway 1 (YES in S344), the incoming call number determining unit 19 indicates that the own VoIP gateway 1 has added to the transmission history attached to the received incoming call number request. It is checked whether it is described as a transmission source (S345).

そして、自VoIPゲートウェイ1が送信履歴に記述されている場合、つまり着信当番依頼が、本実施に形態に係る電話システムを構成するVoIPゲートウェイ1−1〜1−nを一巡したならば(S345でYES)、着信当番決定部19は、自VoIPゲートウェイ1の稼働状態にかかわらず、着信当番を獲得して、その旨を呼制御部13に通知する(S346)。   If the local VoIP gateway 1 is described in the transmission history, that is, if the incoming call turn request makes a round of the VoIP gateways 1-1 to 1-n constituting the telephone system according to the present embodiment (in S345). YES), the incoming call number determining unit 19 acquires the incoming call number regardless of the operating state of the local VoIP gateway 1, and notifies the call control unit 13 to that effect (S346).

一方、自VoIPゲートウェイ1が送信履歴に記述されていない場合、つまり着信当番依頼が、本実施に形態に係る電話システムを構成するVoIPゲートウェイ1−1〜1−nを一巡していないならば(S345でNO)、着信当番決定部19は、順番リスト記憶部17に記憶されている着信当番の順番リストにおいて、自VoIPゲートウェイ1のつぎに記述されているVoIPゲートウェイ1(自VoIPゲートウェイ1の記述がリスト最後尾ならば、リスト先頭に記述されているVoIPゲートウェイ1)を新たな着信当番に決定する(S347)。それから、着信当番決定部19は、受信した着信当番依頼に添付されていた送信履歴に自VoIPゲートウェイ1を送信元として追記する。そして、この送信履歴が添付された着信当番依頼を、LANインターフェース部11を介して、新たな着信当番に決定されたVoIPゲートウェイ1に送信し(S348)、このVoIPゲートウェイ1から応答を受信する(S349)。   On the other hand, if the local VoIP gateway 1 is not described in the transmission history, that is, if the incoming call turn request does not go around the VoIP gateways 1-1 to 1-n constituting the telephone system according to the present embodiment ( In step S345, the incoming call number determining unit 19 sets the VoIP gateway 1 described next to the own VoIP gateway 1 in the incoming number order list stored in the order list storage unit 17 (description of the own VoIP gateway 1). Is at the end of the list, the VoIP gateway 1) described at the top of the list is determined as a new incoming call number (S347). Then, the incoming call number determining unit 19 adds the own VoIP gateway 1 as a transmission source to the transmission history attached to the received incoming call number request. Then, the incoming turn request with the transmission history attached is transmitted to the VoIP gateway 1 determined as the new incoming turn through the LAN interface unit 11 (S348), and a response is received from the VoIP gateway 1 ( S349).

図10は、VoIPゲートウェイ1の、VoIP網5からの着信時の動作を説明するためのフロー図である。このフローは、VoIP網インターフェース部10がハブ2を介してVoIP網5からINVITEメッセージを受信することにより開始される。   FIG. 10 is a flowchart for explaining the operation of the VoIP gateway 1 when receiving an incoming call from the VoIP network 5. This flow is started when the VoIP network interface unit 10 receives an INVITE message from the VoIP network 5 via the hub 2.

まず、呼制御部13は、自VoIPゲートウェイ1が着信当番を獲得しているか否かを判断する(S361)。自VoIPゲートウェイ1が着信当番を獲得していないならば(S361でNO)、このINVITEメッセージを無視してこのフローを終了する。一方、自VoIPゲートウェイ1が着信当番を獲得しているならば(S361でYES)、このINVITEメッセージに基づく着信処理(呼制御シーケンス)を開始する(S362)。   First, the call control unit 13 determines whether or not the own VoIP gateway 1 has acquired the incoming call number (S361). If the own VoIP gateway 1 has not acquired the incoming call number (NO in S361), this INVITE message is ignored and this flow ends. On the other hand, if the own VoIP gateway 1 has acquired the incoming call number (YES in S361), the incoming call process (call control sequence) based on this INVITE message is started (S362).

このとき、PBX3との間に確立している通話チャネル数が自VoIPゲートウェイ1で処理可能な最大チャネル数に達しているならば、あるいはVoIP網5との間に確立しているセッション数が自VoIPゲートウェイ1で処理可能な最大セッション数に達しているならば、話中処理を開始する。   At this time, if the number of call channels established with the PBX 3 has reached the maximum number of channels that can be processed by the own VoIP gateway 1, or the number of sessions established with the VoIP network 5 is established. If the maximum number of sessions that can be processed by the VoIP gateway 1 has been reached, busy processing is started.

つぎに、呼制御部13は、例えばアナログ電話機4のユーザがいずれも不在なためPBX3からの応答がないなど、セッションおよび通話チャネルを確立することなく着信処理が終了したならば(S363でNO)、このフローを終了する。一方、この着信処理により、VoIP網5との間にセッションが確立されるとともに、PBX3との間に通話チャネルが確立されたならば(S363でYES)、これらのセッションおよび通話チャネルを中継するように、通話制御部14に指示する。   Next, the call control unit 13 terminates the incoming call processing without establishing a session and a call channel, for example, there is no response from the PBX 3 because there is no user of the analog telephone 4 (NO in S363). This flow is finished. On the other hand, if a session is established with the VoIP network 5 and a call channel is established with the PBX 3 by this incoming call processing (YES in S363), these sessions and the call channel are relayed. Then, the call control unit 14 is instructed.

これを受けて、通話制御部14は、VoIP網5上の相手端末との間に確立されたセッションを介して送受信されるRTPパケット、およびPBX3との間に確立された通話チャネルを介して送受信される音声信号間の中継処理を開始する(S364)。   In response to this, the call control unit 14 transmits / receives via the RTP packet transmitted / received via the session established with the counterpart terminal on the VoIP network 5 and the call channel established between the PBX 3. The relay process between the audio signals to be started is started (S364).

つぎに、稼働状態監視部18は、自VoIPゲートウェイ1の稼働状態を取得して(S365)、この稼働状態を着信当番決定部19に渡す。   Next, the operating state monitoring unit 18 acquires the operating state of the local VoIP gateway 1 (S365), and passes this operating state to the incoming call number determining unit 19.

これを受けて、着信当番決定部19は、この稼働状態に基づいて、自VoIPゲートウェイ1の稼働状態が当番交代条件を満足しているか否かを判断する(S366)。そして、自VoIPゲートウェイ1の稼働状態が当番交代条件を満足していないならば(S366でNO)、このフローを終了する。   In response to this, the incoming call turn number determination unit 19 determines whether or not the operation state of the VoIP gateway 1 satisfies the turn change condition based on the operation state (S366). If the operating state of the local VoIP gateway 1 does not satisfy the duty change condition (NO in S366), this flow is terminated.

一方、自VoIPゲートウェイ1の稼働状態が当番交代条件を満足しているならば(S366でYES)、着信当番決定部19は、獲得した着信当番を放棄し、その旨を呼制御部13に通知する(S367)。それから、着信当番決定部19は、順番リスト記憶部17に記憶されている着信当番の順番リストにおいて、自VoIPゲートウェイ1のつぎに記述されているVoIPゲートウェイ1(自VoIPゲートウェイ1の記述がリスト最後尾ならば、リスト先頭に記述されているVoIPゲートウェイ1)を新たな着信当番に決定する(S368)。そして、自VoIPゲートウェイ1が送信元として記述された送信履歴を作成し、この送信履歴が添付された着信当番依頼を、LANインターフェース部11を介して、新たな着信当番に決定されたVoIPゲートウェイ1に送信して(S369)、このVoIPゲートウェイ1から応答を受信する(S370)。そして、このフローを終了する。   On the other hand, if the operating state of the local VoIP gateway 1 satisfies the duty change condition (YES in S366), the incoming call duty determination unit 19 abandons the acquired incoming call duty and notifies the call control unit 13 to that effect. (S367). Then, the incoming call number determining unit 19 includes the VoIP gateway 1 described next to the own VoIP gateway 1 in the incoming number order list stored in the order list storage unit 17 (the description of the own VoIP gateway 1 is the last in the list). If it is tail, the VoIP gateway 1) described at the top of the list is determined as a new incoming call number (S368). Then, the local VoIP gateway 1 creates a transmission history described as a transmission source, and the incoming call turn request with the transmission history attached is sent to the VoIP gateway 1 determined as a new incoming call turn through the LAN interface unit 11. (S369), and receives a response from the VoIP gateway 1 (S370). Then, this flow ends.

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

本実施の形態に係る電話システムでは、複数のアナログ電話機4を収容するPBX3をVoIP網5に接続するVoIPゲートウェイ1を複数設け、これらのVoIPゲートウェイ1に対して、VoIP網5上のアドレスとして共通のアドレスを割り当てるとともに、着信当番の順番リストにより着信当番を割り当てている。そして、この共通のアドレスに対するINVITEメッセージがVoIP網5から着信した場合に、着信当番のVoIPゲートウェイ1のみが、このINVITEメッセージを処理して呼制御シーケンスを実施し、着信当番でないVoIPゲートウェイ1はこのINVITEメッセージを無視する。また、着信当番のVoIPゲートウェイ1は、自VoIPゲートウェイ1が所定の当番交代条件を満足したか否かを判断し、この当番交代条件を満足したならば、着信当番の順番リストに従い、他のいずれか一つのVoIPゲートウェイ1に着信当番を移す。   In the telephone system according to the present embodiment, a plurality of VoIP gateways 1 for connecting the PBX 3 accommodating a plurality of analog telephones 4 to the VoIP network 5 are provided, and these VoIP gateways 1 are commonly used as addresses on the VoIP network 5. Are assigned, and the incoming turn is assigned from the incoming turn order list. When an INVITE message for this common address arrives from the VoIP network 5, only the incoming VoIP gateway 1 processes the INVITE message and performs a call control sequence. Ignore the INVITE message. In addition, the incoming VoIP gateway 1 determines whether or not the local VoIP gateway 1 satisfies a predetermined on-duty change condition. The incoming call turn is transferred to one VoIP gateway 1.

このため、本実施の形態によれば、VoIP網5上のアドレスとして共通のアドレスが割り当てられた複数のVoIPゲートウェイ1にVoIP網5からINVITEメッセージが着信した場合に、このINVITEメッセージを処理するVoIPゲートウェイ1を動的に割り振ることができるので、複数のVoIPゲートウェイ1間における負荷分散を図ることができる。   Therefore, according to the present embodiment, when an INVITE message is received from the VoIP network 5 to a plurality of VoIP gateways 1 to which a common address is assigned as an address on the VoIP network 5, the VoIP that processes the INVITE message is received. Since gateways 1 can be dynamically allocated, load distribution among a plurality of VoIP gateways 1 can be achieved.

また、本実施の形態において、VoIPゲートウェイ1における処理中のチャネル数もしくはセッション数が、このVoIPゲートウェイ1で処理可能な最大チャネル数あるいは最大セッション数に達した場合に、当番交代条件を満足したものと判断することにより、VoIPゲートウェイ1に処理能力以上の数の着信が振り分けられるのを防止することができる。   In the present embodiment, when the number of channels or sessions being processed in the VoIP gateway 1 reaches the maximum number of channels or the maximum number of sessions that can be processed by the VoIP gateway 1, the turn change condition is satisfied. Therefore, it is possible to prevent the VoIP gateway 1 from being assigned more incoming calls than the processing capacity.

また、本実施の形態において、着信当番を獲得してからのVoIPゲートウェイ1の着信処理回数が所定回数に達した場合に、このVoIPゲートウェイ1の当番交代条件を満足したものと判断することにより、各VoIPゲートウェイ1に、より均等に着信を振り分けることが可能となり、より効果的に負荷分散を図ることができる。   In the present embodiment, when the number of incoming calls of the VoIP gateway 1 after obtaining the incoming turn reaches a predetermined number, by determining that the turn change condition of the VoIP gateway 1 is satisfied, Incoming calls can be distributed to each VoIP gateway 1 more evenly, and load distribution can be achieved more effectively.

また、本実施の形態において、着信当番を獲得していないVoIPゲートウェイ1は、他のVoIPゲートウェイ1から着信当番依頼を受信した場合に、自VoIPゲートウェイ1において処理中のチャネル数もしくはセッション数が、自VoIPゲートウェイ1で処理可能な最大チャネル数あるいは最大セッション数に達しているならば、着信当番を獲得することなく、着信当番の順番リストに従い、他のいずれか一つのVoIPゲートウェイ1に着信当番依頼を送信している。このため、VoIPゲートウェイ1に処理能力以上の数の着信が振り分けられるのをさらに防止することができる。   Further, in the present embodiment, when the VoIP gateway 1 that has not acquired the incoming turn number receives an incoming turn request from another VoIP gateway 1, the number of channels or sessions being processed in the own VoIP gateway 1 is: If the maximum number of channels or the maximum number of sessions that can be processed by the local VoIP gateway 1 is reached, the incoming turn request is sent to any one of the other VoIP gateways 1 according to the incoming turn order list without acquiring the incoming turn. Is sending. For this reason, it is possible to further prevent the VoIP gateway 1 from being assigned more incoming calls than the processing capacity.

また、本実施の形態では、ハブ2を介して複数のVoIPゲートウェイ1をVoIP網5に接続している。ここで、ハブ2は、VoIP網5から受信したパケットについては、複製してVoIPゲートウェイ1のそれぞれに中継する一方、各VoIPゲートウェイ1から受信したパケットについては、複製することなくVoIP網5へ中継する。このため、VoIPゲートウェイ1から送信されたパケットがLAN6上に重複送出されるのを防止することができ、これによりLAN6の輻輳を低減できる。   In the present embodiment, a plurality of VoIP gateways 1 are connected to the VoIP network 5 via the hub 2. Here, the hub 2 duplicates and relays the packet received from the VoIP network 5 to each of the VoIP gateways 1, while relaying the packet received from each VoIP gateway 1 to the VoIP network 5 without duplication. To do. For this reason, it is possible to prevent the packet transmitted from the VoIP gateway 1 from being repeatedly transmitted on the LAN 6, thereby reducing the congestion of the LAN 6.

なお、本発明は上記の実施の形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。   In addition, this invention is not limited to said embodiment, Many deformation | transformation are possible within the range of the summary.

例えば、上記の実施の形態において、VoIPゲートウェイ1は、他のVoIPゲートウェイ1から着信当番依頼を受信した場合において、着信当番の引受不可と判定したならば、自VoIPゲートウェイ1が新たな着信当番を決定して、この新たな着信当番に決定されたVoIPゲートウェイ1に着信依頼当番を送信している。しかし、本発明はこれに限定されない。VoIPゲートウェイ1は、受信した着信当番依頼に対して着信当番の引受不可と判定した場合に、この着信当番依頼の送信元であるVoIPゲートウェイ1に対して、着信当番の引受不可応答を返信するようにしてもよい。この場合、着信当番依頼送信元のVoIPゲートウェイ1が新たな着信当番を決定して、この新たな着信当番に決定されたVoIPゲートウェイ1に着信依頼当番を送信する。この新たな着信当番は、例えば着信当番の順番リストにおいて、着信当番の引受不可応答を返信したVoIPゲートウェイ1のつぎに記述されているVoIPゲートウェイ1(着信不可応答を返信したVoIPゲートウェイ1が順番リストの最後尾に記述されているならば、順番リストの先頭に記述されているVoIPゲートウェイ1)に決定すればよい。   For example, in the above embodiment, when the VoIP gateway 1 receives an incoming call turn request from another VoIP gateway 1 and determines that the incoming call turn cannot be accepted, the VoIP gateway 1 sets a new incoming call turn. The incoming call request duty is transmitted to the VoIP gateway 1 that has been determined and determined as the new incoming call duty. However, the present invention is not limited to this. When the VoIP gateway 1 determines that the incoming call turn request cannot be accepted in response to the received incoming call turn request, the VoIP gateway 1 returns a response to the incoming call turn request not accepted response to the VoIP gateway 1 that is the transmission source of the incoming call turn request. It may be. In this case, the VoIP gateway 1 of the incoming call turn request transmission source determines a new incoming call turn and transmits the incoming call request turn to the VoIP gateway 1 determined as the new incoming call turn. For example, in the incoming turn order list, the new incoming turn is the VoIP gateway 1 described next to the VoIP gateway 1 that has returned the incoming turn unacceptable response (the VoIP gateway 1 that has returned the incoming turn impossible response is the ordered list). VoIP gateway 1) described at the top of the order list may be determined.

この場合、着信当番の順番リストに記述されているすべてのVoIPゲートウェイ1が着信当番の引受不可応答を返信したならば、着信当番依頼の送信元であるVoIPゲートウェイ1が、自VoIPゲートウェイ1の稼働状態にかかわらず、着信当番を獲得するようにする。   In this case, if all the VoIP gateways 1 described in the incoming call turn order list have returned an incoming call assignment undertaken response, the VoIP gateway 1 that is the transmission source of the incoming call turn request operates the local VoIP gateway 1. Regardless of the state, get the incoming call duty.

また、上記の実施の形態において、図6に示すVoIPゲートウェイ1の機能構成は、ASIC(Application Specific Integrated Circuit)、およびFPGA(Field Programmable Gate Array)などの集積ロジックICによりハード的に実現されるものでもよいし、あるいは、DSP(Digital Signal Processor)などの計算機によりソフトウエア的に実現されるものでもよい。もしくは、CPU、メモリ、HDD、DVD−ROM等の補助記憶装置、およびNIC(Network Interface Card)、モデム等の通信インターフェースを備えたPC(Personal Computer)等の汎用コンピュータにおいて、CPUが所定のプログラムを補助記憶装置からメモリ上にロードして実行することで実現されるものでもよい。   In the above embodiment, the functional configuration of the VoIP gateway 1 shown in FIG. 6 is realized by an integrated logic IC such as ASIC (Application Specific Integrated Circuit) and FPGA (Field Programmable Gate Array). Alternatively, it may be realized by software by a computer such as a DSP (Digital Signal Processor). Alternatively, in a general-purpose computer such as a CPU (Personal Computer) equipped with an auxiliary storage device such as a CPU, memory, HDD, DVD-ROM, and a communication interface such as a NIC (Network Interface Card) and a modem, the CPU executes a predetermined program. It may be realized by loading from an auxiliary storage device onto a memory and executing it.

また、上記の実施の形態では、アナログ電話機4を収容するPBX3をVoIP網5に接続するVoIPゲートウェイ1を例にとり説明したが、本発明はこれに限定されない。本発明は、内線端末を収容するPBXをVoIP網5に接続するVoIPゲートウェイに広く適用できる、例えば、本発明は、IP電話機を収容するIP−PBXをVoIP網5に接続するVoIPゲートウェイにも適用可能である。   In the above embodiment, the VoIP gateway 1 that connects the PBX 3 that accommodates the analog telephone 4 to the VoIP network 5 has been described as an example. However, the present invention is not limited to this. The present invention can be widely applied to a VoIP gateway that connects a PBX that accommodates an extension terminal to the VoIP network 5. For example, the present invention is also applicable to a VoIP gateway that connects an IP-PBX that accommodates an IP telephone to the VoIP network 5. Is possible.

1、1−1〜1−n:VoIPゲートウェイ、2:ハブ、3:PBX、4:アナログ電話機、5:VoIP網、6:LAN、10:VoIP網インターフェース部、11:LANインターフェース部、12:PBXインターフェース部、13:呼制御部、14:通話制御部、15:登録クライアント部、16:登録サーバ部、17、順番リスト記憶部、18:稼働状態監視部、19:着信当番決定部   1, 1-1 to 1-n: VoIP gateway, 2: hub, 3: PBX, 4: analog telephone, 5: VoIP network, 6: LAN, 10: VoIP network interface unit, 11: LAN interface unit, 12: PBX interface unit, 13: call control unit, 14: call control unit, 15: registration client unit, 16: registration server unit, 17, order list storage unit, 18: operating state monitoring unit, 19: incoming call number determining unit

Claims (4)

VoIP網と複数の内線端末を収容するPBXとの間に複数配置され、前記VoIP網対応のアドレスとして共通のアドレスが割り当てられるVoIPゲートウェイであって、
自VoIPゲートウェイを含む複数の前記VoIPゲートウェイのうちのいずれが着信に係る処理を実行する着信当番となるかを決定する着信当番決定手段と、
前記VoIP網から着信があった場合に自VoIPゲートウェイが前記着信当番ならば当該着信に係る処理を実行し、自VoIPゲートウェイが前記着信当番でないならば当該着信に係る処理を実行しない着信制御手段と、を有し、
前記着信当番決定手段は、
自VoIPゲートウェイが前記着信当番である場合に、自VoIPゲートウェイの状態が所定の当番交代条件を満足するか否かを監視し、前記当番交代条件を満足したならば、自VoIPゲートウェイを含む複数の前記VoIPゲートウェイ間で予め定められた当番順番に従い、いずれかの他VoIPゲートウェイに着信当番依頼を送信して、自VoIPゲートウェイを前記着信当番から外し、
自VoIPゲートウェイが前記着信当番でない場合において、他VoIPゲートウェイから前記着信当番依頼を受信した場合に自VoIPゲートウェイにおいて処理中のチャネル数もしくはセッション数が、自VoIPゲートウェイに予め設定されているチャネル数あるいはセッション数に達していないならば、自VoIPゲートウェイを前記着信当番に決定し、当該設定されているチャネル数あるいはセッション数に達しているならば、自VoIPゲートウェイを前記着信当番に決定することなく、前記当番順番に従っていずれかの他VoIPゲートウェイに前記着信当番依頼を送信する
ことを特徴とするVoIPゲートウェイ。
A plurality of VoIP gateways arranged between a VoIP network and a PBX accommodating a plurality of extension terminals, and assigned a common address as an address corresponding to the VoIP network,
An incoming call number determining means for determining which one of the plurality of VoIP gateways including the own VoIP gateway is an incoming call number for executing processing related to an incoming call;
An incoming call control unit that executes a process related to an incoming call if the local VoIP gateway is the incoming call number when an incoming call is received from the VoIP network, and does not execute a process related to the incoming call if the local VoIP gateway is not the incoming call number; Have
The incoming call turn number determining means includes:
When the local VoIP gateway is the incoming call turn, it monitors whether the state of the local VoIP gateway satisfies a predetermined turn change condition, and if the turn change condition is satisfied, a plurality of items including the self VoIP gateway are included. In accordance with a predetermined turn order between the VoIP gateways, send an incoming turn request to any other VoIP gateway to remove the own VoIP gateway from the incoming turn,
If the own VoIP gateway receives the incoming duty request Oite, other VoIP gateway if not the incoming call duty, the number of channels or the number of sessions in progress in the own VoIP gateway is preset to its own VoIP gateway If the number of channels or sessions has not been reached, the local VoIP gateway is determined as the incoming call number, and if the set number of channels or sessions has been reached, the local VoIP gateway is determined as the incoming number. The VoIP gateway, wherein the incoming call turn request is transmitted to any other VoIP gateway according to the turn order .
請求項1に記載のVoIPゲートウェイであって、
前記当番交代条件は、
自VoIPゲートウェイが処理中のチャネル数もしくはセッション数が、自VoIPゲートウェイに予め設定されているチャネル数あるいはセッション数に達することである
ことを特徴とするVoIPゲートウェイ。
The VoIP gateway according to claim 1, wherein
The duty change condition is as follows:
The VoIP gateway characterized in that the number of channels or sessions being processed by the local VoIP gateway reaches the number of channels or sessions preset in the local VoIP gateway.
請求項1に記載のVoIPゲートウェイであって、
前記当番交代条件は、
自VoIPゲートウェイが前記着信当番になってから、前記VoIP網からの着信を所定回数処理したことである
ことを特徴とするVoIPゲートウェイ。
The VoIP gateway according to claim 1, wherein
The duty change condition is as follows:
The VoIP gateway characterized in that the incoming call from the VoIP network has been processed a predetermined number of times after the local VoIP gateway has reached the incoming call turn.
複数の内線端末を収容するPBXをVoIP網に接続する複数のVoIPゲートウェイを含む通信システムの着信制御方法であって、
前記複数のVoIPゲートウェイには、前記VoIP網対応の共通アドレスが割り当てられており、
前記複数のVoIPゲートウェイのうちの一つは、着信当番に決定されており、
前記着信当番のVoIPゲートウェイは、
前記VoIP網からの着信に係る処理を実行するとともに、自VoIPゲートウェイの状態が所定の当番交代条件を満足するか否かを監視し、前記当番交代条件を満足したならば、前記複数のVoIPゲートウェイ間で予め定められた当番順番に従い、いずれかの他VoIPゲートウェイに着信当番依頼を送信し、自VoIPゲートウェイを前記着信当番から外し、
前記着信当番でないVoIPゲートウェイは、
前記VoIP網からの着信に係る処理を実行せず、他VoIPゲートウェイから前記着信当番依頼を受信した場合に自VoIPゲートウェイにおいて処理中のチャネル数もしくはセッション数が、自VoIPゲートウェイに予め設定されているチャネル数あるいはセッション数に達していないならば、自VoIPゲートウェイを前記着信当番に決定し、当該設定されているチャネル数あるいはセッション数に達しているならば、自VoIPゲートウェイを前記着信当番に決定することなく、前記当番順番に従っていずれかの他VoIPゲートウェイに前記着信当番依頼を送信する
ことを特徴とする通信システムの着信制御方法。
An incoming call control method for a communication system including a plurality of VoIP gateways for connecting a PBX accommodating a plurality of extension terminals to a VoIP network,
A common address corresponding to the VoIP network is assigned to the plurality of VoIP gateways,
One of the plurality of VoIP gateways is determined as an incoming call duty,
The incoming call VoIP gateway is:
The process related to the incoming call from the VoIP network is executed, and it is monitored whether or not the state of the local VoIP gateway satisfies a predetermined turn change condition. If the turn change condition is satisfied, the plurality of VoIP gateways In accordance with the turn order determined in advance, send the incoming turn request to any other VoIP gateway, remove the own VoIP gateway from the incoming turn,
VoIP gateways that are not on-call duty are:
Wherein without executing the process according to the incoming call from the VoIP network, when receiving the incoming call duty request from another VoIP gateway, the number of channels or the number of sessions in progress in the own VoIP gateways, set in advance in the own VoIP gateway If the number of channels or sessions is not reached, the local VoIP gateway is determined as the incoming call number, and if the number of channels or sessions set is reached, the local VoIP gateway is determined as the incoming number. The incoming call control request is transmitted to one of the other VoIP gateways according to the turn order without performing the operation .
JP2011211671A 2011-09-27 2011-09-27 VoIP gateway and communication system incoming call control method Active JP5708410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011211671A JP5708410B2 (en) 2011-09-27 2011-09-27 VoIP gateway and communication system incoming call control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011211671A JP5708410B2 (en) 2011-09-27 2011-09-27 VoIP gateway and communication system incoming call control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015029022A Division JP5896054B2 (en) 2015-02-17 2015-02-17 Communication device

Publications (3)

Publication Number Publication Date
JP2013074440A JP2013074440A (en) 2013-04-22
JP2013074440A5 JP2013074440A5 (en) 2014-05-22
JP5708410B2 true JP5708410B2 (en) 2015-04-30

Family

ID=48478592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011211671A Active JP5708410B2 (en) 2011-09-27 2011-09-27 VoIP gateway and communication system incoming call control method

Country Status (1)

Country Link
JP (1) JP5708410B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016785A (en) * 2021-10-22 2023-04-25 华为技术有限公司 Voice communication method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4556592B2 (en) * 2003-10-02 2010-10-06 パナソニック株式会社 Router selection method and router device
JP2005269434A (en) * 2004-03-19 2005-09-29 Nec Engineering Ltd Voip voice communication system
JP2007142976A (en) * 2005-11-21 2007-06-07 Hitachi Communication Technologies Ltd Sip server system
JP2007304700A (en) * 2006-05-09 2007-11-22 Nec Corp System and method for address management in duplex node system
JP5125237B2 (en) * 2007-06-06 2013-01-23 株式会社ナカヨ通信機 IP telephone system, IP telephone, and communication method

Also Published As

Publication number Publication date
JP2013074440A (en) 2013-04-22

Similar Documents

Publication Publication Date Title
JP4855162B2 (en) Packet transfer apparatus and communication system
US7739384B2 (en) System and method for load balancing
EP3035592B1 (en) Enhanced protocol independent multicast source registration over a reliable transport
US20120311184A1 (en) IP Address Assignment System, Dynamic Host Configuration Protocol Server, And Method Of Assigning An IP Address
KR101523685B1 (en) Multipath overlay network and its multipath management protocol
JP2005151541A (en) Method for controlling packet distribution
JP2006033830A (en) Power saving in wireless packet based network
JP6558492B2 (en) Network address translation device, setting request device, communication system, communication method, and program
JP5708410B2 (en) VoIP gateway and communication system incoming call control method
CN102067516A (en) Method and device for requesting multicasting, processing multicasting requests and assisting in the aforementioned process
JP5896054B2 (en) Communication device
JP4752722B2 (en) Packet transfer apparatus and packet transfer method
JP2006121517A (en) Communication control system, device, and method and communication terminal device
JP5569057B2 (en) Communication system, switching hub, and router
JP3599476B2 (en) Network connection method
JP2009088918A (en) Wireless lan access point, and wireless lan access point program
JP2008244822A (en) Address duplication avoidance method, system, router
JP2005341199A (en) Dhcp packet congestion control system and method therefor
JP4431173B2 (en) Source-specific multicast routing method
WO2023221968A1 (en) Message transmission method, and network device and communication system
JP3613207B2 (en) ARP table forming method and route control method using the same
JP2006262350A (en) Data transmission system and data transmission control method
JP5458610B2 (en) Relay communication system
WO2010072110A1 (en) Routing aging method, apparatus and router based on border gateway protocol
EP2667298B1 (en) Information processing device and image forming apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140408

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141229

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: 20150203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150216

R150 Certificate of patent or registration of utility model

Ref document number: 5708410

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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