JP4877839B2 - Session control apparatus and session control method - Google Patents
Session control apparatus and session control method Download PDFInfo
- Publication number
- JP4877839B2 JP4877839B2 JP2008032905A JP2008032905A JP4877839B2 JP 4877839 B2 JP4877839 B2 JP 4877839B2 JP 2008032905 A JP2008032905 A JP 2008032905A JP 2008032905 A JP2008032905 A JP 2008032905A JP 4877839 B2 JP4877839 B2 JP 4877839B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- sip
- session
- message
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、IP網と配下の端末との間のセッションを制御する技術に関する。 The present invention relates to a technique for controlling a session between an IP network and a subordinate terminal.
特許文献1には、SIP(Session Initiation Protocol)を用いて、ホームネットワーク内の装置やアプリケーションを通信サービスで利用できるようにする技術が開示されている。この技術では、第1ネットワークの第1端末と第1ネットワークの外部にある第2端末との間でメディアの送受信を行うときに、ゲートウェイ装置と第2端末との間にSIPコネクション(セッション)を確立する。また、第1端末がSIP端末の場合は、ゲートウェイ装置と第1端末との間にSIPコネクションを確立し、第1端末がSIP端末でない場合は、ゲートウェイ装置が保持するバンドルを利用して、ゲートウェイ装置と第1端末との間でメディアを送受信するときに使用するIPアドレスおよびポート番号を設定する。
ところで、ゲートウェイ装置のIP網との最大同時接続セッション数は、加入している通信サービスの契約内容に依存する。 By the way, the maximum number of simultaneous connection sessions with the IP network of the gateway device depends on the contract contents of the subscribed communication service.
このため、ゲートウェイ装置とIP網との間にすでに最大同時接続セッション数分のセッションが確立中であるならば、このゲートウェイ装置配下の、ある端末が発信しても(仮に、この端末が、例えばセキュリティ端末のような、ゲートウェイ装置配下の他の端末よりも優先度の高い端末であっても)、この端末とIP網との間のセッションを確立することはできない。 For this reason, if a session for the maximum number of simultaneous connection sessions is already established between the gateway device and the IP network, even if a certain terminal under the gateway device makes a call (assuming that this terminal is, for example, A session between this terminal and the IP network cannot be established even if the terminal has a higher priority than other terminals under the gateway device such as a security terminal.
本発明は上記事情に鑑みてなされたものであり、本発明の目的は、所定の端末とのセッションを他の端末とのセッションよりも優先して確立できるようにする技術を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique that allows a session with a predetermined terminal to be established with priority over a session with another terminal. .
上記課題を解決するために、本発明では、第一の端末とIP網との間のセッションよりも、第二の端末とIP網との間のセッションが優先されるように、IP網上の呼制御サーバに登録された第一の端末の登録情報を用いて、第二の端末とIP網との間のセッションを制御する。 In order to solve the above-described problem, in the present invention, the session between the second terminal and the IP network is prioritized over the session between the first terminal and the IP network. The session between the second terminal and the IP network is controlled using the registration information of the first terminal registered in the call control server.
例えば、本発明は、IP網と配下の端末との間のセッションを制御するセッション制御装置であって、
前記IP網と接続するためのIP網インターフェース手段と、
第一の端末と接続するための第一の端末インターフェース手段と、
第二の端末と接続するための第二の端末インターフェース手段と、
前記第一の端末と前記IP網との間のセッション、および前記第二の端末と前記IP網との間のセッションを制御するセッション制御手段と、を有し、
前記セッション制御手段は、
前記第二の端末インターフェース手段を介して前記第二の端末からセッション要求を受信した場合に、前記第一の端末と前記IP網との間に確立されているセッションを含む所定数のセッションが前記配下の端末と前記IP網との間に確立中であるならば、前記IP網インターフェース手段を介して、前記第一の端末と接続する何れかのセッションの相手端末に、前記第一の端末を送信元とする切断要求を送信するとともに、前記第一の端末インターフェース手段を介して前記第一の端末に、当該相手端末を送信元とする切断要求を送信して、当該何れかのセッションを強制切断してから、前記第二の端末から受信したセッション要求の相手端末を送信先とし、前記第一の端末を送信元とする接続要求を、前記IP網インターフェース手段から送信し、前記IP網上の呼制御サーバに登録されている前記第一の端末の登録情報を用いて当該セッション要求を処理する。
For example, the present invention is a session control device for controlling a session between an IP network and a terminal under the control of the IP network,
IP network interface means for connecting to the IP network;
First terminal interface means for connecting to the first terminal;
Second terminal interface means for connecting to the second terminal;
Session control means for controlling a session between the first terminal and the IP network, and a session between the second terminal and the IP network,
The session control means includes
When receiving the session request from the second terminal via the second terminal interface unit, a predetermined number of sessions the containing sessions that are established between the IP network and the first terminal If it is being established between a subordinate terminal and the IP network , the first terminal is connected to the counterpart terminal of any session connected to the first terminal via the IP network interface means. Send a disconnection request as a transmission source, and send a disconnection request with the counterpart terminal as the transmission source to the first terminal via the first terminal interface means to force any of the sessions after cutting, the second mating terminal session request received from the terminal as a destination, a connection request to the transmission source of the first terminal, whether the IP network interface unit Transmitted, it processes the session request using the registration information of the first terminal registered in the call control server on the IP network.
本発明によれば、第二の端末のセッションを第一の端末より優先して確立することができる。また、本発明では、呼制御サーバに登録された第一の端末の登録情報を用いてセッション制御を行うので、第二の端末が呼制御サーバに登録されている必要はない。 According to the present invention, the session of the second terminal can be established with priority over the first terminal. In the present invention, since session control is performed using the registration information of the first terminal registered in the call control server, the second terminal does not need to be registered in the call control server.
以下、本発明の実施の形態について説明する。 Embodiments of the present invention will be described below.
図1は、本発明の一実施の形態に係る接続アダプタ1が適用されたネットワークシステムの概略構成図である。 FIG. 1 is a schematic configuration diagram of a network system to which a connection adapter 1 according to an embodiment of the present invention is applied.
図1において、IP網8は、例えばNGN(Next Generation Network)であり、SIPサーバ6およびIP電話等のSIP端末7と接続されている。また、GW2は、例えばホームゲートウェイであり、LAN4を介してIP電話等のSIP端末3と接続されている。また、優先端末5は、監視カメラ、警報センサ、セキュリティ端末等の、GW2配下のSIP端末3よりも通信が優先される端末であり、SIP以外の呼制御プロトコルが用いられている。
In FIG. 1, an IP network 8 is, for example, an NGN (Next Generation Network), and is connected to an
そして、本実施の形態に係る接続アダプタ1は、配下のGW2および優先端末5をIP網8に接続しており、SIPサーバ6に登録されたGW2の登録情報を用いて、GW2とIP網8との間のセッションよりも優先端末5とIP網8との間のセッションが優先されるように、優先端末5とIP網8との間のセッションを制御する。
The connection adapter 1 according to the present embodiment connects the subordinate GW 2 and the priority terminal 5 to the IP network 8 and uses the registration information of the GW 2 registered in the
図2は、本実施の形態に係る接続アダプタ1の概略構成図である。 FIG. 2 is a schematic configuration diagram of the connection adapter 1 according to the present embodiment.
図示するように、接続アダプタ1は、インターフェース部11と、記憶部12と、処理部13と、を有する。
As illustrated, the connection adapter 1 includes an
インターフェース部11は、WANインターフェース(WAN IF)部111と、LANインターフェース部(LAN IF)112と、拡張インターフェース(拡張IF)部113と、を有する。
The
WANインターフェース部111は、IP網8に接続するためのインターフェースである。LANインターフェース部112は、GW2に接続するためのインターフェースである。そして、拡張インターフェース部113は、優先端末5を接続するためのインターフェースである。
The WAN interface unit 111 is an interface for connecting to the IP network 8. The LAN interface unit 112 is an interface for connecting to the GW 2. The
記憶部12は、登録情報格納部121と、セッション情報格納部122と、優先端末情報格納部123と、音声ガイダンス格納部124と、を有する。
The
登録情報格納部121には、SIPサーバ6に登録されたGW2の登録情報が格納される。
The registration information storage unit 121 stores registration information of the GW 2 registered in the
音声ガイダンス格納部124には、GW2配下のSIP端末3とIP網8側のSIP端末7とのセッションを強制切断するのに先立ち、これらのSIP端末3、7に送信される各メディアタイプの音声ガイダンスデータが格納されている。
The voice
セッション情報格納部122は、確立中および確立動作中のセッションの情報が格納される。図3(A)は、セッション情報格納部122の登録内容を模式的に表した図である。図示するように、セッション情報格納部122には、確立中および確立動作中のセッション毎にレコード1220が登録される。レコード1220は、発信元情報を登録するフィールド1221と、発信先情報を登録するフィールド1222と、ヘッダ情報を登録するフィールド1223と、ボディ情報を登録するフィールド1224と、セッション状態を登録するフィールド1225と、を有する。
The session
ここで、発信元情報とは、INVITEメッセージに含まれる発信元の情報である。発信先情報とは、INVITEメッセージに含まれる発信先の情報である。ヘッダ情報とは、INVITEメッセージのメッセージヘッダの情報である。ボディ情報とは、INVITEメッセージのメッセージボディの情報であり、メディアタイプの情報を含む。そして、セッション状態には、「確立動作中」および「確立中」の二つがある。接続アダプタ1がINVITEメッセージを受信してからACKメッセージを受信するまでの間は、セッション状態が「確立動作中」となり、セッションの確立動作が完了してからセッションが切断されるまでの間は、セッション状態が「確立中」となる。 Here, the sender information is the sender information included in the INVITE message. The destination information is information on a destination included in the INVITE message. The header information is information on the message header of the INVITE message. The body information is information on the message body of the INVITE message, and includes media type information. There are two session states, “establishing operation” and “establishing”. During the period from when the connection adapter 1 receives the INVITE message until it receives the ACK message, the session state becomes “establishing operation”, and after the session establishing operation is completed until the session is disconnected, The session state becomes “Established”.
優先端末情報格納部123は、拡張インターフェース部113に接続されている優先端末5を管理する端末管理テーブル(TB)1231と、これらの優先端末5の通信相手となるSIP端末7を管理する相手管理テーブル(TB)1232と、を有する。
The priority terminal
図3(B)は、端末管理テーブル1231の登録内容を模式的に表した図である。図示するように、端末管理テーブル1231には、優先端末5毎にレコード12310が登録されている。レコード12310は、SIP用端末番号を登録するフィールド12311と、独自プロトコル用端末番号を登録するフィールド12312と、を有する。
FIG. 3B is a diagram schematically showing the registration contents of the terminal management table 1231. As illustrated, a
ここで、SIP用端末番号とは、接続アダプタ1が優先端末5の代行としてIP網8とSIPメッセージをやり取りする際に使用する端末番号である。この端末番号は、登録情報格納部121に登録されたGW2の登録情報に含まれている端末番号のなかから動的に割り当てられる。また、独自プロトコル用端末番号とは、この優先端末5が接続アダプタ1と独自プロトコルの呼制御メッセージをやり取りする際に使用する端末番号である。 Here, the SIP terminal number is a terminal number used when the connection adapter 1 exchanges a SIP message with the IP network 8 on behalf of the priority terminal 5. This terminal number is dynamically assigned from among the terminal numbers included in the registration information of GW 2 registered in the registration information storage unit 121. The unique protocol terminal number is a terminal number used when the priority terminal 5 exchanges a call control message of the unique protocol with the connection adapter 1.
図3(C)は、相手管理テーブル1232の登録内容を模式的に表した図である。図示するように、相手管理テーブル1232には、優先端末5に対して予め定められた通信相手(相手端末)毎に、レコード12320が登録されている。レコード12320には、この相手端末の端末番号(SIP用端末番号)である相手端末番号を登録するフィールド12321と、この相手端末の発信先となる優先端末5の端末番号(独自プロトコル用端末番号)である発信先端末番号を登録するフィールド12322と、を有する。
FIG. 3C is a diagram schematically showing the registered contents of the partner management table 1232. As shown in the figure, a
ここで、相手端末番号とは、相手端末(SIP端末7)が接続アダプタ1とSIPメッセージをやり取りする際に使用する端末番号である。 Here, the partner terminal number is a terminal number used when the partner terminal (SIP terminal 7) exchanges a SIP message with the connection adapter 1.
図2に戻って説明を続ける。処理部13は、NAT処理部131と、TCP/IP処理部132と、SIP中継処理部133と、レジストラ部134と、WAN側SIP−UA部135と、LAN側SIP−UA部136と、優先端末用AP部137と、音声ガイダンス送出部138と、を有する。
Returning to FIG. 2, the description will be continued. The
NAT処理部131は、NAT(Network Address Translation)機能を有する。
The
すなわち、NAT処理部131は、NATテーブル(不図示)を参照して、WANインターフェース部111より受け取ったIPパケットの送信先アドレスをグローバルアドレスからローカルアドレスに変換し、そのIPパケットをTCP/IP処理部132に渡す。また、TCP/IP処理部132より受け取ったIPパケットの送信元アドレスをローカルアドレスからグローバルアドレスに変換し、そのIPパケットをWANインターフェース部111に渡す。
That is, the
TCP/IP処理部132は、TCP/IP層の処理機能を有する。
The TCP /
また、TCP/IP処理部132は、WANインターフェース部111(NAT処理部131経由)、LANインターフェース部112、あるいは拡張インターフェース部113より受け取ったIPパケットからTCPパケットを取り出し、このTCPパケットのペイロードに格納されているデータを調べる。このデータがSIPメッセージである場合は、これをSIP中継処理部133に渡し、このデータが独自プロトコルの呼制御メッセージである場合は、これを優先端末用AP部137に渡す。また、このデータが、SIPメッセージおよび独自プロトコルの呼制御メッセージ以外のデータ(例えばRTPパケット)である場合、このTCPパケットを格納したIPパケットを、このIPパケットの送信先アドレスに対応するWANインターフェース部111(NAT処理部131経由)、LANインターフェース部112、あるいは拡張インターフェース部113に渡す。
The TCP /
また、TCP/IP処理部132は、SIP中継処理部133より受け取ったSIPメッセージ、優先端末用AP部137より受け取った独自プロトコルの呼制御メッセージ、あるいは音声ガイダンス送出部138より受け取った音声ガイダンスデータをTCPパケットに格納し、さらにIPパケットに格納して、このIPパケットの送信先アドレスに対応するWANインターフェース部111(NAT処理部131経由)、LANインターフェース部112、あるいは拡張インターフェース部113に渡す。
Further, the TCP /
SIP中継処理部133は、SIPメッセージ中のIPアドレスとNAT処理部131のNATテーブルとを参照して、TCP/IP処理部132、レジストラ部134、WAN側SIP−UA部135、およびLAN側SIP−UA部136間におけるSIPメッセージの中継を制御する。
The SIP
具体的には、TCP/IP処理部132より受け取ったSIPメッセージの送信元がGW2である場合、SIP中継処理部133は、このSIPメッセージがREGISTERメッセージであれば、これをレジストラ部134に中継し、REGISTERメッセージ以外のSIPメッセージであれば、LAN側SIP−UA部136に中継する。
Specifically, when the transmission source of the SIP message received from the TCP /
また、TCP/IP処理部132より受け取ったSIPメッセージの送信元がIP網8側である場合、SIP中継処理部133は、このSIPメッセージがREGISTERメッセージに対する200OKメッセージであれば、これをレジストラ部134に中継し、REGISTERメッセージに対する200OKメッセージ以外のSIPメッセージであれば、WAN側SIP−UA部135に中継する。
Further, when the transmission source of the SIP message received from the TCP /
また、SIP中継処理部133は、レジストラ部134、WAN側SIP−UA部135、およびLAN側SIP−UA部136の何れかから受け取ったSIPメッセージを、TCP/IP処理部132に中継する。
Further, the SIP
レジストラ部134は、SIP中継処理部133よりREGISTERメッセージを受け取ったならば、このREGISTERメッセージに含まれている登録情報を登録情報格納部121に仮登録すると共に、SIPサーバ6を送信先とするこのREGISTERメッセージをSIP中継処理部133に出力する。
When the
また、レジストラ部134は、SIP中継処理部133よりREGISTERメッセージに対する200OKメッセージを受け取ったならば、先に登録情報格納部121に仮登録した登録情報を本登録すると共に、GW2を送信先とするこの200OKメッセージをSIP中継処理部133に出力する。なお、登録情報は、本登録されることで有効となり、SIPサーバ6へのアクセスにこの登録情報を用いることが可能となる。
Further, when the
WAN側SIP−UA部135は、SIPサーバ6とSIPメッセージのやり取りを行うユーザ・エージェントである。
The WAN-side SIP-
SIP中継処理部133からSIPメッセージを受け取った場合、WAN側SIP−UA部135は、優先端末情報格納部123を参照する。そして、このSIPメッセージの送信先の端末番号が端末管理テーブル1231に登録されている、あるいは送信元の端末番号が相手管理テーブル1232に登録されているならば、このSIPメッセージを優先端末用AP部137に渡す。一方、このSIPメッセージの送信先の端末番号が端末管理テーブル1231に登録されておらず、且つ送信元の端末番号も相手管理テーブル1232に登録されていないならば、このSIPメッセージをLAN側SIP−UA部136に渡す。
When the SIP message is received from the SIP
また、LAN側SIP−UA部136あるいは優先端末用AP部137から、SIPサーバ6を宛先とするSIPメッセージを受信した場合、WAN側SIP−UA部135は、このSIPメッセージをSIP中継処理部133に渡す。
When the SIP message destined for the
また、WAN側SIP−UA部135は、IP網8上に確立中のセッション、および確立動作中のセッションの情報をセッション情報格納部122に登録する。
Further, the WAN-side SIP-
LAN側SIP−UA部136は、GW2とSIPメッセージのやり取りを行うユーザ・エージェントである。
The LAN-side SIP-
SIP中継処理部133からSIPサーバ6を送信先(つまり、送信元がGW2)とするSIPメッセージを受け取った場合、LAN側SIP−UA部136は、このSIPメッセージをWAN側SIP−UA部135に渡す。
When the SIP message having the
但し、このSIPメッセージがINVITEメッセージである場合、LAN側SIP−UA部136は、セッション情報格納部122を参照して、確立中あるいは確立動作中のセッションの数が最大同時接続セッション数未満であるか否かを確認する。最大同時接続セッション数未満であるならば、このINVITEメッセージをWAN側SIP−UA部135に渡す。一方、最大同時接続セッション数ならば、このINVITEメッセージの送信元(GW2)にBUSYメッセージを返す等の所定のエラー処理を行う。
However, if the SIP message is an INVITE message, the LAN-side SIP-
また、WAN側SIP−UA部135から、GW2を送信先とするSIPメッセージ(つまり、送信元がIP網8側)を受け取った場合、LAN側SIP−UA部136は、このSIPメッセージをSIP中継処理部133に渡す。
In addition, when the SIP message having the GW 2 as the transmission destination (that is, the transmission source is the IP network 8 side) is received from the WAN-side SIP-
優先端末用AP部137は、独自プロトコルに基づく呼制御メッセージのやり取りを優先端末5と行うと共に、独自プロトコルに基づく呼制御メッセージおよびSIPメッセージ間の相互変換を行う。
The priority
WAN側SIP−UA部135からSIPメッセージを受け取った場合、優先端末用AP部137は、独自プロトコルの呼制御メッセージとSIPメッセージとの対応関係が記述された変換テーブル(不図示)を用いて、受け取ったSIPメッセージを、このSIPメッセージに対応する独自プロトコルの呼制御メッセージに変換すると共に、優先端末情報格納部123の端末管理テーブル1231を用いて、この独自プロトコルの呼制御メッセージの送信先の端末番号を、受け取ったSIPメッセージの送信先の端末番号であるSIP用端末番号に対応する独自プロトコル用端末番号に変換する。そして、この独自プロトコルの呼制御メッセージをTCP/IP処理部132に渡す。
When the SIP message is received from the WAN-side SIP-
また、TCP/IP処理部132から独自プロトコルの呼制御メッセージを受け取った場合、優先端末用AP部137は、上述の変換テーブルを用いて、受け取った呼制御メッセージを、この呼制御メッセージに対応するSIPメッセージに変換すると共に、優先端末情報格納部123の端末管理テーブル1231を用いて、このSIPメッセージの送信元の端末番号を、受け取った呼制御メッセージの送信元の端末番号である独自プロトコル用端末番号に対応するSIP用端末番号に変換する。そして、このSIPメッセージをWAN側SIP−UA部135に渡す。
Further, when a call control message of a unique protocol is received from the TCP /
但し、受け取った呼制御メッセージに対応するSIPメッセージがINVITEメッセージである場合、優先端末用AP部137は、セッション情報格納部122を参照して、確立中あるいは確立動作中のセッションの数が最大同時接続セッション数未満であるか否かを確認する。最大同時接続セッション数未満であるならば、このINVITEメッセージをWAN側SIP−UA部135に渡す。一方、最大同時接続セッション数ならば、セッション情報格納部122を参照して、GW2配下のSIP端末3とIP網8側のSIP端末7との間に確立中あるいは確立動作中の何れかのセッションを切断対象セッションに選択する。そして、音声ガイダンス送出部138に切断対象セッションの情報を通知する。それから、切断対象セッションと接続するSIP端末7を送信先とするBYEメッセージをWAN側SIP−UA部135に渡すと共に、切断対象セッションに接続するSIP端末3を送信先とするBYEメッセージをLAN側SIP−UA部136に渡す。そして、確立中あるいは確立動作中のセッションの数が最大同時接続セッション数未満となった後、このINVITEメッセージをWAN側SIP−UA部135に渡す。
However, when the SIP message corresponding to the received call control message is an INVITE message, the priority
また、優先端末用AP部137は、セッション情報格納部122を参照して、優先端末情報格納部123に格納されている端末管理テーブル1231を更新する。
In addition, the priority
音声ガイダンス送出部138は、優先端末用AP部137より指定されたセッションのメディアタイプに応じた音声ガイダンスデータを、このセッションに接続されているGW2配下のSIP端末3およびIP網8側のSIP端末7のそれぞれを送信先として送信する。
The voice
具体的には、音声ガイダンス送出部138は、GW2配下のSIP端末3を送信元とし、IP網8側のSIP端末7を送信先とする、音声ガイダンスデータを格納したIPパケットを、TCP/IP処理部132に渡す。また、IP網8側のSIP端末7を送信元とし、GW2配下のSIP端末3を送信先とする、音声ガイダンスデータを格納したIPパケットを、TCP/IP処理部132に渡す。
Specifically, the voice
図4は、接続アダプタ1の動作を説明するためのフロー図である。 FIG. 4 is a flowchart for explaining the operation of the connection adapter 1.
LANインターフェース部112、TCP/IP処理部132、およびSIP中継処理部133を介してレジストラ部134にGW2からのSIPのREGISTERメッセージが到達すると(S11でYES)、後述する登録処理が実施される(S12)。これにより、接続アダプタ1は、SIPサーバ6に登録されたGW2の登録情報を、自接続アダプタ1の登録情報として登録情報格納部121に登録する。
When the SIP REGISTER message from the GW 2 arrives at the
また、LANインターフェース部112、TCP/IP処理部132、およびSIP中継処理部133を介してLAN側SIP−UA部136にGW2からのSIPのINVITEメッセージが到達すると(S13でYES)、後述する通常発信処理が実施される(S14)。これにより、接続アダプタ1は、確立中および確立動作中のセッションの数が最大同時接続セッション数未満である場合に、このINVITEメッセージの送信元端末(GW2配下のSIP端末3)と送信先端末(IP網8側のSIP端末7)との間にセッションの確立を開始する。
When the SIP INVITE message from the GW 2 arrives at the LAN-side SIP-
また、拡張インターフェース部113、およびTCP/IP処理部132を介して優先端末用AP部137に、優先端末5からの独自プロトコルのセッション要求メッセージが到達すると(S15でYES)、後述する優先発信処理が実施される(S16)。これにより、接続アダプタ1は、GW2配下のSIP端末3とIP網8側のSIP端末7との間に確立中あるいは確立動作中のセッションより優先して、このセッション要求メッセージの送信元端末(優先端末5)と送信先端末(IP網8側のSIP端末7)との間にセッションの確立を開始する。
Further, when a unique protocol session request message from the priority terminal 5 arrives at the priority
また、WANインターフェース部111、TCP/IP処理部132、およびSIP中継処理部133を介してWAN側SIP−UA部135に、SIPサーバ6からのSIPのINVITEメッセージが到達すると(S17でYES)、後述する着信処理が実施される(S18)。これにより、接続アダプタ1は、このINVITEメッセージの送信元端末(IP網8側のSIP端末7)と送信先端末(GW2配下のSIP端末3あるいは優先端末5)との間にセッションの確立を開始する。
When the SIP INVITE message from the
図5は、図4の登録処理(S12)を説明するためのフロー図である。 FIG. 5 is a flowchart for explaining the registration process (S12) of FIG.
レジストラ部134は、仮登録を示すフラグを立てて、REGISTERメッセージに格納されているGW2の登録情報を登録情報格納部121に登録する(S1201)。次に、レジストラ部134は、このREGISTERメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する(S1202)。
The
それから、レジストラ部134は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPサーバ6から、このREGISTERメッセージに対する応答メッセージが届くのを待つ(S1203)。そして、レジストラ部134は、SIPサーバ6から受け取った応答メッセージが200OKメッセージであるならば(S1204で「200OK」)、GW2の登録情報と共に登録情報格納部121に登録されているフラグを、仮登録を示すフラグから、本登録を示すフラグに変更する(S1205)。また、この200OKメッセージを、SIP中継処理部133、TCP/IP処理部132、およびLANインターフェース部112を介して、GW2に転送する(S1206)。
Then, the
一方、レジストラ部134は、SIPサーバ6から受け取った応答メッセージがエラーメッセージであるならば(S1204で「エラー」)、GW2の登録情報および仮登録を示すフラグを登録情報格納部121から削除する(S1207)。また、このエラーメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびLANインターフェース部112を介して、GW2に転送する(S1208)。
On the other hand, if the response message received from the
図6は、図4の通常発信処理(S14)を説明するためのフロー図である。 FIG. 6 is a flowchart for explaining the normal call processing (S14) of FIG.
LAN側SIP−UA部136は、セッション情報格納部122を参照し、このセッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)未満であるか否かを確認する(S1401)。
The LAN-side SIP-
セッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)未満である場合(S1401でYES)、LAN側SIP−UA部136は、WAN側SIP−UA部135にINVITEメッセージを渡す。これを受けて、WAN側SIP−UA部135は、セッション情報格納部122に新たなレコード1220を追加し、このレコード1220のフィールド1221〜1224に、このINVITEメッセージの発信元情報、発信先情報、ヘッダ情報、およびボディ情報を登録する。また、このレコード1220のフィールド1225に、セッション状態「確立動作中」を登録する(S1402)。
When the number of
次に、WAN側SIP−UA部135は、このINVITEメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する(S1403)。
Next, the WAN-side SIP-
それから、WAN側SIP−UA部135は、LAN側SIP−UA部136と連携して、このINVITEメッセージに関連してSIPサーバ6およびGW2間でやり取りされるSIPメッセージを中継する(S1404)。
Then, the WAN-side SIP-
具体的には、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、このINVITEメッセージに関連するSIPメッセージ(100Trying、180Ringing、200OK)をSIPサーバ6から受信すると、このSIPメッセージをLAN側SIP−UA部136に渡す。LAN側SIP−UA部136は、このSIPメッセージを、SIP中継処理部133、TCP/IP処理部132、およびLANインターフェース部112を介して、GW2に転送する。
Specifically, the WAN-side SIP-
また、LAN側SIP−UA部136は、LANインターフェース部112、TCP/IP処理部132、およびSIP中継処理部133を介して、このINVITEメッセージに関連するSIPメッセージ(ACK)をGW2から受信すると、このSIPメッセージをWAN側SIP−UA部135に渡す。WAN側SIP−UA部135は、このSIPメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する。
Further, the LAN-side SIP-
さて、WAN側SIP−UA部135は、GW2からのACKメッセージを渡されたならば(S1405でYES)、セッション情報格納部122に追加したレコード1220のフィールド1225に登録されているセッション状態を「確立動作中」から「確立中」に更新する(S1406)。
When the WAN-side SIP-
以上のようにしてセッションが確立されると、セッション情報格納部122に追加したレコード1220のフィールド1221に登録されている発信元情報により特定されるGW2配下のSIP端末3と、このレコード1220のフィールド1222に登録されている発信先情報により特定されるIP網8側のSIP端末7との間で、以後、LANインターフェース部112、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介してIPパケットの送受が開始される(S1407)。
When the session is established as described above, the
一方、S1401において、セッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)の場合(S1401でNO)、LAN側SIP−UA部136は、SIP中継処理部133、TCP/IP処理部132、およびLANインターフェース部112を介して、このINVITEメッセージの送信元にBUSYメッセージを返す等の所定のエラー処理を行う(S1408)。
On the other hand, in S1401, when the number of
図7は、図4の優先発信処理(S16)を説明するためのフロー図である。 FIG. 7 is a flowchart for explaining the priority call processing (S16) of FIG.
優先端末用AP部137は、セッション情報格納部122を参照し、このセッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)未満であるか否かを確認する(S1601)。
The priority
セッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)未満である場合(S1601でYES)、優先端末用AP部137は、登録情報格納部121に登録されているGW2の登録情報に含まれている端末番号のなかから、使用中でない端末番号(セッション情報格納部122の何れのレコード1220にも発信元情報あるいは発信先情報として登録されていない端末番号)を選択する。また、独自プロトコルのセッション要求メッセージの発信元情報である端末番号(独自プロトコル用端末番号)がフィールド12312に登録されているレコード12310を、優先端末情報格納部123の端末管理テーブル1231から検索する。そして、検索したレコード12310のフィールド12311に、選択した端末番号(SIP用端末番号)を登録する(S1602)。
When the number of
それから、優先端末用AP部137は、変換テーブルに基づいて、独自プロトコルのセッション要求メッセージをSIPのINVITEメッセージに変換すると共に、このINVITEメッセージの発信元情報として、S1602で選択した端末番号を設定する(S1603)。そして、優先端末用AP部137は、このINVITEメッセージをWAN側SIP−UA部135に渡す。
Then, the priority
これを受けて、WAN側SIP−UA部135は、セッション情報格納部122に新たなレコード1220を追加し、このレコード1220のフィールド1221〜1224に、このINVITEメッセージの発信元情報、発信先情報、ヘッダ情報、およびボディ情報を登録する。また、このレコード1220のフィールド1225に、セッション状態「確立動作中」を登録する(S1604)。
In response to this, the WAN-side SIP-
次に、WAN側SIP−UA部135は、このINVITEメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する(S1605)。
Next, the WAN-side SIP-
それから、WAN側SIP−UA部135は、優先端末用AP部137と連携して、このINVITEメッセージに関連してSIPサーバ6および優先端末5間でやり取りされるメッセージを中継する(S1606)。
Then, the WAN-side SIP-
具体的には、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPサーバ6から、このINVITEメッセージに関連するSIPメッセージ(100Trying、180Ringing、200OK)を受信すると、このSIPメッセージを優先端末用AP部137に渡す。優先端末用AP部137は、変換テーブルにしたがって、このSIPメッセージを、このSIPメッセージに対応する独自プロトコルの呼制御メッセージに変換する。また、このSIPメッセージの発信先情報である端末番号(SIP用端末番号)がフィールド12311に登録されているレコード12310を優先端末情報格納部123の端末管理テーブル1231から検索し、検索したレコード12310のフィールド12312に登録されている独自プロトコル用端末番号を、この独自プロトコルの呼制御メッセージの発信先情報に設定する。それから、この独自プロトコルの呼制御メッセージを、TCP/IP処理部132および拡張インターフェース部113を介して、優先端末5に転送する。
Specifically, the WAN-side SIP-
また、優先端末用AP部137は、拡張インターフェース部113およびTCP/IP処理部132を介して、優先端末5から、このINVITEメッセージに関連する独自プロトコルの呼制御メッセージ(OK)を受信すると、変換テーブルにしたがって、この呼制御メッセージを、この呼制御メッセージに対応するSIPメッセージ(ACK)に変換する。また、この呼制御メッセージの発信元情報である端末番号(独自プロトコル用端末番号)がフィールド12312に登録されているレコード12310を優先端末情報格納部123の端末管理テーブル1231から検索し、検索したレコード12310のフィールド12311に登録されているSIP用端末番号を、このSIPメッセージの発信元情報に設定する。それから、このSIPメッセージを、WAN側SIP−UA部135に渡す。これを受けて、WAN側SIP−UA部135は、このSIPメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する。
When the priority
さて、WAN側SIP−UA部135は、優先端末5からの独自プロトコルの呼制御メッセージ(OK)に対応するACKメッセージを優先端末用AP部137から渡されたならば(S1607でYES)、セッション情報格納部122に追加したレコード1220のフィールド1225に登録されているセッション状態を「確立動作中」から「確立中」に更新する(S1608)。
If the WAN-side SIP-
以上のようにしてセッションが確立されると、セッション情報格納部122に追加したレコード1220のフィールド1221に登録された発信元情報により特定される優先端末5と、このレコード1220のフィールド1222に登録された発信先情報により特定されるIP網8側のSIP端末7との間で、拡張インターフェース部113、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、IPパケットの送受が開始される(S1609)。
When the session is established as described above, the priority terminal 5 specified by the transmission source information registered in the
一方、S1601において、セッション情報格納部122に登録されているレコード1220の数が最大同時接続セッション数(N)の場合(S1601でNO)、優先端末用AP部137は、優先端末5とIP網8側のSIP端末7との間に確立中あるいは確立動作中のセッション以外のセッションに関するレコード1220をセッション情報格納部122から選択し、このセッションを切断対象セッションに設定する(S1610)。ここで、優先端末情報格納部123の端末管理テーブル1231の何れかのレコード12310のフィールド12311に登録されているSIP用端末番号がフィールド1221およびフィールド1222の何れか一方に登録されているレコード1220が、優先端末5とIP網8側のSIP端末7との間に確立中あるいは確立動作中のセッションに関するレコード1220に該当する。
On the other hand, in S1601, when the number of
次に、優先端末用AP部137は、TCP/IP処理部132を制御して、切断対象セッションを介してやり取りされるIPパケットを破棄する。これにより、切断対象セッションに接続されたGW2配下のSIP端末3およびIP網8側のSIP端末7間の通信を遮断する(S1611)。
Next, the priority
次に、優先端末用AP部137は、音声ガイダンス送出部138に、切断対象セッションのレコード1220を通知して音声ガイダンスの送信を指示する。これを受けて、音声ガイダンス送出部138は、通知されたレコード1220のフィールド1224に登録されているボディ情報に含まれているメディアタイプに対応した音声ガイダンスデータを音声ガイダンス格納部124から選択し、この音声ガイダンスデータを格納したIPパケットを生成する。また、通知されたレコード1220のフィールド1221、1222に登録されている発信元情報、発信先情報により、切断対象セッションに接続されたGW2配下のSIP端末3およびIP網8側のSIP端末7を特定する。
Next, the priority
そして、音声ガイダンス送出部138は、TCP/IP処理部132およびLANインターフェース部112を介して、このGW2配下のSIP端末3に、このIP網8側のSIP端末7を送信元として、音声ガイダンスデータを含むIPパケットを送信する。また、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、このIP網8側のSIP端末7に、このGW2配下のSIP端末3を送信元として、音声ガイダンスデータを含むIPパケットを送信する(S1612)。
Then, the voice
次に、優先端末用AP部137は、WAN側SIP−UA部135に、切断対象セッションのレコード1220を通知して、この切断対象セッションの切断を指示する。これを受けて、WAN側SIP−UA部135は、通知されたレコード1220のフィールド1221、1222に登録されている発信元情報、発信先情報により、切断対象セッションに接続されたGW2配下のSIP端末3およびIP網8側のSIP端末7を特定する。
Next, the priority
そして、WAN側SIP−UA部135は、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、このIP網8側のSIP端末7に、このGW2配下のSIP端末3を送信元とするSIPのBYEメッセージを送信する。
Then, the WAN-side SIP-
また、WAN側SIP−UA部135は、このGW2配下のSIP端末3を送信先とし、このIP網8側のSIP端末7を送信元とするSIPのBYEメッセージを、LAN側SIP−UA部136に渡す。これを受けて、LAN側SIP−UA部136は、SIP中継処理部133、TCP/IP処理部132およびLANインターフェース部112を介して、このGW2配下のSIP端末3に、このSIPのBYEメッセージを送信する(S1613)。
Also, the WAN-side SIP-
さて、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPのBYEメッセージに対する200OKメッセージをIP網8側のSIP端末7から受信すると共に、LANインターフェース部112、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPのBYEメッセージに対する200OKメッセージをGW2配下のSIP端末3から受信すると(S1614でYES)、切断対象セッションのレコード1220をセッション情報格納部122から削除する(S1615)。
The WAN-side SIP-
以上のようにして切断対象セッションが切断されたならば(S1616)、S1602に戻って処理を進める。 If the session to be disconnected is disconnected as described above (S1616), the process returns to S1602 and proceeds.
図8は、図4の着信処理(S18)を説明するためのフロー図である。 FIG. 8 is a flowchart for explaining the incoming call processing (S18) of FIG.
WAN側SIP−UA部135は、セッション情報格納部122に新たなレコード1220を追加し、このレコード1220のフィールド1221〜1224に、INVITEメッセージの発信元情報、発信先情報、ヘッダ情報、およびボディ情報を登録する。また、このレコード1220のフィールド1225にセッション状態「確立動作中」を登録する(S1801)。
The WAN-side SIP-
次に、WAN側SIP−UA部135は、このINVITEメッセージの発信元情報により特定される端末番号が優先端末情報格納部123の相手管理テーブル1232の何れかのレコード12320のフィールド12321に登録されている否かを調べる(S1802)。
Next, the WAN-side SIP-
このINVITEメッセージの発信元情報により特定される端末番号が優先端末情報格納部123の相手管理テーブル1232の何れのレコード12320のフィールド12321にも登録されていない場合(S1802でNO)、WAN側SIP−UA部135は、このINVITEメッセージをLAN側SIP−UA部136に渡す。これを受けて、LAN側SIP−UA部136は、SIP中継処理部133、TCP/IP処理部132、およびLANインターフェース部112を介して、GW2に、このINVITEメッセージを転送する(S1803)。
If the terminal number specified by the source information of this INVITE message is not registered in the
それから、LAN側SIP−UA部136とWAN側SIP−UA部135とが連携して、このINVITEメッセージに関連してSIPサーバ6およびGW2間でやり取りされるSIPメッセージを中継する(S1804)。
Then, the LAN side SIP-
具体的には、LAN側SIP−UA部136は、LANインターフェース部112、TCP/IP処理部132、およびSIP中継処理部133を介して、GW2から、このINVITEメッセージに関連するSIPメッセージ(180Ringing、200OK)を受信すると、このSIPメッセージをWAN側SIP−UA部135に渡す。WAN側SIP−UA部135は、このSIPメッセージを、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に転送する。
More specifically, the LAN-side SIP-
また、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPサーバ6から、このINVITEメッセージに関連するSIPメッセージ(ACK)を受信すると、このSIPメッセージをLAN側SIP−UA部136に渡す。LAN側SIP−UA部136は、このSIPメッセージを、SIP中継処理部133、TCP/IP処理部132、およびLANインターフェース部112を介して、GW2に転送する。
Also, the WAN-side SIP-
さて、WAN側SIP−UA部135は、SIPサーバ6からACKメッセージを受信したならば(S1805でYES)、セッション情報格納部122に追加したレコード1220のフィールド1225に登録されているセッション状態を「確立動作中」から「確立中」に更新する(S1806)。
When the WAN-side SIP-
以上のようにしてセッションが確立されると、セッション情報格納部122に追加したレコード1220のフィールド1221に登録されている発信元情報により特定されるIP網8側のSIP端末7と、このレコード1220のフィールド1222に登録されている発信先情報により特定されるGW2配下のSIP端末3との間で、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびLANインターフェース部112を介して、IPパケットの送受が開始される(S1807)。
When the session is established as described above, the SIP terminal 7 on the IP network 8 side specified by the source information registered in the
一方、S1802において、このINVITEメッセージの発信元情報により特定される端末番号が優先端末情報格納部123の相手管理テーブル1232の何れかのレコード12320のフィールド12321に登録されている場合(S1802でYES)、WAN側SIP−UA部135は、このINVITEメッセージを、このレコード12320のフィールド12322に登録されている発信先端末番号と共に、優先端末用AP部137に渡す。これを受けて、優先端末用AP部137は、優先端末情報格納部123の端末管理テーブル1231から、この発信先端末番号がフィールド12312に登録されているレコード12310を検索する。そして、検索したレコード12310のフィールド12311に、このINVITEメッセージの発信先情報により特定される端末番号(SIP用端末番号)を登録する(S1808)。
On the other hand, when the terminal number specified by the sender information of this INVITE message is registered in the
次に、優先端末用AP部137は、変換テーブルにしたがって、このINVITEメッセージを独自プロトコルのセッション要求メッセージに変換すると共に、このセッション要求メッセージの発信先情報として、WAN側SIP−UA部135より通知された発信先端末番号を設定する(S1809)。そして、優先端末用AP部137は、TCP/IP処理部132、および拡張インターフェース部113を介して、優先端末5に、このセッション要求メッセージを転送する(S1810)。
Next, the priority
それから、優先端末用AP部137は、WAN側SIP−UA部135と連携して、このINVITEメッセージに関連してSIPサーバ6および優先端末5間でやり取りされるメッセージを中継する(S1811)。
Then, the priority
具体的には、優先端末用AP部137は、拡張インターフェース部113およびTCP/IP処理部132を介して、優先端末5から、このINVITEメッセージに関連する独自プロトコルの呼制御メッセージ(呼出中、応答)を受信すると、変換テーブルにしたがって、この呼制御メッセージを、この呼制御メッセージに対応するSIPメッセージ(180Ringing、200OK)に変換する。また、この呼制御メッセージの発信元情報である端末番号(独自プロトコル用端末番号)がフィールド12312に登録されているレコード12310を優先端末情報格納部123の端末管理テーブル1231から検索し、検索したレコード12310のフィールド12311に登録されているSIP用端末番号を、このSIPメッセージの発信元情報に設定する。それから、このSIPメッセージをWAN側SIP−UA部135に渡す。WAN側SIP−UA部135は、SIP中継処理部133、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、SIPサーバ6に、このSIPメッセージを転送する。
Specifically, the priority
また、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPサーバ6から、このINVITEメッセージに関連するSIPメッセージ(ACK)を受信すると、優先端末用AP部137に、このSIPメッセージを渡す。これを受けて、優先端末用AP部137は、変換テーブルにしたがって、このSIPメッセージを、このSIPメッセージに対応する独自プロトコルの呼制御メッセージ(OK)に変換する。また、このSIPメッセージの発信先情報である端末番号(SIP用端末番号)がフィールド12311に登録されているレコード12310を優先端末情報格納部123の端末管理テーブル1231から検索し、検索したレコード12310のフィールド12312に登録されている独自プロトコル用端末番号を、この呼制御メッセージの発信先情報に設定する。それから、この呼制御メッセージを、TCP/IP処理部132および拡張インターフェース部113を介して、優先端末5に転送する。
Also, the WAN-side SIP-
さて、WAN側SIP−UA部135は、WANインターフェース部111、NAT処理部131、TCP/IP処理部132、およびSIP中継処理部133を介して、SIPサーバ6からACKメッセージを受信したならば(S1812でYES)、セッション情報格納部122に追加したレコード1220のフィールド1225に登録されているセッション状態を「確立動作中」から「確立中」に更新する(S1813)。
If the WAN-side SIP-
以上のようにしてセッションが確立されると、セッション情報格納部122に追加したレコード1220のフィールド1221に登録されている発信先情報により特定される優先端末5と、このレコード1220のフィールド1222に登録されている発信元情報により特定されるIP網8側のSIP端末7との間で、拡張インターフェース部113、TCP/IP処理部132、NAT処理部131、およびWANインターフェース部111を介して、IPパケットの送受が開始される(S1814)。
When the session is established as described above, the priority terminal 5 specified by the destination information registered in the
次に、図1に示すネットワークシステムの動作例を説明する。 Next, an operation example of the network system shown in FIG. 1 will be described.
図9は、GW2がSIPサーバ6にREGISTERメッセージを送信する場合の動作例を示すシーケンス図である。
FIG. 9 is a sequence diagram illustrating an operation example when the GW 2 transmits a REGISTER message to the
GW2がREGISTERメッセージをSIPサーバ6に送信すると(S201)、接続アダプタ1は、これを受信し、このREGISTERメッセージに含まれているGW2の登録情報を、自接続アダプタ1の登録情報として仮登録する(S202)。また、接続アダプタ1は、SIPサーバ6に、このREGISTERメッセージを転送する(S203)。 When the GW 2 transmits a REGI S TER message to the SIP server 6 (S201), the connection adapter 1 receives this, and the registration information of the GW 2 included in the REGISTER message is temporarily used as the registration information of the own connection adapter 1. Register (S202). Further, the connection adapter 1 transfers this REGISTER message to the SIP server 6 (S203).
次に、SIPサーバ6が、REGISTERメッセージに対する応答として、200OKメッセージをGW2に送信すると(S204)、接続アダプタ1は、これを受信し、S202で仮登録した登録情報を本登録する(S205)。また、接続アダプタ1は、この200OKメッセージをGW2に転送する(S206)。
Next, when the
図10は、GW2配下のSIP端末3がINVITEメッセージを送信した場合の動作例を示すシーケンス図である。ここでは、確立中および確立動作中のセッション数が最大同時セッション数(N)未満である場合の動作を例示している。
FIG. 10 is a sequence diagram showing an operation example when the
SIP端末3がINVITEメッセージを送信すると(S211)、GW2は、これを受信し、SIPサーバ6に、このINVITEメッセージを転送する(S212)。
When the
接続アダプタ1は、GW2から転送されたINVITEメッセージを受信すると、確立中および確立動作中のセッション数が最大同時セッション数(N)未満であるか否かを判断する。そして、確立中および確立動作中のセッション数が最大同時セッション数(N)未満であることを確認すると(S213)、接続アダプタ1は、セッション状態「確立動作中」として、このINVITEメッセージに関するセッション情報を登録する(S214)。また、接続アダプタ1は、このINVITEメッセージをSIPサーバ6に転送する(S215)。 When the connection adapter 1 receives the INVITE message transferred from the GW 2, the connection adapter 1 determines whether or not the number of sessions being established and being established is less than the maximum number of simultaneous sessions (N). When it is confirmed that the number of sessions being established and being established is less than the maximum number of simultaneous sessions (N) (S213), the connection adapter 1 sets the session state “establishing” as the session information regarding this INVITE message. Is registered (S214). Further, the connection adapter 1 transfers this INVITE message to the SIP server 6 (S215).
SIPサーバ6は、接続アダプタ1からINVITEメッセージを受信すると、発信先のSIP端末7に、このINVITEメッセージを転送する(S216)。また、SIPサーバ6は、接続アダプタ1に100Tryingメッセージを返す(S217)。この100Tryingメッセージは、接続アダプタ1およびGW2を経由して、発信元のSIP端末3に送信される(S218、S219)。
When receiving the INVITE message from the connection adapter 1, the
発信先のSIP端末7は、SIPサーバ6からINVITEメッセージを受信すると、180Ringingメッセージを返す(S220)。この180Ringingメッセージは、SIPサーバ6、接続アダプタ1およびGW2を経由して、発信元のSIP端末3に送信される(S221〜S223)。
When receiving the INVITE message from the
さて、発信先のSIP端末7は、オフフック等されると、200OKメッセージをSIPサーバ6に送信する(S224)。この200OKメッセージは、SIPサーバ6、接続アダプタ1およびGW2を経由して、発信元のSIP端末3に送信される(S225〜S227)。
When the destination SIP terminal 7 is off-hooked or the like, it transmits a 200 OK message to the SIP server 6 (S224). This 200 OK message is transmitted to the originating
発信元のSIP端末3は、200OKメッセージを受信すると、ACKメッセージを返す(S228)。このACKメッセージは、GW2、接続アダプタ1、およびSIPサーバ6を経由して、発信先のSIP端末7に送信される(S229〜S231)。
When receiving the 200 OK message, the originating
また、接続アダプタ1は、GW2からACKメッセージを受信すると、このINVITEメッセージに関するセッション情報のセッション状態を「確立動作中」から「確立中」に変更する(S232)。 When the connection adapter 1 receives the ACK message from the GW 2, the connection adapter 1 changes the session state of the session information related to the INVITE message from “being established” to “being established” (S 232).
以上により発信元のSIP端末3と発信先のSIP端末7との間にセッションが確立され、通信が開始される(S233)。
As described above, a session is established between the
図11は、優先端末5が、独自プロトコルのセッション要求メッセージを送信した場合の第一の動作例を示すシーケンス図である。ここでは、確立中および確立動作中のセッション数が最大同時セッション数(N)未満である場合の動作を例示している。 FIG. 11 is a sequence diagram illustrating a first operation example when the priority terminal 5 transmits a session request message of a unique protocol. Here, the operation in the case where the number of sessions during establishment and during the establishment operation is less than the maximum number of simultaneous sessions (N) is illustrated.
優先端末5が独自プロトコルのセッション要求メッセージを送信すると(S241)、接続アダプタ1は、これを受信し、確立中および確立動作中のセッション数が最大同時セッション数(N)未満であるか否かを判断する。そして、確立中および確立動作中のセッション数が最大同時セッション数(N)未満であることを確認すると(S242)、接続アダプタ1は、このセッション要求メッセージをSIPのINVITEメッセージに変換すると共に(S243)、セッション状態「確立動作中」として、このINVITEメッセージに関するセッション情報を登録する(S244)。また、接続アダプタ1は、GW2の登録情報に含まれている端末番号のなかから、使用中でない端末番号を選択し、選択した端末番号を発信元情報として、このINVITEメッセージをSIPサーバ6に転送する(S245)。
When the priority terminal 5 transmits a session request message of a unique protocol (S241), the connection adapter 1 receives this, and whether or not the number of sessions being established and being established is less than the maximum number of simultaneous sessions (N). Judging. When it is confirmed that the number of sessions being established and being established is less than the maximum number of simultaneous sessions (N) (S242), the connection adapter 1 converts the session request message into a SIP INVITE message (S243). ), Session information relating to this INVITE message is registered as the session state “during establishment” (S244). Also, the connection adapter 1 selects a terminal number that is not in use from among the terminal numbers included in the registration information of the GW 2, and transfers this INVITE message to the
SIPサーバ6は、接続アダプタ1からINVITEメッセージを受信すると、このINVITEメッセージを発信先のSIP端末7に転送する(S246)。また、SIPサーバ6は、接続アダプタ1に100Tryingメッセージを返す(S247)。この100Tryingメッセージは、接続アダプタ1により独自プロトコルの呼制御メッセージに変換されて優先端末5に送信される(S248)。
When receiving the INVITE message from the connection adapter 1, the
発信先のSIP端末7は、SIPサーバ6からINVITEメッセージを受信すると、180Ringingメッセージを返す(S249)。この180Ringingメッセージは、SIPサーバ6を経由して接続アダプタ1に到達する(S250)。そして、180Ringingメッセージは、接続アダプタ1により独自プロトコルの呼制御メッセージに変換されて優先端末5に送信される(S251)。
When receiving the INVITE message from the
さて、発信先のSIP端末7は、オフフック等されると、200OKメッセージをSIPサーバ6に送信する(S252)。この200OKメッセージは、SIPサーバ6を経由して接続アダプタ1に到達する(S253)。そして、200OKメッセージは、接続アダプタ1により独自プロトコルの呼制御メッセージに変換されて優先端末5に送信される(S254)。 When the destination SIP terminal 7 is off-hooked or the like, it transmits a 200 OK message to the SIP server 6 (S252). This 200 OK message reaches the connection adapter 1 via the SIP server 6 (S253). Then, the 200 OK message is converted into a call control message of a unique protocol by the connection adapter 1 and transmitted to the priority terminal 5 (S254).
優先端末5は、200OKメッセージに対応する独自プロトコルの呼制御メッセージを受信すると、その応答メッセージ(OK)を返す(S255)。接続アダプタ1は、この応答メッセージをSIPのACKメッセージに変換し、このACKメッセージをSIPサーバ6に転送する(S256)。このACKメッセージは、SIPサーバ6を経由して発信先のSIP端末7に送信される(S257)。 When receiving the call control message of the unique protocol corresponding to the 200 OK message, the priority terminal 5 returns the response message (OK) (S255). The connection adapter 1 converts this response message into a SIP ACK message and transfers this ACK message to the SIP server 6 (S256). This ACK message is transmitted to the SIP terminal 7 as the call destination via the SIP server 6 (S257).
また、接続アダプタ1は、優先端末5から応答メッセージを受信すると、INVITEメッセージに関するセッション情報のセッション状態を「確立動作中」から「確立中」に変更する(S258)。 When the connection adapter 1 receives the response message from the priority terminal 5, the connection adapter 1 changes the session state of the session information related to the INVITE message from “being established” to “being established” (S258).
以上により発信元の優先端末5と発信先のSIP端末7との間にセッションが確立され、通信が開始される(S259)。 Thus, a session is established between the caller priority terminal 5 and the callee SIP terminal 7, and communication is started (S259).
図12は、優先端末5が、独自プロトコルのセッション要求メッセージを送信した場合の第二の動作例を示すシーケンス図である。ここでは、確立中および確立動作中のセッション数が最大同時セッション数(N)と同じ場合の動作を例示している。 FIG. 12 is a sequence diagram illustrating a second operation example when the priority terminal 5 transmits a session request message of a unique protocol. Here, the operation in the case where the number of sessions during establishment and during the establishment operation is the same as the maximum number of simultaneous sessions (N) is illustrated.
GW2配下のSIP端末3(SIP端末「A」3)とIP網8側のSIP端末7(SIP端末「B」7)との間にセッションが確立されているものとする(S271)。 It is assumed that a session is established between the SIP terminal 3 (SIP terminal “A” 3) under the GW 2 and the SIP terminal 7 (SIP terminal “B” 7) on the IP network 8 side (S271).
優先端末5が独自プロトコルのセッション要求メッセージを送信すると(S272)、接続アダプタ1は、これを受信し、確立中および確立動作中のセッション数が最大同時セッション数(N)未満であるか否かを判断する。そして、確立中および確立動作中のセッション数が最大同時セッション数(N)未満でないこと、すなわち、最大同時セッション数(N)と同数であることを確認すると(S273)、接続アダプタ1は、確立中および確立動作中のセッションのなかから、切断対象セッションを選択する(S274)。ここでは、SIP端末「A」3とSIP端末「B」7との間に確立中のセッションが切断対象セッションとして選択されたものとする。 When the priority terminal 5 transmits a session request message of a unique protocol (S272), the connection adapter 1 receives this, and whether or not the number of sessions being established and being established is less than the maximum number of simultaneous sessions (N). Judging. When it is confirmed that the number of sessions being established and being established is not less than the maximum number of simultaneous sessions (N), that is, the same number as the maximum number of simultaneous sessions (N) (S273), the connection adapter 1 establishes A session to be disconnected is selected from the middle session and the session that is being established (S274). Here, it is assumed that a session established between the SIP terminal “A” 3 and the SIP terminal “B” 7 is selected as the session to be disconnected.
次に、接続アダプタ1は、このセッションを介して送受される通信パケットの中継を停止する。そして、このセッションを介してSIP端末「A」3およびSIP端末「B」7のそれぞれに、このセッションを強制切断する旨の音声ガイダンスデータを送信する(S275)。 Next, the connection adapter 1 stops relaying the communication packet transmitted / received through this session. Then, voice guidance data indicating that this session is forcibly disconnected is transmitted to each of the SIP terminal “A” 3 and the SIP terminal “B” 7 through this session (S275).
それから、接続アダプタ1は、SIP端末「B」7にBYEメッセージを送信する(S276)。このBYEメッセージは、SIPサーバ6を介してSIP端末「B」7に送信される(S277)。 Then, the connection adapter 1 transmits a BYE message to the SIP terminal “B” 7 (S276). This BYE message is transmitted to the SIP terminal “B” 7 via the SIP server 6 (S277).
SIP端末「B」7は、SIPサーバ6からBYEメッセージを受信すると、200OKメッセージを返す(S278)。この200OKメッセージは、SIPサーバ6を介して接続アダプタ1に送信される(S279)。
When the SIP terminal “B” 7 receives the BYE message from the
また、接続アダプタ1は、SIP端末「A」3にBYEメッセージを送信する(S280)。このBYEメッセージは、GW2を介してSIP端末「A」3に送信される(S281)。 Further, the connection adapter 1 transmits a BYE message to the SIP terminal “A” 3 (S280). This BYE message is transmitted to the SIP terminal “A” 3 via the GW 2 (S281).
SIP端末「A」3は、GW2からBYEメッセージを受信すると、200OKメッセージを返す(S282)。この200OKメッセージは、GW2を介して接続アダプタ1に送信される(S283)。 When the SIP terminal “A” 3 receives the BYE message from the GW 2, it returns a 200 OK message (S 282). This 200 OK message is transmitted to the connection adapter 1 via the GW 2 (S283).
以上によりSIP端末「B」7とSIP端末「A」3との間のセッションが切断され、確立中および確立動作中のセッションの数が最大同時接続セッション数(N)未満となる。接続アダプタ1は、切断されたセッションのセッション情報を削除する(S284)。 As a result, the session between the SIP terminal “B” 7 and the SIP terminal “A” 3 is disconnected, and the number of sessions being established and being established is less than the maximum number of simultaneous connection sessions (N). The connection adapter 1 deletes the session information of the disconnected session (S284).
その後、図11のS243〜S259が実施され、発信元である優先端末5と発信先であるSIP端末「C」7との間にセッションが確立される(S285)。 Thereafter, S243 to S259 in FIG. 11 are performed, and a session is established between the priority terminal 5 as a transmission source and the SIP terminal “C” 7 as a transmission destination (S285).
図13は、IP網8側のSIP端末7が、GW2を発信先とするINVITEメッセージを送信した場合の第一の動作例を示すシーケンス図である。ここでは、発信元のSIP端末7の端末番号が優先端末情報格納部123の相手管理テーブル1232に登録されていない場合の動作を例示している。
FIG. 13 is a sequence diagram illustrating a first operation example when the SIP terminal 7 on the IP network 8 side transmits an INVITE message with the GW 2 as a transmission destination. Here, the operation in the case where the terminal number of the SIP terminal 7 as the transmission source is not registered in the partner management table 1232 of the priority terminal
SIP端末7がINVITEメッセージを送信すると(S291)、SIPサーバ6は、これを受信し、接続アダプタ1に、このINVITEメッセージを転送する(S292)。また、SIPサーバ6は、SIP端末7に100Tryingメッセージを返す(S293)。
When the SIP terminal 7 transmits an INVITE message (S291), the
接続アダプタ1は、SIPサーバ6からINVITEメッセージを受信すると、セッション状態「確立動作中」として、このINVITEメッセージに関するセッション情報を登録する(S294)。また、接続アダプタ1は、このINVITEメッセージの送信元情報が優先端末情報格納部123の相手管理テーブル1232に登録されているか否かを確認する。ここでは、上述したように、このINVITEメッセージの送信元情報が優先端末情報格納部123の相手管理テーブル1232に登録されていない。このため、接続アダプタ1は、このINVITEメッセージの送信先をGW2側に決定する(S295)。
When the connection adapter 1 receives the INVITE message from the
次に、接続アダプタ1は、このINVITEメッセージをGW2に転送する(S296)。このINVITEメッセージは、GW2を介してSIP端末3に送信される(S297)。
Next, the connection adapter 1 transfers this INVITE message to the GW 2 (S296). This INVITE message is transmitted to the
SIP端末3は、GW2からINVITEメッセージを受信すると、180Ringingメッセージを返す(S298)。この180Ringingメッセージは、GW2、接続アダプタ1、およびSIPサーバ6を経由して、発信元のSIP端末7に送信される(S299〜S301)。
When the
さて、SIP端末3は、オフフック等されると、200OKメッセージをGW2に送信する(S302)。この200OKメッセージは、GW2、接続アダプタ1、およびSIPサーバ6を経由して、発信元のSIP端末7に送信される(S303〜S305)。
When the
発信元のSIP端末7は、200OKメッセージを受信すると、ACKメッセージを返す(S306)。このACKメッセージは、SIPサーバ6、接続アダプタ1、GW2を経由して、SIP端末3に送信される(S307〜S309)。
When receiving the 200 OK message, the originating SIP terminal 7 returns an ACK message (S306). This ACK message is transmitted to the
また、接続アダプタ1は、SIPサーバ6からACKメッセージを受信すると、このINVITEメッセージに関するセッション情報のセッション状態を「確立動作中」から「確立中」に変更する(S310)。
Further, when the connection adapter 1 receives the ACK message from the
以上により発信先のSIP端末7とSIP端末3との間にセッションが確立され、通信が開始される(S311)。
As a result, a session is established between the SIP terminal 7 and the
図14は、IP網8側のSIP端末7が、GW2を発信先とするINVITEメッセージを送信した場合の第二の動作例を示すシーケンス図である。ここでは、発信元のSIP端末7の端末番号が優先端末情報格納部123の相手管理テーブル1232に登録されている場合の動作を例示している。
FIG. 14 is a sequence diagram illustrating a second operation example when the SIP terminal 7 on the IP network 8 side transmits an INVITE message with the GW 2 as a transmission destination. Here, the operation in the case where the terminal number of the SIP terminal 7 as the transmission source is registered in the partner management table 1232 of the priority terminal
SIP端末7がINVITEメッセージを送信すると(S321)、SIPサーバ6は、これを受信し、接続アダプタ1に、このINVITEメッセージを転送する(S322)。また、SIPサーバ6は、SIP端末7に100Tryingメッセージを返す(S323)。
When the SIP terminal 7 transmits the INVITE message (S321), the
接続アダプタ1は、SIPサーバ6からINVITEメッセージを受信すると、セッション状態「確立動作中」として、このINVITEメッセージに関するセッション情報を登録する(S324)。また、接続アダプタ1は、このINVITEメッセージの送信元情報が優先端末情報格納部123の相手管理テーブル1232に登録されているか否かを確認する。ここでは、上述したように、このINVITEメッセージの送信元情報が優先端末情報格納部123の相手管理テーブル1232に登録されている。このため、接続アダプタ1は、このINVITEメッセージの送信先を優先端末5側に決定する(S325)。
When the connection adapter 1 receives the INVITE message from the
次に、接続アダプタ1は、このINVITEメッセージを、INVITEメッセージに対応する独自プロトコルのセッション要求メッセージに変換して、変換したセッション要求メッセージを優先端末5に送信する(S326)。 Next, the connection adapter 1 converts the INVITE message into a session request message of a unique protocol corresponding to the INVITE message, and transmits the converted session request message to the priority terminal 5 (S326).
優先端末5は、接続アダプタ1からセッション要求メッセージを受信すると、呼出中を示すメッセージを返す(S327)。接続アダプタ1は、このメッセージをSIPの180Ringingメッセージに変換して、それをSIPサーバ6に送信する(S328)。この180Ringingメッセージは、SIPサーバ6経由で発信元のSIP端末7に送信される(S329)。 When receiving the session request message from the connection adapter 1, the priority terminal 5 returns a message indicating that the call is in progress (S327). The connection adapter 1 converts this message into a SIP 180 Ringing message and transmits it to the SIP server 6 (S328). This 180 Ringing message is transmitted to the originating SIP terminal 7 via the SIP server 6 (S329).
さて、優先端末5は、オフフック等されると、接続応答を示すメッセージを接続アダプタ1に送信する(S330)。接続アダプタ1は、このメッセージをSIPの200OKメッセージに変換して、それをSIPサーバ6に送信する(S331)。この200OKメッセージは、SIPサーバ6経由で発信元のSIP端末7に送信される(S332)。 When the priority terminal 5 is off-hooked or the like, the priority terminal 5 transmits a message indicating a connection response to the connection adapter 1 (S330). The connection adapter 1 converts this message into a SIP 200 OK message and transmits it to the SIP server 6 (S331). This 200 OK message is transmitted to the originating SIP terminal 7 via the SIP server 6 (S332).
発信元のSIP端末7は、200OKメッセージを受信すると、ACKメッセージを返す(S333)。このACKメッセージは、SIPサーバ6を経由で接続アダプタ1に送信される(S334)。 When receiving the 200 OK message, the originating SIP terminal 7 returns an ACK message (S333). This ACK message is transmitted to the connection adapter 1 via the SIP server 6 (S334).
接続アダプタ1は、SIPサーバ6からACKメッセージを受信すると、このACKメッセージを対応する独自プロトコルの呼制御メッセージに変換して優先端末5に送信する(S335)。また、接続アダプタ1は、INVITEメッセージに関するセッション情報のセッション状態を「確立動作中」から「確立中」に変更する(S336)。
When the connection adapter 1 receives the ACK message from the
以上により発信元のSIP端末7と優先端末5との間にセッションが確立され、通信が開始される(S337)。 Thus, a session is established between the originating SIP terminal 7 and the priority terminal 5, and communication is started (S337).
以上、本発明の一実施の形態を説明した。 The embodiment of the present invention has been described above.
本実施の形態において、接続アダプタ1は、SIPサーバ6に登録されたGW2の登録情報を用いて、GW2配下のSIP端末3とIP網8側のSIP端末7との間のセッションよりも、優先端末5とIP網8側のSIP端末7との間のセッションが優先されるように優先端末5とIP網8側のSIP端末7との間のセッションを制御する。
In the present embodiment, the connection adapter 1 uses the registration information of the GW 2 registered in the
具体的には、優先端末5からセッション要求メッセージを受信した場合に、確立中および確立動作中のセッション数が最大同時接続セッション数に達しているならば、GW2配下のSIP端末3とIP網8側のSIP端末7との間に確立されている何れかのセッションを強制切断し、さらに、SIPサーバ6に登録されているGW2の登録情報を用いて、この優先端末5のセッション要求メッセージを処理する。
Specifically, when the session request message is received from the priority terminal 5, if the number of sessions being established and being established has reached the maximum number of simultaneous connection sessions, the
したがって、本実施の形態によれば、優先端末5とのセッションをGW2配下のSIP端末3とのセッションよりも優先して確立することができる。また、本実施の形態では、SIPサーバ6に登録されているGW2の登録情報を用いてセッション制御を行うので、優先端末5がSIPサーバ6に登録されている必要はない。
Therefore, according to the present embodiment, the session with the priority terminal 5 can be established with priority over the session with the
また、本実施の形態において、接続アダプタ1は、セッションの強制切断に先立って、このセッションを介して音声ガイダンスデータを送信しているので、このセッションの利用者に、このセッションが切断されることを前もって通知することができる。 Further, in the present embodiment, the connection adapter 1 transmits voice guidance data through this session prior to the forced disconnection of the session, so that the session user is disconnected. Can be notified in advance.
また、本実施の形態において、接続アダプタ1は、GW2がSIPサーバ6に送信したREGISTERメッセージからGW2の登録情報を取得して登録する。このため、接続アダプタ1へのGW2の登録情報の登録が自動的に行われる。
In the present embodiment, the connection adapter 1 acquires and registers the registration information of the GW 2 from the REGISTER message transmitted from the GW 2 to the
また、本実施の形態において、接続アダプタ1は、SIPサーバ6から受信したINVITEメッセージの発信元情報が、優先端末5の通信相手として予め登録されたSIP端末7の端末情報を示している場合、INVITEメッセージに対応する独自プロトコルのセッション要求メッセージを優先端末5に送信する。したがって、本実施の形態によれば、GW2の配下に属していない優先端末5への着信を処理することが可能となる。
In the present embodiment, when the connection adapter 1 indicates that the source information of the INVITE message received from the
また、本実施の形態において、接続アダプタ1は、優先端末用AP部137にSIPメッセージと独自プロトコルの呼制御メッセージとを相互に変換する機能を持たせているので、SIPに対応していない優先端末5とIP網8側のSIP端末7との間にセッションを確立させることができる。 Further, in the present embodiment, the connection adapter 1 gives the priority terminal AP unit 137 a function of mutually converting the SIP message and the call control message of the original protocol, so that the priority not compatible with SIP is used. A session can be established between the terminal 5 and the SIP terminal 7 on the IP network 8 side.
なお、本発明は上記の実施の形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。 In addition, this invention is not limited to said embodiment, Many deformation | transformation are possible within the range of the summary.
例えば、上記の実施の形態において、優先端末5はSIP端末であってもよい。この場合、SIPメッセージと独自プロトコルの呼制御メッセージとを相互に変換する機能を優先端末用AP部137に持たせる必要はない。
For example, in the above embodiment, the priority terminal 5 may be a SIP terminal. In this case, it is not necessary for the priority
また、上記の実施の形態において、GW2側からの発信の場合にのみ強制切断する動作について説明をおこなったが、これは、本装置が話中の場合、SIPサーバ6によってSIP端末7からのSIPメッセージ(INVITE)を制御できないからであって、本願はこれに限定しない。例えば、優先端末6とSIP端末3がセッション中にあらたにIP網8からINVITE(着信)を受信した場合は着信のSIPメッセージ(INVITE)によって強制切断する制御をおこなってもよい。
In the above embodiment, the operation for forcibly disconnecting only in the case of a call from the GW 2 side has been described. This is because the
また、上記の実施の形態において、図2に示す接続アダプタ1の構成は、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)などの集積ロジックICによりハード的に実行されるものでもよいし、あるいはDSP(Digital Signal Processor)、PC(Personal Computer)などの計算機によりソフトウエア的に実行されるものでもよい。 In the above-described embodiment, the configuration of the connection adapter 1 shown in FIG. 2 may be implemented by hardware using an integrated logic IC such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). Alternatively, it may be executed by software by a computer such as a DSP (Digital Signal Processor) or a PC (Personal Computer).
あるいは、図2に示す接続アダプタ1の構成は、CPU、メモリ、HDD、DVD−ROM等の補助記憶装置、およびNIC(Network Interface Card)を備えたPC(Personal Computer)等の汎用コンピュータにおいて、CPUが所定のプログラムを補助記憶装置からメモリ上にロードして実行することにより実現されるものでもよい。 Alternatively, the configuration of the connection adapter 1 shown in FIG. 2 includes a CPU, a memory, an HDD, a DVD-ROM and other auxiliary storage devices, and a general-purpose computer such as a PC (Personal Computer) equipped with a NIC (Network Interface Card). May be realized by loading a predetermined program from the auxiliary storage device onto the memory and executing it.
また、上記の実施の形態において、接続アダプタ1にGW2の機能を持たせて、接続アダプタ1とGW2とを一体化してもよい。 Moreover, in said embodiment, the connection adapter 1 may be given the function of GW2, and the connection adapter 1 and GW2 may be integrated.
1:接続アダプタ、2:GW、3:SIP端末、4:LAN、5:優先端末、6:SIPサーバ、7:SIP端末、8:IP網、11:インターフェース部、12:記憶部、13:処理部、111:WANインターフェース部、112:LANインターフェース部、113:拡張インターフェース部、121:登録情報格納部、122:セッション情報格納部、123:優先端末情報格納部、124:音声ガイダンス格納部、131:NAT処理部、132:TCP/IP処理部、133:SIP中継処理部、134:レジストラ部、135:WAN側SIP−UA部、136:LAN側SIP−UA部、137:優先端末用AP部、138:音声ガイダンス送出部、1231:端末管理テーブル、1232:相手管理テーブル 1: connection adapter, 2: GW, 3: SIP terminal, 4: LAN, 5: priority terminal, 6: SIP server, 7: SIP terminal, 8: IP network, 11: interface unit, 12: storage unit, 13: Processing unit 111: WAN interface unit 112: LAN interface unit 113: Extended interface unit 121: Registration information storage unit 122: Session information storage unit 123: Priority terminal information storage unit 124: Voice guidance storage unit 131: NAT processing unit, 132: TCP / IP processing unit, 133: SIP relay processing unit, 134: Registrar unit, 135: WAN side SIP-UA unit, 136: LAN side SIP-UA unit, 137: AP for priority terminal 138: Voice guidance sending unit, 1231: Terminal management table, 1232: Partner management table
Claims (6)
前記IP網と接続するためのIP網インターフェース手段と、
第一の端末と接続するための第一の端末インターフェース手段と、
第二の端末と接続するための第二の端末インターフェース手段と、
前記第一の端末と前記IP網との間のセッション、および前記第二の端末と前記IP網との間のセッションを制御するセッション制御手段と、を有し、
前記セッション制御手段は、
前記第二の端末インターフェース手段を介して前記第二の端末からセッション要求を受信した場合に、前記第一の端末と前記IP網との間に確立されているセッションを含む所定数のセッションが前記配下の端末と前記IP網との間に確立中であるならば、前記IP網インターフェース手段を介して、前記第一の端末と接続する何れかのセッションの相手端末に、前記第一の端末を送信元とする切断要求を送信するとともに、前記第一の端末インターフェース手段を介して前記第一の端末に、当該相手端末を送信元とする切断要求を送信して、当該何れかのセッションを強制切断してから、前記第二の端末から受信したセッション要求の相手端末を送信先とし、前記第一の端末を送信元とする接続要求を、前記IP網インターフェース手段から送信し、前記IP網上の呼制御サーバに登録されている前記第一の端末の登録情報を用いて当該セッション要求を処理する
ことを特徴とするセッション制御装置。 A session control device for controlling a session between an IP network and a terminal under control thereof,
IP network interface means for connecting to the IP network;
First terminal interface means for connecting to the first terminal;
Second terminal interface means for connecting to the second terminal;
Session control means for controlling a session between the first terminal and the IP network, and a session between the second terminal and the IP network,
The session control means includes
When receiving the session request from the second terminal via the second terminal interface unit, a predetermined number of sessions the containing sessions that are established between the IP network and the first terminal If it is being established between a subordinate terminal and the IP network , the first terminal is connected to the counterpart terminal of any session connected to the first terminal via the IP network interface means. Send a disconnection request as a transmission source, and send a disconnection request with the counterpart terminal as the transmission source to the first terminal via the first terminal interface means to force any of the sessions after cutting, the second mating terminal session request received from the terminal as a destination, a connection request to the transmission source of the first terminal, whether the IP network interface unit Transmitted, the session control device which comprises treating the session request using the registration information of said registered in the call control server on the IP network first terminal.
前記セッション制御手段によるセッションの強制切断に先立って、当該セッションを介して音声ガイダンスデータを送信する音声ガイダンス送出手段をさらに有する
ことを特徴とするセッション制御装置。 The session control device according to claim 1,
Prior to the forced disconnection of the session by the session control means, the session control apparatus further comprises voice guidance sending means for sending voice guidance data through the session.
前記第一の端末インターフェース手段を介して前記第一の端末から受信した登録情報を、前記IP網インターフェース手段を介して前記呼制御サーバに送信すると共に、当該登録情報を自セッション制御装置の登録情報として設定する登録手段をさらに有する
ことを特徴とするセッション制御装置。 The session control device according to claim 1 or 2,
The registration information received from the first terminal via the first terminal interface means is transmitted to the call control server via the IP network interface means, and the registration information is registered to the registration information of the own session control device. A session control apparatus further comprising registration means for setting as:
前記セッション制御手段は、
前記IP網インターフェース手段を介して前記IP網から前記セッション要求を受信した場合に、当該セッション要求の送信元アドレスが所定のアドレスであるならば、前記第二の端末インターフェース手段を介して前記第二の端末に当該セッション要求を送信し、当該所定のアドレスでないならば、前記第一の端末インターフェース手段を介して前記第一の端末に当該セッション要求を送信する
ことを特徴とするセッション制御装置。 The session control device according to any one of claims 1 to 3,
The session control means includes
When the session request is received from the IP network via the IP network interface means, if the source address of the session request is a predetermined address, the second request is sent via the second terminal interface means. A session control apparatus, wherein the session request is transmitted to the first terminal, and if it is not the predetermined address, the session request is transmitted to the first terminal via the first terminal interface means.
前記呼制御サーバは、SIPサーバであり、
前記第一の端末は、SIP端末であり、
前記第二の端末は、SIP以外の所定の呼制御プロトコルを用いた端末であり、
前記セッション制御装置は、
前記第二の端末を送信元とする前記所定の呼制御プロトコルの呼制御メッセージを、当該呼制御メッセージに対応するSIPメッセージに変換すると共に、前記第二の端末を宛先とするSIPメッセージを、当該SIPメッセージに対応する前記所定の呼制御プロトコルの呼制御メッセージに変換するプロトコル変換手段をさらに有する
ことを特徴とするセッション制御装置。 The session control device according to any one of claims 1 to 4,
The call control server is a SIP server;
The first terminal is a SIP terminal;
The second terminal is a terminal using a predetermined call control protocol other than SIP,
The session control device includes:
The call control message of the predetermined call control protocol originating from the second terminal is converted into a SIP message corresponding to the call control message, and the SIP message destined for the second terminal is A session control apparatus, further comprising protocol conversion means for converting the call message into a predetermined call control protocol corresponding to a SIP message.
第一の端末と前記IP網との間に確立されているセッションを含む所定数のセッションが前記配下の端末と前記IP網との間に確立中である場合に、第二の端末からセッション要求を受信したならば、前記第一の端末と接続する何れかのセッションの相手端末に、前記第一の端末を送信元とする切断要求を送信するとともに、前記第一の端末に当該相手端末を送信元とする切断要求を送信して、当該何れかのセッションを強制切断し、それから、前記第二の端末から受信したセッション要求の相手端末を送信先とし、前記第一の端末を送信元とする接続要求を前記IP網に送信し、前記IP網上の呼制御サーバに登録されている前記第一の端末の登録情報を用いて当該セッション要求を処理する
ことを特徴とするセッション制御方法。 A session control method for controlling a session between the IP network and the subordinate terminal by a session control device arranged between the IP network and the subordinate terminal ,
When a predetermined number of sessions including a session established between the first terminal and the IP network are being established between the subordinate terminal and the IP network, a session request is sent from the second terminal. Is transmitted to the counterpart terminal of any session connected to the first terminal, the disconnection request with the first terminal as the transmission source is sent, and the counterpart terminal is connected to the first terminal. Sending a disconnection request as a transmission source, forcibly disconnecting any of the sessions, and then using the counterpart terminal of the session request received from the second terminal as the transmission destination, the first terminal as the transmission source A session control method comprising: transmitting a connection request to be transmitted to the IP network, and processing the session request using registration information of the first terminal registered in a call control server on the IP network .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008032905A JP4877839B2 (en) | 2008-02-14 | 2008-02-14 | Session control apparatus and session control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008032905A JP4877839B2 (en) | 2008-02-14 | 2008-02-14 | Session control apparatus and session control method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2009194618A JP2009194618A (en) | 2009-08-27 |
JP2009194618A5 JP2009194618A5 (en) | 2010-01-21 |
JP4877839B2 true JP4877839B2 (en) | 2012-02-15 |
Family
ID=41076241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008032905A Expired - Fee Related JP4877839B2 (en) | 2008-02-14 | 2008-02-14 | Session control apparatus and session control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4877839B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5381699B2 (en) * | 2009-12-28 | 2014-01-08 | 富士通株式会社 | Fault management apparatus, fault management program, and fault management method |
JP2016096460A (en) * | 2014-11-14 | 2016-05-26 | 株式会社日立情報通信エンジニアリング | Voip gateway and telephone call control method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000022713A (en) * | 1998-07-07 | 2000-01-21 | Hitachi Ltd | Communication band control system |
JP2003016031A (en) * | 2001-07-02 | 2003-01-17 | Toshiba Corp | Control system for priority connection for client/server system |
JP2004187094A (en) * | 2002-12-04 | 2004-07-02 | Mitsubishi Electric Corp | Communication establishing device |
-
2008
- 2008-02-14 JP JP2008032905A patent/JP4877839B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009194618A (en) | 2009-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10506036B2 (en) | System and method for shared session appearance in a hybrid peer-to-peer environment | |
US9128927B2 (en) | System and method for language translation in a hybrid peer-to-peer environment | |
JP5418227B2 (en) | Interception system, route changing device, and computer program | |
JP2006254402A (en) | Multimedia conference system, conference method employing same, and computer readable media | |
JP2005318503A (en) | Presence server, session control server, packet relay system, server, and system | |
US10033454B2 (en) | Communication path control device, communication path control system, communication path control method and communication path control program | |
JP3743507B2 (en) | Relay server | |
JP4266188B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION TERMINAL DEVICE USED IN THIS COMMUNICATION SYSTEM, AND COMMUNICATION METHOD USED IN COMMUNICATION SYSTEM | |
CN102497446A (en) | Business flow transmission method crossing NAT device and apparatus thereof | |
JP4877839B2 (en) | Session control apparatus and session control method | |
JP4627760B2 (en) | Communication relay method, communication relay program, and communication relay device | |
JP4044082B2 (en) | Selection device, conversion device, selection method, conversion method, computer program | |
JP2007124036A (en) | Server apparatus | |
JP4604899B2 (en) | System and method for monitoring communication signal in IP network, and SIP server and monitoring device used therefor | |
JP5214368B2 (en) | Communication monitoring system and communication monitoring method | |
JP3980562B2 (en) | SIP communication control device | |
JP2011071853A (en) | Ip telephone system, communication content recorder and communication method | |
JP4372629B2 (en) | SIP communication control apparatus for performing FW control and FW control method thereof | |
JP5103031B2 (en) | Network communication method and system | |
WO2004075518A1 (en) | Communication node, signaling network, communication network system, and communication method thereof | |
JP4555005B2 (en) | Protocol conversion server | |
US8630254B2 (en) | Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program | |
JP2005317001A (en) | Presence server, session control server and packet relay system | |
JP4991926B2 (en) | Telephone exchange device, control method for the telephone exchange device, and telephone system | |
JP4313707B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM THEREOF |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091126 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091126 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110815 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110906 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111017 |
|
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: 20111122 |
|
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: 20111122 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4877839 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: 20141209 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141209 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |