JP2005198181A - Sip communication control device - Google Patents

Sip communication control device Download PDF

Info

Publication number
JP2005198181A
JP2005198181A JP2004004317A JP2004004317A JP2005198181A JP 2005198181 A JP2005198181 A JP 2005198181A JP 2004004317 A JP2004004317 A JP 2004004317A JP 2004004317 A JP2004004317 A JP 2004004317A JP 2005198181 A JP2005198181 A JP 2005198181A
Authority
JP
Japan
Prior art keywords
sip
terminal
network
sip message
sdp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004004317A
Other languages
Japanese (ja)
Other versions
JP3980562B2 (en
Inventor
Junichiro Kuroki
純一郎 黒木
Kazuhito Hayashi
和仁 林
Takao Shibata
高穂 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004004317A priority Critical patent/JP3980562B2/en
Publication of JP2005198181A publication Critical patent/JP2005198181A/en
Application granted granted Critical
Publication of JP3980562B2 publication Critical patent/JP3980562B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a load on a NAT device when sending and receiving a SIP message via a SIP server between and among multiple terminals belonging to networks with different address systems in order to conduct transmission. <P>SOLUTION: A SIP communication control device 4 comprises a path information management means for analyzing a transferred SIP message when the terminal transmits the SIP message to the SIP server via the NAT device and managing the information of the network which the terminal belongs to, and an SDP information management means for managing SDP information which is the previous information of converted information and included in the SIP message. When a conversion means for addresses or the like sends the SIP message sent via the SIP server to the terminal via the NAT device, the path information management means specifies the network which the terminal which has received the SIP message belongs to, and compares it with the network which the terminal which has transmitted the SIP message belongs to. If the terminals belong to the same network, the SDP information included in the SIP message is re-converted to the information before conversion managed by the SDP information management means. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、SIP通信制御装置に関し、特に、同じネットワークに属する端末間でSIPメッセージの送受信を行うときに、アドレス体系が異なるネットワークに属するSIPサーバを経由するような場合に適用して有効な技術に関するものである。   TECHNICAL FIELD The present invention relates to a SIP communication control device, and in particular, a technology effective when applied to a case where a SIP message belonging to a network having a different address system is routed when a SIP message is transmitted / received between terminals belonging to the same network. It is about.

従来、IPネットワーク上で電話の呼設定や、インターネットを介した音声や映像等のメディアの伝達を行うマルチメディアサービスを実現するプロトコルとしてSIPがある(たとえば、非特許文献1,非特許文献2を参照)。   Conventionally, there is SIP as a protocol for realizing a multimedia service that performs call setting on an IP network and transmission of media such as audio and video via the Internet (for example, Non-Patent Document 1 and Non-Patent Document 2). reference).

前記SIPは、複数の端末間で音声や映像等のメディアの伝達(送受信)を行うときの伝達の開始や終了といったシグナリングに用いられる。そして、前記メディアは、リアルタイムに音声や動画を送受信するためのプロトコルであるRTP(Real-time Transport Protocol)で伝達される(たとえば、非特許文献3を参照)。   The SIP is used for signaling such as the start and end of transmission when transmitting (transmitting / receiving) media such as voice and video between a plurality of terminals. The media is transmitted by RTP (Real-time Transport Protocol), which is a protocol for transmitting and receiving voice and moving images in real time (for example, see Non-Patent Document 3).

また、前記SIPのメッセージには、一般に、SDP(Session Description Protocol)によるセッション記述が含まれている(たとえば、非特許文献4を参照)。前記セッション記述には、セッション作成者、すなわちメディアを受信する端末のIPアドレスや、メディアを受信する場所を示すPort番号が含まれている。そのため、たとえば、社内LANやVPNのようにアドレス体系がプライベートIPアドレスのネットワーク内の端末が、アドレス体系がグローバルIPアドレスのSIPサーバを経由して前記SIPのメッセージを送受信するときには、NAT装置によるネットワークレイヤのアドレス変換に加えて、前記SIPのメッセージにSDPで記述されたIPアドレスやPort番号の変換を行う必要がある。   Further, the SIP message generally includes a session description by SDP (Session Description Protocol) (see, for example, Non-Patent Document 4). The session description includes the IP address of the session creator, that is, the terminal that receives the media, and the port number that indicates the location where the media is received. Therefore, for example, when a terminal in a network with a private IP address address system, such as an in-house LAN or VPN, sends and receives the SIP message via a SIP server with a global IP address, the network by a NAT device In addition to layer address translation, it is necessary to translate the IP address and port number described in SDP in the SIP message.

前記SIPのメッセージにSDPで記述されたIPアドレスやPort番号を変換する方法としては、たとえば、ALG(Application Level Gateway)機能を備えたSIP通信制御装置をNAT装置と連携させて変換する方法が提案されている(たとえば、非特許文献5を参照)。
M.Handley, H.Schulzrinne, E.Schooler, J.Rosenberg、"SIP:Session Initiation Protocol"、[online]、March 1999、[平成15年12月24日検索]、インターネット<URL : http://www.ietf.org/rfc/rfc2543.txt> J.Rosenberg, H.Schulzrinne, G.Camarillo, A.Johnston, J.Peterson, R.Sparks, M.Handley, E.Schooler、"SIP:Session Initiation Protocol"、[online]、June 2002、[平成15年12月24日検索]、インターネット<URL : http://www.ietf.org/rfc/rfc3261.txt> H.Schulzrinne, GMD Fokus, S.Casner, R.Frederick, V.Jacobson、"RTP:A Transport Protocol for Real-Time Applications"、[online]、January 1996、[平成15年12月24日検索]、インターネット<URL : http://www.ietf.org/rfc/rfc1889.txt> M. Handley, V. Jacobson、"SDP:Session Description Protocol"、[online]、April 1998、[平成15年12月24日検索]、インターネット<URL : http://www.ietf.org/rfc/rfc2327.txt> P. Srisuresh, J. Kuthan, J. Rosenberg, A. Molitor, A. Rayhan、"Middlebox communication architecture and framework"、[online]、August 2002、[平成15年12月24日検索]、インターネット<URL : http://www.ietf.org/rfc/rfc3303.txt>
As a method for converting the IP address or port number described in SDP into the SIP message, for example, a method of converting a SIP communication control device having an ALG (Application Level Gateway) function in cooperation with a NAT device is proposed. (For example, see Non-Patent Document 5).
M.Handley, H.Schulzrinne, E.Schooler, J.Rosenberg, "SIP: Session Initiation Protocol", [online], March 1999, [December 24, 2003 search], Internet <URL: http: // www.ietf.org/rfc/rfc2543.txt> J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, E. Schooler, "SIP: Session Initiation Protocol", [online], June 2002, [2003 December 24, 2009], Internet <URL: http://www.ietf.org/rfc/rfc3261.txt> H. Schulzrinne, GMD Fokus, S. Casner, R. Frederick, V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications", [online], January 1996, [searched December 24, 2003], Internet <URL: http://www.ietf.org/rfc/rfc1889.txt> M. Handley, V. Jacobson, "SDP: Session Description Protocol", [online], April 1998, [searched on December 24, 2003], Internet <URL: http://www.ietf.org/rfc/ rfc2327.txt> P. Srisuresh, J. Kuthan, J. Rosenberg, A. Molitor, A. Rayhan, "Middlebox communication architecture and framework", [online], August 2002, [Searched on December 24, 2003], Internet <URL: http://www.ietf.org/rfc/rfc3303.txt>

しかしながら、前記従来の前記SIP通信制御装置では、前記ALG機能を利用して前記SIPのメッセージにSDPで記述されたIPアドレスやPort番号を変換するときに、前記SIPのメッセージのヘッダ部分とともに、全て一律の変換規則に従い変換している。そのため、前記SIPサーバ及びNAT装置を経由して端末が受信するSIPのメッセージでは、SDPで記述されている前記メディアの伝達を行うためのIPアドレスやPort番号が、前記SIPサーバが属するネットワークのアドレス体系に従った値になっている。その結果、前記RTPでメディアの伝達を行うときにも、前記SIPのメッセージと同じ経路で伝達される。   However, in the conventional SIP communication control device, when the IP address and port number described in SDP are converted into the SIP message using the ALG function, all of the SIP message headers are included. The conversion is performed according to a uniform conversion rule. Therefore, in the SIP message received by the terminal via the SIP server and NAT device, the IP address and port number for transmitting the media described in SDP are the addresses of the network to which the SIP server belongs. It is a value according to the system. As a result, even when media is transmitted by the RTP, the media is transmitted through the same route as the SIP message.

つまり、従来の方法では、前記メディアの伝達を行う端末同士、すなわち前記SIPのメッセージを発信した端末と受信した端末が同一のネットワークに属する場合でも、無条件で前記SIPサーバが属する他のアドレス体系のネットワークを経由して前記メディアの伝達を行うことになる。そのため、たとえば、伝送距離の増加や前記SIPサーバが属するネットワーク上のトラフィックの増加によるメディアの伝送遅延が起こりやすいという問題がある。   That is, in the conventional method, even if the terminals that transmit the media, that is, the terminal that transmitted the SIP message and the received terminal belong to the same network, other address systems to which the SIP server belongs unconditionally. The media is transmitted via the network. For this reason, for example, there is a problem that transmission delay of media easily occurs due to an increase in transmission distance and an increase in traffic on the network to which the SIP server belongs.

また、前記NAT装置は、同一のネットワーク内の端末間で送受信するメディアに対してもアドレス変換、すなわちカプセル化,デカプセル化をしなければならないので、前記NAT装置での処理の負荷が増大するという問題もある。   In addition, since the NAT device must perform address conversion, that is, encapsulation and decapsulation, on media transmitted and received between terminals in the same network, the processing load on the NAT device increases. There is also a problem.

本発明の目的は、複数の端末間でアドレス体系が異なるネットワークに属するSIPサーバを経由してSIPのメッセージの送受信を行い、メディアの伝達を行うときに、前記メディアの伝送遅延を防ぐことが可能な技術を提供することにある。   An object of the present invention is to prevent transmission delay of the media when transmitting / receiving a SIP message via a SIP server belonging to a network having a different address system among a plurality of terminals. Is to provide new technology.

本発明の目的は、複数の端末間でアドレス体系が異なるネットワークに属するSIPサーバを経由してSIPのメッセージの送受信を行い、メディアの伝達を行うときに、NAT装置にかかる負荷を軽減することが可能な技術を提供することにある。   An object of the present invention is to reduce the load on a NAT device when media is transmitted / received by performing SIP message transmission / reception via a SIP server belonging to a network having a different address system among a plurality of terminals. It is to provide possible technology.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述及び添付図面によって明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本発明は、2つ以上の端末及び2つ以上のNAT(Network Address Translation)装置が属する第1ネットワークの前記端末が、前記第1ネットワークのアドレス体系と異なるアドレス体系の第2ネットワークに属するSIP(Session Initiation Protocol)サーバを経由して前記第1ネットワークあるいは他のネットワークに属する端末との間でSIPメッセージの送受信を行うときに、前記NAT装置と連携して前記SIPメッセージに含まれるSDP(Session Description Protocol)のアドレス及びPort番号の変換を制御するALG(Application Level Gateway)機能を有するアドレス等変換手段を備えるSIP通信制御装置であって、前記第1ネットワークの端末から前記NAT装置を介して前記SIPサーバにSIPメッセージを送信するときに、前記NAT装置から転送されたSIPメッセージを解析し、前記端末が属するネットワークの情報を管理する経路情報管理手段、及び前記SIPメッセージに含まれるSDPの変換前の情報を管理するSDP情報管理手段を備え、前記アドレス等変換手段は、前記SIPサーバを経由して送信されたSIPメッセージを前記NAT装置を介して前記第1ネットワークの端末に送信するときに、前記経路情報管理手段により前記SIPメッセージを発信した端末が属するネットワークを特定する手段と、前記SIPメッセージを受信する端末が属するネットワークを特定し、前記SIPメッセージを発信した端末が属するネットワークと比較する手段と、前記SIPメッセージを発信した端末が属するネットワークと受信する端末が属するネットワークが同一の場合に、前記SIPメッセージに含まれる前記SDPの情報を、前記SDP情報管理手段で管理する変換前の情報に再変換する手段とを備えることを最も主要な特徴とする。   According to the present invention, the SIP in the first network to which two or more terminals and two or more NAT (Network Address Translation) devices belong belong to a second network having an address system different from the address system of the first network. When a SIP message is transmitted / received to / from a terminal belonging to the first network or another network via a Session Initiation Protocol) server, an SDP (Session Description included in the SIP message in cooperation with the NAT device) Protocol) is a SIP communication control device comprising address conversion means having an ALG (Application Level Gateway) function for controlling the conversion of the address and port number of the protocol, from the terminal of the first network via the NAT device. When sending a SIP message to a server, the SIP message transferred from the NAT device is analyzed and the terminal belongs to Route information management means for managing network information, and SDP information management means for managing information before conversion of SDP included in the SIP message. The address conversion means is transmitted via the SIP server. When the SIP message is transmitted to the terminal of the first network via the NAT device, means for specifying the network to which the terminal that has transmitted the SIP message belongs by the route information management means, and the SIP message is received. When the network to which the terminal belongs is identified and compared with the network to which the terminal that sent the SIP message belongs, and the network to which the terminal that sent the SIP message belongs and the network to which the receiving terminal belongs are the same, the SIP message The SDP information included in the information is converted into information before conversion managed by the SDP information management means. The most important feature in that it comprises means for converting.

本発明のSIP通信制御装置は、端末から発信されたSIPメッセージをSIPサーバに送信するために前記NAT装置でIPアドレスの変換(カプセル化)をするときに、前記NAT装置と連携して、前記SIPメッセージを発信した端末が属するネットワーク情報及びSDP情報を取得し、管理する。一方、前記SIPサーバをから送信されたSIPメッセージのIPアドレスをNAT装置で変換するときに、前記SIPメッセージを解析し、管理しているネットワーク情報を参照して、前記SIPメッセージを発信した端末が属するネットワークを特定する。そして、前記SIPメッセージを発信した端末と受信する端末が同一のネットワークに属している場合は、前記SIPメッセージのSDP情報を、管理している元のSDP情報に逆変換して受信する端末に転送する。このようにすると、前記端末が前記アドレス体系の異なるネットワークに属するSIPサーバを経由して送信された前記SIPメッセージを受信したときに、前記SIPメッセージを送信した端末が同一のネットワークに属していれば、受信したSIPメッセージのSDPで記述されたIPアドレス及びPort番号は、前記各端末が属するネットワークのアドレス体系で記述されている。そのため、音声や映像等のメディアを伝達するときに、前記SIPサーバが属するネットワークを経由することなく前記ネットワーク内でルーティングさせることができる。その結果、伝送距離の増加やSIPサーバが属するネットワーク上のトラフィックの増加によるメディアの伝送遅延を防ぐことができる。また、前記各端末が属するネットワーク内でルーティングさせることができるので、メディアを伝達するときに前記NAT装置でIPアドレスを変換する必要がない。そのため、前記NAT装置にかかる負荷を低減することができる。   The SIP communication control device of the present invention, when converting (encapsulating) an IP address in the NAT device to transmit a SIP message transmitted from a terminal to a SIP server, in cooperation with the NAT device, Obtain and manage network information and SDP information to which the terminal that sent the SIP message belongs. On the other hand, when the IP address of the SIP message transmitted from the SIP server is converted by a NAT device, the SIP message is analyzed by referring to the network information managed and analyzed by the terminal. Identify the network to which it belongs. When the terminal that sent the SIP message and the terminal that receives the SIP message belong to the same network, the SDP information of the SIP message is converted back to the original managed SDP information and transferred to the receiving terminal To do. In this way, when the terminal receives the SIP message transmitted via a SIP server belonging to a network with a different address system, the terminal that transmitted the SIP message belongs to the same network. The IP address and port number described in the SDP of the received SIP message are described in the address system of the network to which each terminal belongs. Therefore, when media such as audio and video are transmitted, routing can be performed within the network without going through the network to which the SIP server belongs. As a result, it is possible to prevent media transmission delay due to an increase in transmission distance and traffic on the network to which the SIP server belongs. In addition, since routing can be performed within the network to which each terminal belongs, it is not necessary to convert the IP address in the NAT device when media is transmitted. Therefore, the load on the NAT device can be reduced.

以下、本発明について、図面を参照して実施の形態(実施例)とともに詳細に説明する。
なお、実施例を説明するための全図において、同一機能を有するものは、同一符号を付け、その繰り返しの説明は省略する。
Hereinafter, the present invention will be described in detail together with embodiments (examples) with reference to the drawings.
In all the drawings for explaining the embodiments, parts having the same function are given the same reference numerals and their repeated explanation is omitted.

本発明のSIP通信制御装置は、端末から発信されたSIPメッセージのIPアドレスをNAT装置で変換(カプセル化)するときに、前記NAT装置と連携して、前記SIPメッセージを発信した端末が属するネットワークの情報及び変換前のSDPの情報を取得し、管理する。また、アドレス体系が異なるネットワークから送信されたSIPメッセージのアドレスをNAT装置で変換(デカプセル化)するときに、前記NAT装置と連携して、前記SIPメッセージを発信した端末が属するネットワークを特定する。そして、前記SIPメッセージを発信した端末と受信する端末が同一のネットワークに属している場合は、前記SIPメッセージに含まれるSDPで記述された部分を、変換前のSDP情報に逆変換することで、前記SIPメッセージを発信した端末と受信する端末が同一のネットワークに属している場合のメディアの伝達の遅延や、NAT装置の負荷を低減する。   The SIP communication control device of the present invention, when converting (encapsulating) an IP address of a SIP message transmitted from a terminal by a NAT device, is associated with the NAT device and to which the terminal that has transmitted the SIP message belongs Information and SDP information before conversion are acquired and managed. Further, when an address of a SIP message transmitted from a network having a different address system is converted (decapsulated) by the NAT device, the network to which the terminal that has transmitted the SIP message belongs is specified in cooperation with the NAT device. Then, if the terminal that sent the SIP message and the terminal that receives the SIP message belong to the same network, by reverse-converting the part described in SDP included in the SIP message into SDP information before conversion, It reduces the media transmission delay and the load on the NAT device when the terminal that sends the SIP message and the terminal that receives the SIP message belong to the same network.

図1は、本発明による一実施例のSIP通信制御装置を用いた通信ネットワークシステムの概略構成を示す模式図である。
図1において、11は第1VPN、11aは第1端末、11bは第2端末、12は第2VPN、12aは第3端末、2aは第1NAT装置、2bは第2NAT装置、2cは第3NAT装置、3はGlobalネットワーク、3aはSIPサーバ、4はSIP通信制御装置、5はゲートウェイ装置(GW装置)、6は電話網、6aは電話交換機、6bは電話機である。
FIG. 1 is a schematic diagram showing a schematic configuration of a communication network system using a SIP communication control apparatus according to an embodiment of the present invention.
In FIG. 1, 11 is a first VPN, 11a is a first terminal, 11b is a second terminal, 12 is a second VPN, 12a is a third terminal, 2a is a first NAT device, 2b is a second NAT device, 2c is a third NAT device, 3 is a global network, 3a is a SIP server, 4 is a SIP communication control device, 5 is a gateway device (GW device), 6 is a telephone network, 6a is a telephone exchange, and 6b is a telephone.

本発明に係る前記SIP通信制御装置および前記NAT装置が用いられるネットワークシステムは、たとえば、図1に示すように、端末11a,11b,12a及びNAT装置2a,2b,2cを備えるVPN(Virtual Private Network)等のプライベートネットワーク11,12と、SIPサーバ3aを備える管理IP網等のGlobalネットワーク3とからなり、前記VPN11,12の各端末11a,11b,12aは前記NAT装置2a,2b,2cのいずれかを介して前記SIPサーバ3aと接続されている。そして、前記VPN11,12のうち、少なくとも1つのVPN11は、図1に示したように、2台以上のNAT装置2a,2bを備えている。また、全てのNAT装置2a,2b,2cは、前記SIP通信制御端末4に接続されている。またこのとき、前記SIPサーバ3aは、たとえば、図1に示したように、GW装置5を介して、既存の電話網6に配置された電話交換機6a,電話機6bへと接続されていてもよい。   The network system in which the SIP communication control device and the NAT device according to the present invention are used is, for example, a VPN (Virtual Private Network) including terminals 11a, 11b, 12a and NAT devices 2a, 2b, 2c as shown in FIG. ) And a global network 3 such as a management IP network provided with a SIP server 3a. Each terminal 11a, 11b, 12a of the VPN 11, 12 is one of the NAT devices 2a, 2b, 2c. Is connected to the SIP server 3a. Of the VPNs 11 and 12, at least one VPN 11 includes two or more NAT devices 2a and 2b as shown in FIG. All the NAT devices 2a, 2b, 2c are connected to the SIP communication control terminal 4. At this time, the SIP server 3a may be connected to the telephone exchange 6a and the telephone 6b disposed in the existing telephone network 6 via the GW apparatus 5, for example, as shown in FIG. .

このように、前記SIPサーバ3aが、前記各端末11a,11b,12aが属するVPN11,12のアドレス体系と異なるアドレス体系のネットワークに配置されている場合、全ての端末間におけるメディアの通信を行う際のSIPシグナリングは、前記SIPサーバ3aの属するGlobalネットワーク3を介して行われる。ここで、第1VPN11の端末11a,11bと第2VPN12の端末12aの間で、前記Globalネットワーク3を跨いで行う通信については、前記NAT装置及び前記SIP通信制御装置でIPアドレス,Port番号,SIPメッセージ内のIPアドレス,Port番号を変換するが、従来の方式ではSIPメッセージ中のSDPについてもSIPヘッダと同様にアドレス変換される。その結果として、RTPによるメディアの送受信を行う場合も、前記SIPシグナリングと同様に、常にGlobalネットワーク3aを介して行われることになる。しかし、図1に示したような、第1端末11aと第2端末11bのように同一のVPNに属する端末間でメディアの送受信を行うときには、Globalネットワーク3aを介する必要は無い。さらに、メディアの通信経路を設定するときに、第1VPN11に属する第1NAT装置2a及び第2NAT装置2bを介して、前記第1VPN11の外を通る経路を設定することで、メディアの伝送遅延や、第1NAT装置2a及び第2NAT装置2bの負荷の増加が懸念される。   As described above, when the SIP server 3a is arranged in a network having an address system different from the address system of the VPNs 11 and 12 to which the terminals 11a, 11b, and 12a belong, when media communication is performed between all terminals. SIP signaling is performed through the Global network 3 to which the SIP server 3a belongs. Here, for communication between the terminals 11a and 11b of the first VPN 11 and the terminal 12a of the second VPN 12 across the Global network 3, the NAT device and the SIP communication control device use an IP address, a port number, and a SIP message. The IP address and the port number are converted, but in the conventional method, the SDP in the SIP message is also converted in the same manner as the SIP header. As a result, transmission / reception of media by RTP is always performed via the Global network 3a as in the case of the SIP signaling. However, when media is transmitted and received between terminals belonging to the same VPN such as the first terminal 11a and the second terminal 11b as shown in FIG. 1, it is not necessary to pass through the Global network 3a. Further, when setting the communication path of the media, by setting the path that passes outside the first VPN 11 via the first NAT device 2a and the second NAT device 2b belonging to the first VPN 11, the transmission delay of the media, There is concern about an increase in loads on the first NAT device 2a and the second NAT device 2b.

そこで、本発明の通信ネットワークシステムでは、前記SIP通信制御装置4を用いて、たとえば、第1VPN11の端末が第2VPN12の端末、あるいは前記電話機6bのようにネットワーク外の端末と通信する場合、前記メディア(RTP)はGlobalネットワーク3を介して伝達し、第1VPN11の第1端末11aと第2端末11bのように同一のネットワーク内にある端末間の通信する場合、前記メディア(RTP)はGlobalネットワーク3を介することなく、前記第1VPN11内において設定された経路で送受信を行えるようにする。以下、図1に示した第1VPN11内の第1端末11aと第2端末11bの間でSIPメッセージの送受信、及びメディアの送受信を行う方法について説明する。   Therefore, in the communication network system of the present invention, when the SIP communication control device 4 is used, for example, when the terminal of the first VPN 11 communicates with a terminal of the second VPN 12 or a terminal outside the network such as the telephone 6b, the media (RTP) is transmitted via the global network 3, and when communication is performed between terminals in the same network such as the first terminal 11a and the second terminal 11b of the first VPN 11, the media (RTP) is transmitted to the global network 3. It is possible to perform transmission / reception through the route set in the first VPN 11 without going through. Hereinafter, a method of transmitting / receiving SIP messages and transmitting / receiving media between the first terminal 11a and the second terminal 11b in the first VPN 11 shown in FIG. 1 will be described.

図2は、本実施例のSIP通信制御装置の概略構成及びSIPメッセージの送信手順を説明するための模式図である。また、図3は、前記SIP通信制御装置が保持するNAT情報管理テーブルの一例を示す図である。また、図2において、401はアドレス等変換手段、402はNAT情報管理手段、403は経路情報管理手段、404はSDP情報管理手段である。   FIG. 2 is a schematic diagram for explaining a schematic configuration of the SIP communication control device and a SIP message transmission procedure of the present embodiment. FIG. 3 is a diagram showing an example of a NAT information management table held by the SIP communication control device. In FIG. 2, 401 is an address conversion means, 402 is NAT information management means, 403 is route information management means, and 404 is SDP information management means.

本実施例のSIP通信制御装置4は、たとえば、図2に示すように、SIPメッセージのSDPのIPアドレス及びPort番号等を変換するALG機能を有するアドレス等変換手段401と、前記SIP通信制御装置4と接続されたNAT装置が属するネットワーク(VPN)の情報を管理するNAT情報管理手段402と、SIPメッセージを発信した端末が属するネットワークの情報を管理する経路情報管理手段403と、前記端末が発信した最初のSIPメッセージのSDP情報を管理するSDP情報管理手段404とを備える。また、前記NAT情報管理手段402は、信号(SIPメッセージ)がどのVPNに配置されたNAT装置を経由するかという経路の情報を把握するためのNAT情報管理テーブルを持ち、たとえば、図3に示すように、各NAT装置のID情報と属するネットワーク(VPN)の対応付けがあらかじめ設定されている。   For example, as shown in FIG. 2, the SIP communication control apparatus 4 of the present embodiment includes an address conversion means 401 having an ALG function for converting the IP address and port number of the SDP of the SIP message, and the SIP communication control apparatus. 4 NAT information management means 402 for managing the information of the network (VPN) to which the NAT device connected is connected, the route information management means 403 for managing the information of the network to which the terminal that sent the SIP message belongs, and the terminal SDP information management means 404 for managing the SDP information of the first SIP message. Further, the NAT information management means 402 has a NAT information management table for grasping route information indicating which VPN (NAP device) a signal (SIP message) passes through, for example, as shown in FIG. As described above, the association between the ID information of each NAT device and the network (VPN) to which it belongs is set in advance.

そして、たとえば、図2に示すように、第1端末11aから第2端末11bに対するINVITE(1)を発呼すると、前記INVITE(1)を受信した第1NAT装置2aは、前記INVITE(1)を前記SIP通信制御装置4に転送する。このとき、前記SIP通信制御装置4では、前記アドレス等変換手段401において、前記INVITE(1)のSIPヘッダ及びSDPのIPアドレス及びPort番号を変換したINVITE(2)を生成し、前記第1NAT装置2aに返却するが、その前に、まず、受信したINVITE(1)が第1NAT装置2aから転送された信号であることを識別し、事前に設定しておいたNAT情報管理テーブルを参照して、前記INVITE(1)がどのVPNの端末から送信されたかを把握し、その情報を経路情報管理手段403に保持する。今の場合、前記INVITE(1)は前記第1NAT装置2aから転送されたので、前記経路情報管理手段403は、前記INVITE(1)が前記第1VPN11の端末から送信されたという情報を保持する。また、前記SIP通信制御装置4では、それと同時に、後にVPN内通信であると判定された場合にSDPを逆変換できるように、前記SDP情報管理手段404でアドレス変換前のSDP情報、すなわち前記INVITE(1)のSDP情報を保持する。また、経由するSIPサーバでCall-IDが変更される場合を考慮して、前記INVITE(1)のCall-IDを独自SIPヘッダとして付与する。これらの処理が完了すると、前記アドレス等変換手段401は、通常のSIPメッセージ内のアドレス変換処理を施したINVITE(2)を生成し、前記第1NAT装置2aに返却する。   For example, as shown in FIG. 2, when the first terminal 11a issues an INVITE (1) to the second terminal 11b, the first NAT device 2a that has received the INVITE (1) receives the INVITE (1). Transfer to the SIP communication control device 4. At this time, the SIP communication control device 4 generates the INVITE (2) obtained by converting the SIP header of the INVITE (1), the IP address and the port number of the SDP in the address conversion unit 401, and the first NAT device. Before returning to 2a, first, identify that the received INVITE (1) is a signal transferred from the first NAT device 2a, and refer to the NAT information management table set in advance. Then, it is grasped from which VPN terminal the INVITE (1) is transmitted, and the information is held in the route information management means 403. In this case, since the INVITE (1) has been transferred from the first NAT device 2a, the route information management unit 403 holds information that the INVITE (1) has been transmitted from the terminal of the first VPN 11. At the same time, in the SIP communication control device 4, SDP information before address conversion by the SDP information management means 404, that is, the INVITE so that the SDP can be reversely converted when it is determined that the communication is within VPN later. Holds the SDP information of (1). Further, in consideration of the case where the Call-ID is changed in the transit SIP server, the Call-ID of the INVITE (1) is added as a unique SIP header. When these processes are completed, the address translation means 401 generates INVITE (2) subjected to the address translation process in the normal SIP message and returns it to the first NAT device 2a.

その後、前記INVITE(2)は、たとえば、前記第1NAT装置2aでカプセル化した後、前記SIPサーバ3aを経由して着信先の第2端末11bと接続された第2NAT装置2bへと転送される。前記INVITE(2)を受信した第2NAT装置2bは、前記INVITE(2)を前記SIP通信制御装置4に転送する。このとき、前記INVITE(2)がカプセル化されているならば、前記第2NAT装置2bでデカプセル化してから転送する。そして、前記SIP通信制御装置4は、前記INVITE(2)の独自SIPヘッダからCall-IDを取得し、前記経路情報管理手段403で保持している経路に関する情報を参照して、前記INVITE(2)が第1VPN11の端末から送信されたことを把握する。また、それと同時に、前記INVITE(2)が前記第2NAT装置2bから転送されたことより、INVITE(2)を発信した端末(第1端末11a)と受信する端末(第2端末11b)がともに第1VPN11に属しており、同一VPN内での通信であると判断する。そして、同一VPN内で通信であると判断すると、前記アドレス等変換手段401は、前記SDP情報管理手段403を検索して、前記INVITE(2)の元のSDP情報、すなわちINVITE(1)のSDPを取得し、前記INVITE(2)のSDP情報を前記INVITE(1)のSDP情報に逆変換したINVITE(3)を生成し、前記第2NAT装置2bに返却する。   Thereafter, the INVITE (2) is encapsulated by the first NAT device 2a, for example, and then transferred to the second NAT device 2b connected to the second terminal 11b as the destination via the SIP server 3a. . The second NAT device 2b that has received the INVITE (2) transfers the INVITE (2) to the SIP communication control device 4. At this time, if the INVITE (2) is encapsulated, it is decapsulated by the second NAT device 2b and transferred. Then, the SIP communication control device 4 acquires the Call-ID from the unique SIP header of the INVITE (2), refers to the information on the route held by the route information management means 403, and refers to the INVITE (2 ) Is transmitted from the terminal of the first VPN 11. At the same time, since the INVITE (2) is transferred from the second NAT device 2b, both the terminal that has transmitted the INVITE (2) (first terminal 11a) and the terminal that receives it (the second terminal 11b) It belongs to 1 VPN 11 and is determined to be communication within the same VPN. When it is determined that the communication is within the same VPN, the address conversion unit 401 searches the SDP information management unit 403 to search the original SDP information of the INVITE (2), that is, the SDP of the INVITE (1). Is generated, INVITE (3) is generated by reversely converting the SDP information of INVITE (2) into the SDP information of INVITE (1), and is returned to the second NAT device 2b.

前記INVITE(3)を受信した第2NAT装置2bは、それを前記第2端末11bに送信する。つまり、前記第2端末11bは、アドレス変換されていないSDP情報が記述されたINVITE(3)を受信するので、メディア(RTP)を第1端末11aに送信するときには、Globalネットワーク経由でなく、同一VPN内経由で送信することになる。また、前記INVITE(3)を受信した後、前記第2端末11bから、たとえば、180 Ringing や 200 OK 等の応答メッセージを第1端末11aに送信するときも、前記SIP通信制御装置4において、前記INVITEを送信するときと同様の処理を行うことで、前記第1端末11aは、アドレス変換されていないSDP情報が記述された応答メッセージを受信することができる。この結果、第1端末11aと第2端末11bの間でメディアを伝送する経路を、同一VPN内経由でルーティングさせることが可能となる。   The second NAT device 2b that has received the INVITE (3) transmits it to the second terminal 11b. That is, since the second terminal 11b receives INVITE (3) in which SDP information that has not been address-translated is described, when the medium (RTP) is transmitted to the first terminal 11a, it is not the same via the Global network. It will be sent via VPN. Further, after receiving the INVITE (3), the SIP communication control device 4 also transmits the response message such as 180 Ringing or 200 OK from the second terminal 11b to the first terminal 11a. By performing the same processing as when transmitting INVITE, the first terminal 11a can receive a response message in which SDP information that has not been address-translated is described. As a result, it is possible to route a route for transmitting media between the first terminal 11a and the second terminal 11b via the same VPN.

次に、同一VPN内での通信の一例として、図2に示した第1端末11aと第2端末11bで通信を行う場合のSIP通信制御装置の詳細な処理について説明する。   Next, as an example of communication within the same VPN, detailed processing of the SIP communication control apparatus when communication is performed between the first terminal 11a and the second terminal 11b illustrated in FIG. 2 will be described.

図4乃至図16は、同一VPN内の端末間での通信の一例を説明するための模式図であり、図4は通信のシーケンスを示す図、図5は第1端末が発信した最初のINVITE(1)の一例を示す図、図6はアドレス等変換手段で行う処理手順の一例を示すフロー図、図7(a)は経路情報管理テーブルの一例を示す図、図7(b)はSDP情報管理テーブルの一例を示す図、図7(c)はINVITE(2)の一例を示す図、図8は第2NAT装置で受信したINVITE(2)の一例を示す図、図8(b)はINVITE(3)の一例を示す図、図9は第2端末から第1端末に応答メッセージを送信したときのメッセージの経路を示す図、図10は第2端末が発信した最初の応答メッセージの一例を示す図、図11(a)は経路情報管理テーブルの一例を示す図、図11(b)はSDP情報管理テーブルの一例を示す図、図11(c)は200 OK(2)の一例を示す図、図12(a)は第1NAT装置で受信した200 OK(2)の一例を示す図、図12(b)は200 OK(3)の一例を示す図、図13(a)は不要となった経路情報を削除する例を示す図、図13(b)は不要となったSDP情報を削除する例を示す図、図14(a)はメディアの送受信を開始したときの経路情報管理テーブルの一例を示す図、図14(b)はメディアの送受信が開始されたときのSDP情報管理テーブルの一例を示す図、図15はメディアの送受信を行っているときのネットワークの状態を示す図、図16(a)は不要となった経路情報を削除する例を示す図、図16(b)は不要となったSDP情報を削除する例を示す図である。   4 to 16 are schematic diagrams for explaining an example of communication between terminals in the same VPN, FIG. 4 is a diagram showing a communication sequence, and FIG. 5 is a first INVITE transmitted from the first terminal. FIG. 6 is a flowchart showing an example of a processing procedure performed by the address conversion means, FIG. 7A is a diagram showing an example of a route information management table, and FIG. 7 shows an example of the information management table, FIG. 7C shows an example of INVITE (2), FIG. 8 shows an example of INVITE (2) received by the second NAT device, and FIG. FIG. 9 is a diagram illustrating an example of INVITE (3), FIG. 9 is a diagram illustrating a message path when a response message is transmitted from the second terminal to the first terminal, and FIG. 10 is an example of an initial response message transmitted by the second terminal. FIG. 11A shows an example of a route information management table, and FIG. 11B shows an example of an SDP information management table. FIG. 11C shows an example of 200 OK (2), FIG. 12A shows an example of 200 OK (2) received by the first NAT device, and FIG. FIG. 13A is a diagram illustrating an example of OK (3), FIG. 13A is a diagram illustrating an example of deleting unnecessary route information, and FIG. 13B is a diagram illustrating an example of deleting unnecessary SDP information. FIG. 14A shows an example of a path information management table when media transmission / reception is started, and FIG. 14B shows an example of an SDP information management table when media transmission / reception is started. 15 is a diagram showing a network state when media is transmitted and received, FIG. 16A is a diagram showing an example of deleting unnecessary route information, and FIG. 16B is SDP information that is no longer needed. It is a figure which shows the example which deletes.

本実施例のSIP通信制御装置を備える通信ネットワークシステムにおいて、同一の第1VPN11に属する第1端末11aと第2端末11bの間でのメディアの送受信は、おおまかに見ると、図4に示すようなシーケンスに沿って行われる。   In the communication network system including the SIP communication control apparatus of the present embodiment, the transmission / reception of media between the first terminal 11a and the second terminal 11b belonging to the same first VPN 11 is roughly as shown in FIG. This is done along the sequence.

また、以下の説明では、前記第1VPN11のアドレス体系における前記第1端末11aのIPアドレス及びPort番号はそれぞれ192.168.0.1,10000であり、第2端末11bのIPアドレス及びPort番号はそれぞれ192.168.0.2,20000であるとする。また、前記第1NAT装置2aには、前記第1端末11aのIPアドレス及びPort番号を192.168.0.1,10000から前記Globalネットワーク3のアドレス体系に合わせた130.0.0.1,15000に変換するような設定が施されているとする。同様に、前記第2NAT装置2bには、前記第2端末11bのIPアドレス及びPort番号を192.168.0.2,20000から130.0.0.2,25000に変換するような設定が施されているとする。また、前記第1NAT装置2a及び第2NAT装置2bと属するVPNを対応づける情報は、すでに前記NAT情報管理手段402に登録されているとする。   In the following description, the IP address and port number of the first terminal 11a in the address system of the first VPN 11 are 192.168.0.1 and 10000, respectively, and the IP address and port number of the second terminal 11b are 192.168.0.2, respectively. , 20000. In addition, the first NAT device 2a is set to convert the IP address and port number of the first terminal 11a from 192.168.0.1, 10000 to 130.0.0.1, 15000 according to the address system of the Global network 3. Suppose that it is given. Similarly, it is assumed that the second NAT device 2b is set to convert the IP address and port number of the second terminal 11b from 192.168.0.2, 20000 to 130.0.0.2, 25000. Further, it is assumed that information associating VPNs belonging to the first NAT device 2a and the second NAT device 2b has already been registered in the NAT information management means 402.

まず、図4に示したように、前記第1端末11aから第2端末11bに対して発呼されたINVITE(1)は、第1NAT装置2aで受信される。このとき、前記INVITE(1)のSIPヘッダ及びSDPに記述されたIPアドレス及びPort番号は、図5に示すように、前記第1VPN11のアドレス体系に沿って記述されている。そのため、前記第1NAT装置2aは、受信したINVITE(1)を前記SIP通信制御装置4に転送し、前記SIPヘッダ及びSDPに記述されたIPアドレス及びPort番号を前記Globalネットワーク3のアドレス体系に沿った記述に変換させる(STEP1)。   First, as shown in FIG. 4, INVITE (1) called from the first terminal 11a to the second terminal 11b is received by the first NAT device 2a. At this time, the IP address and the port number described in the SIP header and SDP of the INVITE (1) are described along the address system of the first VPN 11 as shown in FIG. Therefore, the first NAT device 2a transfers the received INVITE (1) to the SIP communication control device 4, and the IP address and port number described in the SIP header and SDP are in accordance with the address system of the Global network 3. (STEP 1).

前記INVITE(1)を受け取った前記SIP通信制御装置4のアドレス等変換手段401では、まず、図6に示すように、NAT装置から転送されたSIPメッセージを解析し、独自SIPヘッダが記述されているか判定する(ステップ401a,401b)。いま、転送されたSIPメッセージは、図5に示したようなINVITE(1)であり、独自SIPヘッダは無い。前記独自SIPヘッダが無い場合は、図6に示すように、転送されたSIPメッセージからそのメッセージを発信した端末が属するVPNを特定し、経路情報を前記経路情報管理手段403に設定するとともに、前記SIPメッセージのSDP情報を前記SDP情報管理手段404に設定する(ステップ401c)。このとき、前記ステップ401cでは、まず、たとえば、図3に示したようなNAT情報管理テーブルを参照して、前記INVITE(1)を転送した第1NAT装置2aが第1VPN11に属し、前記INVITE(1)が前記第1VPN11に属する第1端末11aから発信されたSIPメッセージであると識別する。そして、たとえば、図7(a)に示すような、前記経路情報管理手段403が持つ経路情報管理テーブルに、前記INVITE(1)のCall-ID,メソッド種別,NAT装置,属するVPNの情報を登録する。また、前記経路情報管理テーブルへの登録が済んだら、前記INVITE(1)のSDP情報を収集し、たとえば、図7(b)に示すような、前記SDP情報管理手段404が持つSDP情報管理テーブルに、前記INVITE(1)のCall-ID,SDP情報を登録する。   Upon receiving the INVITE (1), the address etc. converting means 401 of the SIP communication control device 4 first analyzes the SIP message transferred from the NAT device and describes the unique SIP header as shown in FIG. (Steps 401a and 401b). Now, the transferred SIP message is INVITE (1) as shown in FIG. 5, and there is no unique SIP header. If there is no unique SIP header, as shown in FIG. 6, the VPN to which the terminal that sent the message belongs is specified from the forwarded SIP message, the route information is set in the route information management means 403, and The SDP information of the SIP message is set in the SDP information management means 404 (step 401c). At this time, in the step 401c, first, referring to the NAT information management table as shown in FIG. 3, for example, the first NAT device 2a that forwarded the INVITE (1) belongs to the first VPN 11, and the INVITE (1 ) Is identified as a SIP message transmitted from the first terminal 11 a belonging to the first VPN 11. Then, for example, as shown in FIG. 7A, the call information of the INVITE (1), the method type, the NAT device, and the information of the VPN to which the INVITE (1) is registered in the route information management table of the route information management means 403 To do. Further, after the registration to the route information management table is completed, the SDP information of the INVITE (1) is collected and, for example, the SDP information management table possessed by the SDP information management means 404 as shown in FIG. The INVITE (1) Call-ID and SDP information are registered.

前記経路情報及びSDP情報の登録が済んだら、次に、前記INVITE(1)から収集したCall-IDを独自SIPヘッダとして前記INVITE(1)に挿入するとともに、前記INVITE(1)のSIPヘッダ及びSDPのIPアドレス及びPort番号を変換したINVITE(2)を生成し、前記第1NAT装置2aに返却する(ステップ401d,401e)。このとき、生成されるINVITE(2)は、たとえば、図7(c)に示すように、P-N-KEY というCall-IDを記述した独自SIPヘッダが挿入されており、前記第1VPN11のアドレス体系で記述されていたIPアドレス及びPort番号が192.168.0.1,10000から130.0.0.1,15000に変換されている。   After the registration of the route information and SDP information, the Call-ID collected from the INVITE (1) is inserted into the INVITE (1) as a unique SIP header, and the SIP header of the INVITE (1) and An INVITE (2) converted from the IP address and port number of the SDP is generated and returned to the first NAT device 2a (steps 401d and 401e). At this time, the generated INVITE (2) has a unique SIP header describing a Call-ID called PN-KEY inserted, for example, as shown in FIG. The described IP address and port number are converted from 192.168.0.1, 10000 to 130.0.0.1, 15000.

返却された前記INVITE(2)を受け取った前記第1NAT装置2aは、たとえば、前記INVITE(2)をカプセル化して前記SIPサーバ3aへと送信する。そして、送信された前記INVITE(2)は、前記SIPサーバ3aを経由して、前記第2NAT装置2bで受信される。前記第2NAT装置2bは、受信した前記INVITE(2)を前記SIP通信制御装置4に転送する(STEP2)。このとき、前記INVITE(2)がカプセル化されている場合は、前記第2NAT装置2bでデカプセル化してから前記SIP通信制御装置4に転送する。またこのとき、本実施例では、前記SIPサーバ3aがB2BUA(Back To Back User Agent)として動作し、前記第2NAT装置2bで受信したINVITE(2)は、たとえば、図8(a)に示すように、Call-IDが変更されているとする。   The first NAT device 2a that has received the returned INVITE (2), for example, encapsulates the INVITE (2) and transmits it to the SIP server 3a. Then, the transmitted INVITE (2) is received by the second NAT device 2b via the SIP server 3a. The second NAT device 2b transfers the received INVITE (2) to the SIP communication control device 4 (STEP 2). At this time, if the INVITE (2) is encapsulated, it is decapsulated by the second NAT device 2b and then transferred to the SIP communication control device 4. At this time, in this embodiment, the SIP server 3a operates as a B2BUA (Back To Back User Agent), and the INVITE (2) received by the second NAT device 2b is, for example, as shown in FIG. Suppose that Call-ID is changed.

前記第2NAT装置2bから転送された前記INVITE(2)を受信した前記SIP通信制御装置4は、前記アドレス等変換手段401で、まず、図6に示したように、受信したINVITE(2)を解析し、独自SIPヘッダがあるか判定する(ステップ401a,401b)。いま、前記INVITE(2)には独自SIPヘッダがあるので、その場合は、前記独自SIPヘッダから、元のINVITE(1)のCall-IDを取得する(ステップ401f)。   Upon receiving the INVITE (2) transferred from the second NAT device 2b, the SIP communication control device 4 first receives the received INVITE (2) as shown in FIG. Analysis is performed to determine whether there is a unique SIP header (steps 401a and 401b). Now, since the INVITE (2) has a unique SIP header, the Call-ID of the original INVITE (1) is acquired from the unique SIP header in this case (step 401f).

前記元のINVITE(1)のCall-IDを取得したら、次に、前記経路情報管理手段403が持つ経路情報管理テーブルを参照し、前記Call-IDを取得と対応づけられたVPN情報から前記INVITE(1)を発信した第1端末11aが属するVPNが第1VPN11であると特定する(ステップ401g)。   After obtaining the Call-ID of the original INVITE (1), next, referring to the route information management table of the route information management means 403, the INVITE is obtained from the VPN information associated with obtaining the Call-ID. The VPN to which the first terminal 11a that transmitted (1) belongs is specified as the first VPN 11 (step 401g).

前記INVITE(1)を発信した端末が属するVPNを特定したら、次に、前記NAT情報管理手段402が持つNAT情報管理テーブルを参照して、前記INVITE(2)を転送した第2NAT装置2b、すなわち前記INVITEを受信する第2端末11bが属するVPNを特定する(ステップ401h)。   After specifying the VPN to which the terminal that sent the INVITE (1) belongs, next, referring to the NAT information management table of the NAT information management means 402, the second NAT device 2b that forwarded the INVITE (2), that is, The VPN to which the second terminal 11b that receives the INVITE belongs is specified (step 401h).

前記INVITE(1)を発信した端末が属するVPN及びINVITE(2)を受信する端末が属するVPNを特定したら、次に、前記各VPN情報を比較し、同じVPNに属しているか判定する(ステップ401i,401j)。このとき、前記各端末が同じVPNに属しているのであれば、前記独自SIPヘッダから取得した元のCall-IDをキー情報として、前記SDP情報管理手段404が持つ前記SDP情報管理テーブルを検索し、元のINVITE(1)のSDP情報を収集する。そして、図8(b)に示すように、前記INVITE(2)のSDP情報を、収集したINVITE(1)のSDP情報に置き換えたINVITE(3)を生成し、第2NAT装置2bに返却する(ステップ401k,401e)。またこのとき、前記INVITE(3)では独自SIPヘッダは不要となるため、SIPメッセージから削除する。   Once the VPN to which the terminal that transmitted the INVITE (1) belongs and the VPN to which the terminal that receives the INVITE (2) belongs are compared, the VPN information is compared to determine whether they belong to the same VPN (step 401i 401j). At this time, if the terminals belong to the same VPN, the SDP information management table 404 of the SDP information management unit 404 is searched using the original Call-ID acquired from the unique SIP header as key information. Collect SDP information of original INVITE (1). Then, as shown in FIG. 8B, INVITE (3) in which the SDP information of INVITE (2) is replaced with the collected SDP information of INVITE (1) is generated and returned to the second NAT device 2b ( Steps 401k and 401e). At this time, since the INVITE (3) does not require a unique SIP header, it is deleted from the SIP message.

また、前記各端末が同じVPNに属していない場合は、前記INVITE(2)のSDPは変更せず、前記独自SIPヘッダのみを削除したINVITE(3)を前記第2NAT装置2bに返却する(ステップ401l,401e)。このようにして、前記第2端末11bは、SDP情報のIPアドレス及びPort番号が第1VPN11のアドレス体系で記述されたINVITE(3)を受信することができる。   If the terminals do not belong to the same VPN, the SDP of the INVITE (2) is not changed, and the INVITE (3) from which only the unique SIP header is deleted is returned to the second NAT device 2b (step) 401l, 401e). In this way, the second terminal 11b can receive INVITE (3) in which the IP address and port number of the SDP information are described in the address system of the first VPN 11.

前記第2端末11bが前記INVITE(3)を受信した場合、通常は、たとえば、前記INVITE(3)を受信し、呼び出し中であることを第1端末11aに知らせる応答メッセージ(180 Ringing)を返信するが、ここでは、そのシーケンスを省略し、次に、前記第2端末11bのユーザが呼び出しに応じて電話にでたことを前記第1端末11aに知らせる応答メッセージ(200 OK)を返信するシーケンスを説明する。   When the second terminal 11b receives the INVITE (3), for example, it usually receives the INVITE (3) and returns a response message (180 Ringing) informing the first terminal 11a that it is calling. However, here, the sequence is omitted, and then a response message (200 OK) is sent back to inform the first terminal 11a that the user of the second terminal 11b has answered the call. Will be explained.

前記第2端末11bから前記第1端末11aに対して発信された応答メッセージ(200 OK)は、図9に示すように、前記第1端末11aから前記第2端末11bにINVITEを送信したときと逆の経路で送信される。つまり、前記第2端末11bから発信された200 OK(1)は、まず、前記第2NAT装置2bで受信され、前記SIP通信制御装置4に転送される。このとき、前記200 OK(1)のSIPヘッダ及びSDPのIPアドレス及びPort番号は、たとえば、図10に示したように、前記第1VPN11のアドレス体系で記述されているので、前記INVITE(1)をINVITE(2)に変換するときと同様の手順で、前記経路情報管理テーブルへの登録及びSDP情報管理テーブルへの登録を行う。前記経路情報管理テーブルへの登録及びSDP情報管理テーブルへの登録を行うと、前記各テーブルは、図11(a)及び図11(b)に示すようになる。そして、前記各テーブルへの登録が済んだら、前記200 OK(1)のCall-IDを独自SIPヘッダとして挿入するとともに、SIPヘッダ及びSDPのIPアドレス及びPort番号を変換した200 OK(2)を生成し、前記第2NAT装置2bに返却する(STEP3)。このとき、生成される前記200 OK(2)は、たとえば、図11(c)に示すように、P-N-KEY というCall-IDを記述した独自SIPヘッダが挿入されており、第1VPNのアドレス体系で記述されていたIPアドレス及びPort番号が192.168.0.2,20000から130.0.0.2,25000に変換されている。   The response message (200 OK) transmitted from the second terminal 11b to the first terminal 11a is transmitted when the INVITE is transmitted from the first terminal 11a to the second terminal 11b as shown in FIG. Sent on the reverse route. That is, 200 OK (1) transmitted from the second terminal 11b is first received by the second NAT device 2b and transferred to the SIP communication control device 4. At this time, since the SIP header of 200 OK (1) and the IP address and port number of SDP are described in the address system of the first VPN 11 as shown in FIG. 10, for example, the INVITE (1) Is registered in the route information management table and registered in the SDP information management table in the same procedure as that for converting to INVITE (2). When registration in the route information management table and registration in the SDP information management table are performed, the respective tables are as shown in FIGS. 11 (a) and 11 (b). After registration in each table, the 200 OK (1) Call-ID is inserted as a unique SIP header, and the SIP header and SDP IP address and Port number are converted to 200 OK (2). It is generated and returned to the second NAT device 2b (STEP 3). At this time, the generated 200 OK (2) is inserted with a unique SIP header describing a Call-ID called PN-KEY, as shown in FIG. The IP address and port number described in the above are converted from 192.168.0.2, 20000 to 130.0.0.2, 25000.

返却された前記200 OK(2)を受け取った前記第2NAT装置2bは、たとえば、前記200 OK(2)をカプセル化して前記SIPサーバ3aへと送信する。そして、送信された前記200 OK(2)は、前記SIPサーバ3aを経由して、前記第1NAT装置2aで受信される。前記第1NAT装置2aは、受信した前記200 OK(2)を前記SIP通信制御装置4に転送する(STEP4)。このとき、前記200 OK(2)がカプセル化されている場合は、前記第1NAT装置2aでデカプセル化してから前記SIP通信制御装置4に転送する。また、本実施例では、前記SIPサーバがB2BUA(Back To Back User Agent)として動作することを想定しているので、前記第1NAT装置2aで受信した200 OK(2)は、図12(a)に示すように、Call-IDが元の値、すなわち前記INVITE(1)のCall-IDの値に戻されている。   The second NAT device 2b that has received the returned 200 OK (2) encapsulates the 200 OK (2), for example, and transmits it to the SIP server 3a. Then, the transmitted 200 OK (2) is received by the first NAT device 2a via the SIP server 3a. The first NAT device 2a transfers the received 200 OK (2) to the SIP communication control device 4 (STEP 4). At this time, if the 200 OK (2) is encapsulated, it is decapsulated by the first NAT device 2a and then transferred to the SIP communication control device 4. In this embodiment, since it is assumed that the SIP server operates as a B2BUA (Back To Back User Agent), the 200 OK (2) received by the first NAT device 2a is shown in FIG. As shown in FIG. 5, the Call-ID is returned to the original value, that is, the Call-ID value of the INVITE (1).

前記200 OK(2)を受け取った前記SIP通信制御装置4では、前記アドレス等変換手段401において、前記INVITE(2)をINVITE(3)に変換したときと同様の手順で、前記200 OK(2)を変換した200 OK(3)に生成し、前記第1NAT装置2aに返却する。いま考えている例では、前記第2端末11bと第1端末11aが同一の第1VPN11に属しているので、前記第1NAT装置2aに返却された200 OK(3)のSDPは、図12(b)に示すように、前記200 OK(1)のSDPに逆変換されている。   In the SIP communication control device 4 that has received the 200 OK (2), the 200 OK (2) is processed in the same procedure as when the address conversion means 401 converts the INVITE (2) into INVITE (3). ) Is converted into 200 OK (3) and returned to the first NAT device 2a. In the present example, since the second terminal 11b and the first terminal 11a belong to the same first VPN 11, the 200 OK (3) SDP returned to the first NAT device 2a is shown in FIG. ), The SDP of 200 OK (1) is inversely converted.

なお、本実施例のような基本的な通話においては、INVITEとそれに対する200 OKの通過経路は同一となるが、不在転送、応答後転送など、着信先端末までINVITEが送信され、そこで転送処理が起動した場合は、INVITEと同一の経路で200 OKが返却するとは限らない。そこで、VPN内通信であるか否かの判定を信号毎に行うことで、より多くのサービスシーケンスに対応することが可能となる。   Note that in a basic call such as in this embodiment, the INVITE and the 200 OK passage route are the same, but the INVITE is transmitted to the destination terminal, such as call forwarding and forwarding after answering, and forwarding processing there. When is activated, 200 OK is not always returned on the same route as INVITE. Therefore, it is possible to cope with more service sequences by determining for each signal whether or not the communication is within the VPN.

以上のような手順で、前記第1端末11aが応答メッセージ(200 OK)を受信すると、今度は、図4に示したように、前記第1端末11aから第2端末11bに対してACKが送信される。前記ACKを送信するときも、基本的な処理手順は前記INVITEを送信するときと同様であり、前記第1端末11aから発信されたACK(1)を、前記第1NAT装置2a及び前記SIP通信制御装置4でACK(2)に変換するが、ここでは、リソースを有効活用するために、たとえば、図13(a)及び図13(b)に示すように、前記INVITEを送信するときに収集した経路情報及びSDP情報を前記各管理テーブルから削除する(STEP5)。   When the first terminal 11a receives the response message (200 OK) by the above procedure, this time, as shown in FIG. 4, an ACK is transmitted from the first terminal 11a to the second terminal 11b. Is done. Also when transmitting the ACK, the basic processing procedure is the same as when transmitting the INVITE, and the ACK (1) transmitted from the first terminal 11a is replaced with the first NAT device 2a and the SIP communication control. The device 4 converts it into ACK (2). Here, in order to make effective use of resources, for example, as shown in FIGS. 13 (a) and 13 (b), it is collected when the INVITE is transmitted. The route information and SDP information are deleted from each management table (STEP 5).

また、前記SIP通信制御装置4は、前記ACK(1)を受信した時点で、前記200 OK(1)から収集した経路情報も不要であるが、ACK(1)を受信した時点で削除すると、たとえば、前記第2端末11bから200 OKが再送された場合に、同一VPN内か否かの判定が行えない。そのため、同一VPN内での通信であった場合に適切な逆変換ができないという不具合が生じる。そこで、前記ACK(1)を受信した時点では、INVITEから収集した経路情報及びSDP情報のみを削除する。   Further, when the SIP communication control device 4 receives the ACK (1), the route information collected from the 200 OK (1) is unnecessary, but if it is deleted when the ACK (1) is received, For example, when 200 OK is retransmitted from the second terminal 11b, it cannot be determined whether or not it is in the same VPN. Therefore, there is a problem that proper reverse conversion cannot be performed when communication is performed within the same VPN. Therefore, when the ACK (1) is received, only the route information and SDP information collected from INVITE are deleted.

前記SIP通信制御装置4から返却されたACK(2)を受け取った第1NAT装置2aは、前記ACK(2)を前記SIPサーバ3aに送信する。このとき、送信されたACK(2)は、前記SIPサーバ3aを経由して前記第2NAT装置2bで受信される。そして、前記第2NAT装置2bは、受信した前記ACK(2)を前記SIP通信制御装置4に転送する。前記SIP通信制御装置4では、前記ACK(2)をACK(3)に変換して前記第2NAT装置2bに返却する(STEP6)。このとき、前記SIP通信制御装置4の経路情報管理手段403及びSDP情報管理手段404が持つ各管理テーブルは変更されず、図14(a)及び図14(b)に示すように、前記第2端末11bから応答メッセージ(200 OK)を送信したときに取得した経路情報及びSDP情報が保持されている。   The first NAT device 2a that has received the ACK (2) returned from the SIP communication control device 4 transmits the ACK (2) to the SIP server 3a. At this time, the transmitted ACK (2) is received by the second NAT device 2b via the SIP server 3a. Then, the second NAT device 2b transfers the received ACK (2) to the SIP communication control device 4. The SIP communication control device 4 converts the ACK (2) into ACK (3) and returns it to the second NAT device 2b (STEP 6). At this time, the management tables of the route information management unit 403 and the SDP information management unit 404 of the SIP communication control device 4 are not changed, and as shown in FIGS. 14 (a) and 14 (b), the second The path information and SDP information acquired when the response message (200 OK) is transmitted from the terminal 11b are held.

そして、前記SIP通信制御装置4から返却されたACK(3)を、前記第2NAT装置2bから前記第2端末11bに送信し、そのACK(3)を前記第2端末11bが受信すると、前記第1端末11aと前記第2端末11bの間で音声や映像等のメディアの送受信を行うことができるようになる。このとき、前記RTPによるメディアは、図15に示すように、前記第1VPN11内でルーティングされた通信経路により伝達することができるので、前記SIPサーバ3aを経由することによる伝送遅延や、前記各NAT装置2a,2bの負荷の増大を防ぐことができる。   Then, ACK (3) returned from the SIP communication control device 4 is transmitted from the second NAT device 2b to the second terminal 11b, and when the ACK (3) is received by the second terminal 11b, Media such as voice and video can be transmitted and received between the first terminal 11a and the second terminal 11b. At this time, as shown in FIG. 15, the media based on the RTP can be transmitted through a communication route routed in the first VPN 11, so that transmission delays caused by passing through the SIP server 3a, and the NATs. It is possible to prevent an increase in the load on the devices 2a and 2b.

こうして、図15に示したように、前記第1VPN11内でルーティングされた通信経路で行ったメディアの送受信(通話)を終了するときには、たとえば、図4に示したように、前記第1端末11aから通信終了を通知するメッセージ(BYE)を送信する。このとき、前記第1端末11aから発信されたBYE(1)は、前記第1NAT装置2a及び前記SIP通信制御装置4でBYE(2)に変換してSIPサーバ3aに送信し、前記SIPサーバ3a経由で前記BYE(2)を受信した前記第2NAT装置2bは、前記SIP通信制御装置4と連携して前記BYE(2)をBYE(3)に変換した後、前記第2端末11bに転送する。   Thus, as shown in FIG. 15, when the media transmission / reception (call) performed on the communication route routed in the first VPN 11 is terminated, for example, as shown in FIG. Send a message (BYE) to notify the end of communication. At this time, BYE (1) transmitted from the first terminal 11a is converted into BYE (2) by the first NAT device 2a and the SIP communication control device 4 and transmitted to the SIP server 3a, and the SIP server 3a. The second NAT device 2b that has received the BYE (2) via the URL converts the BYE (2) into BYE (3) in cooperation with the SIP communication control device 4, and then transfers the BYE (2) to the second terminal 11b. .

