JP5682176B2 - Call control signal transmitting apparatus, program and method - Google Patents
Call control signal transmitting apparatus, program and method Download PDFInfo
- Publication number
- JP5682176B2 JP5682176B2 JP2010181686A JP2010181686A JP5682176B2 JP 5682176 B2 JP5682176 B2 JP 5682176B2 JP 2010181686 A JP2010181686 A JP 2010181686A JP 2010181686 A JP2010181686 A JP 2010181686A JP 5682176 B2 JP5682176 B2 JP 5682176B2
- Authority
- JP
- Japan
- Prior art keywords
- control signal
- call control
- sip
- upper limit
- line
- 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サーバ」と呼ぶ)に適用し得る。 The present invention relates to a call control signal transmitting apparatus, program, and method, and can be applied to, for example, a server (hereinafter referred to as “SIP server”) that processes a SIP (Session Initiation Protocol) signal.
一般的にSIPメッセージ(非特許文献1、2参照)を中継処理するSIPサーバでは、送信元のSIP−UA(SIP User Agent)から与えられたSIPメッセージに含まれるSIP−URI(SIP Uniform Resource Identifier)などを編集して、当該宛先のSIP−UAへ向けて送出する。
In general, in a SIP server that relays a SIP message (see Non-Patent
SIP−UA間のセッションを確立や維持をさせるために、SIPメッセージのヘッダ情報を編集する従来技術としては、従来、特許文献1〜3の記載技術がある。
Conventional techniques for editing header information of a SIP message in order to establish or maintain a SIP-UA session include the techniques described in
しかしながら、特許文献1〜3の記載技術等を用いた従来のSIPサーバにおいて、中継送信するSIPメッセージのヘッダ情報を加工する場合、その加工によりSIPメッセージのヘッダ情報が長くなってしまうと、送信先のSIP−UA(又は、宛先のSIP−UAに到達するまでに中継するSIPサーバ)の仕様によっては、処理できない恐れがある。例えば、送信先が長いヘッダ(たとえばAuthorizationなど認証に関するヘッダ)のパーシングに対応していない場合は、送信先でそのSIPメッセージが正常に処理できない場合がある。
However, when processing header information of a SIP message to be relayed and transmitted in a conventional SIP server using the techniques described in
特に、SIPメッセージを中継処理するSIPサーバと、SIPメッセージの送信先が別のネットワーク事業者となる場合には、SIPサーバにおいて、送信先で正常に処理不能なSIPメッセージが生成されてしまう場合があり、注意が必要である。 In particular, when the SIP server that relays the SIP message and the destination of the SIP message are different network operators, the SIP server may generate a SIP message that cannot be processed normally at the destination. There is a need for caution.
そのため、通信装置(たとえば、SIP−UA)へ呼制御信号(たとえば、SIPメッセージ等)を送信する呼制御信号送信装置(例えば、SIPサーバ)において、送信先の通信装置で正常に処理可能な呼制御信号を生成することができる呼制御信号送信装置、プログラム及び方法が望まれている。 Therefore, in a call control signal transmission device (for example, a SIP server) that transmits a call control signal (for example, a SIP message) to a communication device (for example, SIP-UA), a call that can be normally processed by the destination communication device A call control signal transmitting apparatus, program and method capable of generating a control signal are desired.
第1の本発明は、呼制御信号を送信先の通信装置へ向けて送出する呼制御信号送信装置において、(1)呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶する送信先情報記憶手段と、(2)上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工する呼制御信号加工手段とを有し、(3)上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持することを特徴とする。
According to a first aspect of the present invention, there is provided a call control signal transmitting apparatus for transmitting a call control signal to a destination communication apparatus. (1) For each transmission destination of a call control signal, a call control signal to be transmitted per line A destination information storage means for storing the upper limit value of the data amount; and (2) holding an upper limit value corresponding to the destination of the call control signal to be transmitted by the call control signal transmission device from the destination information storage means. and, so as not to exceed the upper limit value data of all the rows of the call control signal is held, have a call control signal processing means for processing the call control signal, (3) the call control signal processing means Is characterized in that when the call control signal is processed, the content of the data as a whole call control signal is maintained before and after the processing .
第2の本発明の呼制御信号送信プログラムは、呼制御信号を送信先の通信装置へ向けて送出する呼制御信号送信装置に搭載されたコンピュータを、(1)呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶する送信先情報記憶手段と、(2)上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工する呼制御信号加工手段として機能させ、(3)上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持することを特徴とする。
According to a second aspect of the present invention, there is provided a call control signal transmission program for (1) a call control signal transmission destination for each computer installed in a call control signal transmission device that transmits a call control signal to a destination communication device. A destination information storage means for storing an upper limit value of the data amount per line of the call control signal to be transmitted; and (2) a call control to be transmitted by the call control signal transmission device from the destination information storage means. holding the upper limit value corresponding to the destination of the signal, so as not to exceed the upper limit value data of all the rows of the call control signal is held, and a call control signal processing means for processing the call control signal (3) When the call control signal is processed, the call control signal processing means maintains the content of the data as a whole call control signal before and after the processing .
第3の本発明は、呼制御信号を送信先の通信装置へ向けて送出する呼制御信号送信装置が実行する呼制御信号送信方法において、(1)送信先情報記憶手段、呼制御信号加工手段を有し、(2)上記送信先情報記憶手段は、呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶し、(3)上記呼制御信号加工手段は、上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工し、(3)上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持することを特徴とする。
According to a third aspect of the present invention, there is provided a call control signal transmitting method executed by a call control signal transmitting apparatus for transmitting a call control signal to a destination communication apparatus. (1) Destination information storage means, call control signal processing means (2) The transmission destination information storage means stores, for each transmission destination of the call control signal, an upper limit value of the data amount per line of the call control signal to be transmitted, and (3) the call control signal The processing means holds an upper limit value corresponding to the transmission destination of the call control signal to be transmitted by the call control signal transmission apparatus from the transmission destination information storage means, and the data amount of all rows of the call control signal is The call control signal is processed so as not to exceed the held upper limit value . (3) When the call control signal is processed, the call control signal processing means performs the entire call control signal before and after the processing. It is characterized by maintaining the contents of data .
本発明によれば、通信装置へ呼制御信号を送信する呼制御信号送信装置において、送信先の通信装置で正常に処理可能な呼制御信号を生成することができる ADVANTAGE OF THE INVENTION According to this invention, in the call control signal transmitter which transmits a call control signal to a communication apparatus, the call control signal which can be processed normally by the communication apparatus of a transmission destination can be produced | generated.
(A)主たる実施形態
以下、本発明による呼制御信号送信装置、プログラム及び方法の一実施形態を、図面を参照しながら詳述する。この実施形態では、本発明の呼制御信号送信装置をSIPサーバに適用した例について説明する。
(A) Main Embodiment Hereinafter, an embodiment of a call control signal transmitting apparatus, program and method according to the present invention will be described in detail with reference to the drawings. In this embodiment, an example in which the call control signal transmission apparatus of the present invention is applied to a SIP server will be described.
(A−1)実施形態の構成
図1は、この実施形態のSIPサーバ10の機能的構成について説明したブロック図である。
(A-1) Configuration of Embodiment FIG. 1 is a block diagram illustrating a functional configuration of the
SIPサーバ10は、SIPに対応した通信装置であるSIP−UA(SIP−User Agent)の間で、SIPメッセージ(SIP信号)を中継処理するものである。図1では、SIPサーバ10は、SIP−UA21(発呼側)とSIP−UA22(着呼側)との間のSIP信号を処理するものとする。なお、SIPサーバ10が中継処理する対象の通信装置の数や接続構成は限定されないものである。
The
なお、SIP−UA21、22は、SIP端末(ユーザが使用する電話装置等の端末)であっても良いし、SIPサーバであってもよい。すなわち、SIPサーバ10は対向する通信装置の種類によってプロキシ動作を行ったり、SIP加入者を収容する動作するものであっても良い。
Note that the SIP-
SIPサーバ10は、制御部11、送受信部12、及びSIP処理部13を有している。
The
SIPサーバ10は、プロセッサやメモリ等のプログラムの実施構成及びネットワークに接続するためのインタフェース等を備えた情報処理装置に、実施形態の呼制御信号送信プログラムをインストールすることにより構築しても良く、その場合でも機能的には図1のように表わすことができる。
The
制御部11は、SIPサーバ10の全体を制御するものである。
The control unit 11 controls the
送受信部12は、SIPサーバ10がネットワークに接続するためのインタフェースである。
The transmission /
SIP処理部13は、当該SIPサーバ10が送信するSIPメッセージ(呼制御信号)を処理するものである。
The
SIP処理部13は、送信先情報リスト13aを有しており、送信先情報リスト13aの内容に従ってSIPメッセージを処理する。
The
図2は、送信先情報リスト13aの内容例について示した説明図である。 FIG. 2 is an explanatory diagram showing an example of the contents of the transmission destination information list 13a.
送信先情報リスト13aでは、それぞれのデータ(列)ごとに、「リスト番号」、「送信先アドレス」、「送信先ポート番号」、「1ライン最大長」、「ドメイン番号」の項目の情報を記憶している。 In the transmission destination information list 13a, for each data (column), information of items of “list number”, “transmission destination address”, “transmission destination port number”, “one line maximum length”, and “domain number” is stored. I remember it.
「リスト番号」の項目は、送信先情報リスト13aにおける当該データの識別子を示している。 The item “list number” indicates an identifier of the data in the transmission destination information list 13a.
SIP処理部13において、「送信先アドレス」の項目は、当該データが対象とするSIPメッセージの送信先アドレスを示すものとする。「送信先アドレス」については、単一のものではなく、複数指定(例えば、範囲指定)するようにしても良い。また、SIP処理部13において、当該データが対象とするSIPメッセージの指定方法は、「送信先アドレス」に限定されず、例えば、他の情報(ドメイン名等)を用いるようにしても良い。
In the
「送信先ポート番号」の項目は、当該データの「送信先アドレス」へSIPメッセージを送信する際のポート番号を示している。なお、「送信先ポート番号」の項目は、SIP処理部13の処理で用いない場合には省略するようにしても良い。
The item “destination port number” indicates a port number used when the SIP message is transmitted to the “destination address” of the data. The item “destination port number” may be omitted when not used in the processing of the
「ドメイン番号」の項目は、当該データの「送信先アドレス」に対応するドメインの識別子を示している。 The item “domain number” indicates the identifier of the domain corresponding to the “transmission destination address” of the data.
図2では、ドメイン番号としては、「1」、「2」という番号を付しているが、実際には、それぞれの番号に対応するドメイン名が図示しないテーブル等に登録されているものとする。ドメイン番号の項目の記述形式は限定されないものであり、例えば、ドメイン名自体を登録するようにしても良い。なお、「ドメイン番号」の項目は、SIP処理部13の処理で用いない場合には省略するようにしても良い。
In FIG. 2, the numbers “1” and “2” are assigned as the domain numbers, but in reality, the domain names corresponding to the numbers are registered in a table or the like (not shown). . The description format of the domain number item is not limited. For example, the domain name itself may be registered. Note that the item “domain number” may be omitted when not used in the processing of the
「1ライン最大長」の項目は、当該データが対象とするSIPメッセージ(「送信先アドレス」に対応するSIPメッセージ)の各ヘッダについて、1行(ライン)あたりに許容する最大の長さ(データ量)を示している。ここでは、1行とは、ヘッダにおいて、先頭又は改行を示す符号(例えば、CRLF等)から、次の改行を示す符号までの長さをいうものとする。また、ここでは、1ライン最大長で用いられる単位はバイトであるものとする。 The item “maximum length per line” is the maximum length (data) per line (data) for each header of the SIP message (SIP message corresponding to “destination address”) targeted by the data. Amount). Here, one line means a length from a code indicating the head or a line feed (for example, CRLF) to a code indicating the next line feed in the header. Here, the unit used for the maximum length of one line is assumed to be bytes.
SIP処理部13は、与えられたSIPメッセージについて、送信先情報リスト13aから該当するデータを検出し、検出したデータの1ライン最大長の値を保持する。そして、SIP処理部13は、そのパケットのSIPメッセージに、取得した1ライン最大長の値を超える行が存在した場合には、超えないように、改行を示す符号を挿入する処理(以下、「改行処理」という)を施す。SIP処理部13による処理については、後述する動作説明において詳述する。
The
(A−2)実施形態の動作
次に、以上のような構成を有するこの実施形態のSIPサーバ10の動作(実施形態の呼制御信号送信方法)を説明する。
(A-2) Operation | movement of embodiment Next, operation | movement (call control signal transmission method of embodiment) of the
まず、SIP−UA21とSIP−UA22との間で、SIPサーバ10を介してメッセージを送受信し、セッションを確立させる処理の概要について説明する。
First, an outline of processing for establishing a session by transmitting / receiving a message between the SIP-
図3は、発呼側のSIP−UA21が、SIPサーバ10を介して着個呼側のSIP−UA22とSIPメッセージを送受信する処理について示したシーケンス図である。
FIG. 3 is a sequence diagram illustrating processing in which the calling-side SIP-
まず、発呼側のSIP−UA21から、SIP−UA22へ発呼するためのINVITEのSIPメッセージが、SIPサーバ10へ送信されたものとする(S101)。
First, it is assumed that an SIP message of INVITE for making a call to the SIP-
次に、SIPサーバ10は受信したINVITEのSIPメッセージを変換処理(上述の改行処理を含み、詳細については後述する)して(S102)、SIP−UA22へ転送する(S103)。
Next, the
そして、INVITEのSIPメッセージを受信したSIP−UA22は、SIP−UA21に応答するためのOKのSIPメッセージ(ステータスコードが200)を、SIPサーバ10に送信し(S104)、そのSIPメッセージがSIPサーバ10により変換処理され(S105)、SIP−UA21に送信される(S106)。
Then, the SIP-
そして、OKのSIPメッセージを受信したSIP−UA21は、SIP−UA22に応答するための「ACK」のSIPメッセージを、SIPサーバ10に送信し(S107)、そのSIPメッセージがSIPサーバ10により変換処理され(S108)、SIP−UA22に送信される(S109)。
Then, the SIP-
そして、SIP−UA21とSIP−UA22との間のセッションが確立される(S110)。
Then, a session between the SIP-
次に、SIPサーバ10(SIP処理部13)によるSIPメッセージの処理の具体例について説明する。ここでは、具体例として、上述のステップS102におけるINVITEのSIPメッセージの処理について説明するが、その他のSIPメッセージについても同様の方法で処理可能である。 Next, a specific example of SIP message processing by the SIP server 10 (SIP processing unit 13) will be described. Here, as a specific example, the processing of the SIP message of INVITE in step S102 described above will be described, but other SIP messages can be processed by the same method.
図4は、SIPサーバ10(SIP処理部13)によりSIPメッセージが処理される動作について示したフローチャートである。 FIG. 4 is a flowchart showing an operation of processing the SIP message by the SIP server 10 (SIP processing unit 13).
図5は、上述の図4のフローチャートに従って、SIPサーバ10(SIP処理部13)により処理されるSIPメッセージの内容(ヘッダ部分のみ記載)の遷移を示した説明図である。 FIG. 5 is an explanatory diagram showing the transition of the content (only the header portion is described) of the SIP message processed by the SIP server 10 (SIP processing unit 13) according to the flowchart of FIG.
ここでは、SIP処理部13が、SIPメッセージの処理に用いる送信先情報リスト13aの内容については、図2のような内容であるものとする。
Here, it is assumed that the content of the transmission destination information list 13a used by the
図5(a)は、上述のステップS101で、SIP−UA21からSIPサーバ10に送信されるINVITEメッセージ(SIPメッセージ)の内容例について示している。
FIG. 5A shows an example of the content of an INVITE message (SIP message) transmitted from the SIP-
SIP処理部13では、SIPメッセージ(図5(a)のSIPメッセージ)が与えられると、まず、当該SIPメッセージについて改行処理以外の編集処理(Contactヘッダや、Record−Routeヘッダの内容の変換等)を行う(S201)。
In the
図5(b)は、ステップS201により、図5(a)に示すSIPメッセージが、SIP処理部13により変換された後(改行処理は未処理の状態)の内容を示している。 FIG. 5B shows the contents after the SIP message shown in FIG. 5A is converted by the SIP processing unit 13 (the line feed process is in an unprocessed state) in step S201.
なお、図5(b)において付された下線は、変換前(図5(a)の内容)から、記述を変更した部分を示している。図5(b)では、SIPサーバ10にてContactヘッダのアドレス情報が自身のアドレスに編集されている。具体的には、図5(b)では、Contactヘッダにおいて、SIP−UA21のアドレス(192.168.1.2)が、SIPサーバ10のアドレス(192.168.1.1)に変換されている。また、図5(b)では、SIPセッション確立後のリクエストを転送するためのRecord−Routeヘッダ等が編集されている。具体的には、図5(b)では、Record−Routeヘッダにおいて、「<sip:192.168.1.1:5060;lr>,」が、新たに挿入されている。
In addition, the underline attached | subjected in FIG.5 (b) has shown the part which changed description from before conversion (contents of Fig.5 (a)). In FIG. 5B, the address information of the Contact header is edited by the
なお、SIP処理部13によるステップS201における、SIPメッセージに対する改行処理以外の処理の内容については限定されないものであり、既存のSIPサーバと同様の処理を適用することができる。
Note that the content of processing other than the line feed processing for the SIP message in step S201 by the
そして、SIP処理部13は、送信先情報リスト13aから、当該SIPメッセージの送信先に対応するデータ(列)を検出し、検出したデータの1ライン最大長の値を保持する(S202)。
Then, the
ここでは、SIP−UA22のIPアドレスは192.168.1.3であるものとする。また、図1においては図示を省略しているが、ロケーションサーバ等により、「09012345678@domainA.net」というSIP上のアドレスに対応する通信装置として、SIP−UA22が登録されているものとする。そして、図5(b)に示すSIPメッセージには、Toヘッダ等に、「09012345678@domainA.net」が記載されている。すなわち、SIPサーバ10では、図5(b)に示すSIPメッセージの送信先は、SIP−UA22(IPアドレス:192.168.1.3)として認識されるものとする。
Here, it is assumed that the IP address of the SIP-
そして、SIP処理部13では、送信先情報リスト13aから、図5(b)に示すSIPメッセージの送信先に対応するデータ(列)として、リスト番号が2のデータ(IPアドレス:192.168.1.3に対応するデータ)が検出される。さらに、SIP処理部13では、送信先情報リスト13aから、リスト番号が2のデータにおける1ライン最大長として100[バイト]が取得される。
Then, in the
次に、SIP処理部13は、図5(b)に示すSIPメッセージの全ヘッダのそれぞれについて、記述された行の長さが、1ライン最大長(100バイト)を超えていないかを調査(S203、S204)する。そして、1ライン最大長を超えたヘッダがあった場合、そのヘッダがすべて1ライン最大長以内に収まるように改行可能位置を検索し、改行可能位置に改行を示す符号(改行文字)を挿入する処理を繰り返し実行する(S205〜S207)。
Next, the
上述のステップS203、S204では、図5(b)に示すSIPメッセージの全ヘッダのうち、Record−Routeヘッダ(図5(b)のL5の行)のみが、1ライン最大長(100バイト)を超えていたと判断されたものとする。すなわち、Record−Routeヘッダについてのみ、上述のステップS205〜S207の改行処理が行われたものとする。 In steps S203 and S204 described above, only the Record-Route header (L5 line in FIG. 5B) out of all the headers of the SIP message shown in FIG. 5B has the maximum length of one line (100 bytes). It is assumed that it was exceeded. That is, it is assumed that the line feed processing in steps S205 to S207 described above has been performed only for the Record-Route header.
図6は、図5(b)に示すSIPメッセージにおいて、Record−Routeヘッダについて上述のステップS205〜S207の改行処理が行われた場合の処理内容について示した説明図である。 FIG. 6 is an explanatory diagram showing the processing contents when the line break processing in steps S205 to S207 described above is performed on the Record-Route header in the SIP message shown in FIG. 5B.
図6(a)は、図5(b)に示すSIPメッセージにおけるRecord−Routeヘッダの内容(改行処理を施す前の状態)である。図6(a)では、Record−Routeヘッダにおいて、末尾の「=192.168.1.100;lr>」の分だけ1ライン最大長(100バイト)を超えていることを示している。なお、SIP処理部13では、各ヘッダについて、1ライン最大長(100バイト)を超えるか否かの判定には、CRLFの分(2バイト分)は含まれないものとする。
FIG. 6A shows the contents of the Record-Route header in the SIP message shown in FIG. 5B (the state before the line feed process is performed). FIG. 6A shows that the maximum length (100 bytes) of one line is exceeded by “= 192.168.1.100; lr>” at the end in the Record-Route header. In the
そして、SIP処理部13は、上述のステップS206の処理で、図6(a)に示すRecord−Routeヘッダについて、末尾から改行可能な位置の検索を行う。改行可能な位置については、検索対象のSIPメッセージにおける各ヘッダの記述方式に応じて定義するようにしても良い。ここでは、SIP処理部13は、例として、「<」の括弧の記号の前に記述された「,」等の区切りの記号の位置を、改行可能位置として認識するものとする。例えば、SIP処理部13は、改行処理を行おうとするヘッダについて、「,<」という文字列を検出した場合、その「,」と「<」の文字の間を改行可能位置として検出するようにしても良い。
Then, the
ここでは、例として、SIPメッセージの各ヘッダで、「<……>,<……>,…」のように、所定の括弧記号で囲われた記述(例えば、「<……>」のような記述)と、所定の区切り記号(例えば、カンマ「,」等)が交互に記述されている場合には、上述の括弧記号で囲われた記述「<……>」の間の区切り記号「,」の位置で改行を行っても、送信先のSIP−UA22では正常に処理できるものとする。
Here, as an example, in each header of the SIP message, a description enclosed in predetermined parenthesis symbols such as “<……>, <……>,... ) And a predetermined delimiter (for example, comma “,”, etc.) are described alternately, the delimiter “<……>” between the parentheses described above is “ , ”, It is assumed that the destination SIP-
そうすると、SIP処理部13は、図6(a)に示すRecord−Routeヘッダについて、末尾から検索していくと、「sip:3Zqkv…」という記述の次に、「,<」という記述が検出されるため、この「,」と「<」の文字の間を改行可能位置として検出することになる。
Then, when the
次に、SIP処理部13は、ステップS207の処理により、図6(a)に示すRecord−Routeヘッダについて、検出した改行可能位置に、改行を示す符号を挿入する。ここでは、SIP処理部13は、非特許文献2(RFC3261)の7.3.1項のルールに従って、改行可能位置に、改行を示す符号として、「CRLF」及び、「SP」(スペースを示す符号)を挿入するものとする。
Next, the
その結果、図6(a)に示すRecord−Routeヘッダ(L5)については、改行挿入位置に改行を示す符号が挿入され、図6(b)に示すように、L5aとL5bの行に分割されることになる。 As a result, for the Record-Route header (L5) shown in FIG. 6A, a code indicating a line feed is inserted at the line feed insertion position, and is divided into lines L5a and L5b as shown in FIG. 6B. Will be.
そして、SIP処理部13は、まだ、改行可能位置を未検索のL5aの行について、1ライン最大長(100バイト)を超えているか否かを確認し、超えている場合には、上述と同様に改行可能位置を検索する。このように、SIP処理部13は、当該ヘッダ内の全ての行の長さが、1ライン最大長(100バイト)以下となるまで、改行可能位置を未検索の行について、ステップS205〜S207の処理を繰り返す。ここでは、上述の図6(b)に示すL5aの行については、1ライン最大長(100バイト)以下であり、ステップS205〜S207は、繰り返し行われずに終了したものとして以降の説明を行う。
Then, the
そして、図5(b)に示すSIPメッセージについて、ステップS205〜S207の処理が行われた後の内容を、図5(c)に示す。 FIG. 5C shows the content of the SIP message shown in FIG. 5B after the processing in steps S205 to S207 is performed.
図5(c)では、図5(b)におけるL5の行の記述が、改行処理によりL5a及びL5bに分割している様子について示している。そして、L5a及びL5bは、上述の通り、いずれも1ライン最大長(100バイト)以下の長さとなっている。 FIG. 5C shows a state in which the description of the line L5 in FIG. 5B is divided into L5a and L5b by line feed processing. As described above, L5a and L5b are both the length of one line maximum length (100 bytes) or less.
以上のように、SIP処理部13は、図5(a)に示すSIPメッセージを、図5(c)に示すSIPに示すSIPメッセージに変換し、変換したSIPメッセージをSIP−UA22に対して送信(S208)して処理を終了する。
As described above, the
(A−3)実施形態の効果
この実施形態によれば、以下のような効果を奏することができる。
(A-3) Effects of Embodiment According to this embodiment, the following effects can be achieved.
SIPサーバ10では、送信しようとするSIPメッセージのヘッダうち、1行あたりの長さが送信先のSIP−UAが許容する上限(1ライン最大長)を超える場合には、その上限を超えないように改行可能な箇所を探して改行処理を行ってから送信している。これにより、SIPサーバ10から送信されたSIPメッセージは、送信先のSIP−UAにおいて、本来ならば処理不能なSIPメッセージであったとしても、正常に処理させることができる。
In the
また、SIPサーバ10では、送信先情報リスト13aにおいて、送信先ごとに許容する1行あたりの長さの上限(1ライン最大長)を規定し、SIPメッセージを処理する際に送信先情報リスト13aの情報を利用して、送信先のSIP−UAにおいて処理可能なSIPメッセージに加工している。これにより、SIPサーバ10では、送信先に応じて最低限の改行処理だけを行えれば良いことになり、SIPメッセージの処理を効率的に行うことができる。
Further, the
(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)上記の実施形態では、本発明の呼制御信号送信装置を、SIPメッセージを中継処理するSIPサーバに適用した例について説明したが、その他にも、SIPのプロキシサーバやレジストラサーバ等、SIP信号等の呼制御信号を送信する装置にも適用することができる。また、本発明の呼制御信号送信装置は、SIP−UAにサービスを提供するサーバだけでなく、SIP−UA側に適用するようにしても良い。 (B-1) In the above embodiment, an example in which the call control signal transmission device of the present invention is applied to a SIP server that relays a SIP message has been described, but in addition, a SIP proxy server, a registrar server, etc. The present invention can also be applied to devices that transmit call control signals such as SIP signals. Further, the call control signal transmitting apparatus of the present invention may be applied not only to a server that provides services to SIP-UA but also to the SIP-UA side.
SIP−UA等の自ら生成したSIPメッセージを送信する装置に、本発明の呼制御信号送信装置を適用する場合には、例えば、自らが生成したSIPメッセージについて、上記の実施形態と同様に、送信先ごとの仕様に適合した改行処理を行うようにしても良い。 When the call control signal transmission device of the present invention is applied to a device that transmits a SIP message generated by itself, such as SIP-UA, for example, the SIP message generated by itself is transmitted as in the above embodiment. Line feed processing that conforms to the specifications of each destination may be performed.
(B−2)上記の実施形態では、送信先情報リスト13aには、送信先のIPアドレス等に応じて1ライン最大長を定義しているが、ネットワークの事業者単位で、1ライン最大長を定義するようにしても良い。 (B-2) In the above embodiment, the transmission destination information list 13a defines a maximum length of one line according to the IP address of the transmission destination, but the maximum length of one line for each network operator. May be defined.
例えば、インターネット等の複数のネットワーク事業者により構成されたネットワークでは、対応するSIPメッセージの仕様は、通常ネットワークの事業者単位で異なる場合がある。そのため、送信先情報リスト13aに、ネットワークの事業者単位で1ライン最大長を定義することにより、送信先へのSIPメッセージの送信に対応することができる。 For example, in a network configured by a plurality of network operators such as the Internet, the specification of the corresponding SIP message may be different for each network operator. Therefore, by defining the maximum length of one line for each network operator in the transmission destination information list 13a, it is possible to cope with the transmission of the SIP message to the transmission destination.
送信先情報リスト13aにおいて、ネットワーク事業者単位で、1ライン最大長を定義する方法としては、例えば、ネットワーク事業者単位となるIPアドレスの範囲や、ネットワーク事業者単位となるドメイン名(複数指定するようにしても良い)ごとに、1ライン最大長を定義するようにしても良い。 In the transmission destination information list 13a, as a method for defining the maximum length of one line for each network operator, for example, a range of IP addresses for each network operator or a domain name for each network operator (specify a plurality of addresses). The maximum length of one line may be defined every time.
(B−3)上記の実施形態では、SIPサーバ10は、送信するSIPメッセージについて、送信先情報リスト13aで定義された1ライン最大長に従い、必要に応じて改行を示す符号を挿入しているが、送信先のSIP−UAの仕様によっては、この改行を示す符号を認識できない場合もある。
(B-3) In the above embodiment, the
そこで、例えば、送信先情報リスト13aで、改行を示す符号を認識できない送信先に対する1ライン最大長として、十分に長い1ライン最大長(例えば、10000バイト等実際にはあり得ない長さ)を定義することにより、改行を示す符号を認識できない送信先に対しては、SIPメッセージに改行を示す符号を挿入しないようにすることができる。また、例えば、送信先情報リスト13aで、改行を示す符号を認識できない送信先に対する1ライン最大長として、具体的な値ではなく、SIPメッセージに改行を示す符号を挿入しないことを指示する情報を定義しておくようにしても良い。 Therefore, for example, in the transmission destination information list 13a, a sufficiently long 1-line maximum length (for example, 10000 bytes, which is not possible in practice) is set as the maximum 1-line length for a transmission destination that cannot recognize a code indicating line feed By defining, it is possible not to insert a code indicating a line feed into the SIP message for a transmission destination that cannot recognize a code indicating a line feed. In addition, for example, in the transmission destination information list 13a, information indicating that a code indicating a line feed is not inserted into the SIP message as a maximum length per line for a transmission destination that cannot recognize a code indicating a line feed, instead of a specific value. You may make it define.
(B−4)上記の実施形態では、SIP処理部13により、SIPメッセージで各ヘッダの改行可能位置を検索する際に、例として、SIPメッセージで「,<」という文字列を検出した場合、その「,」と「<」の文字の間を改行可能位置として検出している。しかし、送信先のSIP−UAの仕様上正常に処理可能な位置(ヘッダの構文上で改行が許される位置)であれば、改行可能位置の定義は上述の位置に限定されない。
(B-4) In the above embodiment, when the
また、上記の実施形態では、SIP処理部13は、SIPメッセージのヘッダで、改行可能位置に、改行を示す符号として、「CRLF」及び、「SP」(スペースを示す符号)を挿入しているが、送信先のSIP−UAの仕様上正常に処理可能な内容であれば、その符号の内容は限定されないものである。
In the above-described embodiment, the
10…SIPサーバ、11…制御部、12…送受信部、13…SIP処理部13a…送信先情報リスト、13…SIP処理部、21、22…SIP−UA、SIP−UA21、SIP−UA22。
DESCRIPTION OF
Claims (6)
呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶する送信先情報記憶手段と、
上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工する呼制御信号加工手段とを有し、
上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持する
ことを特徴とする呼制御信号送信装置。 In a call control signal transmitter that sends a call control signal to a destination communication device,
Destination information storage means for storing the upper limit value of the data amount per line of the call control signal to be transmitted for each destination of the call control signal;
The upper limit value that holds the upper limit value corresponding to the transmission destination of the call control signal to be transmitted by the call control signal transmission device from the transmission destination information storage means, and holds the data amount of all rows of the call control signal so as not to exceed, and a call control signal processing means for processing the call control signals,
The call control signal processing means is characterized in that, when processing a call control signal, the content of data as a whole call control signal is maintained before and after processing .
呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶する送信先情報記憶手段と、
上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工する呼制御信号加工手段として機能させ、
上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持する
ことを特徴とする呼制御信号送信プログラム。 A computer mounted on a call control signal transmission device that sends a call control signal to a destination communication device,
Destination information storage means for storing the upper limit value of the data amount per line of the call control signal to be transmitted for each destination of the call control signal;
The upper limit value that holds the upper limit value corresponding to the transmission destination of the call control signal to be transmitted by the call control signal transmission device from the transmission destination information storage means, and holds the data amount of all rows of the call control signal so as not to exceed, to function as a call control signal processing means for processing the call control signals,
A call control signal transmission program characterized in that the call control signal processing means maintains the content of data as a whole call control signal before and after processing when processing the call control signal.
送信先情報記憶手段、呼制御信号加工手段を有し、
上記送信先情報記憶手段は、呼制御信号の送信先ごとに、送信する呼制御信号の1行あたりのデータ量の上限値を記憶し、
上記呼制御信号加工手段は、上記送信先情報記憶手段から、当該呼制御信号送信装置が送信しようとする呼制御信号の送信先に対応する上限値を保持し、当該呼制御信号の全ての行のデータ量が保持した上限値を超えないように、当該呼制御信号を加工し、
上記呼制御信号加工手段は、呼制御信号を加工する際に、加工前と加工後で呼制御信号全体としてのデータの内容を維持する
ことを特徴とする呼制御信号送信方法。
In a call control signal transmission method executed by a call control signal transmission device that transmits a call control signal to a destination communication device,
A transmission destination information storage means, a call control signal processing means,
The transmission destination information storage means stores, for each transmission destination of the call control signal, an upper limit value of the data amount per line of the call control signal to be transmitted,
The call control signal processing means holds an upper limit value corresponding to the transmission destination of the call control signal to be transmitted by the call control signal transmission device from the transmission destination information storage means, and stores all lines of the call control signal. Process the call control signal so that the amount of data does not exceed the retained upper limit,
A call control signal transmission method characterized in that the call control signal processing means maintains the content of data as a whole call control signal before and after processing when processing the call control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010181686A JP5682176B2 (en) | 2010-08-16 | 2010-08-16 | Call control signal transmitting apparatus, program and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010181686A JP5682176B2 (en) | 2010-08-16 | 2010-08-16 | Call control signal transmitting apparatus, program and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012044303A JP2012044303A (en) | 2012-03-01 |
JP5682176B2 true JP5682176B2 (en) | 2015-03-11 |
Family
ID=45900145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010181686A Active JP5682176B2 (en) | 2010-08-16 | 2010-08-16 | Call control signal transmitting apparatus, program and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5682176B2 (en) |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6807173B1 (en) * | 2000-08-23 | 2004-10-19 | Nortel Networks Limited | Method and system for improving bandwidth availability in a data communication network by tokenizing messages |
GB2372180A (en) * | 2001-02-07 | 2002-08-14 | Motorola Inc | Compression of SIP/SDP headers by omitting standard fields from transmission and insertion of omitted fields from cache at receiver |
JP2005011012A (en) * | 2003-06-18 | 2005-01-13 | Sharp Corp | Communication terminal, communication control device, program for implementing communication method, and program for implementing communication control method |
JP2006085228A (en) * | 2004-09-14 | 2006-03-30 | Nec Corp | Portable communication terminal with e-mail function |
JP2006148485A (en) * | 2004-11-18 | 2006-06-08 | Ntt Docomo Inc | Communication equipment and data communication method |
KR100636985B1 (en) * | 2005-05-25 | 2006-10-19 | 엘지전자 주식회사 | SSM message compression method of mobile communication terminal and mobile communication terminal |
JP2006345231A (en) * | 2005-06-09 | 2006-12-21 | Image Partner:Kk | Sip-alg method |
CN1897578A (en) * | 2005-07-14 | 2007-01-17 | 华为技术有限公司 | Message conversion and converting system |
JP5016902B2 (en) * | 2006-11-22 | 2012-09-05 | キヤノン株式会社 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
JP2008219252A (en) * | 2007-03-01 | 2008-09-18 | Nec Corp | Network communication system, and application notifying method and program |
JP5049646B2 (en) * | 2007-05-14 | 2012-10-17 | パナソニック株式会社 | IP communication apparatus and data transmission method thereof |
US9705935B2 (en) * | 2008-01-14 | 2017-07-11 | Qualcomm Incorporated | Efficient interworking between circuit-switched and packet-switched multimedia services |
JP2009194661A (en) * | 2008-02-14 | 2009-08-27 | Nippon Telegr & Teleph Corp <Ntt> | Conference terminal |
JP2009206756A (en) * | 2008-02-27 | 2009-09-10 | Nippon Telegr & Teleph Corp <Ntt> | Communication terminal apparatus |
JP2009301193A (en) * | 2008-06-11 | 2009-12-24 | Panasonic Corp | Portable communication device and communication method |
JP2010081353A (en) * | 2008-09-26 | 2010-04-08 | Panasonic Corp | Portable radio terminal device and communication method |
-
2010
- 2010-08-16 JP JP2010181686A patent/JP5682176B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012044303A (en) | 2012-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100728280B1 (en) | Network state management method using call release request / response message in communication system using SIP | |
JP5001436B2 (en) | Message processing in communication networks | |
JP4470934B2 (en) | Proxy server, communication system, communication method, and program | |
JP2008199348A (en) | Relay device, relay program, and communication system | |
JP2005318503A (en) | Presence server, session control server, packet relay system, server, and system | |
CN100574474C (en) | Set up the method that communication traffic connects in a kind of communication system | |
JP2005236824A (en) | IPv6 / IPv4 translator | |
JP2006120139A (en) | Reuse of registered identifier | |
CN111510476A (en) | Communication method, communication apparatus, computer device, and computer-readable storage medium | |
US8656001B2 (en) | Communication system, application server and communication method for server cooperation | |
JP4966376B2 (en) | Loop detection in SIP signaling proxy | |
CN1954578B (en) | Improvements in message-based communications | |
JP2010028286A (en) | Sip server and communication system | |
US7899058B2 (en) | Using a hash value as a pointer to an application class in a communications device | |
JP4627506B2 (en) | Proxy connection method, proxy server, and program for connecting HTTP compatible terminal to SIP compatible server | |
CN103152495B (en) | A kind of method of media transfer, Apparatus and system | |
JP5682176B2 (en) | Call control signal transmitting apparatus, program and method | |
JP4541333B2 (en) | Terminal device, system, method, and program | |
WO2014117515A1 (en) | Method, system, and rcs-e server for determining terminal state | |
JP5640764B2 (en) | Signal processing apparatus and program | |
KR100894906B1 (en) | Terminal device providing IP multimedia service based on session establishment protocol, call session control function device and service request transmission / reception method using same | |
JP4555005B2 (en) | Protocol conversion server | |
JP4839620B2 (en) | Call control system, call control method, and call control program | |
CN103533100B (en) | Message transmitting method and node device | |
WO2018207884A1 (en) | Gateway device, message transmission method and program |
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: 20130515 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140212 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140422 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140619 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20140619 |
|
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: 20141216 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141229 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5682176 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |