JP4798785B2 - Connection restriction method for peer-to-peer connection in SIP terminal device - Google Patents

Connection restriction method for peer-to-peer connection in SIP terminal device Download PDF

Info

Publication number
JP4798785B2
JP4798785B2 JP2006281226A JP2006281226A JP4798785B2 JP 4798785 B2 JP4798785 B2 JP 4798785B2 JP 2006281226 A JP2006281226 A JP 2006281226A JP 2006281226 A JP2006281226 A JP 2006281226A JP 4798785 B2 JP4798785 B2 JP 4798785B2
Authority
JP
Japan
Prior art keywords
terminal device
sip terminal
sip
connection
peer
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
Application number
JP2006281226A
Other languages
Japanese (ja)
Other versions
JP2008099168A (en
Inventor
久雄 岸
匡伸 阿部
圭一 中山
博敬 大畑
勉 入島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iwatsu Electric Co Ltd
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East Corp
Original Assignee
Iwatsu Electric Co Ltd
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iwatsu Electric Co Ltd, Nippon Telegraph and Telephone West Corp, Nippon Telegraph and Telephone East Corp filed Critical Iwatsu Electric Co Ltd
Priority to JP2006281226A priority Critical patent/JP4798785B2/en
Publication of JP2008099168A publication Critical patent/JP2008099168A/en
Application granted granted Critical
Publication of JP4798785B2 publication Critical patent/JP4798785B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はSIP端末装置におけるピアツーピア接続の接続規制方法に関する。   The present invention relates to a connection restriction method for peer-to-peer connection in a SIP terminal device.

従来、IPネットワークを利用したIP電話システムがある。このIP電話システムは、例えば図9に示すようにインターネットプロトコルを利用するIPネットワーク1、このIPネットワーク1に接続された複数のSIP端末装置2とこれらSIP端末装置2間の接続を仲介するSIPサーバ3を備えて構成される(SIP:Session Initiation Protocol/RFC3261)。   Conventionally, there is an IP telephone system using an IP network. This IP telephone system includes, for example, an IP network 1 using the Internet protocol as shown in FIG. 9, a plurality of SIP terminal devices 2 connected to the IP network 1, and a SIP server that mediates the connection between these SIP terminal devices 2. 3 (SIP: Session Initiation Protocol / RFC3261).

このように構成されたIP電話システムにおいてSIP端末装置2,2間で通信(通話)を行う場合、その通信に先立ってSIPサーバ3とSIP端末装置2との間で、接続先端末情報を取得し、その接続先端末情報に従って所定のプロトコルに従ってSIP端末装置2,2との間で相互通信が行われる(SIP:Session Initiation Protocol/RFC3261)。   When communication (call) is performed between the SIP terminal devices 2 and 2 in the IP telephone system configured as described above, connection destination terminal information is acquired between the SIP server 3 and the SIP terminal device 2 prior to the communication. Then, mutual communication is performed between the SIP terminal devices 2 and 2 according to a predetermined protocol in accordance with the connection destination terminal information (SIP: Session Initiation Protocol / RFC3261).

またこの種のSIP端末装置を利用した通信方式において、特定のSIP端末装置だけに通信を許可する接続規制を行う場合、SIPサーバ3に通信を許可するSIP端末装置2の接続許可情報を保持しておく。そしてSIPサーバ3は、SIP端末装置2からの呼をプロキシする際に、当該SIPサーバ3が保持する接続許可情報をもとに呼の接続規制をする。このような接続規制をするネットワーク間接続制御方法及びシステム装置が知られている(例えば、特許文献1参照)。
特開2005−175635号公報
In addition, in the communication method using this type of SIP terminal device, when connection restriction is permitted to allow communication only to a specific SIP terminal device, the SIP server 3 holds connection permission information of the SIP terminal device 2 that permits communication. Keep it. When the SIP server 3 proxies a call from the SIP terminal device 2, the SIP server 3 regulates the connection of the call based on the connection permission information held by the SIP server 3. An inter-network connection control method and a system device that perform such connection restriction are known (see, for example, Patent Document 1).
JP 2005-175635 A

しかしながら、前述した特許文献に記載の発明は、SIPサーバ3が保持するSIP端末装置2,2間の接続許可情報に基づく接続制御方法である。したがってSIPサーバ3を介さず、SIP端末装置2,2間で一対一(ピアツーピア)通信を行う場合は、SIP端末装置2,2間における接続制限の制御ができないという問題がある。
本発明は、上述した従来の問題点を解決すべくなされたものであって、その目的は、SIP端末装置間で一対一(ピアツーピア)通信を行う場合であってもSIP端末装置間の接続規制を行うことができるSIP端末装置におけるピアツーピア接続の接続規制方法を提供することにある。
However, the invention described in the above-mentioned patent document is a connection control method based on connection permission information between the SIP terminal devices 2 and 2 held by the SIP server 3. Therefore, when one-to-one (peer-to-peer) communication is performed between the SIP terminal devices 2 and 2 without using the SIP server 3, there is a problem that connection restriction cannot be controlled between the SIP terminal devices 2 and 2.
The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to regulate connection between SIP terminal devices even when performing one-to-one (peer-to-peer) communication between SIP terminal devices. It is an object of the present invention to provide a connection restriction method for peer-to-peer connection in a SIP terminal device that can perform the above-described operation.

上述した目的を達成すべく本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、所定の通信ネットワークに接続された一対のSIP端末装置におけるピアツーピア接続の接続規制方法であって、
前記SIP端末装置は、該SIP端末装置と前記ネットワークに接続された他の前記SIP端末装置とを識別する識別子情報を保持する識別情報保持部と、接続を許可する前記SIP端末装置の識別子情報を保持する許可情報保持部と、前記通信ネットワークを介して他の前記SIP端末装置と通信する際のSIPメッセージに自らの前記識別子情報を付与して送信する呼制御部とを備え、
前記呼制御部は、他の前記SIP端末装置から送出されたSIPメッセージを受けて、このSIPメッセージに含まれる前記識別子情報が前記許可情報保持部に保持されているとき、該SIP端末装置間における相互通信を許可することを特徴としている。
In order to achieve the above-described object, a connection restriction method for peer-to-peer connection in a SIP terminal device of the present invention is a connection restriction method for peer-to-peer connection in a pair of SIP terminal devices connected to a predetermined communication network,
The SIP terminal device includes an identification information holding unit that holds identifier information for identifying the SIP terminal device and another SIP terminal device connected to the network, and identifier information of the SIP terminal device that permits connection. A permission information holding unit for holding, and a call control unit for giving and transmitting the identifier information to a SIP message when communicating with another SIP terminal device via the communication network,
The call control unit receives a SIP message sent from another SIP terminal device, and when the identifier information included in the SIP message is held in the permission information holding unit, between the SIP terminal devices It is characterized by allowing mutual communication.

好ましくは前記SIP端末装置は、更に前記許可情報保持部に前記識別子情報を入力する識別子情報入力部を備えることが望ましい。
また前記識別子情報は、前記ネットワークを介して前記SIP端末装置に与えられるものとして構成される。
或いは本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、前記ネットワークに接続されて、前記識別子情報を保持する接続情報格納データベースサーバを備え、前記SIP端末装置は、他の前記SIP端末装置と相互通信するに際して、前記接続情報格納データベースが保持する前記識別子情報を取得して前記許可情報保持部に保持すると共に、他の前記SIP端末装置から送出されたSIPメッセージを受けて、このSIPメッセージに含まれる前記識別子情報が前記許可情報保持部に保持されているとき、該SIP端末装置間における相互通信を許可することを特徴としている。
Preferably, the SIP terminal device further includes an identifier information input unit that inputs the identifier information to the permission information holding unit.
The identifier information is configured to be given to the SIP terminal device via the network.
Alternatively, the connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention includes a connection information storage database server connected to the network and holding the identifier information, and the SIP terminal device is connected to the other SIP terminal device. When performing mutual communication, the identifier information held in the connection information storage database is acquired and held in the permission information holding unit, and the SIP message received from the other SIP terminal device is received. When the included identifier information is held in the permission information holding unit, mutual communication between the SIP terminal devices is permitted.

上述したように本発明のSIP端末装置におけるピアツーピア接続の接続規制方法によれば、SIP端末装置の識別情報保持部が保持する識別子情報を通信(通話)に先立って通信相手からのSIP端末装置に転送し、この識別子情報を受けたSIP端末装置は、このSIP端末装置の許可情報保持部が保持する通信を許可する識別子であるとき判定したとき、SIPサーバを介すことなく呼制御部による通信を許可することができる。   As described above, according to the connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention, the identifier information held by the identification information holding unit of the SIP terminal device is transmitted to the SIP terminal device from the communication partner prior to communication (call). When the SIP terminal device that has transferred and received the identifier information determines that it is an identifier that permits communication held by the permission information holding unit of the SIP terminal device, communication by the call control unit without passing through the SIP server Can be allowed.

また、本発明のSIP端末装置におけるピアツーピア接続において識別子は、SIP端末装置が備える識別子情報入力部としての例えばキーボードから入力設定されるだけでなく、SIP端末装置が接続されたネットワークを介して他の端末装置、例えばパソコン等から設定することもできる。
或いは、SIP通信端末装置は、他のSIP端末装置と相互通信する際、接続情報格納データベースが保持する識別子情報をネットワークを介して受け取り、許可接続情報保持部に保持する一方、他のSIP端末装置から送出されたSIPメッセージを受けたとき、このSIPメッセージに含まれる識別子情報が許可情報保持部に保持されているとき、SIP端末装置間における相互通信を許可しているので、SIPサーバを介すことなく呼制御部による通信を許可することができる。
In addition, in the peer-to-peer connection in the SIP terminal device of the present invention, the identifier is not only input and set from, for example, a keyboard as an identifier information input unit provided in the SIP terminal device, but other identifiers are also established via the network to which the SIP terminal device is connected. It can also be set from a terminal device such as a personal computer.
Alternatively, when the SIP communication terminal device communicates with another SIP terminal device, the SIP communication terminal device receives the identifier information held in the connection information storage database via the network and holds it in the permitted connection information holding unit, while the other SIP terminal device. When the SIP message transmitted from the SIP message is received and the identifier information included in the SIP message is held in the permission information holding unit, mutual communication between the SIP terminal devices is permitted. The communication by the call control unit can be permitted without.

勿論、SIPサーバを介して接続規制を行う場合であっても、更に本発明のSIP端末装置におけるピアツーピア接続の接続規制方法を併用することもできるという優れた効果を奏し得る。   Of course, even when the connection is regulated through the SIP server, it is possible to achieve an excellent effect that the connection regulation method for peer-to-peer connection in the SIP terminal device of the present invention can be used together.

以下、本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法について図面を参照しながら説明する。
図1において、図9と同一の符号を付した部分は同一物を表し、基本的な構成は図9に示す従来のものと同様である。尚、図1〜図8は、本発明の実施例を説明するための図であって、これらの図によって本発明が限定されるものではない。
Hereinafter, a connection restriction method for peer-to-peer connection in a SIP terminal apparatus according to an embodiment of the present invention will be described with reference to the drawings.
1, parts denoted by the same reference numerals as those in FIG. 9 represent the same parts, and the basic configuration is the same as the conventional one shown in FIG. 1 to 8 are diagrams for explaining an embodiment of the present invention, and the present invention is not limited by these drawings.

さて、図1において1は、例えばIPパケットが送受されるIPネットワークである。このIPネットワーク1には、SIPプロトコルによってVoIPを実行するSIP端末装置2,2が接続されている。詳しくはこのSIP端末装置2は、ネットワーク1に接続されて、このネットワーク1を介してSIP端末装置2,2,との間で相互に所定の情報を送受するネットワークインタフェース部2a、このネットワークインタフェース部2aを介してSIPメッセージの生成/解析を行いSIPプロトコルに従って通信を実行するSIPスタック部2b、ネットワークインタフェース部2aを介して前記他のSIP端末装置2と通話を実行中に通話パス(RTP)制御を行うメディア部2c、SIP端末装置2を操作するユーザへの情報提示や文字列等の表示出力やユーザから入力される電話番号、短縮キー等の操作入力、通話音声の入出力のほか、他のSIP端末装置2との接続を許可する識別子情報を入力する識別子情報入力部の役割を担う入出力インタフェース部2e、他のSIP端末装置2と重複することなく他のSIP端末装置2と自端末装置とを識別可能な識別子情報を保持する識別情報保持部10a、当該SIP端末装置2と接続を許可するSIP端末装置2の識別子情報を保持する許可情報保持部10bと、これら各部の作動を制御するとともに、SIPスタックの呼制御および通話パスの確立を制御する呼制御部2dを備える。   In FIG. 1, reference numeral 1 denotes an IP network through which IP packets are transmitted and received, for example. Connected to the IP network 1 are SIP terminal apparatuses 2 and 2 that execute VoIP using the SIP protocol. Specifically, the SIP terminal device 2 is connected to the network 1 and transmits / receives predetermined information to / from the SIP terminal devices 2 and 2 via the network 1, and the network interface unit. A SIP stack unit 2b that generates / analyzes a SIP message via 2a and executes communication according to the SIP protocol, and a call path (RTP) control during a call with the other SIP terminal device 2 via the network interface unit 2a Media part 2c for performing information, presenting information to the user who operates the SIP terminal device 2, display output of character strings, etc., operation input such as telephone numbers input from the user, speed keys, etc., input / output of call voice, etc. Plays the role of an identifier information input unit for inputting identifier information for permitting connection with the SIP terminal device 2 The output interface unit 2e, the identification information holding unit 10a that holds the identifier information that can identify the other SIP terminal device 2 and the own terminal device without overlapping with the other SIP terminal device 2, and the SIP terminal device 2 are connected. A permission information holding unit 10b that holds identifier information of the permitted SIP terminal device 2 and a call control unit 2d that controls the operation of these units and controls call control of the SIP stack and establishment of a call path.

ちなみに識別情報保持部10aおよび許可情報保持部10bは、例えばSIP端末装置2のメモリ等の記憶部にそのデータをテーブルとして保持するデータ管理部10によって管理される。具体的にこれらの情報は、識別子情報入力部の役割を担う入出力インタフェース部2eから入力されて、図2に示すようにデータ管理部10の内部に当該SIP端末装置2の識別子情報と、接続を許可するSIP端末装置2の識別子情報とがテーブルとして保持される。   Incidentally, the identification information holding unit 10a and the permission information holding unit 10b are managed by the data management unit 10 that holds the data as a table in a storage unit such as a memory of the SIP terminal device 2, for example. Specifically, these pieces of information are input from the input / output interface unit 2e serving as the identifier information input unit, and as shown in FIG. The identifier information of the SIP terminal device 2 that permits the above is held as a table.

尚、上述した識別子情報は、例えばイーサネット(登録商標)のインタフェースとして実装されるMACアドレス情報等を用いることが望ましいが、他のSIP端末装置2と識別可能であればよく、MACアドレスに限定されるものではない(例えばIPアドレス、ユーザの名前やSIP端末装置2に予め割り当てられた電話番号等でもよい)。
また、この識別子情報は、IPネットワーク1を介して例えばパソコン等の端末装置(図1には図示せず)から入力されてSIP端末装置2のデータ管理部10に保持するように構成してもかまわない。
For example, MAC address information implemented as an Ethernet (registered trademark) interface or the like is preferably used as the identifier information described above. However, the identifier information is not limited to the MAC address as long as it can be identified from other SIP terminal devices 2. (For example, an IP address, a user name, a telephone number assigned in advance to the SIP terminal device 2 or the like may be used).
The identifier information may be input from a terminal device (not shown in FIG. 1) such as a personal computer via the IP network 1 and held in the data management unit 10 of the SIP terminal device 2. It doesn't matter.

或いは、図1には特に図示しないが、上記識別子情報を保持する接続情報格納データベースサーバをIPネットワーク1に接続し、SIP端末装置2がこの接続情報格納データベースサーバにアクセスして識別子情報を受け取るように構成してもよい。この場合、SIP端末装置2は、他のSIP端末装置2と相互通信するに際して、SIP端末装置2,2間の通信を許可する識別子情報を接続情報格納データベースから取得して許可情報保持部10bに保持する。そしてこのSIP端末装置2は、他のSIP端末装置2から送出されたSIPメッセージを受け、このSIPメッセージに含まれる識別子情報が許可情報保持部10bに保持されている識別子情報と一致したと判定したとき、SIP端末装置2,2間における相互通信を実行する。   Alternatively, although not particularly shown in FIG. 1, a connection information storage database server holding the identifier information is connected to the IP network 1, and the SIP terminal device 2 accesses the connection information storage database server to receive the identifier information. You may comprise. In this case, when the SIP terminal device 2 communicates with another SIP terminal device 2, the SIP terminal device 2 acquires identifier information for permitting communication between the SIP terminal devices 2 and 2 from the connection information storage database and stores it in the permission information holding unit 10b. Hold. The SIP terminal device 2 receives the SIP message sent from the other SIP terminal device 2, and determines that the identifier information included in the SIP message matches the identifier information held in the permission information holding unit 10b. At this time, mutual communication between the SIP terminal apparatuses 2 and 2 is executed.

次に概略的には上述したように構成された本発明のSIP端末装置におけるピアツーピア接続の接続規制方法の作動についてより詳細に説明する。
他のSIP端末装置2とピアツーピア接続を実行するに先立って、呼制御部2dは、識別情報保持部10aに保持された自端末の識別子情報を参照し、SIPメッセージのローカルタグまたはリモートタグにこの識別子情報を設定する。ちなみにローカルタグは、当該呼における自端末を表す識別子であり、リモートタグは、当該呼における通信相手方の識別子である。
Next, the operation of the connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention configured as described above will be described in more detail.
Prior to executing peer-to-peer connection with another SIP terminal device 2, the call control unit 2 d refers to the identifier information of the own terminal held in the identification information holding unit 10 a, and stores this information in the local tag or remote tag of the SIP message. Set identifier information. Incidentally, the local tag is an identifier representing the own terminal in the call, and the remote tag is an identifier of the communication partner in the call.

SIP端末装置2,2間で送受されるこれらのタグの伝達手順についての詳細は後述するが、その設定方法は、リクエスト送信時およびレスポンス受信時においては、Fromのローカルタグに図3に示すように自端末を示すタグ情報を例えば[tag=000F203B3BDF]というように設定してSIPメッセメッセージとする。尚、ここに示したタグ情報は、前述した当該端末のMACアドレス等が設定されて他のSIP端末装置2と識別可能となるようになっている。またリクエスト受信時およびレスポンス送信時は、Fromのリモートタグに通信相手方の識別子が同様にタグとして設定される。   The details of the transmission procedure of these tags sent and received between the SIP terminal devices 2 and 2 will be described later. The setting method is as shown in FIG. 3 in the From local tag when sending a request and when receiving a response. The tag information indicating its own terminal is set as, for example, [tag = 000F203B3BDF] to form a SIP message message. Note that the tag information shown here is set with the above-described MAC address of the terminal so that it can be distinguished from other SIP terminal devices 2. When a request is received and a response is transmitted, the identifier of the communication partner is similarly set as a tag in the From remote tag.

またリクエスト受信時およびレスポンス送信時にToのローカルタグには、図4に示すように自端末を示すタグ情報を例えば[tag=0040D06AA321]というように設定しSIPメッセージとする。尚、ここに示したタグ情報は、前述した当該端末のMACアドレス等である。またリクエスト送信時およびレスポンス受信時は、Toのリモートタグに通信相手方の識別子が同様にタグとして設定される。   Further, in the local tag of To at the time of request reception and response transmission, tag information indicating its own terminal is set as, for example, [tag = 0040D06AA321] as shown in FIG. The tag information shown here is the aforementioned MAC address of the terminal. When sending a request and receiving a response, the identifier of the communication partner is similarly set as a tag in the remote tag of To.

ちなみに識別子としてMACアドレス以外の情報を設定する場合は、
(1)SIP端末装置2が備える入出力インタフェース部2eから、SIP端末装置2を利用するユーザが設定して登録する。
(2)接続を所望する相手方のSIP端末装置2に自端末装置を識別する識別子情報を含むSIPメッセージを予め送出して登録させる。この場合は、応答メッセージとして受け取ったリモートタグの識別子を接続情報として保持すればよい。尚、この場合は、ユーザが無作為に登録作業を行うことができないような仕組みをとることが望ましい。
(3)特に図示しないが接続情報格納データベースを備えたデータベースサーバを設け、このデータベースサーバに接続を許可するSIP端末装置2の情報を保持させる。そしてSIP端末装置2は、通信に先だってSIPメッセージにてこのデータベースサーバに問い合わせを行い、これを接続情報とする。
By the way, when setting information other than the MAC address as an identifier,
(1) A user who uses the SIP terminal device 2 sets and registers from the input / output interface unit 2e included in the SIP terminal device 2.
(2) A SIP message including identifier information for identifying the own terminal device is sent in advance and registered to the SIP terminal device 2 of the other party that desires connection. In this case, the remote tag identifier received as a response message may be held as connection information. In this case, it is desirable to adopt a mechanism in which the user cannot perform registration work at random.
(3) Although not particularly illustrated, a database server having a connection information storage database is provided, and the database server holds information on the SIP terminal device 2 that permits connection. Prior to communication, the SIP terminal device 2 makes an inquiry to this database server using a SIP message, and uses this as connection information.

尚、(2)および(3)のSIPメッセージには、Register、Invite、Info、Subscribe/NotifyおよびOptionsを使用することが可能である。
次にこのように構成された本発明のSIP端末装置におけるピアツーピア接続の接続規制方法の発着信シーケンスについて、まずSIP端末装置2BからSIP端末装置2Aに対して接続要求があり、SIP端末装置2Aがこの着信呼を許可する場合を説明する。
Note that Register, Invite, Info, Subscribe / Notify, and Options can be used for the SIP messages of (2) and (3).
Next, regarding the outgoing / incoming sequence of the connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention configured as described above, first, there is a connection request from the SIP terminal device 2B to the SIP terminal device 2A, and the SIP terminal device 2A A case where this incoming call is permitted will be described.

SIP端末装置2Bは、図5に示すようにSIP端末装置2Aに対してInviteメッセージを送出して発信を行う(ステップS1)。するとSIP端末装置2Aの呼制御部2dは、この着信呼のFromに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されているかどうか(接続許可)を調べる。呼制御部2dは、Fromに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されており、即ち接続を許可されたSIP端末装置2Bからの着信呼であると判定したとき、SIP端末装置2Bに対して、100Trying(ステップS2)および180Ringing(ステップS3)を返す。そして着信を受けたSIP端末装置2Aは、発信したSIP端末装置2Bに対して200OKを返す(ステップS4)。このメッセージを受けたSIP端末装置2Bは、SIP端末装置2AにACKを返し(ステップS5)、SIP端末装置2A,2B間のセッションが確立する(ステップS6)。   As shown in FIG. 5, the SIP terminal device 2B sends an Invite message to the SIP terminal device 2A to make a call (step S1). Then, the call control unit 2d of the SIP terminal device 2A checks whether or not the tag information included in the From call of the incoming call is held in the permission information holding unit 10b of the data management unit 10 (connection permission). When the call control unit 2d determines that the tag information included in the From is held in the permission information holding unit 10b of the data management unit 10, that is, it is an incoming call from the SIP terminal device 2B permitted to connect, 100 Trying (step S2) and 180 Ringing (step S3) are returned to the SIP terminal device 2B. The SIP terminal device 2A that has received the incoming call returns 200 OK to the originating SIP terminal device 2B (step S4). Upon receiving this message, the SIP terminal device 2B returns an ACK to the SIP terminal device 2A (step S5), and a session is established between the SIP terminal devices 2A and 2B (step S6).

次にSIP端末装置2BからSIP端末装置2Aに対して接続要求があり、SIP端末装置2Aがこの着信呼を制限する場合を説明する。
SIP端末装置2Bは、図6に示すようにSIP端末装置2Aに対してInviteメッセージを送出する(ステップS10)。するとSIP端末装置2Aの呼制御部2dは、この着信呼のFromに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報にあるかどうか(接続許可)を調べる。呼制御部2dは、Fromに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報にないとき、接続を制限されたSIP端末装置2Bからの着信呼であると判定して発信したSIP端末装置2Bに対して100Trying(ステップS11)および403Forbidden(ステップS12)を送出する。すると発信したSIP端末装置2Bは、通信が制限されたSIP端末装置2Aに対する発信であると判定して、ACKを返信する(ステップS13)。
Next, a case where there is a connection request from the SIP terminal apparatus 2B to the SIP terminal apparatus 2A and the SIP terminal apparatus 2A restricts the incoming call will be described.
The SIP terminal device 2B sends an Invite message to the SIP terminal device 2A as shown in FIG. 6 (step S10). Then, the call control unit 2d of the SIP terminal device 2A checks whether the tag information included in the From call of the incoming call is in the tag information held in the permission information holding unit 10b of the data management unit 10 (connection permission). When the tag information included in the From is not in the tag information held in the permission information holding unit 10b of the data management unit 10, the call control unit 2d determines that the call is an incoming call from the SIP terminal device 2B whose connection is restricted Then, 100 Trying (step S11) and 403 Forbidden (step S12) are sent to the SIP terminal device 2B that has transmitted. Then, the originating SIP terminal apparatus 2B determines that the transmission is to the SIP terminal apparatus 2A whose communication is restricted, and returns an ACK (step S13).

次いで本発明のSIP端末装置におけるピアツーピア接続の接続規制方法の発着信シーケンスについて、SIP端末装置2AからSIP端末装置2Bに対して接続要求をし、発信したSIP端末装置2Aが接続を許可または制限する場合を説明する。
SIP端末装置2Aは、図7に示すようにSIP端末装置2Bに対してInviteメッセージを送出して発信を行う(ステップS20)。するとSIP端末装置2Bは、この発信呼に対して100Trying(ステップS21)および180Ringing(ステップS22)のメッセージを返す。するとこのメッセージを受けた発信側のSIP端末装置2Aは、これらのメッセージのToに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報にあるかどうか(接続許可)を調べる。呼制御部2dは、Toに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報にあり、接続を許可されたSIP端末装置2Bからのメッセージが返信されたと判定したとき、SIP端末装置2Bから送出される200OKメッセージ(ステップS23)を受け、その応答としてACKを返信し(ステップS24)、SIP端末装置2A,2B間のセッションを確立させる(ステップS25)。
Next, regarding the outgoing / incoming sequence of the connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention, the SIP terminal device 2A issues a connection request to the SIP terminal device 2B, and the originating SIP terminal device 2A permits or restricts the connection. Explain the case.
The SIP terminal device 2A sends an Invite message to the SIP terminal device 2B as shown in FIG. 7 (step S20). Then, the SIP terminal device 2B returns 100 Trying (step S21) and 180 Ringing (step S22) messages in response to this outgoing call. Upon receiving this message, the originating SIP terminal device 2A determines whether the tag information contained in To of these messages is in the tag information held in the permission information holding unit 10b of the data management unit 10 (connection permission). Check out. The call control unit 2d determines that the tag information included in To is in the tag information held in the permission information holding unit 10b of the data management unit 10, and that the message from the SIP terminal device 2B permitted to connect has been returned. When receiving the 200 OK message (step S23) sent from the SIP terminal device 2B, an ACK is returned as a response (step S24), and a session between the SIP terminal devices 2A and 2B is established (step S25).

次にSIP端末装置2AからSIP端末装置2Bに対して発信をし、このSIP端末装置2Aが、この発信を放棄(発信制限)する場合を説明する。
図8に示すようにSIP端末装置2Aは、SIP端末装置2Bに対してInviteメッセージを送出して発信を行う(ステップS30)。するとSIP端末装置2Bは、この発信呼に対して100Trying(ステップS31)および180Ringing(ステップS32)のメッセージを返す。このメッセージを受けた発信側のSIP端末装置2Aは、これらのメッセージのToに含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報にあるかどうか(接続許可)を調べる。そして呼制御部2dは、To含まれるタグ情報がデータ管理部10の許可情報保持部10bに保持されたタグ情報になく、接続を制限されたSIP端末装置2Bからのメッセージであると判定したとき、SIP端末装置2Bに発信を放棄するCANCELを送出する(ステップS33)。このCANCELを受けたSIP端末装置2Bは、200OKを返信する(ステップS34)。そしてSIP端末装置2Aは、このメッセージを受けたことを示すACKを返信して一連の発信手順を終了する(ステップS35)。
Next, a case will be described in which a call is transmitted from the SIP terminal device 2A to the SIP terminal device 2B, and the SIP terminal device 2A abandons the call (transmission restriction).
As shown in FIG. 8, the SIP terminal apparatus 2A sends an Invite message to the SIP terminal apparatus 2B to make a call (step S30). Then, the SIP terminal device 2B returns 100 Trying (step S31) and 180 Ringing (step S32) messages in response to this outgoing call. Upon receiving this message, the originating SIP terminal device 2A determines whether the tag information included in the To of these messages is in the tag information held in the permission information holding unit 10b of the data management unit 10 (connection permission). Investigate. When the call control unit 2d determines that the tag information included in To is not in the tag information held in the permission information holding unit 10b of the data management unit 10 and is a message from the SIP terminal device 2B whose connection is restricted Then, CANCEL for abandoning the transmission is sent to the SIP terminal device 2B (step S33). Upon receiving this CANCEL, the SIP terminal device 2B returns 200 OK (step S34). Then, the SIP terminal device 2A returns an ACK indicating that this message has been received, and ends a series of outgoing call procedures (step S35).

このように本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、RFCに規定されている標準プロトコルを変更することなくSIP端末装置間の接続規制を行うことができる。したがって本発明は、SIP端末装置のメーカや機種による制限を受けることなく発着信を行うことができる。
尚、上述した本発明のSIP端末装置におけるピアツーピア接続の接続規制方法を実装していないSIP端末装置(例えば、他社のSIP端末装置等であり、以下、非実装端末と称する)が、本発明のSIP端末装置が接続されたネットワークに接続された場合、非実装端末に対して接続要求をすると、非実装端末からは、上述したタグを付与したメッセージが返信されない。このためSIP端末装置2は、このタグが返信されないことをもって接続を制限することができる。
As described above, the connection restriction method for peer-to-peer connection in the SIP terminal apparatus of the present invention can restrict connection between SIP terminal apparatuses without changing the standard protocol defined in RFC. Therefore, the present invention can make and receive calls without being restricted by the manufacturer and model of the SIP terminal device.
Note that a SIP terminal device (for example, a SIP terminal device of another company, etc., hereinafter referred to as a non-implemented terminal) that does not implement the above-described peer-to-peer connection restriction method in the SIP terminal device of the present invention is the present invention. When connected to the network to which the SIP terminal device is connected, if a connection request is made to the non-implemented terminal, the message with the tag described above is not returned from the non-implemented terminal. For this reason, the SIP terminal device 2 can restrict the connection when this tag is not returned.

また、本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、許可情報保持部10bが接続を許可するSIP端末装置2の識別子情報を保持し、呼制御部2dが他のSIP端末装置2から送出されたSIPメッセージを受けて、このSIPメッセージに含まれる識別子情報が許可情報保持部10bに保持されているときにその接続を許可している。このため本発明は、特定のSIP端末装置間でホットラインを構成する場合であっても、他のSIP端末装置への誤発信を防止することが可能である。勿論、本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、接続が制限されたSIP端末装置からの着信を拒否することもSIPサーバを介することなくできる等、実用上多大なる効果を奏する。   Further, in the connection restriction method for peer-to-peer connection in the SIP terminal device according to the present invention, the permission information holding unit 10b holds the identifier information of the SIP terminal device 2 to which the connection is permitted, and the call control unit 2d receives from the other SIP terminal device 2. When the sent SIP message is received and the identifier information included in the SIP message is held in the permission information holding unit 10b, the connection is permitted. For this reason, even if this invention is a case where a hotline is comprised between specific SIP terminal devices, it is possible to prevent the erroneous transmission to other SIP terminal devices. Of course, the connection restriction method for peer-to-peer connection in the SIP terminal device according to the present invention has a great practical effect, for example, it is possible to reject an incoming call from a SIP terminal device whose connection is restricted without going through a SIP server.

尚、本発明のSIP端末装置におけるピアツーピア接続の接続規制方法は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加えることが可能である。   The connection restriction method for peer-to-peer connection in the SIP terminal device of the present invention is not limited to the above-described embodiment, and various changes can be made without departing from the scope of the present invention.

本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法を適用したSIP端末装置の要部概略構成を示す機能ブロック図。The functional block diagram which shows the principal part schematic structure of the SIP terminal device to which the connection control method of the peer to peer connection in the SIP terminal device which concerns on one Embodiment of this invention is applied. 図1に示した識別情報保持部と許可情報保持部のデータ構造の一例を示す図。The figure which shows an example of the data structure of the identification information holding part and permission information holding part which were shown in FIG. SIPメッセージのFromに設定した識別子情報の設定例を示す図。The figure which shows the example of a setting of the identifier information set to the From of a SIP message. SIPメッセージのToに設定した識別子情報の設定例を示す図。The figure which shows the example of a setting of the identifier information set to To of a SIP message. 本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法において、着信時にその着信を許可する着信シーケンスを示す図。The figure which shows the incoming call sequence which permits the incoming call at the time of an incoming call in the connection control method of the peer to peer connection in the SIP terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法において、着信時にその着信を制限する着信シーケンスを示す図。The figure which shows the incoming call sequence which restricts the incoming call at the time of an incoming call in the connection control method of the peer-to-peer connection in the SIP terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法において、発信時にその発信を許可する着信シーケンスを示す図。The figure which shows the incoming call sequence which permits the transmission at the time of the transmission in the connection control method of the peer to peer connection in the SIP terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係るSIP端末装置におけるピアツーピア接続の接続規制方法において、発信時にその発信を制限する着信シーケンスを示す図。The figure which shows the incoming call sequence which restricts the transmission at the time of the transmission in the connection control method of the peer to peer connection in the SIP terminal device which concerns on one Embodiment of this invention. SIP端末装置およびSIPサーバを用いた従来のIP電話システムの概略構成を示す図。The figure which shows schematic structure of the conventional IP telephone system using a SIP terminal device and a SIP server.

符号の説明Explanation of symbols

1 ネットワーク
2,2A,2B SIP端末装置
2a ネットワークインタフェース
2b スタック部
2c メディア部
2d 呼制御部
2e 入出力インタフェース部
10 データ管理部
10a 識別情報保持部
10b 許可情報保持部
DESCRIPTION OF SYMBOLS 1 Network 2, 2A, 2B SIP terminal device 2a Network interface 2b Stack part 2c Media part 2d Call control part 2e Input / output interface part 10 Data management part 10a Identification information holding part 10b Permit information holding part

Claims (3)

所定の通信ネットワークに接続された一対のSIP端末装置におけるピアツーピア接続の接続規制方法であって、
前記SIP端末装置は、夫々該SIP端末装置と前記ネットワークに接続された他の前記SIP端末装置とを識別する識別子情報を保持する識別情報保持部と、
接続を許可する前記SIP端末装置の識別子情報を保持する許可情報保持部と、
前記許可情報保持部に前記識別子情報を入力する識別子情報入力部と、
前記通信ネットワークを介して他の前記SIP端末装置と通信する際のSIPメッセージに自らの前記識別子情報を付与して送信する呼制御部と、
を備え、
発呼側のSIP端末装置の前記呼制御部は、Fromに含まれるタグ情報として自端末を示す識別子情報を設定して通信相手方のSIP端末装置に対してInviteメッセージを送出し、
当該Inviteメッセージを送出した後、発信呼に対して前記通信相手方のSIP端末装置から送られてくる100Tryingおよび180Ringingのメッセージを受信したときは、当該メッセージのToに含まれるタグ情報が自端末の前記許可情報保持部に保持されているか否かを調べ、Toに含まれるタグ情報が自端末の前記許可情報保持部に保持されている場合は、接続を許可されたSIP端末装置からのメッセージであると判定して、前記通信相手方のSIP端末装置から送出される200OKメッセージを受け、その応答としてACKを返信することによって、発呼側と通信相手方のSIP端末装置間のセッションを確立させる一方、Toに含まれるタグ情報が自端末の前記許可情報保持部に保持されていない場合は、接続を制限されたSIP端末装置からのメッセージであると判定して、前記通信相手方のSIP端末装置に発信を放棄するCANCELを送出し、
通信相手方のSIP端末装置の呼制御部は、前記発呼側のSIP端末装置から送られてきた着信呼のFromに含まれるタグ情報が自端末の前記許可情報保持部に保持されているか否かを調べ、該着信呼のFromに含まれるタグ情報が自端末の前記許可情報保持部に保持されている場合は、接続を許可されたSIP端末装置からの着信呼であると判定して、Toに含まれるタグ情報として自端末を示す識別子情報を設定して、前記発呼側のSIP端末装置に対して、100Tryingおよび180Ringingのメッセージを返信する一方、該着信呼のFromに含まれるタグ情報が自端末の前記許可情報保持部に保持されていない場合は、接続を制限されたSIP端末装置からの着信呼であると判定して、前記発呼側のSIP端末装置に対して100Tryingおよび403Forbiddenを送出することを特徴とするSIP端末装置におけるピアツーピア接続の接続規制方法。
A connection restriction method for peer-to-peer connection in a pair of SIP terminal devices connected to a predetermined communication network,
The SIP terminal device, an identification information holding unit that holds the identifier information for identifying the other and the SIP terminal device connected with the respective said SIP terminal device to the network,
A permission information holding unit that holds identifier information of the SIP terminal device that permits connection;
An identifier information input unit for inputting the identifier information to the permission information holding unit;
A call control unit that adds the identifier information to a SIP message when communicating with another SIP terminal device via the communication network, and transmits the SIP message.
With
The call control unit of the calling-side SIP terminal device sets identifier information indicating the own terminal as tag information included in the From, and sends an Invite message to the SIP terminal device of the communication partner.
After sending the Invite message, when receiving 100 Trying and 180 Ringing messages sent from the SIP terminal device of the communication partner in response to the outgoing call, the tag information included in To of the message is the tag information of the own terminal. It is checked whether the permission information is held in the permission information holding unit. If the tag information included in To is held in the permission information holding unit of the terminal itself, the message is from the SIP terminal device permitted to connect. In response to the 200 OK message transmitted from the SIP terminal device of the communication partner and returning an ACK as a response, a session between the calling party and the SIP terminal device of the communication partner is established. If the tag information contained in is not held in the permission information holding unit of its own terminal, It is determined that a message from the SIP terminal device has been limited to continue, sends a CANCEL to abandon calling to the SIP terminal device of the communication counterpart,
The call control unit of the SIP terminal device of the communication partner determines whether or not the tag information included in the From call of the incoming call sent from the calling SIP terminal device is held in the permission information holding unit of the own terminal. If the tag information included in the From of the incoming call is held in the permission information holding unit of the terminal, it is determined that the call is an incoming call from the SIP terminal device that is permitted to connect, and To Identifier information indicating its own terminal is set as tag information included in the message, and 100 Trying and 180 Ringing messages are returned to the calling SIP terminal device, while tag information included in the From call of the incoming call is If it is not held in the permission information holding unit of its own terminal, it is determined that the call is an incoming call from a SIP terminal device whose connection is restricted, and the SIP terminal device on the calling side is determined. Connection restriction method of peer-to-peer connection in the SIP terminal apparatus characterized by delivering 100Trying and 403Forbidden respect.
前記識別子情報は、前記ネットワークを介して前記SIP端末装置に与えられるものである請求項1に記載のSIP端末装置におけるピアツーピア接続の接続規制方法。   The connection restriction method for peer-to-peer connection in a SIP terminal device according to claim 1, wherein the identifier information is given to the SIP terminal device via the network. 請求項1または2に記載のSIP端末装置におけるピアツーピア接続の接続規制方法であって、
前記ネットワークに接続されて、前記識別子情報を保持する接続情報格納データベースサーバを備え、
前記SIP端末装置は、他の前記SIP端末装置と相互通信するに際して、前記接続情報格納データベースが保持する前記識別子情報を取得して前記許可情報保持部に保持すると共に、他の前記SIP端末装置から送出されたSIPメッセージを受けて、このSIPメッセージに含まれる前記識別子情報が前記許可情報保持部に保持されているとき、該SIP端末装置間における相互通信を許可することを特徴とするSIP端末装置におけるピアツーピア接続の接続規制方法。
A connection restriction method for peer-to-peer connection in a SIP terminal device according to claim 1 or 2 ,
A connection information storage database server connected to the network and holding the identifier information;
The SIP terminal device acquires the identifier information held in the connection information storage database and holds it in the permission information holding unit when intercommunication with the other SIP terminal device, and from the other SIP terminal device. A SIP terminal device that receives a sent SIP message and permits mutual communication between the SIP terminal devices when the identifier information included in the SIP message is held in the permission information holding unit Connection control method for peer-to-peer connection in Japan.
JP2006281226A 2006-10-16 2006-10-16 Connection restriction method for peer-to-peer connection in SIP terminal device Active JP4798785B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006281226A JP4798785B2 (en) 2006-10-16 2006-10-16 Connection restriction method for peer-to-peer connection in SIP terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006281226A JP4798785B2 (en) 2006-10-16 2006-10-16 Connection restriction method for peer-to-peer connection in SIP terminal device

Publications (2)

Publication Number Publication Date
JP2008099168A JP2008099168A (en) 2008-04-24
JP4798785B2 true JP4798785B2 (en) 2011-10-19

Family

ID=39381509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006281226A Active JP4798785B2 (en) 2006-10-16 2006-10-16 Connection restriction method for peer-to-peer connection in SIP terminal device

Country Status (1)

Country Link
JP (1) JP4798785B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4784667B2 (en) 2009-03-06 2011-10-05 ブラザー工業株式会社 Terminal device and computer program
JP5574080B2 (en) * 2009-03-31 2014-08-20 サクサ株式会社 IP telephone system and IP telephone terminal
JP5177804B2 (en) * 2010-03-16 2013-04-10 横河電機株式会社 Field communication system and field communication method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005094224A (en) * 2003-09-16 2005-04-07 Ricoh Co Ltd Caller terminal identification information notifying system, call termination apparatus, call origination apparatus, server apparatus, registration apparatus, terminal, and gateway apparatus
JP4547909B2 (en) * 2003-12-25 2010-09-22 沖電気工業株式会社 Recognition system and information terminal device recognition method
JP2005252802A (en) * 2004-03-05 2005-09-15 Oki Electric Ind Co Ltd Ip telephone system for providing unwanted call prevention service
JP2006024000A (en) * 2004-07-08 2006-01-26 Nippon Telegraph & Telephone West Corp Peer-to-peer terminal apparatus, method for managing access right and access right management program

Also Published As

Publication number Publication date
JP2008099168A (en) 2008-04-24

Similar Documents

Publication Publication Date Title
JP5332544B2 (en) Call control device, call control system, call control method, and computer program
JP4640448B2 (en) Telephone equipment for both networks
JP2007318343A (en) Gateway device and renegotiation method
JP5988407B1 (en) Communication path control device, communication path control system, communication path control method, and communication path control program
JP4798785B2 (en) Connection restriction method for peer-to-peer connection in SIP terminal device
US20230421617A1 (en) Media flow control for direct routing in network-based telephony
JP4881252B2 (en) Interface device, exchange device provided with the interface device, and control method used in the interface device
CN101622815B (en) Dynamic key exchange for call forking scenarios
JP2009246410A (en) Protocol converting device and communication system including the same
JP2009135577A (en) Information relay system, information relay apparatus and method thereof, and program
JP4017592B2 (en) VoIP system and VoIP telephone
JP5922743B2 (en) Gateway device and non-response transfer method thereof
JP4924156B2 (en) Button telephone equipment
JP4136798B2 (en) Relay device with voice guidance function
JP7421158B2 (en) Route selection device and route selection method
JP6955170B2 (en) RTP monitoring device and RTP monitoring method
JP5251570B2 (en) Call test system, computer and telephone in call test system
JP4609365B2 (en) Proxy server and IP network specific signal transfer method
JP2010183521A (en) Communication media conversion system, method and program
KR100636279B1 (en) Call admission contorl system and method using resource in voice over internet protocal system
JP2014207709A (en) Terminal
JP2005080176A (en) Gateway device and its controlling method
JP2008217668A (en) Ip telephone terminal
JP5677526B2 (en) Control device and communication history management method
JP2011083039A (en) Communication system, and server device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110307

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110801

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4798785

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150