前記BYE(3)を受信した前記第2端末11bは、それに対する応答メッセージ(200 OK)を前記第1端末11aに送信する。このとき、前記第2NAT装置2bが、前記第2端末11bが発信した200 OK(1)を前記SIP通信制御装置4に転送すると、前記SIP通信制御装置4のアドレス等変換手段401は、図16(a)及び図16(b)に示すように、前記経路情報管理手段403及び前記SDP情報管理手段404が持つ各管理テーブルに登録された、経路情報及びSDP情報を削除する。そしてその後、前記200 OK(1)を200 OK(2)に変換して前記第2NAT装置2bに返却する(STEP7)。   The second terminal 11b that has received the BYE (3) transmits a response message (200 OK) to the second terminal 11b to the first terminal 11a. At this time, when the second NAT device 2b transfers 200 OK (1) transmitted by the second terminal 11b to the SIP communication control device 4, the address etc. conversion means 401 of the SIP communication control device 4 is shown in FIG. As shown in FIG. 16A and FIG. 16B, the route information and SDP information registered in the management tables of the route information management unit 403 and the SDP information management unit 404 are deleted. Thereafter, the 200 OK (1) is converted into 200 OK (2) and returned to the second NAT device 2b (STEP 7).

なお、本実施例では、正常シーケンスにおける経路情報および、変換前SDP情報の削除処理について説明したが、準正常シーケンスにおいてもSIP通信制御装置で従来機能として管理されている呼状態が削除されることを契機に、経路情報および、変換前SDP情報を削除すればよい。   In this embodiment, the route information in the normal sequence and the deletion process of the SDP information before conversion have been described. However, the call state managed as a conventional function in the SIP communication control device is also deleted in the semi-normal sequence. As a result, the route information and the SDP information before conversion may be deleted.

前記返却された200 OK(2)を受け取った前記第2NAT装置2bは、その200 OK(2)をSIPサーバ3aに送信する。そして、前記SIPサーバ3a経由で前記200 OK(2)を受信した第1NAT装置2aは、前記200 OK(2)を前記SIP通信制御装置4に転送し200 OK(3)に変換する(STEP8)。このとき、前記SIP通信制御装置4では、前記第1端末11aと前記第2端末11bの間での通信に関する経路情報及びSDP情報はすでに全て削除されているので、単純に200 OK(3)に変換して前記第1NAT装置2aに返却する。そして、返却された200 OK(3)が前記第1NAT装置2aから前記第1端末11aに転送されると、前記第1端末11aと前記第2端末11bの間の通信は完全に終了する。   The second NAT device 2b that has received the returned 200 OK (2) transmits the 200 OK (2) to the SIP server 3a. The first NAT device 2a that has received the 200 OK (2) via the SIP server 3a transfers the 200 OK (2) to the SIP communication control device 4 and converts it to 200 OK (3) (STEP 8). . At this time, in the SIP communication control device 4, since all the route information and SDP information relating to the communication between the first terminal 11a and the second terminal 11b have already been deleted, it is simply set to 200 OK (3). Convert and return to the first NAT device 2a. When the returned 200 OK (3) is transferred from the first NAT device 2a to the first terminal 11a, the communication between the first terminal 11a and the second terminal 11b is completely terminated.

以上説明したように、本実施例のSIP通信制御装置4を用いた通信ネットワークシステムによれば、アドレス体系が異なるネットワーク3上のSIPサーバ3aを経由してSIP通信を行う場合に、通信を行う端末同士が同一のネットワークに属していれば、メディアの送受信については、前記端末が属するネットワーク内のみで通信経路を設定することができる。そのため、メディアの伝送遅延や、NAT装置の負荷の増大を防ぐことができる。   As described above, according to the communication network system using the SIP communication control device 4 of the present embodiment, communication is performed when performing SIP communication via the SIP server 3a on the network 3 having a different address system. If the terminals belong to the same network, a communication path can be set only in the network to which the terminal belongs for media transmission / reception. Therefore, it is possible to prevent media transmission delay and increase of load on the NAT device.

以上、本発明を、前記実施例に基づき具体的に説明したが、本発明は、前記実施例に限定されるものではなく、その要旨を逸脱しない範囲において、種々変更可能であることはもちろんである。   The present invention has been specifically described above based on the above-described embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention. is there.

例えば、前記実施例では、端末11a,11bが属するネットワークをVPN11とし、前記SIPサーバ3aが属するネットワークをGlobalネットワーク3として説明したが、これに限らず、メディアの送受信を行う端末が属するネットワークのアドレス体系と、前記SIPサーバが属するネットワークのアドレス体系が異なり、前記SIPサーバを経由してSIPメッセージの送受信をするようなネットワークシステムであれば、各ネットワークはどのような構成であってもよい。   For example, in the above-described embodiment, the network to which the terminals 11a and 11b belong is described as VPN 11, and the network to which the SIP server 3a belongs is described as the Global network 3. However, the present invention is not limited to this. Each network may have any configuration as long as the system is different from the network address system to which the SIP server belongs and the SIP system transmits and receives SIP messages via the SIP server.

本発明による一実施例のSIP通信制御装置を用いた通信ネットワークシステムの概略構成を示す模式図である。It is a schematic diagram which shows schematic structure of the communication network system using the SIP communication control apparatus of one Example by this invention. 本実施例のSIP通信制御装置の概略構成及びSIPメッセージの送信手順を説明するための模式図である。It is a schematic diagram for demonstrating the schematic structure of the SIP communication control apparatus of a present Example, and the transmission procedure of a SIP message. 前記SIP通信制御装置が保持するNAT情報管理テーブルの一例を示す図である。It is a figure which shows an example of the NAT information management table which the said SIP communication control apparatus hold | maintains. 同一VPN内の端末間での通信の一例を説明するための模式図であり、通信のシーケンスを示す図である。It is a schematic diagram for demonstrating an example of the communication between the terminals in the same VPN, and is a figure which shows the sequence of communication. 同一VPN内の端末間での通信の一例を説明するための模式図であり、第1端末が発信した最初のINVITE(1)の一例を示す図である。It is a schematic diagram for demonstrating an example of the communication between the terminals in the same VPN, and is a figure which shows an example of the first INVITE (1) which the 1st terminal transmitted. 同一VPN内の端末間での通信の一例を説明するための模式図であり、アドレス等変換手段で行う処理手順の一例を示すフロー図である。It is a schematic diagram for demonstrating an example of the communication between the terminals in the same VPN, and is a flowchart which shows an example of the process sequence performed by address etc. conversion means. 同一VPN内の端末間での通信の一例を説明するための模式図であり、図7(a)は経路情報管理テーブルの一例を示す図、図7(b)はSDP情報管理テーブルの一例を示す図、図7(c)はINVITE(2)の一例を示す図である。FIG. 7A is a schematic diagram for explaining an example of communication between terminals in the same VPN, FIG. 7A is a diagram showing an example of a route information management table, and FIG. 7B is an example of an SDP information management table. FIG. 7C shows an example of INVITE (2). 同一VPN内の端末間での通信の一例を説明するための模式図であり、図8は第2NAT装置で受信したINVITE(2)の一例を示す図、図8(b)はINVITE(3)の一例を示す図である。FIG. 8 is a schematic diagram for explaining an example of communication between terminals in the same VPN, FIG. 8 is a diagram showing an example of INVITE (2) received by the second NAT device, and FIG. 8B is a diagram showing INVITE (3). It is a figure which shows an example. 同一VPN内の端末間での通信の一例を説明するための模式図であり、第2端末から第1端末に応答メッセージを送信したときのメッセージの経路を示す図である。It is a schematic diagram for demonstrating an example of communication between the terminals in the same VPN, and is a figure which shows the path | route of a message when a response message is transmitted from the 2nd terminal to the 1st terminal. 同一VPN内の端末間での通信の一例を説明するための模式図であり、第2端末が発信した最初の応答メッセージの一例を示す図である。It is a schematic diagram for demonstrating an example of the communication between the terminals in the same VPN, and is a figure which shows an example of the first response message which the 2nd terminal transmitted. 同一VPN内の端末間での通信の一例を説明するための模式図であり、図11(a)は経路情報管理テーブルの一例を示す図、図11(b)はSDP情報管理テーブルの一例を示す図、図11(c)は200 OK(2)の一例を示す図である。FIG. 11A is a schematic diagram for explaining an example of communication between terminals in the same VPN, FIG. 11A is a diagram showing an example of a route information management table, and FIG. 11B is an example of an SDP information management table. FIG. 11C shows an example of 200 OK (2). 同一VPN内の端末間での通信の一例を説明するための模式図であり、図12(a)は第1NAT装置で受信した200 OK(2)の一例を示す図、図12(b)は200 OK(3)の一例を示す図である。FIG. 12A is a schematic diagram for explaining an example of communication between terminals in the same VPN. FIG. 12A is a diagram showing an example of 200 OK (2) received by the first NAT device, and FIG. It is a figure which shows an example of 200 OK (3). 同一VPN内の端末間での通信の一例を説明するための模式図であり、図13(a)は不要となった経路情報を削除する例を示す図、図13(b)は不要となったSDP情報を削除する例を示す図である。FIG. 13 is a schematic diagram for explaining an example of communication between terminals in the same VPN. FIG. 13A is a diagram showing an example of deleting unnecessary route information, and FIG. 13B is unnecessary. It is a figure which shows the example which deletes the SDP information. 同一VPN内の端末間での通信の一例を説明するための模式図であり、図14(a)はメディアの送受信を開始したときの経路情報管理テーブルの一例を示す図、図14(b)はメディアの送受信が開始されたときのSDP情報管理テーブルの一例を示す図である。FIG. 14A is a schematic diagram for explaining an example of communication between terminals in the same VPN. FIG. 14A is a diagram showing an example of a route information management table when transmission / reception of media is started, and FIG. FIG. 10 is a diagram showing an example of an SDP information management table when transmission / reception of media is started. 同一VPN内の端末間での通信の一例を説明するための模式図であり、メディアの送受信を行っているときのネットワークの状態を示す図である。It is a schematic diagram for demonstrating an example of the communication between the terminals in the same VPN, and is a figure which shows the state of the network when performing transmission / reception of media. 同一VPN内の端末間での通信の一例を説明するための模式図であり、図16(a)は不要となった経路情報を削除する例を示す図、図16(b)は不要となったSDP情報を削除する例を示す図である。FIG. 16 is a schematic diagram for explaining an example of communication between terminals in the same VPN, FIG. 16A is a diagram showing an example of deleting unnecessary route information, and FIG. 16B is unnecessary. It is a figure which shows the example which deletes the SDP information.

符号の説明Explanation of symbols

11…第1VPN
11a…第1端末
11b…第2端末
12…第2VPN
12a…第3端末
2a…第1NAT装置
2b…第2NAT装置
2c…第3NAT装置
3…Globalネットワーク
3a…SIPサーバ
4…SIP通信制御装置
5…ゲートウェイ装置(GW装置)
6…電話網
6a…電話交換機
6b…電話機
11 ... 1st VPN
11a ... 1st terminal 11b ... 2nd terminal 12 ... 2nd VPN
12a ... 3rd terminal 2a ... 1st NAT device 2b ... 2nd NAT device 2c ... 3rd NAT device 3 ... Global network 3a ... SIP server 4 ... SIP communication control device 5 ... Gateway device (GW device)
6 ... Telephone network 6a ... Telephone exchange 6b ... Telephone

Claims (3)

2つ以上の端末及び2つ以上のNAT(Network Address Translation)装置が属する第1ネットワークの前記端末が、前記第1ネットワークのアドレス体系と異なるアドレス体系の第2ネットワークに属するSIP(Session Initiation Protocol)サーバを経由して前記第1ネットワークあるいは他のネットワークに属する端末との間でSIPメッセージの送受信を行うときに、前記NAT装置と連携して前記SIPメッセージに含まれるSDP(Session Description Protocol)のアドレス及びPort番号の変換を制御するALG(Application Level Gateway)機能を有するアドレス等変換手段を備えるSIP通信制御装置であって、
前記第1ネットワークの端末から前記NAT装置を介して前記SIPサーバにSIPメッセージを送信するときに、前記NAT装置から転送されたSIPメッセージを解析し、前記端末が属するネットワークの情報を管理する経路情報管理手段、及び前記SIPメッセージに含まれるSDPの変換前の情報を管理するSDP情報管理手段を備え、
前記アドレス等変換手段は、前記SIPサーバを経由して送信されたSIPメッセージを前記NAT装置を介して前記第1ネットワークの端末に送信するときに、前記経路情報管理手段により前記SIPメッセージを発信した端末が属するネットワークを特定する手段と、前記SIPメッセージを受信する端末が属するネットワークを特定し、前記SIPメッセージを発信した端末が属するネットワークと比較する手段と、前記SIPメッセージを発信した端末が属するネットワークと受信する端末が属するネットワークが同一の場合に、前記SIPメッセージに含まれる前記SDPの情報を、前記SDP管理手段で管理する変換前の情報に再変換する手段とを備えることを特徴とするSIP通信制御装置。
SIP (Session Initiation Protocol) in which the terminal of the first network to which two or more terminals and two or more NAT (Network Address Translation) devices belong belongs to a second network having an address system different from the address system of the first network When a SIP message is transmitted / received to / from a terminal belonging to the first network or another network via a server, an address of an SDP (Session Description Protocol) included in the SIP message in cooperation with the NAT device And a SIP communication control device including address conversion means having an ALG (Application Level Gateway) function for controlling the conversion of the port number,
When transmitting a SIP message from the terminal of the first network to the SIP server via the NAT device, path information for analyzing the SIP message transferred from the NAT device and managing information of the network to which the terminal belongs Management means, and SDP information management means for managing information before conversion of SDP included in the SIP message,
The address conversion unit transmits the SIP message by the route information management unit when transmitting the SIP message transmitted via the SIP server to the terminal of the first network via the NAT device. Means for identifying a network to which the terminal belongs; means for identifying a network to which the terminal that receives the SIP message belongs; and means for comparing with a network to which the terminal that has transmitted the SIP message belongs; and a network to which the terminal that has transmitted the SIP message belongs And a means for reconverting the information of the SDP included in the SIP message into the information before conversion managed by the SDP management means when the receiving terminals belong to the same network. Communication control device.
前記経路情報管理手段及び前記SDP情報管理手段は、前記SIPメッセージのCall-IDをキー情報として前記ネットワークの情報あるいは前記変換前のSDP情報と対応づけて管理する手段であり、
前記SIPメッセージを発信した端末が属するネットワークを特定する手段は、前記SIPメッセージのCall-IDをキー情報として前記経路情報管理手段を検索する手段であることを特徴とする請求項1に記載のSIP通信制御装置。
The route information management means and the SDP information management means are means for managing the Call message ID of the SIP message in association with the network information or the SDP information before conversion as key information,
2. The SIP according to claim 1, wherein the means for identifying the network to which the terminal that has transmitted the SIP message belongs is a means for searching the route information management means using the Call-ID of the SIP message as key information. Communication control device.
前記アドレス等変換手段は、前記SIPメッセージのSDPの情報を変換するときに、前記キー情報となる前記SIPメッセージのCall-IDを、独自SIPヘッダとして前記SIPメッセージに挿入する手段を備え、
前記SIPメッセージを発信した端末が属するネットワークを特定する手段は、前記SIPメッセージから取得した前記独自SIPヘッダをキー情報として前記経路情報管理端末を検索する手段であることを特徴とする請求項2に記載のSIP通信制御装置。
The address conversion means includes means for inserting the SIP message Call-ID as the key information into the SIP message as a unique SIP header when converting the SDP information of the SIP message,
The means for specifying a network to which a terminal that has transmitted the SIP message belongs is a means for searching the route information management terminal using the unique SIP header acquired from the SIP message as key information. The SIP communication control device described.
JP2004004317A 2004-01-09 2004-01-09 SIP communication control device Expired - Lifetime JP3980562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004004317A JP3980562B2 (en) 2004-01-09 2004-01-09 SIP communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004004317A JP3980562B2 (en) 2004-01-09 2004-01-09 SIP communication control device

Publications (2)

Publication Number Publication Date
JP2005198181A true JP2005198181A (en) 2005-07-21
JP3980562B2 JP3980562B2 (en) 2007-09-26

Family

ID=34818967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004004317A Expired - Lifetime JP3980562B2 (en) 2004-01-09 2004-01-09 SIP communication control device

Country Status (1)

Country Link
JP (1) JP3980562B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103990A (en) * 2005-09-30 2007-04-19 Fujitsu Ltd Sip filtering gateway, sip filtering method, and sip filtering program
JP2009033258A (en) * 2007-07-24 2009-02-12 Nippon Telegr & Teleph Corp <Ntt> Communication device, communication method, and communication program
JP2009510873A (en) * 2005-09-30 2009-03-12 ノキア コーポレイション Method and apparatus for instant messaging
JP2009239677A (en) * 2008-03-27 2009-10-15 Nippon Telegr & Teleph Corp <Ntt> Sip communication system including multiple alg devices, sip communication method, and program for sip communication
JP2010193094A (en) * 2009-02-17 2010-09-02 Oki Networks Co Ltd Communication relay device, program, method, and network system
US8711877B2 (en) 2008-11-17 2014-04-29 Oki Electric Industry Co., Ltd. Apparatus and method for connection control with media negotiation successful on different media formats

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103990A (en) * 2005-09-30 2007-04-19 Fujitsu Ltd Sip filtering gateway, sip filtering method, and sip filtering program
JP2009510873A (en) * 2005-09-30 2009-03-12 ノキア コーポレイション Method and apparatus for instant messaging
JP4579119B2 (en) * 2005-09-30 2010-11-10 富士通株式会社 SIP filtering gateway, SIP filtering method, and SIP filtering program
US8204932B2 (en) 2005-09-30 2012-06-19 Nokia Corporation Method and apparatus for instant messaging
JP2009033258A (en) * 2007-07-24 2009-02-12 Nippon Telegr & Teleph Corp <Ntt> Communication device, communication method, and communication program
JP2009239677A (en) * 2008-03-27 2009-10-15 Nippon Telegr & Teleph Corp <Ntt> Sip communication system including multiple alg devices, sip communication method, and program for sip communication
US8711877B2 (en) 2008-11-17 2014-04-29 Oki Electric Industry Co., Ltd. Apparatus and method for connection control with media negotiation successful on different media formats
JP2010193094A (en) * 2009-02-17 2010-09-02 Oki Networks Co Ltd Communication relay device, program, method, and network system

Also Published As

Publication number Publication date
JP3980562B2 (en) 2007-09-26

Similar Documents

Publication Publication Date Title
US8340089B2 (en) Apparatus and method for managing data transfer in VoIP gateway
US7257837B2 (en) Firewall penetration system and method for real time media communications
JP5363461B2 (en) Group call function inquiry
EP2018756B1 (en) Address translation in a communication system
DE602004015814D1 (en) EXCHANGE PROTOCOL FOR COMBINATIVE MULTIMEDIA SERVICES
JP2006087133A (en) SESSION QoS CONTROL APPARATUS
JP4940335B2 (en) Telephone exchange apparatus, telephone terminal, and control method used in telephone system
US8891388B2 (en) Path node determining method, media path establishing method, and signaling media gateway
JP6880421B2 (en) Communication method, communication device and communication system
JP3854221B2 (en) ALG device that can acquire and calculate the lifetime of the address set
JP3980562B2 (en) SIP communication control device
JP4795027B2 (en) Communication apparatus and communication system
EP1962464A1 (en) Method, communication system and entity for overlap code sending using session initiation protocol
JP3889003B2 (en) Call-related resource management method of SIP-ALG corresponding to multiple NAT / FW device connection and SIP-ALG
JP4462787B2 (en) Call recording system for IP phone system
JP2008258917A (en) Identical nat subordinate communication control system, nat device, identical nat subordinate communication control method, and program
US20180159823A1 (en) Network address translation server and network address translation method thereof
JP2007251612A (en) Ip telephone exchange, and method for roaming between ip telephone exchanges
JP2005159431A (en) Signaling method, and server and gateway terminal
JP4070655B2 (en) Media communication method and media communication system
JP2004254010A (en) Sip communication controlling apparatus
JP2006287697A (en) Ip centrex system
JP4372629B2 (en) SIP communication control apparatus for performing FW control and FW control method thereof
JP4131954B2 (en) SIP-ALG call state management method
JP4555005B2 (en) Protocol conversion server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070627

R150 Certificate of patent or registration of utility model

Ref document number: 3980562

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term