JP5640764B2 - Signal processing apparatus and program - Google Patents
Signal processing apparatus and program Download PDFInfo
- Publication number
- JP5640764B2 JP5640764B2 JP2011011968A JP2011011968A JP5640764B2 JP 5640764 B2 JP5640764 B2 JP 5640764B2 JP 2011011968 A JP2011011968 A JP 2011011968A JP 2011011968 A JP2011011968 A JP 2011011968A JP 5640764 B2 JP5640764 B2 JP 5640764B2
- Authority
- JP
- Japan
- Prior art keywords
- sip
- sip message
- uri
- communication device
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
この発明は、信号処理装置及びプログラムに関し、例えば、SIP(Session Initiation Protocol)に対応したネットワークに配置するSIP−ALG(SIP Application Level Gateway)装置に適用することができる。 The present invention relates to a signal processing device and a program, and can be applied to, for example, a SIP-ALG (SIP Application Level Gateway) device arranged in a network corresponding to SIP (Session Initiation Protocol).
従来、SIP(非特許文献1、2)に対応した複数のネットワークの間を、接続をさせるSIP−ALGにおいて、SIPメッセージの送信先に合わせて、そのSIPメッセージに含まれるURI(Uniform Resource Identifier)のスキームを変更する技術としては、特許文献1に記載の技術がある。 Conventionally, in SIP-ALG that connects a plurality of networks corresponding to SIP (Non-Patent Documents 1 and 2), a URI (Uniform Resource Identifier) included in the SIP message is matched to the destination of the SIP message. As a technique for changing the scheme, there is a technique described in Patent Document 1.
特許文献1の記載技術では、SIPメッセージを変換する際に、SIPのリクエストメッセージを受信したときに特殊なパラメータがメッセージ内に付与されているかどうか判断し、条件に一致した場合にスキームを変換するような構成であった。 In the technology described in Patent Document 1, when a SIP message is converted, it is determined whether a special parameter is given in the message when the SIP request message is received, and the scheme is converted when the condition is met. It was a configuration like this.
特許文献1では、自網内の端末へ着信させる場合におけるUNI(User−Network Interface)接続構成におけるスキーム変換機能について記載されているが、NNI(Network−Network Interface)構成は対象としていない。さらに、特許文献1に記載されたスキーム変換機能は、対象がRequest−lineヘッダに限定されているため、その他のURIを含むヘッダ(Toヘッダ、Fromヘッダ、P−Asserted−Identityヘッダ、P−Preffered−Identityヘッダ等)のスキームに関しては考慮されていない。 Patent Document 1 describes a scheme conversion function in a UNI (User-Network Interface) connection configuration when receiving a call to a terminal in its own network, but does not target an NNI (Network-Network Interface) configuration. Furthermore, since the target of the scheme conversion function described in Patent Document 1 is limited to the Request-line header, headers including other URIs (To header, From header, P-Asserted-Identity header, P-Preferred header) are included. -The scheme of Identity header etc.) is not considered.
SIP−ALG装置をNNI接続構成とした場合の役割は、別のネットワーク(SIP−ALG装置は自身のネットワークに配置されているものとする)とのSIPの差分を吸収し、各ネットワークのルールに従い適切にSIPメッセージを生成し転送することである。例えば、Request−LineヘッダのURIのスキーム(メッセージ内でのURI等の書式)がTEL−URI(Telephone−Subscriber)形式で扱うネットワークなのか、SIP−URI形式で扱うネットワークなのかでSIPリクエストの送信先を決定する方式に差異が発生するケースがある。 When the SIP-ALG device has an NNI connection configuration, the role of the SIP-ALG device is to absorb the SIP difference with another network (the SIP-ALG device is located in its own network) and follow the rules of each network. Properly generate and forward SIP messages. For example, a SIP request is transmitted depending on whether the URI scheme (format such as URI in the message) of the Request-Line header is a network handled in TEL-URI (Telephone-Subscriber) format or a network handled in SIP-URI format. There are cases where differences occur in the method of determining the destination.
Request−LineヘッダのURIがTEL−URI形式の場合は、その対地番号(電話番号)で送信先を決定する方式が一般的であり、Request−LineヘッダのURIがSIP−URI形式の場合は、そこに含まれるドメイン名やホスト名で送信先を決定する方式が適用されることもある。このためSIP−ALG装置は対向装置へSIPリクエストを送信する際、どちらかに対応したSIPメッセージを生成して転送する必要がある。さらに、SIPメッセージを扱う接続先サーバによっては、Request−Lineヘッダ以外にもToヘッダやFromヘッダがSIP−URI形式あるいはTEL−URI形式のメッセージしか読み取れない場合もあり、ネットワーク間をまたぐSIP−ALG装置においては、SIP−URIとTEL−URI変換の方式を実装させることが重要である。 When the URI of the Request-Line header is in the TEL-URI format, a method of determining the transmission destination by the ground number (telephone number) is general, and when the URI of the Request-Line header is in the SIP-URI format, There is a case where a method of determining a transmission destination by a domain name or a host name included therein is applied. For this reason, when the SIP-ALG apparatus transmits a SIP request to the opposite apparatus, it is necessary to generate and transfer a SIP message corresponding to either one. Furthermore, depending on the connection destination server that handles the SIP message, the To header and From header may be able to read only the SIP-URI format or TEL-URI format message in addition to the Request-Line header. In the device, it is important to implement the SIP-URI and TEL-URI conversion methods.
上述のような問題に鑑みて、転送するSIPメッセージを処理する際に、SIPメッセージを転送先で処理可能な形式に変換することができる信号処理装置(例えば、SIP−ALG装置等)、及び信号処理プログラムが望まれている。 In view of the above problems, when processing a SIP message to be transferred, a signal processing device (for example, a SIP-ALG device) that can convert the SIP message into a format that can be processed at the transfer destination, and a signal A processing program is desired.
第1の本発明は、送信元の通信装置から送信先の通信装置へ向けて送出されたSIPメッセージを受信して処理し、送信先の通信装置へ向けて送出する信号処理装置において、(1)当該信号処理装置がSIPメッセージを処理して、送信先の通信装置へ向けて送出する際の最初の転送先の対象となり得る通信装置のそれぞれについて、対応するSIPメッセージの記述形式に係る情報を保持する通信装置情報保持手段と、(2)上記通信装置情報保持手段が保持している情報に従って、受信したSIPメッセージに含まれている最初の送信先情報に基づき転送先を特定し、受信したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置が処理可能な形式に変換するメッセージ変換手段と、(3)上記メッセージ変換手段が変換したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置に送信する送信手段とを有し、(4)上記通信装置情報保持手段が保持する情報には、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIに係るスキームの種別の情報が含まれており、(5)上記メッセージ変換手段は、受信したSIPメッセージに含まれるURIを、当該SIPメッセージに係る最初の転送先の通信装置が対応するスキームに変換し、(6)上記通信装置情報保持手段が保持する情報には、さらに、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIを構成するドメイン名の情報が含まれており、(7)上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するドメイン名の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応するドメイン名とする処理を行うことを特徴とする。
According to a first aspect of the present invention, there is provided a signal processing device that receives and processes a SIP message transmitted from a transmission source communication device to a transmission destination communication device, and transmits the SIP message to the transmission destination communication device. ) For each communication device that can be the target of the first transfer destination when the signal processing device processes the SIP message and sends it to the destination communication device, information on the description format of the corresponding SIP message is provided. A communication device information holding means to hold, and (2) a transfer destination is identified and received based on the first transmission destination information included in the received SIP message in accordance with the information held by the communication device information holding means. Message conversion means for converting the SIP message into a format that can be processed by the first transfer destination communication device related to the SIP message; and (3) the message conversion unit. SIP messages but converted, and a transmitting means for transmitting to the first destination of the communication device relating to the SIP message, (4) the information which the communication device information holding means for holding the above-mentioned transfer destination object Each of the possible communication devices includes information on the type of scheme related to the URI of the corresponding SIP message, and (5) the message conversion means converts the URI included in the received SIP message into the SIP message (6) The information held by the communication device information holding unit further includes a SIP message corresponding to each of the communication devices that can be the target of the transfer destination. (7) the message conversion means further includes the received SIP message. The part of the domain name which constitutes the URI included in the over-di, the first destination of the communication device relating to the SIP message and performs processing for a corresponding domain name.
第2の本発明の信号処理プログラムは、(1)送信元の通信装置から送信先の通信装置へ向けて送出されたSIPメッセージを受信して処理し、送信先の通信装置へ向けて送出する信号処理装置に搭載されたコンピュータを、(2)当該信号処理装置がSIPメッセージを処理して、送信先の通信装置へ向けて送出する際の最初の転送先の対象となり得る通信装置のそれぞれについて、対応するSIPメッセージの記述形式に係る情報を保持する通信装置情報保持手段と、(3)上記通信装置情報保持手段が保持している情報に従って、受信したSIPメッセージに含まれている最初の送信先情報に基づき転送先を特定し、受信したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置が処理可能な形式に変換するメッセージ変換手段と、(4)上記メッセージ変換手段が変換したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置に送信する送信手段として機能させ、(5)上記通信装置情報保持手段が保持する情報には、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIに係るスキームの種別の情報が含まれており、(6)上記メッセージ変換手段は、受信したSIPメッセージに含まれるURIを、当該SIPメッセージに係る最初の転送先の通信装置が対応するスキームに変換し、(7)上記通信装置情報保持手段が保持する情報には、さらに、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIを構成するドメイン名の情報が含まれており、(8)上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するドメイン名の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応するドメイン名とする処理を行うることを特徴とする。 The signal processing program of the second aspect of the present invention (1) receives and processes a SIP message sent from a transmission source communication device to a transmission destination communication device, and sends it to the transmission destination communication device. (2) For each communication device that can be the target of the first transfer destination when the signal processing device processes the SIP message and sends it to the destination communication device. A communication device information holding means for holding information relating to the description format of the corresponding SIP message, and (3) an initial transmission included in the received SIP message according to the information held by the communication device information holding means identifying a transfer destination on the basis of the above information, converts the SIP message received, the first transfer destination communication device can process formats relating to the SIP message message And over di conversion means (4) a SIP message in which the message conversion means is converted, to function as a transmitting means for transmitting to the first destination of the communication device relating to the SIP message, (5) the communication device information holding means Includes information on the type of scheme related to the URI of the SIP message corresponding to each of the communication devices that can be the target of the transfer destination. (6) The message conversion means receives the received SIP The URI included in the message is converted into a scheme corresponding to the first transfer destination communication device related to the SIP message. (7) The information held by the communication device information holding means further includes the target of the transfer destination. Each of the possible communication devices includes information on the domain name that constitutes the URI of the corresponding SIP message. (8) Message conversion means further characterized Rukoto performing part of the domain name which constitutes the URI included in the SIP message received, processing the first destination of the communication device relating to the SIP message with the corresponding domain name And
本発明によれば、転送するSIPメッセージを処理する際に、SIPメッセージを転送先で処理可能な形式に変換可能することができる信号処理装置を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, when processing the SIP message to transfer, the signal processing apparatus which can convert a SIP message into the format which can be processed in a transfer destination can be provided.
(A)主たる実施形態
以下、本発明による信号処理装置及びプログラムの一実施形態を、図面を参照しながら詳述する。なお、この実施形態では、本発明の信号処理装置をSIP−ALG装置に適用した場合の例について説明している。
(A) Main Embodiment Hereinafter, an embodiment of a signal processing device and a program according to the present invention will be described in detail with reference to the drawings. In this embodiment, an example in which the signal processing device of the present invention is applied to a SIP-ALG device is described.
(A−1)実施形態の構成
図2は、この実施形態のSIP−ALG装置10が配置されたネットワークシステム1の全体構成を示すブロック図である。
(A-1) Configuration of Embodiment FIG. 2 is a block diagram showing the overall configuration of the network system 1 in which the SIP-
ネットワークシステム1には、3つのネットワークNA、NB、NCが配置されているものとする。そして、図2では、ネットワークNAには、SIPサーバ20−1が配置されており、ネットワークNBには、SIPサーバ20−2が配置されており、NCには、SIPサーバ20−3が配置されている。なお、ネットワークシステム1に配置されるネットワークの数やネットワーク構成、SIPサーバの数は限定されないものである。 Assume that the network system 1 includes three networks NA, NB, and NC. In FIG. 2, the SIP server 20-1 is arranged in the network NA, the SIP server 20-2 is arranged in the network NB, and the SIP server 20-3 is arranged in the NC. ing. The number of networks arranged in the network system 1, the network configuration, and the number of SIP servers are not limited.
そして、ネットワークNA、NB、NCの間にSIP−ALG装置10が配置されており、SIP−ALGとして機能しているものとする。SIP−ALG装置10によりこれらのネットワークは終端され、ネットワーク間の通信についてSIPメッセージ等の中継が行われる。また、SIP−ALG装置10は、SIPメッセージ中継の際に、中継するSIPメッセージと、転送先のSIPサーバとで、SIPメッセージを構成するURIのスキームが異なる場合等には、転送先のSIPサーバ20で処理可能な形式に変換して、送出する処理を行う。
It is assumed that the SIP-
また、各SIPサーバ20は、例えば、図示しない配下のSIP端末や、同一ネットワーク内の他のSIPサーバから受信したSIPメッセージ(INVITEメッセージ等)を処理して、他のネットワークのSIPサーバ20に転送する必要がある場合に、SIP−ALG装置10を介して当該SIPメッセージを転送する場合もあるものとする。また、各SIPサーバ20は、SIP−ALG装置10から転送されてきたSIPメッセージを処理して、図示しない配下のSIP端末や他のSIPサーバに転送する場合もあるものとする。なお、各SIPサーバ20としては、既存のものを適用することができるので、詳しい説明を省略する。
Each SIP server 20 processes, for example, a SIP message (INVITE message or the like) received from a subordinate SIP terminal (not shown) or another SIP server in the same network, and forwards it to the SIP server 20 of another network. It is assumed that the SIP message may be transferred via the SIP-
さらに、ネットワークNA、NBでは、SIPメッセージを構成するURIのスキームとしてSIP−URI形式が採用されているものとする。また、ネットワークNCでは、SIPメッセージを構成するURIのスキームとしてTEL−URIが採用されているものとする。すなわち、SIP−ALG装置10は、いずれかのネットワークのSIPサーバ20から受信したSIPメッセージについて、次の転送先のSIPサーバ20で採用される形式に変換する処理(少なくとも転送先で採用されるスキームに合わせて変換する処理を含む)を行い、さらに、転送先のSIPサーバ20へ向けて送出する処理を行う。
Furthermore, it is assumed that the network NA, NB adopts the SIP-URI format as a URI scheme constituting the SIP message. In the network NC, it is assumed that a TEL-URI is adopted as a URI scheme constituting the SIP message. That is, the SIP-
図1は、SIP−ALG装置10の機能的構成について示したブロック図である。
FIG. 1 is a block diagram showing a functional configuration of the SIP-
SIP−ALG装置10は、制御部11、スキーム変換対応テーブル12、及びメッセージ処理部13を有している。図1では、図示を省略しているが、SIP−ALG装置10は、ネットワークに接続するためのインタフェース等、既存のSIP−ALG装置10と同様のその他の構成も備えているものとする。
The SIP-
SIP−ALG装置10は、プロセッサ及びネットワークへ接続するためのインタフェースを有する情報処理装置(1台に限定されず、複数台を分散処理し得るようにしたものであっても良い。)上に、実施形態の信号処理プログラムをインストールすることにより、構築するようにしても良いが、その場合でも機能的には図1のように表すことができる。
The SIP-
制御部11は、SIP−ALG装置10の装置全体を制御する機能を担っている。
The control unit 11 has a function of controlling the entire SIP-
メッセージ処理部13は、SIP−ALG装置10に与えられたSIPメッセージ(INVITEメッセージ等)について変換処理等の処理を行い、転送先に向けて送出する。メッセージ処理部13では、SIPメッセージを受信すると、例えば、既存のSIPサーバと同様の処理により、受信したSIPメッセージの次の転送先(最初の転送先)を決定し、処理したSIPメッセージを転送先へ向けて送出する。
The
また、メッセージ処理部13は、変換処理部14を有している。メッセージ処理部13では、受信したSIPメッセージの内容について、送信先に応じて必要な場合変換処理部14を用いて変換する処理を行う。なお、メッセージ処理部13によるSIPメッセージの処理は、変換処理部14による変換処理以外については、既存のSIP−ALG装置と同様の処理を適用することができる。
The
変換処理部14は、メッセージ処理部13に供給されたSIPメッセージを、送信先に応じて、スキーム変換対応テーブル12の内容に従い変換処理する。
The
次に、各SIPサーバ20で送信されるSIPメッセージを構成するURIの記述形式の例について説明する。 Next, an example of the description format of the URI constituting the SIP message transmitted by each SIP server 20 will be described.
SIP−URIに対応するSIPサーバ20が対応するSIPメッセージを構成するURIは、例えば、「sip:05022222222@domain.com」のような形式で記述されるものとする。「sip:」は当該URIの対応するスキームがSIP−URIであることを示している。また、「sip:」に続く「05022222222」は、電話番号を示しており、当該URIにおけるユーザ識別子(ユーザID)に相当する。なお、ここでは、SIP−URIのスキームに対応したURIの例では、電話番号をそのままユーザ識別子として用いている場合を示しているが、電話番号以外の任意の文字列をユーザ識別子として用いるようにしても良い。そして、電話番号に続く「@」で仕切られた後の「domain.com」は、当該URIに係るドメイン名を示している。 It is assumed that the URI constituting the SIP message corresponding to the SIP server 20 corresponding to the SIP-URI is described in a format such as “sip: 05022222222@domain.com”, for example. “Sip:” indicates that the corresponding scheme of the URI is SIP-URI. In addition, “05022222222” following “sip:” indicates a telephone number and corresponds to a user identifier (user ID) in the URI. Here, in the example of the URI corresponding to the SIP-URI scheme, a case is shown in which a telephone number is used as a user identifier as it is, but an arbitrary character string other than the telephone number is used as a user identifier. May be. Then, “domain.com” after being partitioned by “@” following the telephone number indicates the domain name related to the URI.
また、SIP−TELに対応するSIPサーバが送信するSIPメッセージを構成するURIは、例えば、「tel:05022222222」のような形式で記述されるものとする。「tel:」は当該URIの対応するスキームがTEL−URIであることを示している。また、「tel:」に続く「05022222222」は、電話番号を示しており、当該URIにおけるユーザ識別子(ユーザID)に相当する。なお、TEL−URIでは、通常SIP−URIのようにURIに「@ドメイン名」の記述は含まれない。 Further, it is assumed that the URI constituting the SIP message transmitted by the SIP server corresponding to the SIP-TEL is described in a format such as “tel: 05022222222”, for example. “Tel:” indicates that the corresponding scheme of the URI is TEL-URI. In addition, “05022222222” following “tel:” indicates a telephone number and corresponds to a user identifier (user ID) in the URI. In the TEL-URI, the description of “@domain name” is not included in the URI unlike the normal SIP-URI.
SIPサーバで送信されるSIPメッセージを構成するURIは、以上のような記述形式となっており、変換処理部14は、転送先のSIPサーバに合わせた記述形式にあわせた変換を行う。
The URI constituting the SIP message transmitted by the SIP server has the description format as described above, and the
スキーム変換対応テーブル12は、変換処理部14によりSIPメッセージ変換処理が行われる際に参照されるテーブルであり、各SIPサーバ20が対応するSIPメッセージを構成するURIの記述形式に関する情報が登録されている。
The scheme conversion correspondence table 12 is a table that is referred to when the SIP message conversion processing is performed by the
図3は、スキーム変換対応テーブル12に登録される情報の例について示した説明図である。 FIG. 3 is an explanatory diagram showing an example of information registered in the scheme conversion correspondence table 12.
図3に示すように、スキーム変換対応テーブル12には、SIPメッセージの転送先の対象となり得るSIPサーバ20ごとに、URIの記述形式に係る情報として、送信先SIPサーバ名、スキーム、ドメイン名、番号フォーマットの項目の情報が登録されている。図3では、1行で、一つのSIPサーバに関する情報が記述されている。 As shown in FIG. 3, in the scheme conversion correspondence table 12, for each SIP server 20 that can be a transfer destination of a SIP message, as information related to a URI description format, a destination SIP server name, a scheme, a domain name, Number format item information is registered. In FIG. 3, one line describes information related to one SIP server.
「送信先SIPサーバ名」の項目は、当該SIPサーバ20の識別子を示す情報である。送信先SIPサーバ名の形式は、SIPサーバ20を識別することができる形式であれば限定されないものであるが、例えば、SIP−ALG装置10から当該SIPサーバ20へアクセスするためのIPアドレスやホスト名等を適用するようにしても良い。
The item “destination SIP server name” is information indicating the identifier of the SIP server 20. The format of the destination SIP server name is not limited as long as the SIP server 20 can be identified. For example, the IP address or host for accessing the SIP server 20 from the SIP-
なお、図3及び以下では、説明を簡易にするために、SIPサーバ20−1のホスト名(識別子)を「SIPサーバ1」、SIPサーバ20−2のホスト名を「SIPサーバ2」、SIPサーバ20−3のホスト名を「SIPサーバ3」と表わすものとする。 In FIG. 3 and the following, in order to simplify the description, the host name (identifier) of the SIP server 20-1 is “SIP server 1”, the host name of the SIP server 20-2 is “SIP server 2”, SIP The host name of the server 20-3 is represented as “SIP server 3”.
「スキーム」の項目は、当該SIPサーバ20が対応するURIのスキームを示す情報である。ここでは、スキームの項目には、SIP−URIを示す「SIP」、又は、TEL−URIを示す「TEL」のいずれかが登録されるものとする。 The item “scheme” is information indicating a URI scheme corresponding to the SIP server 20. Here, “SIP” indicating SIP-URI or “TEL” indicating TEL-URI is registered in the scheme item.
ここでは、図3に示すように、SIPサーバ1(SIPサーバ20−1)及びSIPサーバ2(SIPサーバ20−2)のスキームは「SIP」、SIPサーバ3(SIPサーバ20−3)のスキームは「TEL」と登録されている。 Here, as shown in FIG. 3, the scheme of the SIP server 1 (SIP server 20-1) and the SIP server 2 (SIP server 20-2) is “SIP”, and the scheme of the SIP server 3 (SIP server 20-3). Is registered as “TEL”.
「ドメイン名」の項目は、当該SIPサーバ20が対応するURIの記述に用いるドメイン名を示す情報である。 The item “domain name” is information indicating a domain name used for describing a URI corresponding to the SIP server 20.
ここでは、図3に示すように、SIPサーバ1(SIPサーバ20−1)のドメイン名は「domain.com」、SIPサーバ2(SIPサーバ20−2)のドメイン名は「domain.net」と登録されているものとする。 Here, as shown in FIG. 3, the domain name of the SIP server 1 (SIP server 20-1) is “domain.com”, and the domain name of the SIP server 2 (SIP server 20-2) is “domain.net”. It shall be registered.
なお、ここでは、スキームが「TEL」の場合には、仕様上URIの記述にドメイン名が不要であるため、空欄を示す「−」が登録されるものとする。SIPサーバ3(SIPサーバ20−3)はスキームがTELであるため、図3に示すように、ドメイン名の項目には空欄を示す「−」が登録されている。 Here, when the scheme is “TEL”, a domain name is not required in the description of the URI because of the specification, and therefore “−” indicating a blank is registered. Since the scheme of the SIP server 3 (SIP server 20-3) is TEL, "-" indicating a blank is registered in the domain name item as shown in FIG.
「番号フォーマット」の項目は、当該SIPサーバ20が対応するURIの記述で用いる電話番号(ユーザ識別子)のフォーマット(記述形式)について示している。 The item “number format” indicates the format (description format) of the telephone number (user identifier) used in the description of the URI corresponding to the SIP server 20.
次に、ネットワークシステム1において用いられる電話番号のフォーマットについて説明する。 Next, the format of the telephone number used in the network system 1 will be described.
既存の電話番号の形式としては、例えば、ITU−T E.164で定義された形式がある。E.164は、ITU−Tによる公衆交換電話網などの電話網の電話番号計画に関する勧告であり、頭に「+」及び国番号が表記された形式が採用されている。日本に対しては、国番号として81が付与されており、E.164の形式で日本の公衆電話網における電話番号を表記する場合には、電話番号が「+81」から始まる番号となる。一方、日本国内の公衆電話網では、E.164の形式ではなく「0」から始まる番号となっている。 Examples of the existing telephone number format include ITU-T E.E. There is a format defined in 164. E. 164 is a recommendation regarding a telephone number plan for a telephone network such as a public switched telephone network by ITU-T, and a format in which “+” and a country code are written at the beginning is adopted. For Japan, 81 is assigned as the country code. When a telephone number in the Japanese public telephone network is expressed in the format of 164, the telephone number starts with “+81”. On the other hand, in the public telephone network in Japan, E.I. The number starts with “0” instead of the format of 164.
ここでは、各SIPサーバ20では、対応する電話番号のフォーマットとして、上述のE.164又は、日本国内の形式(「0」から始まる番号)のいずれかが採用されているものとする。なお、SIPサーバ20で採用する電話番号のフォーマットの種類や数については上述のものに限定されないものである。 Here, in each SIP server 20, the above-mentioned E.P. It is assumed that either 164 or a Japanese format (a number starting from “0”) is adopted. Note that the type and number of telephone number formats employed by the SIP server 20 are not limited to those described above.
そして、スキーム変換対応テーブル12において「番号フォーマット」の項目には、E.164のフォーマットに対応していることを示す「E.164」又は、日本国内のフォーマットに対応していることを示す「国内」のいずれかが登録されるものとする。 The item “number format” in the scheme conversion correspondence table 12 includes E.E. It is assumed that either “E.164” indicating that the format is compatible with the format 164 or “domestic” indicating that the format is compatible with the domestic format is registered.
そして、ここでは、図3に示すように、SIPサーバ1(SIPサーバ20−1)及びSIPサーバ2(SIPサーバ20−2)の番号フォーマットは「国内」、SIPサーバ3(SIPサーバ20−3)の番号フォーマットは「E.164」と登録されているものとする。 Here, as shown in FIG. 3, the number format of the SIP server 1 (SIP server 20-1) and the SIP server 2 (SIP server 20-2) is “domestic”, and the SIP server 3 (SIP server 20-3). ) Is registered as “E.164”.
(A−2)実施形態の動作
次に、以上のような構成を有するこの実施形態のネットワークシステム1におけるSIP−ALG装置10の動作を説明する。
(A-2) Operation of Embodiment Next, the operation of the SIP-
ここでは、まず、SIP−ALG装置10のメッセージ処理部13(変換処理部14)の動作の概要について説明した後、SIPメッセージ処理の具体例について説明する。なお、以下では、SIP−ALG装置10がINVITEメッセージについて処理する場合を例として説明するが、他のURIの記述を含むSIPメッセージについても同様の処理であるため説明を省略する。
Here, first, an outline of the operation of the message processing unit 13 (conversion processing unit 14) of the SIP-
図4は、SIP−ALG装置10が、SIPメッセージ(INVITEメッセージ)を受信した場合の動作について示したフローチャートである。
FIG. 4 is a flowchart showing the operation when the SIP-
ここでは、まず、SIP−ALG装置10のメッセージ処理部13に、SIPサーバ20−1からのINVITEメッセージが与えられたものとする(S101)。
Here, first, it is assumed that the INVITE message from the SIP server 20-1 is given to the
そして、メッセージ処理部13では、そのINVITEメッセージの内容等から、次の転送先(最初の転送先)のSIPサーバを決定する(S102)。メッセージ処理部13による次の転送先の決定方法は、上述の通り、既存の決定方法を用いるようにしても良い。具体的には、例えば、Toヘッダに記載されたURIに基づいて決定するようにしても良い。ここでは、メッセージ処理部13により、次の転送先のSIPサーバが決定され、そのSIPサーバを識別する情報としてホスト名が得られたものとして以降の説明を行う。
Then, the
次に、メッセージ処理部13の変換処理部14により、次の転送先のSIPサーバの情報(スキーム、ドメイン名、及び番号フォーマットの各項目の情報)が、スキーム変換対応テーブル12から取得される(S103、S104)。ここでは、変換処理部14は、ホスト名をキーとして、次の転送先のSIPサーバの情報を、スキーム変換対応テーブル12から検出するものとする。
Next, the
次に、変換処理部14は、変換対象のINVITEメッセージにおけるURIのスキームと、次の転送先のSIPサーバが対応するURIのスキームを把握する(S105)。
Next, the
ここでは、各SIPサーバが対応するURIのスキームは、TEL−URI又はSIP−URIのいずれかである。したがって、ステップS105で、変換処理部14が把握する変換内容は、変換対象のINVITEメッセージのスキームがTEL−URIで転送先のスキームがSIP−URIの場合、変換対象のINVITEメッセージのスキームがTEL−URIで転送先のスキームがTEL−URIの場合、変換対象のINVITEメッセージのスキームがSIP−URIで転送先がTEL−URIの場合、又は、変換対象のINVITEメッセージのスキームがSIP−URIで転送先のスキームがSIP−URIの場合のいずれかとなる。そして、変換処理部14は、上述のステップS105の判定結果に従って、以降のステップの処理でINVITEメッセージの変換を行う。
Here, the URI scheme supported by each SIP server is either TEL-URI or SIP-URI. Therefore, in step S105, the conversion content grasped by the
なお、変換処理部14は、変換対象のINVITEメッセージにおけるURIのスキームについて、変換対象のINVITEメッセージの内容を解析して判定するようにしても良いし、転送元のSIPサーバ20のホスト名を把握して、スキーム変換対応テーブル12から読み込んで把握するようにしても良い。変換処理部14が、変換対象のINVITEメッセージの内容を解析して、変換対象のINVITEメッセージにおけるURIのスキームを判定する場合には、例えば、各ヘッダに含まれるURIが、「sip:」で始まる場合にはSIP−URIと判定し、「tel:」で始まる場合にはTEL−URIと判定するようにしても良い。
The
上述のステップS105において、変換対象のINVITEメッセージにおけるURIのスキームがTEL−URI、次の転送先のSIPサーバ20が対応するスキームがSIP−URIと判定された場合、変換処理部14は、変換対象のINVITEメッセージについて各ヘッダのURIに係るスキームを変換する処理を行う(S106)。
If it is determined in step S105 described above that the URI scheme in the conversion target INVITE message is TEL-URI and the scheme corresponding to the next transfer destination SIP server 20 is SIP-URI, the
上述の通り、TEL−URIのスキームに対応したURIは「tel:」で始まり、SIP−URIのスキームに対応したURIは「sip:」で始まる。したがって、変換処理部14は、変換対象のINVITEメッセージの各ヘッダのURIについて、「tel:」を「sip:」に変換することによりスキームを変換する。
As described above, the URI corresponding to the TEL-URI scheme starts with “tel:”, and the URI corresponding to the SIP-URI scheme starts with “sip:”. Therefore, the
さらに、変換処理部14は、変換対象のINVITEメッセージにおける、各ヘッダのURIにドメイン名(次の転送先のSIPサーバで用いられるもの)を付与する処理を行う(S107)。
Further, the
上述の通り、TEL−URIのスキームに対応したURIは、「tel:05022222222」等「tel:」+「電話番号」という構成をとることが一般的である。これに対して、SIP−URIのスキームに対応したURIは、例えば、「sip:05022222222@domain.net」等、「sip:」+「ユーザ識別子」+「@ドメイン名」という構成をとることが一般的である。すなわち、TEL−URIのスキームに対応したURIでは、「@ドメイン名」の部分が記述されていない。そこで、上述のステップS107の処理により、変換対象の各ヘッダのURIに「@」及び次の転送先のSIPサーバで用いられるドメイン名の記述を追加する処理を行う。 As described above, the URI corresponding to the TEL-URI scheme generally has a configuration of “tel:” + “telephone number” such as “tel: 05022222222”. On the other hand, the URI corresponding to the SIP-URI scheme may have a configuration of “sip:” + “user identifier” + “@ domain name” such as “sip: 05022222222@domain.net”. It is common. That is, in the URI corresponding to the TEL-URI scheme, the “@domain name” portion is not described. Therefore, by the process in step S107 described above, a process of adding “@” and the description of the domain name used in the next transfer destination SIP server to the URI of each header to be converted is performed.
上述のステップS105において、変換対象のINVITEメッセージにおけるURIのスキームがSIP−URI、次の転送先のSIPサーバ20が対応するスキームがTEL−URIと判定された場合、変換処理部14は、変換対象のINVITEメッセージについて各ヘッダのURIに係るスキームを変換する処理を行う(S108)。
If it is determined in step S105 described above that the URI scheme in the conversion target INVITE message is SIP-URI and the scheme corresponding to the next transfer destination SIP server 20 is TEL-URI, the
具体的には、変換処理部14は、変換対象のINVITEメッセージの各ヘッダのURIについて、「sip:」を「tel:」に変換することによりスキームを変換する。
Specifically, the
さらに、変換処理部14は、変換対象のINVITEメッセージにおける、各ヘッダのURIからドメイン名の記述を削除する処理を行う(S109)。
Furthermore, the
上述の通り、TEL−URIのスキームに対応したURIでは、「@ドメイン名」の部分が記述されないため、上述のステップS109の処理により、変換対象の各ヘッダのURIから、「@ドメイン名」の記述を削除する処理を行う。 As described above, in the URI corresponding to the TEL-URI scheme, the part of “@domain name” is not described. Process to delete the description.
上述のステップS105において、変換対象のINVITEメッセージにおけるURIのスキームがSIP−URI、次の転送先のSIPサーバ20が対応するスキームもSIP−URIと判定された場合、変換処理部14は、変換対象のINVITEメッセージについて、各ヘッダのURIに記述されたドメイン名を、次の転送先で用いられるドメイン名に変換する処理を行う(S110)。
If it is determined in step S105 described above that the URI scheme in the conversion target INVITE message is SIP-URI and the scheme to which the next transfer destination SIP server 20 corresponds is also SIP-URI, the
SIPメッセージのURIで用いられるドメイン名は、通常ネットワークごとに異なるものが用いられるため、同じSIP−URIのスキームに対応したSIPサーバ20間でもドメイン名が異なる場合、正常なメッセージ処理が行われないことがある。そのため、変換処理部14では、変換対象のINVITEメッセージのURIで用いられるドメイン名が、転送先のSIPサーバで通用するものに変換する処理を行う。なお、URIで用いられるドメイン名が各ネットワークで全て同じ場合や、ドメイン名が異なっていても転送先のSIPサーバ20で正常にメッセージ処理が可能な場合は、上述のステップS110の処理は省略するようにしても良い。
Since the domain name used in the URI of the SIP message is normally different for each network, normal message processing is not performed if the domain name is different between the SIP servers 20 corresponding to the same SIP-URI scheme. Sometimes. For this reason, the
上述のステップS105において、変換対象のINVITEメッセージにおけるURIのスキームがTEL−URI、次の転送先のSIPサーバ20が対応するスキームもTEL−URIと判定された場合、又は、上述のステップS107、S109、S110のいずれかの処理が完了した場合、次に、変換処理部14は、変換対象のINVITEメッセージにおけるURIの電話番号のフォーマット、及び、次の転送先のSIPサーバが対応する電話番号のフォーマットを判定する処理を行う(S111)。
In the above-described step S105, when it is determined that the URI scheme in the INVITE message to be converted is TEL-URI, and the scheme to which the next transfer destination SIP server 20 corresponds is also TEL-URI, or the above-described steps S107 and S109. , S110 is completed, the
ここでは、各SIPサーバが対応する番号フォーマットは、上述の通り、国内又はE.164のいずれかである。したがって、ステップS111で、変換処理部14が把握する内容は、変換対象のINVITEメッセージにおける番号フォーマットが「国内」で転送先における番号フォーマットがE.164の場合、変換対象のINVITEメッセージにおける番号フォーマットが国内で転送先における番号フォーマットが国内の場合、変換対象のINVITEメッセージにおける番号フォーマットがE.164で転送先における番号フォーマットが国内の場合、又は、変換対象のINVITEメッセージにおける番号フォーマットがE.164で転送先における番号フォーマットがE.164の場合のいずれかとなる。そして、変換処理部14は、上述のステップS111の判定結果に従って、以降のステップの処理で、受信したINVITEメッセージの変換を行う。
Here, as described above, the number format supported by each SIP server is domestic or E.E. 164. Therefore, in step S111, the contents grasped by the
なお、変換処理部14は、変換対象のINVITEメッセージにおける番号フォーマットについては、変換対象のINVITEメッセージの内容を解析して判定するようにしても良いし、転送元のSIPサーバのホスト名を把握して、スキーム変換対応テーブル12から読み込んで把握するようにしても良い。変換処理部14が、変換対象のINVITEメッセージの内容を解析して、変換対象のINVITEメッセージにおける番号フォーマットを判定する場合には、例えば、各ヘッダに含まれるURIの、「sip:」又は「tel:」に続く電話番号の部分が「+」(又は「+81」)で始まる場合にはE.164と判定し、「0」で始まる場合には国内と判定するようにしても良い。
The
上述のステップS111において、変換対象のINVITEメッセージにおける番号フォーマットが国内で、次の転送先のSIPサーバが対応する番号フォーマットがE.164と判定された場合、変換処理部14は、変換対象のINVITEメッセージについて各ヘッダのURIに係る番号フォーマットを変換する処理を行う(S112)。
In step S111 described above, the number format in the INVITE message to be converted is domestic, and the number format corresponding to the next transfer destination SIP server is E.E. When it is determined as 164, the
上述の通り、番号フォーマットが国内に対応する場合には、URIにおける電話番号は、例えば「05022222222」と先頭が「0」で始まる。また、番号フォーマットがE.164に対応する場合には、URIにおける電話番号は、例えば、「+815022222222」と先頭が「+81」で始まる点で国内と異なる。したがって、この場合、変換処理部14は、変換対象のINVITEメッセージの各ヘッダのURIについて、電話番号の部分のうち先頭を「0」から「+81」に変換することにより、番号フォーマットの変換を行う。
As described above, when the number format corresponds to the country, the telephone number in the URI starts with, for example, “05022222222” and the head starts with “0”. The number format is E.E. In the case of corresponding to 164, the telephone number in the URI differs from that in Japan in that, for example, “+815022222222” starts with “+81”. Therefore, in this case, the
なお、ここでは、転送先のSIPサーバ20における番号フォーマットがE.164の場合には、変換処理部14は、電話番号を構成する国番号を全て日本のもの(81)として処理しているが、スキーム変換対応テーブル12にSIPサーバ20ごとの国番号を登録しておいて、転送先のSIPサーバ20に合わせた国番号として処理するようにしても良い。
Here, the number format in the destination SIP server 20 is E.P. In the case of 164, the
一方、上述のステップS111において、変換対象のINVITEメッセージにおける番号フォーマットがE.164で、次の転送先のSIPサーバ20が対応する番号フォーマットが国内と判定された場合、変換処理部14は、変換対象のINVITEメッセージについて各ヘッダのURIに係る番号フォーマットを変換する処理を行う(S113)。この場合、変換処理部14は、変換対象のINVITEメッセージの各ヘッダのURIについて、上述のステップS112と逆の処理、すなわち、電話番号の部分のうち先頭の「+国番号」の部分「+81」を「0」に変換することにより、番号フォーマットの変換を行う。
On the other hand, in step S111 described above, the number format in the INVITE message to be converted is E.E. When it is determined in 164 that the number format corresponding to the next transfer destination SIP server 20 is domestic, the
なお、上述のステップS111で、変換処理部14により、変換対象のINVITEメッセージ及び次の転送先のSIPサーバ20の対応する番号フォーマットが同一の場合、又は、上述のステップS112、S113の処理のいずれかが完了すると、変換処理部14によるINVITEメッセージの変換処理は終了する。そして、変換後のINVITEメッセージが、メッセージ処理部13により次の転送先のSIPサーバ20へ送信される(S114)。
In step S111 described above, the
なお、上記の説明では、各SIPサーバが対応する番号フォーマットは、国内又はE.164のいずれかであるとしたが、既存のSIPサーバが対応するSIP−URIのスキームでは、URIに含まれるユーザ識別子が番号のみで構成されている電話番号形式ではなく、任意の文字により構成された文字列の形式(以下、「アカウント形式」という)の場合もある。仮に、上述のステップS111で、変換処理部14により、変換対象のINVITEメッセージを構成するURIに含まれるユーザ識別子が、アカウント形式であると判定された場合には、番号フォーマットの変換等は行わずに、上述のステップS114の処理に移行するようにしても良い。変換処理部14が、SIP−URI形式のURIの内容を解析して、ユーザ識別子の記述形式を認識する方法としては、例えば、「sip:」と「@」との間で、数字以外の記号が含まれる場合(ただし、先頭に「+」が配置されている場合は無視)には、アカウント形式と認識し、数字だけで構成されている場合には電話番号形式と認識するようにしても良い。
In the above description, the number format supported by each SIP server is domestic or E.E. However, in the SIP-URI scheme supported by the existing SIP server, the user identifier included in the URI is not a telephone number format composed of only numbers but is composed of arbitrary characters. May be in the form of a character string (hereinafter referred to as “account format”). If, in step S111 described above, the
次に、上述の図4のフローチャートに従って、変換処理部14が動作し、INVITEメッセージを変換する場合の具体的な例について説明する。
Next, a specific example in which the
図5は、SIP−ALG装置10において処理されるINVITEメッセージの内容例について示した説明図である。なお、図5に示す各INVITEメッセージでは、説明を簡易にするため、変換処理部14で変換対象となるヘッダ情報(すなわち、URIの記述を含むヘッダ情報)以外の部分については省略して図示している。
FIG. 5 is an explanatory diagram showing an example of the contents of an INVITE message processed in the SIP-
そして、ここでは、図5(a)に示す内容のINVITEメッセージが、変換処理部14の変換対象となっているものとして説明する。
In this example, it is assumed that the INVITE message having the content shown in FIG. 5A is a conversion target of the
そして、まず最初に、図5(a)のINVITEメッセージに係る次の転送先のSIPサーバ20が、上述のステップS102の処理により、SIPサーバ20−2と決定した場合の変換処理部14による変換処理について説明する。
First, the conversion by the
この場合、変換処理部14では、上述のステップS103、S104の処理で、スキーム変換対応テーブル12から、SIPサーバ20−2の情報(スキーム:SIP、ドメイン名:domain.net、番号フォーマット:国内)が取得される。
In this case, in the
なお、SIPサーバ20−1については、スキーム変換対応テーブル12の内容、又は、図5(a)に示すINVITEメッセージに含まれるURIの構成から、「スキーム:SIP、ドメイン名:domain.com、番号フォーマット:国内」と把握できる。例えば、図5(a)のINVITEメッセージのINVITEヘッダに記載されたURIでは「sip:05022222222@domain.com」となっている。このURIは「sip:」から始まるためURIのスキームはSIP−URIと把握できる。また、このURIの「sip:」に続く電話番号は「0」から始まっているので、番号フォーマットは国内と把握できる。また、電話番号に続いて「@domain.com」となっているため、ドメイン名は「domain.com」と把握できる。 For the SIP server 20-1, “scheme: SIP, domain name: domain.com, number” is determined from the contents of the scheme conversion correspondence table 12 or the configuration of the URI included in the INVITE message shown in FIG. Format: domestic ”. For example, the URI described in the INVITE header of the INVITE message in FIG. 5A is “sip: 05022222222@domain.com”. Since this URI starts from “sip:”, the URI scheme can be understood as SIP-URI. Further, since the telephone number following the URI “sip:” starts from “0”, the number format can be grasped as domestic. Also, since “@ domain.com” follows the phone number, the domain name can be understood as “domain.com”.
そして、次に、上述のステップS105の判定が行われるが、この場合は、変換対象のINVITEメッセージにおけるURIのスキームがSIP−URIで、次の転送先のURIのスキームもSIP−URIであるので、上述のステップS110の処理に移行することになる。 Next, the determination in the above-described step S105 is performed. In this case, the URI scheme in the conversion target INVITE message is SIP-URI, and the next transfer destination URI scheme is also SIP-URI. Then, the process proceeds to step S110 described above.
ステップS110では、上述の通り、INVITEメッセージの各ヘッダのURIに記述されたドメイン名が、次の転送先で用いられるドメイン名に変換される。この場合、各URIの「domain.com」が「domain.net」に変換されることになる。 In step S110, as described above, the domain name described in the URI of each header of the INVITE message is converted into the domain name used at the next transfer destination. In this case, “domain.com” of each URI is converted to “domain.net”.
図5(b)は、上述の図5(a)のINVITEメッセージが、上述のステップS110の処理に従って変換された後の内容について示している。 FIG. 5B shows the contents after the above-described INVITE message of FIG. 5A has been converted according to the process of step S110 described above.
図5(b)に示すように、変換前の「sip:05022222222@domain.com」というURIの記述が「sip:05022222222@domain.net」という記述に変換されている。また、図5(b)では、変換前の「sip:05011111111@domain.com」というURIの記述が「sip:05011111111@domain.net」という記述に変換されている。 As shown in FIG. 5B, the URI description “sip: 05022222222@domain.com” before conversion is converted into a description “sip: 05022222222@domain.net”. In FIG. 5B, the URI description “sip: 05011111111@domain.com” before conversion is converted into a description “sip: 05011111111@domain.net”.
そして、次に、上述のステップS111の判定が行われるが、この場合は、変換対象のINVITEメッセージにおける番号フォーマットが国内で、次の転送先のURIの番号フォーマットも国内であるので、番号フォーマットに関する変換は行われず、上述のステップS114の処理に移行し、変換処理部14による変換処理は終了することになる。
Next, the determination at the above-described step S111 is performed. In this case, the number format in the INVITE message to be converted is domestic and the number format of the next transfer destination URI is also domestic. Conversion is not performed, the process proceeds to step S114 described above, and the conversion process by the
次に、図5(a)のINVITEメッセージに係る次の転送先のSIPサーバが、上述のステップS102の処理により、SIPサーバ20−3と決定した場合の変換処理部14による変換処理について説明する。
Next, the conversion processing by the
この場合、変換処理部14では、上述のステップS103、S104の処理で、スキーム変換対応テーブル12から、SIPサーバ20−3の情報(スキーム:TEL、ドメイン名:「−」(空欄)、番号フォーマット:E.164)が取得される。
In this case, in the
そして、次に、上述のステップS105の判定が行われるが、この場合は、変換対象のINVITEメッセージにおけるURIのスキームがSIP−URIで、次の転送先のURIのスキームがTEL−URIであるので、上述のステップS108の処理に移行することになる。 Next, the determination in step S105 described above is performed. In this case, the URI scheme in the conversion target INVITE message is SIP-URI, and the next transfer destination URI scheme is TEL-URI. Then, the process proceeds to step S108 described above.
そして、ステップS108の処理では、上述の通り、INVITEメッセージの各ヘッダのURIについて、スキームを変換(SIP−URIからTEL−URIへ変換)する処理が行われる。この場合、各URIの先頭の「sip:」が全て「tel:」に変換されることになる。 In the process of step S108, as described above, the process of converting the scheme (converting from SIP-URI to TEL-URI) is performed on the URI of each header of the INVITE message. In this case, all “sip:” at the beginning of each URI is converted to “tel:”.
そして続くステップS109では、上述の通り、INVITEメッセージの各ヘッダのURIに記述されたドメイン名が削除される。この場合、各URIの「@domain.com」の部分の記述が削除されることになる。 In subsequent step S109, as described above, the domain name described in the URI of each header of the INVITE message is deleted. In this case, the description of the “@ domain.com” portion of each URI is deleted.
図5(c)は、上述の図5(a)のINVITEメッセージが、上述のステップS108及びステップS109の処理に従って変換された後の内容例について示している。 FIG. 5C shows an example of contents after the above-described INVITE message of FIG. 5A has been converted according to the above-described processing of step S108 and step S109.
図5(c)に示すように、変換前の「sip:05022222222@domain.com」というURIの記述が「tel:05022222222」という記述に変換されている。また、図5(b)では、変換前の「sip:05011111111@domain.com」というURIの記述が「tel:05011111111」という記述に変換されている。 As shown in FIG. 5C, the URI description “sip: 05022222222@domain.com” before conversion is converted to the description “tel: 05022222222”. In FIG. 5B, the URI description “sip: 05011111111@domain.com” before conversion is converted into a description “tel: 05011111111”.
そして、次に、上述のステップS111の判定が行われるが、この場合は、変換対象のINVITEメッセージにおける番号フォーマットが国内で、次の転送先のURIの番号フォーマットがE.164であるので、上述のステップS112の処理に移行することになる。 Next, the determination in step S111 described above is performed. In this case, the number format in the INVITE message to be converted is domestic, and the number format of the next transfer destination URI is E.E. Therefore, the process proceeds to step S112 described above.
そして、ステップS112の処理では、上述の通り、INVITEメッセージの各ヘッダのURIについて、番号フォーマットを変換する処理(国内からE.164へ変換)する処理が行われる。この場合、各URIの電話番号(ユーザID)の部分のうち先頭が、「+81」から「0」に変換されることになる。 In the process of step S112, as described above, the process of converting the number format (converted from domestic to E.164) is performed for the URI of each header of the INVITE message. In this case, the head of the telephone number (user ID) portion of each URI is converted from “+81” to “0”.
図5(d)は、上述の図5(c)のINVITEメッセージが、上述のステップS112の処理に従って変換された後の内容例について示している。 FIG. 5D shows an example of the content after the above-described INVITE message in FIG. 5C is converted according to the process in step S112 described above.
図5(d)に示すように、変換前の「tel:05022222222」というURIの記述が「tel:+815022222222」という記述に変換されている。また、図5(b)では、変換前の「tel:05011111111」というURIの記述が「tel:+815011111111」という記述に変換されている。 As shown in FIG. 5D, the URI description “tel: 05022222222” before conversion is converted into the description “tel: +815022222222”. In FIG. 5B, the URI description “tel: 05011111111” before conversion is converted to the description “tel: +815011111111”.
(A−3)実施形態の効果
この実施形態によれば、以下のような効果を奏することができる。
(A-3) Effects of Embodiment According to this embodiment, the following effects can be achieved.
SIP−ALG装置10では、スキーム変換対応テーブル12を用いたSIPメッセージを構成するURIのスキーム変換等の処理を実現している。これにより、SIP−ALG装置10を介した各ネットワークのSIPサーバ20において、対応するURIのスキーム等が異なっていても、転送先のSIPサーバ20が対応するルールに則ったSIPメッセージを生成、転送することができ、ネットワーク間の接続親和性を高めることができる。
The SIP-
(B)他の実施形態
本発明は、上記の実施形態に限定されるものではなく、以下に例示するような変形実施形態も挙げることができる。
(B) Other Embodiments The present invention is not limited to the above-described embodiments, and may include modified embodiments as exemplified below.
(B−1)上記の実施形態において、ネットワークシステム1を構成する各ネットワーク(ネットワークNA、NB、NC)が対応するプロトコルは、IPv4としても良いしIPv6としても良い。また、各ネットワークが対応するプロトコルは全て同一(例えば、全てIPv6に対応)としても良いし、複数のプロトコルが混在(例えば、一部のネットワークはIPv4に対応し、その他のネットワークはIPv6に対応)するような構成としても良い。 (B-1) In the above embodiment, the protocol supported by each network (network NA, NB, NC) constituting the network system 1 may be IPv4 or IPv6. In addition, all the protocols supported by each network may be the same (for example, all support IPv6), or a plurality of protocols are mixed (for example, some networks support IPv4 and other networks support IPv6). It is good also as a structure which does.
また、上記の実施形態では、SIP−ALG装置10は、ネットワーク間のSIPメッセージを処理するものとして説明したが、同一ネットワーク内のSIPサーバ間のSIPメッセージ処理を行う構成としても良い。
In the above-described embodiment, the SIP-
さらに、上記の実施形態では、SIP−ALG装置10が、SIPメッセージを行うことについて説明したが、SIPメッセージ以外のデータ(IPパケット)の転送も行うゲートウェイ(信号処理装置)として構築するようにしても良い。
Furthermore, in the above embodiment, the SIP-
(B−2)上記の実施形態において、スキーム変換対応テーブル12については、図3に示すように、SIPサーバ単位でURIの記述形式の情報を登録する例について示しているが、情報を登録する単位はこれに限定されないものである。例えば、同一のネットワーク内のSIPサーバに関する情報が同じ場合には、スキーム変換対応テーブル12に転送先のネットワークごとに情報を登録し、変換処理部14が、変換対象のSIPメッセージの次の転送先のSIPサーバが属するネットワークの情報を、当該SIPサーバの情報として取得するようにしても良い。
(B-2) In the above embodiment, the scheme conversion correspondence table 12 shows an example of registering URI description format information for each SIP server as shown in FIG. The unit is not limited to this. For example, if the information regarding the SIP servers in the same network is the same, the information is registered for each transfer destination network in the scheme conversion correspondence table 12, and the
(B−3)上記の実施形態において、全てのネットワークで対応する番号フォーマットが同じ場合には、SIP−ALG装置10において番号フォーマットの変換処理を省略するようにしても良い。また、その場合、スキーム変換対応テーブル12から番号フォーマットに係る項目を省略するようにしても良い。
(B-3) In the above embodiment, when the number formats corresponding to all networks are the same, the SIP-
(B−4)上記の実施形態において、変換処理部14は、変換対象SIPメッセージを構成するユーザ識別子が電話番号の場合に、その電話番号の番号フォーマットについて、次の転送先のSIPサーバが対応する番号フォーマットに変換する処理について説明した(上述の図4のステップS111〜113参照)。ここで、変換処理部14によるユーザ識別子の変換を、番号フォーマットの変換ではなく、ユーザ識別子自体の変換を行うようにしても良い。例えば、一人のユーザに、ユーザ識別子として、「05011111111」という電話番号形式の識別子と、「abcdef」というアカウント形式の識別子が付与されている場合を想定する。また、スキーム変換対応テーブル12に各SIPサーバ20が対応するユーザ識別子の記述形式の項目(「電話番号形式」又は「アカウント形式」のいずれかで示される項目)を追加して登録しておくものとする。さらに、SIP−ALG装置10は、ユーザごとのアカウント形式のユーザ識別子と、電話番号形式のユーザ識別子との対応テーブル(以下、「識別子対応テーブル」という)も備えているものとする。そして、変換処理部14は、変換対象のSIPメッセージにおけるユーザ識別子の記述形式と、次の転送先のSIPサーバ20が対応するユーザ識別子の記述形式を把握し、記述形式が異なる場合には、URIを構成するユーザ識別子の部分について、上述の識別子対応テーブルを用いて、変換するようにしても良い。
(B-4) In the above embodiment, when the user identifier constituting the conversion target SIP message is a telephone number, the
なお、変換処理部14が、変換対象のSIPメッセージで対応するユーザ識別子の記述形式を認識する方法としては、例えば、スキーム変換対応テーブル12の内容から認識するようにしいても良いし、当該SIPメッセージに含まれるURIの内容を解析して認識するようにしても良い。
As a method for the
ここで、例として、あるユーザに電話番号形式のユーザ識別子として「05011111111」、アカウント形式のユーザ識別子として「abcdef」が付与されている場合を想定する。そして、変換処理部14で当該ユーザのURIが含まれるSIPメッセージを変換する際に、変換対象のSIPメッセージにおける記述形式が電話番号形式で、次の転送先のSIPサーバが対応する記述形式がアカウント形式であったものとする。この場合、変換処理部14は、上述の識別子対応テーブルを用いて、「05011111111」に対応するユーザ識別子として「abcdef」を検出し、さらに、当該SIPメッセージのURIに含まれる、「05011111111」というユーザ識別子を、「abcdef」というユーザ識別子に変換する処理を行う。例えば、変換前のURIが「sip:05011111111@domain.com」だった場合には、「sip:abcdef@domain.com」と変換されることになる。
Here, as an example, a case is assumed in which “05011111111” is given as a user identifier in a telephone number format and “abcdef” is given as a user identifier in an account format. When the
1…ネットワークシステム、20、20−1〜20−3…SIPサーバ、10…SIP−ALG装置(信号処理装置)、11…制御部、12…スキーム変換対応テーブル、13…メッセージ処理部、14…変換処理部、NA、NB、NC…ネットワーク。 DESCRIPTION OF SYMBOLS 1 ... Network system 20, 20-1-20-3 ... SIP server, 10 ... SIP-ALG apparatus (signal processing apparatus), 11 ... Control part, 12 ... Scheme conversion correspondence table, 13 ... Message processing part, 14 ... Conversion processing unit, NA, NB, NC ... network.
Claims (6)
当該信号処理装置がSIPメッセージを処理して、送信先の通信装置へ向けて送出する際の最初の転送先の対象となり得る通信装置のそれぞれについて、対応するSIPメッセージの記述形式に係る情報を保持する通信装置情報保持手段と、
上記通信装置情報保持手段が保持している情報に従って、受信したSIPメッセージに含まれている最初の送信先情報に基づき転送先を特定し、受信したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置が処理可能な形式に変換するメッセージ変換手段と、
上記メッセージ変換手段が変換したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置に送信する送信手段とを有し、
上記通信装置情報保持手段が保持する情報には、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIに係るスキームの種別の情報が含まれており、
上記メッセージ変換手段は、受信したSIPメッセージに含まれるURIを、当該SIPメッセージに係る最初の転送先の通信装置が対応するスキームに変換し、
上記通信装置情報保持手段が保持する情報には、さらに、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIを構成するドメイン名の情報が含まれており、
上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するドメイン名の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応するドメイン名とする処理を行う
ことを特徴とする信号処理装置。 In the signal processing device that receives and processes the SIP message sent from the transmission source communication device to the transmission destination communication device, and sends the SIP message to the transmission destination communication device.
Holds information related to the description format of the corresponding SIP message for each communication device that can be the target of the first transfer destination when the signal processing device processes the SIP message and sends it to the destination communication device. Communication device information holding means for
According to the information held by the communication device information holding means , the transfer destination is specified based on the first destination information included in the received SIP message , and the received SIP message is transferred to the first transfer related to the SIP message. Message conversion means for converting to a format that can be processed by the previous communication device;
A transmission means for transmitting the SIP message converted by the message conversion means to the first transfer destination communication device related to the SIP message ;
The information held by the communication device information holding means includes information on the type of scheme related to the URI of the SIP message corresponding to each of the communication devices that can be the target of the transfer destination,
The message conversion means converts the URI included in the received SIP message into a scheme corresponding to the first transfer destination communication device related to the SIP message,
The information held by the communication device information holding means further includes domain name information constituting the URI of the SIP message corresponding to each of the communication devices that can be the target of the transfer destination,
The message conversion means further performs a process of setting a domain name part constituting a URI included in the received SIP message as a domain name corresponding to a first transfer destination communication device related to the SIP message. A signal processing device.
上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するユーザ識別子の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応する記述形式に変換する処理を行う
ことを特徴とする請求項1に記載の信号処理装置。 The information held by the communication device information holding means further includes type information related to the description format of the user identifier that constitutes the URI of the SIP message corresponding to each of the communication devices that can be the transfer destination. And
The message conversion means further performs a process of converting the part of the user identifier constituting the URI included in the received SIP message into a description format corresponding to the first transfer destination communication device related to the SIP message. The signal processing device according to claim 1 , wherein:
当該信号処理装置がSIPメッセージを処理して、送信先の通信装置へ向けて送出する際の最初の転送先の対象となり得る通信装置のそれぞれについて、対応するSIPメッセージの記述形式に係る情報を保持する通信装置情報保持手段と、
上記通信装置情報保持手段が保持している情報に従って、受信したSIPメッセージに含まれている最初の送信先情報に基づき転送先を特定し、受信したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置が処理可能な形式に変換するメッセージ変換手段と、
上記メッセージ変換手段が変換したSIPメッセージを、当該SIPメッセージに係る最初の転送先の通信装置に送信する送信手段として機能させ、
上記通信装置情報保持手段が保持する情報には、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIに係るスキームの種別の情報が含まれており、
上記メッセージ変換手段は、受信したSIPメッセージに含まれるURIを、当該SIPメッセージに係る最初の転送先の通信装置が対応するスキームに変換し、
上記通信装置情報保持手段が保持する情報には、さらに、上記転送先の対象となり得る通信装置のそれぞれが対応するSIPメッセージのURIを構成するドメイン名の情報が含まれており、
上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するドメイン名の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応するドメイン名とする処理を行う
ことを特徴とする信号処理プログラム。 A computer mounted on a signal processing device that receives and processes a SIP message sent from a source communication device to a destination communication device, and sends the SIP message to a destination communication device.
Holds information related to the description format of the corresponding SIP message for each communication device that can be the target of the first transfer destination when the signal processing device processes the SIP message and sends it to the destination communication device. Communication device information holding means for
According to the information held by the communication device information holding means , the transfer destination is specified based on the first destination information included in the received SIP message , and the received SIP message is transferred to the first transfer related to the SIP message. Message conversion means for converting to a format that can be processed by the previous communication device;
A SIP message the message conversion means is converted, to function as a transmitting means for transmitting to the first destination of the communication device relating to the SIP message,
The information held by the communication device information holding means includes information on the type of scheme related to the URI of the SIP message corresponding to each of the communication devices that can be the target of the transfer destination,
The message conversion means converts the URI included in the received SIP message into a scheme corresponding to the first transfer destination communication device related to the SIP message,
The information held by the communication device information holding means further includes domain name information constituting the URI of the SIP message corresponding to each of the communication devices that can be the target of the transfer destination,
The message conversion means further performs a process of setting a domain name part constituting a URI included in the received SIP message as a domain name corresponding to a first transfer destination communication device related to the SIP message. A signal processing program.
上記メッセージ変換手段は、さらに、受信したSIPメッセージに含まれるURIを構成するユーザ識別子の部分を、当該SIPメッセージに係る最初の転送先の通信装置が対応する記述形式に変換する処理を行うThe message conversion means further performs a process of converting the part of the user identifier constituting the URI included in the received SIP message into a description format corresponding to the first transfer destination communication device related to the SIP message.
ことを特徴とする請求項4に記載の信号処理プログラム。The signal processing program according to claim 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011011968A JP5640764B2 (en) | 2011-01-24 | 2011-01-24 | Signal processing apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011011968A JP5640764B2 (en) | 2011-01-24 | 2011-01-24 | Signal processing apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012156629A JP2012156629A (en) | 2012-08-16 |
JP5640764B2 true JP5640764B2 (en) | 2014-12-17 |
Family
ID=46837945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011011968A Active JP5640764B2 (en) | 2011-01-24 | 2011-01-24 | Signal processing apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5640764B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6238563B2 (en) * | 2013-05-15 | 2017-11-29 | キヤノン株式会社 | Facsimile apparatus, control method therefor, and program |
JP5941961B2 (en) * | 2014-10-23 | 2016-06-29 | 西日本電信電話株式会社 | Cloud switching system, gateway device and gateway program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0422275D0 (en) * | 2004-10-07 | 2004-11-10 | Nokia Corp | Callback services in a communication system |
KR100909542B1 (en) * | 2005-08-01 | 2009-07-27 | 삼성전자주식회사 | Method and apparatus for interworking voice and multimedia service between a CSI terminal and an IMS terminal |
WO2007045991A1 (en) * | 2005-10-21 | 2007-04-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Ims call routing using tel-uris |
ES2375871T3 (en) * | 2007-02-22 | 2012-03-07 | Telefonaktiebolaget Lm Ericsson (Publ) | GROUP ACCESS TO A SERVICE OF THE MULTIMEDIA IP SUBSYSTEM. |
-
2011
- 2011-01-24 JP JP2011011968A patent/JP5640764B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012156629A (en) | 2012-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1266503B1 (en) | Processing network communication control messages | |
JP5620965B2 (en) | IMS call routing using TEL-URI | |
JP4271988B2 (en) | Packet communication device | |
US6988143B2 (en) | Processing network address identifiers | |
US7006436B1 (en) | Method for providing voice-over-IP service | |
US20040246991A1 (en) | IP address translator and packet transfer apparatus | |
JP2006505992A (en) | Method and apparatus for permitting remote access in a data network | |
CN101227385A (en) | Data set transfer device | |
JP2011077804A (en) | Communication device and communication method of the same | |
US8656001B2 (en) | Communication system, application server and communication method for server cooperation | |
JP3854221B2 (en) | ALG device that can acquire and calculate the lifetime of the address set | |
JP4627506B2 (en) | Proxy connection method, proxy server, and program for connecting HTTP compatible terminal to SIP compatible server | |
JP5640764B2 (en) | Signal processing apparatus and program | |
JP2008258917A (en) | Identical nat subordinate communication control system, nat device, identical nat subordinate communication control method, and program | |
KR101666594B1 (en) | System and method for providing sip service | |
JP4537250B2 (en) | Gateway device | |
JP4089721B2 (en) | Message conversion device and IP telephone device | |
CN111245973B (en) | Domain name based message transmission method, message forwarding control method and system | |
KR20070061377A (en) | Network address translator and its address translation method for SPI transaction exchange between private network and public network | |
JP3920791B2 (en) | Call connection relay system, call connection relay device and program thereof, call connection request information conversion device and program thereof | |
KR20100003869A (en) | A device for routing sip message and routing method | |
JP2004165823A (en) | Ip address converting apparatus | |
JP2008206081A (en) | Data relaying apparatus and data relaying method used for multi-homing communication system | |
JP2011151604A (en) | Signal processing apparatus and program | |
JP5682176B2 (en) | Call control signal transmitting apparatus, program and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20120813 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130920 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140430 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140520 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140714 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20140714 |
|
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: 20140930 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141013 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5640764 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |