JP4514774B2 - Linked server device - Google Patents
Linked server device Download PDFInfo
- Publication number
- JP4514774B2 JP4514774B2 JP2007176343A JP2007176343A JP4514774B2 JP 4514774 B2 JP4514774 B2 JP 4514774B2 JP 2007176343 A JP2007176343 A JP 2007176343A JP 2007176343 A JP2007176343 A JP 2007176343A JP 4514774 B2 JP4514774 B2 JP 4514774B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- telephone number
- sip server
- sip
- routing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 claims description 27
- 230000004044 response Effects 0.000 description 24
- 238000006243 chemical reaction Methods 0.000 description 19
- 239000000284 extract Substances 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000000605 extraction Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、IP電話サービスを提供するSIPサーバ間を連携させる連携サーバ装置と、この連携サーバ装置を備えた通信システムに関する。 The present invention relates to a cooperative server device that cooperates between SIP servers that provide an IP telephone service, and a communication system that includes the cooperative server device.
従来からSIP(Session Initiation Protocol)を用いたIP(Internet Protocol)電話接続サービスが知られている。IP電話接続サービスは、SIPサーバによって接続が行われるため、提供されるサービスが多様化してきている。例えば、発信元IP電話装置や転送先IP電話装置と特殊な連携を行うことなくIP電話の着信転送を実現させるために、発信元IP電話から着信を受けると、その着信を呼出中状態に保持したまま、転送先IP電話に対して発信を行い、転送先がその発信に応答して通話の確立後に、呼出中状態の発信元の着信に応答することにより音声を中継転送するIP電話装置がある(例えば、特許文献1参照)。
ところで、従来のIP電話接続サービスは、サービスを提供するサーバの種別が増加してきているため、異種サービスの端末間を接続する必要性が高まっている。
しかしながら、従来のSIPサーバは、サーバ種別が異なると呼接続のためのSIPインタフェースが異なるため、異なるサービスを提供するSIPサーバ間を接続することができないという問題がある。
By the way, in the conventional IP telephone connection service, since the types of servers providing the service are increasing, the necessity for connecting terminals of different services is increasing.
However, the conventional SIP server has a problem that SIP servers for providing different services cannot be connected because the SIP interface for call connection differs if the server type is different.
本発明は、このような事情に鑑みてなされたもので、異なるサービスを提供するSIPサーバ間を接続するための中継機能を備えた連携サーバ装置と、この連携サーバを備えた通信システムを提供することを目的とする。 The present invention has been made in view of such circumstances, and provides a cooperation server device provided with a relay function for connecting between SIP servers that provide different services, and a communication system provided with this cooperation server. For the purpose.
本発明は、IP電話サービスにおける電話番号解決を行う連携サーバ装置であって、発側の電話番号に対応する発側端末を収容する発側のSIPサーバのサーバ種別と、着側の電話番号に対応する着側端末を収容する着側のSIPサーバのサーバ種別とが複数の電話番号毎に記憶される管理テーブルと、前記発側のサーバ種別と前記着側のサーバ種別との組み合わせ毎に、前記発側のSIPサーバから前記着側のSIPサーバへの接続要求について中継を行なうかリダイレクトを行なうかのいずれかを示すルーティング方法が定められて記憶されるルーティング方法決定テーブルと、前記発側のSIPサーバから送信された接続要求に含まれる発側の電話番号と着側の電話番号とに基づいて、前記発側の電話番号に対応する前記発側のサーバ種別と、前記着側の電話番号に対応する前記着側のサーバ種別とを前記管理テーブルから抽出し、抽出した前記発側のサーバ種別と前記着側のサーバ種別との組み合わせに対応する前記ルーティング方法を、前記ルーティング方法決定テーブルから抽出するルーティング決定部と、前記着側のSIPサーバのIPアドレスが出力されると、前記発側のSIPサーバに対して、前記着側のSIPサーバのIPアドレスを示すリダイレクト先の通知メッセージを送信するリダイレクション部と、前記着側のSIPサーバのIPアドレスが出力されると、前記発側及び着側のSIPサーバ間において送受信されるメッセージを相互変換して中継することにより、前記発側及び着側のSIPサーバ間を接続する中継部と、前記ルーティング決定部によって抽出された前記ルーティング方法がリダイレクトであれば、前記着側のSIPサーバのIPアドレスを前記リダイレクション部に出力し、前記ルーティング方法が中継であれば、前記着側のSIPサーバのIPアドレスを前記中継部に出力するルーティング制御部と、を備えることを特徴とする。 The present invention is a cooperation server device for resolving a telephone number in an IP telephone service, in which a server type of a calling SIP server that accommodates a calling terminal corresponding to a calling telephone number, and a called telephone number A management table in which the server type of the called SIP server that accommodates the corresponding called terminal is stored for each of a plurality of telephone numbers, and for each combination of the calling server type and the called server type, A routing method determination table in which a routing method indicating whether to perform relay or redirection for a connection request from the calling SIP server to the called SIP server is defined and stored; The calling server corresponding to the calling telephone number based on the calling telephone number and the called telephone number included in the connection request transmitted from the SIP server Another and the routing and a server type of the called party extracted from the management table, the extracted server type of the calling side corresponding to the combination of the server type of the called party corresponding to the telephone number of the called party When a routing determination unit that extracts a method from the routing method determination table and an IP address of the called SIP server are output, an IP address of the called SIP server is sent to the calling SIP server. When the IP address of the destination SIP server and the redirection unit for transmitting the notification message of the redirect destination indicating the message are output, the message transmitted and received between the calling side and the called side SIP server is mutually converted and relayed By doing so, the relay unit that connects the originating and terminating SIP servers and the routing determining unit If the extracted routing method is redirect, the IP address of the destination SIP server is output to the redirection unit, and if the routing method is relay, the IP address of the destination SIP server is output to the redirection unit. And a routing control unit that outputs to the relay unit.
本発明は、前記電話番号の先頭部分と、当該先頭部分に対応する前記SIPサーバとが対応付けられて記憶されるGW選択テーブルを備え、前記ルーティング決定部は、前記着側の電話番号に一致する電話番号が前記管理テーブルに記憶されていない場合には、前記GW選択テーブルを参照して、前記着側の電話番号の先頭部分に対応する前記SIPサーバのサーバ種別を抽出することを特徴とする。 The present invention comprises a GW selection table in which the head part of the telephone number and the SIP server corresponding to the head part are stored in association with each other, and the routing determination unit matches the telephone number on the called side When the telephone number to be stored is not stored in the management table, the server type of the SIP server corresponding to the head part of the telephone number on the called side is extracted with reference to the GW selection table. To do.
本発明によれば、発側端末を収容するSIPサーバのサーバ種別と、着側端末を収容するSIPサーバのサーバ種別とが異なる場合に、発側及び着側のSIPサーバ間において送受信されるメッセージを相互変換して中継するようにしたため、異なるサービスを提供するSIPサーバ間を接続することができるという効果が得られる。また、発側端末を収容するSIPサーバのサーバ種別と、着側端末を収容するSIPサーバのサーバ種別とが同一である場合に、リダイレクションによって発側及び着側のSIPサーバ間を接続させるようにしたため、同一サービスを提供するSIPサーバ間を中継によって接続する場合に比べて連携サーバ内のリソース消費を低減することが可能になるという効果が得られる。 According to the present invention, when the server type of the SIP server that accommodates the calling terminal is different from the server type of the SIP server that accommodates the called terminal, the message is transmitted and received between the calling and called SIP servers. Therefore, it is possible to connect SIP servers that provide different services. Further, when the server type of the SIP server that accommodates the calling terminal is the same as the server type of the SIP server that accommodates the called terminal, the SIP server on the calling side and the called side are connected by redirection. Therefore, it is possible to reduce the resource consumption in the cooperation server as compared with the case where SIP servers providing the same service are connected by relay.
以下、本発明の一実施形態による連携サーバ装置を図面を参照して説明する。図1は同実施形態の構成を示すブロック図である。この図において、符号1は、IP電話サービスを提供するSIPサーバ21、22、23を連携させるために、電話番号解決(電話番号から対象のSIPサーバのIPアドレスを得ること)することにより、ルーティングを行う連携サーバである。SIPサーバ21、22、23のそれぞれは、複数の端末を収容しており、ここでは各SIPサーバ21、22、23のそれぞれについて、1台の端末31、32、33のみを図示している。符号4は、一般固定電話に接続するためのゲートウェイである。なお、以下の説明においては、SIPサーバ21とSIPサーバ22は同一のIP電話サービス(サービスAという)を提供しており、SIPサーバ23は、SIPサーバ21、22とは異なるIP電話サービス(サービスBという)を提供しているものとして説明する。SIPサーバ21、22、23が提供するサービスには、例えば、音声のみのサービス、音声と映像の両方のサービス、外線接続のみで内線接続がない個人向けサービス、内線と外線の接続がある法人向けサービス等がある。
Hereinafter, a cooperation server device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment. In this figure,
符号11は、電話番号解決するために参照する電話番号情報が予め記憶された番号情報データベースである。符号12は、番号情報データベース11を参照して、発側の端末31と着側の端末33との間のルーティングを決定するルーティング決定部である。符号13は、発側の端末31と着側の端末33との間で送受信されるSIPメッセージ(以下、単にメッセージという)を中継する中継部である。符号14は、発側の端末31と着側の端末33との間で送受信されるメッセージの変換が必要である場合に、各サービス毎のメッセージの対応関係が予め定義されて記憶されているメッセージ変換データベースである。
次に、図2を参照して、図1に示すルーティング決定部12の動作を説明する。図2は、ルーティング決定部12が、発側の端末31から着側の端末33との間のルーティングを決定する動作を示すフローチャートである。まず、ルーティング決定部12は、発側のSIPサーバ21から接続要求を受信すると、この接続要求に含まれる着電話番号と発電話番号とを抽出する(ステップS1)。そして、ルーティング決定部12は、番号情報データベース11内を検索して、着電話番号が電話番号管理テーブルに登録されているか否かを判定する(ステップS2)。この判定の結果、着電話番号が電話番号管理テーブルに登録されていれば、ルーティング決定部12は、着側の端末を収容しているSIPサーバのサーバ論理番号を抽出する。またこのとき、ルーティング決定部12は、発電話番号から発側の端末を収容しているSIPサーバのサーバ論理番号も抽出する(ステップS3)。
Next, the operation of the
一方、着電話番号が電話番号管理テーブルに登録されていなければ、ルーティング決定部12は、GW選択テーブルを参照して接続するべきゲートウェイサーバのサーバ論理番号を抽出する。またこのとき、ルーティング決定部12は、発電話番号から発側の端末を収容しているSIPサーバのサーバ論理番号も抽出する(ステップS4)。続いて、ルーティング決定部12は、サーバ情報管理テーブルを参照して、抽出したサーバ論理番号が付与されているSIPサーバのサーバ種別を抽出する(ステップS5)とともに、着IPアドレスを特定する(ステップS6)。これにより、発側及び着側のSIPサーバのサーバ種別と着側のSIPサーバのIPアドレスが得られたことになる。ルーティング決定部12は、ここで得られた発側及び着側のSIPサーバのサーバ種別と着側のSIPサーバのIPアドレスを中継部13へ受け渡す。なお、中継部13が行う中継動作については、後述する。
On the other hand, if the called telephone number is not registered in the telephone number management table, the
ここで、図3を参照して、図2に示す動作を具体例を挙げて説明する。図3は、図1に示す番号情報データベース11のテーブル構造を示す図である。図3に示すように、番号情報データベース11は、電話番号管理テーブル、サーバ情報管理テーブル、GW(ゲートウェイ)選択テーブルの3つのテーブルから構成している。ここでは、発側の電話番号が「03−yyyy−cccc」であり、着側の電話番号が「03−xxxx−aaaa」であるものとして説明する。
Here, with reference to FIG. 3, the operation shown in FIG. 2 will be described with a specific example. FIG. 3 is a diagram showing a table structure of the
まず、ルーティング決定部12は、電話番号管理テーブルを参照して、着電話番号(03xxxxaaaa)がこのテーブルに登録されているか否かを判定する。この判定の結果、着電話番号が登録されていなければ、さらに、GW選択テーブルを参照して、着電話番号の先頭部分が一致するサーバ論理番号(例えば「03」であれば「000011」が該当する)を抽出する。一方、着電話番号が電話番号管理テーブルに登録されている場合は、該当する電話番号に関係付けられているサーバ論理番号を抽出する。着電話番号が「03xxxxaaaa」であれば、サーバ論理番号「000001」が抽出されることになる。また、ルーティング決定部12は、発電話番号「03yyyycccc」に関係付けられているサーバ論理番号「000002」も同時に抽出する。
First, the
次に、ルーティング決定部12は、サーバ情報管理テーブルを参照して、発側及び着側のサーバ論理番号に関係付けられているそれぞれのサーバ種別(「サービスA」、「サービスA」と、着側のサーバ論理番号に関係付けられているIPアドレス(「x.y.0.1」)を抽出する。ここでいうサービス種別とは、IP電話サービスの種別を識別することが可能な識別情報である。このように、番号情報データベース11を参照することにより、発側及び着側の電話番号から、発側及び着側のSIPサーバのサーバ論理番号と、着側のSIPサーバのIPアドレスを得ることができ、IP電話接続時の電話番号解決が行われることになる。
Next, the
次に、図4を参照して、図1に示すシステム全体の動作を説明する。図4は、図1に示すシステム全体の動作を示すシーケンス図である。ここでは、端末31が発端末であり、端末33が着端末であるものとして説明する。まず、端末31から端末33の電話番号をダイヤルすると、端末31からSIPサーバ21に対して接続要求メッセージが送信される(ステップS11)。これを受けて、SIPサーバ21は、端末31に対して、暫定応答を返す(ステップS12)とともに、連携サーバ1に対して接続要求メッセージを送信する(ステップS13)。この接続要求メッセージには、発電話番号と着電話番号が含まれる。
Next, the operation of the entire system shown in FIG. 1 will be described with reference to FIG. FIG. 4 is a sequence diagram showing the operation of the entire system shown in FIG. Here, it is assumed that the
この接続要求メッセージを受けた連携サーバ1は、SIPサーバ21に対して、暫定応答を返す(ステップS14)。そして、ルーティング決定部12が前述した動作によって電話番号解決処理を行うことにより、発側及び着側のSIPサーバのサーバ種別と着側のSIPサーバのIPアドレスが中継部13へ受け渡されることになる。中継部13は、発側と着側のSIPサーバが提供するサービスの種別が同一であるか否かを判定する。この判定の結果、発側と着側のサービス種別が同一でなければ、中継部13は、メッセージ変換データベース14を参照して、SIPサーバ21から受信したメッセージ(ここでは、接続要求メッセージ)の変換を実行する(ステップS15)。例えば、外線と内線両方が利用可能なサービスから外線のみが利用可能なサービスへ接続要求メッセージを送信する場合、内線のみで利用する情報が含まれるとエラーが発生してしまうため、内線のみで使用する情報を削除し外線接続を示す情報になるようにメッセージ変換を行う。
The
図5に、図1に示すメッセージ変換データベース14のテーブル構造を示す。メッセージ変換データベース14には、異なるサービス間のメッセージ変換を行うために、一方のサービスで用いるメッセージと、他方のサービスで用いるメッセージとが関係付けられて予め記憶されている。SIPサーバ21は、サービスAを用いており、SIPサーバ23は、サービスBを用いているため、このメッセージ変換データベース14を参照して、サービスA用の接続要求メッセージを、サービスB用の接続要求メッセージに変換する。そして、中継部13は、変換後の接続要求メッセージを、ルーティング決定部12から渡されたIPアドレスに対して送信する(ステップS16)。一方、発側と着側のサービス種別が同一であれば、メッセージ変換は行わず、SIPサーバ21から受信した接続要求メッセージをルーティング決定部12から渡されたIPアドレスに対して送信する(ステップS16)。
FIG. 5 shows a table structure of the
連携サーバ1から接続要求メッセージを受けると、SIPサーバ23は、連携サーバ1に対して、暫定応答を返す(ステップS17)とともに、受信した接続要求メッセージを端末33へ送信する(ステップS18)。端末33は、SIPサーバ23に対して、暫定応答を返す(ステップS19)とともに、鳴動指示メッセージを送信する(ステップS20)。この鳴動指示メッセージは、SIPサーバ23、連携サーバ1及びSIPサーバ21を経由して、発側の端末31へ送信される(ステップS21、S22、S23)。続いて、着側の端末33は、SIPサーバ23に対して、接続要求メッセージに対する応答として、接続了承メッセージを送信する(ステップS24)。SIPサーバ23は、この接続了承メッセージを連携サーバ1へ送信する(ステップS25)。
Upon receiving the connection request message from the
次に、中継部13は、メッセージ変換データベース14を参照して、SIPサーバ23から受信した接続了承メッセージの変換を実行する(ステップS26)。これによって、サービスB用の接続了承メッセージがサービスA用の接続了承メッセージに変換されることになる。例えば、外線のみが利用可能なサービスから外線と内線の両方が利用可能なサービスへ接続了承メッセージを送信する場合、内線のみで使用する情報が含まれないとエラーが発生してしまうため、内線への接続を示す情報を追加するメッセージ変換を行う。中継部13は、変換後の接続了承メッセージをSIPサーバ21へ送信する(ステップS27)。これを受けて、SIPサーバ21は、この接続了承メッセージを端末31へ送信する(ステップS28)。接続了承メッセージを受信した端末31は、SIPサーバ21に対して、確認応答を返す(ステップS29)。この確認応答は、SIPサーバ21、連携サーバ1及びSIPサーバ23を経由して、着側の端末33へ送信される(ステップS30、S31、S32)。これによって、発側の端末31と着側の端末33との間に通話回線が確立されて通話可能となる(ステップS33)。
Next, the
次に、通話が終わり端末31において切断操作が行なわれると、端末31は、SIPサーバ21に対して、切断要求メッセージを送信する(ステップS34)。この切断要求メッセージは、SIPサーバ21、連携サーバ1及びSIPサーバ23を経由して、着側の端末33へ送信される(ステップS35、S36、S37)。これを受けて、端末33は、SIPサーバ23に対して切断要求に対する応答として、切断了承メッセージを送信する(ステップS38)。この切断了承メッセージは、SIPサーバ23、連携サーバ1及びSIPサーバ21を経由して、発側の端末31へ送信されて(ステップS39、S40、S41)、発側端末31と着側端末33との間の通話回線が切断することになる。
Next, when the call ends and a disconnection operation is performed at the terminal 31, the terminal 31 transmits a disconnection request message to the SIP server 21 (step S34). This disconnection request message is transmitted to the called
なお、図4に示すシーケンスにおいては、接続要求メッセージと接続了承メッセージのみにメッセージ変換を適用する例を示したが、他のメッセージ(例えば、鳴動指示メッセージや切断了承メッセージ)についても変換が必要であれば、メッセージ変換データベース14を参照してサービスAとサービスB間の相互変換を行なうようにしてもよい。
In the sequence shown in FIG. 4, an example in which message conversion is applied only to the connection request message and the connection approval message is shown. However, conversion is also necessary for other messages (for example, ringing instruction messages and disconnection approval messages). If there is, mutual conversion between the service A and the service B may be performed with reference to the
このように、連携サーバ1が電話番号解決を行うとともに、発側と着側の端末間を接続するため送受信されるメッセージを中継するようにして、メッセージの変換が必要である場合に異なるサービス間の相互変換を行うようにしたため、異なるIP電話サービス配下の端末同士を接続することが可能となる。
In this way, the
次に、図6を参照して、図1に示す連携サーバ1に変形例を説明する。図6に示す連携サーバ1が図1に示す連携サーバ1と異なる点は、発側と着側の端末を収容するSIPサーバが提供するサービスが同一である場合に、発側と着側の端末間をリダイレクションによって接続するリダイレクション部15と、発側と着側の端末間を、リダイレクションによって接続するか、メッセージ変換を行う中継によって接続するかを選択して制御するルーティング制御部16を新たに設けた点である。ここで、リダイレクションによる接続とは、発側のSIPサーバ21からの接続要求を受けると、連携サーバ1は、番号解決よって得られた着側のSIPサーバ22のIPアドレスをSIPサーバ21に対して通知し、SIPサーバ21が直接SIPサーバ22に対して接続要求を送信し、連携サーバ1を経由することなくSIPサーバ21とSIPサーバ22との間の接続を行うことである。リダイレクションによる接続において、連携サーバ1は番号解決を行うのみであるため、連携サーバ1内のリソース消費を必要最小限にすることができ、連携サーバ1が2台のSIPサーバ21、22間で送受信されるメッセージを中継する場合に比べて、連携サーバ1内のリソース消費を低減することが可能となる。
Next, with reference to FIG. 6, a modified example will be described in the
次に、図7を参照して、図6に示すルーティング決定部12aの動作を説明する。図7は、ルーティング決定部12aが、発側の端末31から着側の端末33との間のルーティングを決定する動作を示すフローチャートである。図7に示すステップS1〜S5の動作は、図2に示すステップS1〜S5の動作と同一であるため、ここでは詳細な説明を省略し、サーバ種別の抽出(ステップS5)後の動作のみについて説明する。サーバ種別の抽出が終わると、ルーティング決定部12aは、ルーティング方法決定テーブルを参照して、リダイレクションによる接続を行う、または中継による接続を行うのいずれかのルーティング方法を選択して決定する(ステップS5b)。これにより、着側のSIPサーバのIPアドレスとルーティング方法とが特定されたことになる(ステップS6b)。ルーティング決定部12は、ここで得られた着側のSIPサーバのIPアドレスとルーティング方法とルーティング制御部へ受け渡す。なお、ルーティング制御部16及びリダイレクション部15の動作については、後述する。
Next, the operation of the
ここで、図8を参照して、図7に示す動作を具体例を挙げて説明する。図8は、図6に示す番号情報データベース11aのテーブル構造を示す図である。図8に示すように、番号情報データベース11aは、電話番号管理テーブル、サーバ情報管理テーブル、GW(ゲートウェイ)選択テーブル、ルーティング方法決定テーブルの4つのテーブルから構成している。ここでは、発側の電話番号が「03−yyyy−cccc」であり、着側の電話番号が「03−xxxx−aaaa」であるものとして説明する。
Here, with reference to FIG. 8, the operation shown in FIG. 7 will be described with a specific example. FIG. 8 is a diagram showing a table structure of the
まず、ルーティング決定部12aは、電話番号管理テーブルを参照して、着電話番号(03xxxxaaaa)がこのテーブルに登録されているか否かを判定する。この判定の結果、着電話番号が登録されていなければ、さらに、GW選択テーブルを参照して、着電話番号の先頭部分が一致するサーバ論理番号(例えば「03」であれば「000011」が該当する)を抽出する。一方、着電話番号が電話番号管理テーブルに登録されている場合は、該当する電話番号に関係付けられているサーバ論理番号を抽出する。着電話番号が「03xxxxaaaa」であれば、サーバ論理番号「000001」が抽出されることになる。また、ルーティング決定部12は、発電話番号「03yyyycccc」に関係付けられているサーバ論理番号「000002」も同時に抽出する。
First, the
次に、ルーティング決定部12aは、サーバ情報管理テーブルを参照して、発側及び着側のサーバ論理番号に関係付けられているそれぞれのサーバ種別(「サービスA」、「サービスA」と、着側のサーバ論理番号に関係付けられているIPアドレス(「x.y.0.1」)を抽出する。そして、ルーティング決定部12aは、ルーティング方法決定テーブルを参照して、得られたサーバ種別の組み合わせ(「サービスA」と「サービスA」)に関係付けられているルーティング方法(「リダイレクト」)を抽出する。このように、番号情報データベース11aを参照することにより、発側及び着側の電話番号から、発側及び着側のSIPサーバのサーバ論理番号、サーバ種別及び着側のSIPサーバのIPアドレスを得ることができるともに、発側及び着側のサーバ種別の組み合わせからルーティング方法が決定されることにより、IP電話接続時の電話番号解決が行われることになる。
Next, the
次に、図9を参照して、図6に示すシステム全体の動作を説明する。図4は、図1に示すシステム全体の動作を示すシーケンス図である。ここでは、端末31が発端末であり、端末33が着端末であるものとし、発側及び着側のサーバ種別が同一である場合にリダイレクションによって発側と着側のSIPサーバ間を接続する動作を説明する。なお、発側及び着側のサーバ種別が異なる場合に、中継部13が中継処理によって接続する場合の動作は、図4に示す動作と同様であるためここでは詳細な説明を省略する。
Next, the operation of the entire system shown in FIG. 6 will be described with reference to FIG. FIG. 4 is a sequence diagram showing the operation of the entire system shown in FIG. Here, it is assumed that the terminal 31 is the calling terminal and the terminal 33 is the called terminal, and when the calling server and the called server type are the same, the connection between the calling and called SIP servers by redirection is performed. Will be explained. Note that, when the server types on the calling side and the called side are different, the operation when the
まず、端末31から端末33の電話番号をダイヤルすると、端末31からSIPサーバ21に対して接続要求メッセージが送信される(ステップS51)。これを受けて、SIPサーバ21は、端末31に対して、暫定応答を返す(ステップS52)とともに、連携サーバ1に対して接続要求メッセージを送信する(ステップS53)。この接続要求メッセージには、発電話番号と着電話番号が含まれる。この接続要求メッセージを受けた連携サーバ1は、SIPサーバ21に対して、暫定応答を返す(ステップS54)。そして、ルーティング決定部12aが前述した動作によって電話番号解決処理を行うことにより、適用するルーティング方法の情報と着側のSIPサーバのIPアドレスがルーティング制御部16へ受け渡されることになる。
First, when the telephone number of the terminal 33 is dialed from the terminal 31, a connection request message is transmitted from the terminal 31 to the SIP server 21 (step S51). In response, the
ルーティング制御部16は、ルーティング決定部12aから渡されたルーティング方法の情報が「リダイレクト」であれば、着側のSIPサーバのIPアドレスをリダイレクション部15へ出力し、ルーティング方法の情報が「中継」であれば、着側のSIPサーバのIPアドレスを中継部13へ出力する。ルーティング制御部16から中継部13へ着側のSIPサーバのIPアドレスが出力された場合、中継部13は、前述した図4に示す動作によって、例えば、SIPサーバ22とSIPサーバ23との間において送受信されるメッセージを変換することによって接続を行うことになる。
If the routing method information passed from the
一方、ルーティング制御部16からリダイレクション部15へ着側のSIPサーバのIPアドレスが出力された場合、リダイレクション部15は、発側のSIPサーバ21に対して、リダイレクト先の通知メッセージを送信する(ステップS55)。このリダイレクト先の通知メッセージには、ルーティング制御部16から受け取った着側のSIPサーバ(ここでは、SIPサーバ22)のIPアドレスが含まれる。これを受けて、SIPサーバ21は、連携サーバ1に対して、確認応答を返す(ステップS56)とともに、連携サーバ1から受け取った着側SIPサーバのIPアドレス(SIPサーバ22のIPアドレス)に対して、接続要求メッセージを送信する(ステップS57)。この接続要求メッセージには、発電話番号と着電話番号が含まれる。
On the other hand, when the IP address of the destination SIP server is output from the
この接続要求メッセージを受信したSIPサーバ22は、SIPサーバ21に対して、暫定応答を返す(ステップS58)とともに、受信した接続要求メッセージを端末32へ送信する(ステップS18)。端末32は、SIPサーバ22に対して、暫定応答を返す(ステップS60)とともに、鳴動指示メッセージを送信する(ステップS61)。この鳴動指示メッセージは、SIPサーバ22及びSIPサーバ21を経由して、発側の端末31へ送信される(ステップS62、S63)。続いて、着側の端末33は、SIPサーバ22に対して、接続要求メッセージに対する応答として、接続了承メッセージを送信する(ステップS64)。SIPサーバ22は、この接続了承メッセージをSIPサーバ21へ送信する(ステップS65)。
The
これを受けて、SIPサーバ21は、この接続了承メッセージを端末31へ送信する(ステップS66)。接続了承メッセージを受信した端末31は、SIPサーバ21に対して、確認応答を返す(ステップS67)。この確認応答は、SIPサーバ21及びSIPサーバ22を経由して、着側の端末32へ送信される(ステップS68、S69)。これによって、発側の端末31と着側の端末32との間に通話回線が確立されて通話可能となる(ステップS70)。
In response to this, the
次に、通話が終わり端末31において切断操作が行なわれると、端末31は、SIPサーバ21に対して、切断要求メッセージを送信する(ステップS71)。この切断要求メッセージは、SIPサーバ21及びSIPサーバ23を経由して、着側の端末32へ送信される(ステップS72、S73)。これを受けて、端末32は、SIPサーバ22に対して切断要求に対する応答として、切断了承メッセージを送信する(ステップS74)。この切断了承メッセージは、SIPサーバ22及びSIPサーバ21を経由して、発側の端末31へ送信されて(ステップS75、S76)、発側端末31と着側端末32との間の通話回線が切断することになる。
Next, when the call ends and a disconnection operation is performed at the terminal 31, the terminal 31 transmits a disconnection request message to the SIP server 21 (step S71). This disconnection request message is transmitted to the called
以上説明したように、発側端末を収容するSIPサーバのサーバ種別と、着側端末を収容するSIPサーバのサーバ種別とが異なる場合に、発側及び着側のSIPサーバ間において送受信されるメッセージを相互変換して中継するようにしたため、異なるサービスを提供するSIPサーバ間を接続することができる。また、発側端末を収容するSIPサーバのサーバ種別と、着側端末を収容するSIPサーバのサーバ種別とが同一である場合に、リダイレクションによって発側及び着側のSIPサーバ間を接続するようにしたため、同一サービスを提供するSIPサーバ間を中継によって接続する場合に比べて連携サーバ内のリソース消費を低減することが可能になる。 As described above, when the server type of the SIP server that accommodates the calling terminal is different from the server type of the SIP server that accommodates the called terminal, a message is transmitted and received between the calling and terminating SIP servers. Since SIPs are relayed after mutual conversion, SIP servers that provide different services can be connected. In addition, when the server type of the SIP server that accommodates the calling terminal is the same as the server type of the SIP server that accommodates the called terminal, the calling server and the called SIP server are connected by redirection. Therefore, it becomes possible to reduce the resource consumption in the cooperation server as compared to the case where SIP servers providing the same service are connected by relay.
なお、図1における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりSIPサーバ間の連携処理(電話番号解決処理)を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 Note that a program for realizing the functions of the processing unit in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on this recording medium is read into a computer system and executed between SIP servers. You may perform a cooperation process (telephone number solution process). The “computer system” here includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1・・・連携サーバ、11、11a・・・番号情報データベース、12、12a・・・ルーティング決定部、13・・・中継部、14・・・メッセージ変換データベース、15・・・リダイレクション部、16・・・ルーティング制御部、21、22・・・SIPサーバ(サービスA)、23・・・SIPサーバ(サービスB)、31、32、33・・・端末、4・・・ゲートウェイ
DESCRIPTION OF
Claims (2)
発側の電話番号に対応する発側端末を収容する発側のSIPサーバのサーバ種別と、着側の電話番号に対応する着側端末を収容する着側のSIPサーバのサーバ種別とが複数の電話番号毎に記憶される管理テーブルと、
前記発側のサーバ種別と前記着側のサーバ種別との組み合わせ毎に、前記発側のSIPサーバから前記着側のSIPサーバへの接続要求について中継を行なうかリダイレクトを行なうかのいずれかを示すルーティング方法が定められて記憶されるルーティング方法決定テーブルと、
前記発側のSIPサーバから送信された接続要求に含まれる発側の電話番号と着側の電話番号とに基づいて、前記発側の電話番号に対応する前記発側のサーバ種別と、前記着側の電話番号に対応する前記着側のサーバ種別とを前記管理テーブルから抽出し、抽出した前記発側のサーバ種別と前記着側のサーバ種別との組み合わせに対応する前記ルーティング方法を、前記ルーティング方法決定テーブルから抽出するルーティング決定部と、
前記着側のSIPサーバのIPアドレスが出力されると、前記発側のSIPサーバに対して、前記着側のSIPサーバのIPアドレスを示すリダイレクト先の通知メッセージを送信するリダイレクション部と、
前記着側のSIPサーバのIPアドレスが出力されると、前記発側及び着側のSIPサーバ間において送受信されるメッセージを相互変換して中継することにより、前記発側及び着側のSIPサーバ間を接続する中継部と、
前記ルーティング決定部によって抽出された前記ルーティング方法がリダイレクトであれば、前記着側のSIPサーバのIPアドレスを前記リダイレクション部に出力し、前記ルーティング方法が中継であれば、前記着側のSIPサーバのIPアドレスを前記中継部に出力するルーティング制御部と、
を備えることを特徴とする連携サーバ装置。 A linked server device for resolving a telephone number in an IP telephone service,
There are a plurality of server types of the originating SIP server that accommodates the originating terminal corresponding to the originating telephone number, and multiple server types of the terminating SIP server that accommodates the terminating terminal corresponding to the terminating telephone number. A management table stored for each telephone number;
For each combination of the originating server type and the terminating server type, indicates whether to relay or redirect the connection request from the originating SIP server to the terminating SIP server A routing method determination table in which the routing method is defined and stored;
Based on the caller telephone number and the callee telephone number included in the connection request transmitted from the caller SIP server, the caller server type corresponding to the caller telephone number, The destination server type corresponding to the telephone number on the other side is extracted from the management table, and the routing method corresponding to the combination of the extracted server type on the outgoing side and the server type on the destination side is the routing A routing decision part to extract from the method decision table;
When the IP address of the called SIP server is output, a redirection unit that transmits a redirect destination notification message indicating the IP address of the called SIP server to the calling SIP server;
When the IP address of the called-side SIP server is output, a message transmitted / received between the calling-side and called-side SIP servers is interconverted and relayed, so that the calling-side and called-side SIP servers are relayed. A relay unit for connecting the
If the routing method extracted by the routing determination unit is redirect, the IP address of the destination SIP server is output to the redirection unit, and if the routing method is relay, the destination SIP server's IP address is output. A routing control unit for outputting an IP address to the relay unit;
A cooperation server device comprising:
前記ルーティング決定部は、前記着側の電話番号に一致する電話番号が前記管理テーブルに記憶されていない場合には、前記GW選択テーブルを参照して、前記着側の電話番号の先頭部分に対応する前記SIPサーバのサーバ種別を抽出する
ことを特徴とする請求項1に記載の連携サーバ装置。 A GW selection table in which a head part of the telephone number and the SIP server corresponding to the head part are stored in association with each other;
When the telephone number that matches the destination telephone number is not stored in the management table, the routing determination unit refers to the GW selection table and corresponds to the head part of the destination telephone number. The server type of the SIP server to extract is extracted. The cooperation server device according to claim 1, wherein the server type is extracted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007176343A JP4514774B2 (en) | 2007-07-04 | 2007-07-04 | Linked server device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007176343A JP4514774B2 (en) | 2007-07-04 | 2007-07-04 | Linked server device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009017205A JP2009017205A (en) | 2009-01-22 |
JP4514774B2 true JP4514774B2 (en) | 2010-07-28 |
Family
ID=40357547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007176343A Active JP4514774B2 (en) | 2007-07-04 | 2007-07-04 | Linked server device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4514774B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4965592B2 (en) * | 2009-02-17 | 2012-07-04 | 日本電信電話株式会社 | Call routing method and call routing system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006340076A (en) * | 2005-06-02 | 2006-12-14 | Hitachi Communication Technologies Ltd | Sip service converting device and its method |
JP2008515246A (en) * | 2004-08-13 | 2008-05-08 | キワン・イー・ベ | Method and system for providing cross-domain traversal to support packetized voice transmission |
-
2007
- 2007-07-04 JP JP2007176343A patent/JP4514774B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008515246A (en) * | 2004-08-13 | 2008-05-08 | キワン・イー・ベ | Method and system for providing cross-domain traversal to support packetized voice transmission |
JP2006340076A (en) * | 2005-06-02 | 2006-12-14 | Hitachi Communication Technologies Ltd | Sip service converting device and its method |
Also Published As
Publication number | Publication date |
---|---|
JP2009017205A (en) | 2009-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101130398B1 (en) | System and methods for facilitating third-party call and device control | |
US7042871B2 (en) | Method and system for suppressing early media in a communications network | |
US6430174B1 (en) | Communication system supporting simultaneous voice and multimedia communications and method of operation therefore | |
TWI229518B (en) | Apparatus and method for computer telephone integration in packet switched telephone networks | |
RU2414082C2 (en) | Associating telephone call with dialogue based on computer protocol such as sip | |
US8243704B2 (en) | Call control device, relay device, call control method, and storage medium | |
US20080075261A1 (en) | Client controlled dynamic call forwarding | |
KR100884868B1 (en) | Complementary ???? service | |
RU2509434C2 (en) | Method of transferring communication session in telecommunication network from first connection to second connection | |
KR100694243B1 (en) | Integrated system and method for routing optimized communication path of multimedia data under user's configuration of communication | |
JP2007142610A (en) | Mobile communication system, and call control server, method, and program | |
JP2007201900A (en) | Session control method, communication system, communication controller, and connection instruction device | |
JP4957420B2 (en) | Telephone system and automatic transfer restriction method for telephone system | |
JP2009200584A (en) | Emergency call processing apparatus, method and program, server and emergency call processing system using the same | |
US7366183B1 (en) | Detecting multimedia capability of a caller | |
KR20070009659A (en) | Communication system, transfer control method, telephone device used for same, communication device, and program | |
JP2000059441A (en) | Programmable communication interface | |
JP4514774B2 (en) | Linked server device | |
JP4044082B2 (en) | Selection device, conversion device, selection method, conversion method, computer program | |
JP5195431B2 (en) | Telephone relay system, telephone relay apparatus, and telephone relay method | |
JP2007013616A (en) | Presence server, information providing system, and information providing method | |
US7688763B2 (en) | Method for establishing a communication connection in a direct communication network | |
JP6357634B1 (en) | Telephone number investigation device, method, program, information provision system | |
WO2001039478A1 (en) | Method and system for transmitting communication signals through internet and a public switched telephone network | |
JP2010045564A (en) | Communication monitoring system and communication monitoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090703 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090707 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090904 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100126 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100326 |
|
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: 20100413 |
|
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: 20100511 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4514774 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130521 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140521 Year of fee payment: 4 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |