JP2008236470A - Ip telephone terminal and ip telephone system - Google Patents

Ip telephone terminal and ip telephone system Download PDF

Info

Publication number
JP2008236470A
JP2008236470A JP2007074234A JP2007074234A JP2008236470A JP 2008236470 A JP2008236470 A JP 2008236470A JP 2007074234 A JP2007074234 A JP 2007074234A JP 2007074234 A JP2007074234 A JP 2007074234A JP 2008236470 A JP2008236470 A JP 2008236470A
Authority
JP
Japan
Prior art keywords
telephone
call
address
telephone terminal
terminal
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.)
Pending
Application number
JP2007074234A
Other languages
Japanese (ja)
Inventor
Yusuke Murase
佑輔 村瀬
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.)
Hitachi Communication Technologies Ltd
Original Assignee
Hitachi Communication Technologies Ltd
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 Hitachi Communication Technologies Ltd filed Critical Hitachi Communication Technologies Ltd
Priority to JP2007074234A priority Critical patent/JP2008236470A/en
Publication of JP2008236470A publication Critical patent/JP2008236470A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To establish a call between terminals even if a call agent (hereinafter, to be referred to as CA) stops. <P>SOLUTION: An IP telephone terminal 20-1 inputs telephone number of a callee IP telephone terminal 20-2, and transmits a first connection request, including a telephone number to CA10-1 (processing 1001). When an IP address corresponding to the telephone number contained in the first connection request from the CA10-1 is received, the received IP address is stored in association with a telephone number. Via the CA10-1, a call connection is established with the IP telephone terminal 20-2. The IP telephone terminal 20-1, if there is no response coming from the CA10-1 after transmitting the first connection request, searches for a memory based on the inputted telephone number for acquiring a corresponding IP address (processing 1005). In accordance with the IP address acquired, a second connection request is transmitted directly to the IP telephone terminal 20-2 (processing 1008). Also a call connection is established with the IP telephone terminal 20-2 without the intervention of the CA10-1. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、IP電話端末及びIP電話システムに係り、特に、IP電話端末を高機能化することで、コールエージェントの動作異常時にあっても通話を確立するIP電話端末、更に詳しくは、個々のIP電話端末の電話番号情報とIPアドレス情報を対応させて蓄積し、該電話番号情報とIPアドレス情報を用いて、IP電話端末独自で通話を確立させるIP電話端末及びIP電話システムに関する。   The present invention relates to an IP telephone terminal and an IP telephone system, and more particularly, an IP telephone terminal that establishes a call even when a call agent malfunctions by improving the functionality of the IP telephone terminal. The present invention relates to an IP telephone terminal and an IP telephone system that store telephone number information and IP address information of an IP telephone terminal in association with each other and establish a call independently by the IP telephone terminal using the telephone number information and the IP address information.

IP(Internet Protocol)技術の発展に伴って、公衆電話網へIP技術が導入されるようになり、音声信号をVoIP(Voice over IP)技術を使って通信する手段が確立されている。公衆電話網へのIP技術の適用にあたっては、人による電話操作においては、従来から行われるように、電話機に通話先の電話番号を入力して通話を実現することが望まれる。一方、IP技術における通信では、ネットワーク内における個々の機器を特定するためのIPアドレスが用いられる。その為、IP技術の公衆電話網への適用にあたっては、コールエージェントと呼ばれる、電話番号とIPアドレスを対応させるデータベースを持ち、電話端末同士の通話制御を行うサーバを用いている。
コールエージェントにおける電話番号とIPアドレスを対応させるデータベースは、例えば、電話機がネットワークに接続した時点で、電話機からサーバに対して自電話番号と自IPアドレスを登録することで作成する。なお、各電話機は、それぞれ個別のIPアドレスを保持することが必要となるが、これは、例えば、DHCP(Dynamic Host Configuration Protocol)サーバにおいて、一元的にIPアドレスの使用状況を管理し、各機器へIPアドレスを付与することで実現している。
呼接続時に電話端末と音声伝送用のUDPチャネルのIPアドレスが対応づけられるシステムが開示されている(例えば、特許文献1参照)。このシステムでは、1つのIPアドレスを複数の電話端末で使用することができ、IPアドレスの不足に対処している。また、電話端末をDNSサーバに登録しないため、緊急時の通信にも使用できることが開示されている。
With the development of IP (Internet Protocol) technology, IP technology has been introduced into public telephone networks, and means for communicating voice signals using VoIP (Voice over IP) technology has been established. In applying the IP technology to the public telephone network, it is desired that a telephone call by a person is realized by inputting a telephone number of a call destination to a telephone as is conventionally done. On the other hand, in communication using the IP technology, an IP address for specifying individual devices in a network is used. Therefore, when applying the IP technology to the public telephone network, a server called a call agent, which has a database that associates telephone numbers with IP addresses, and controls telephone calls between telephone terminals is used.
The database that associates the telephone number and IP address in the call agent is created, for example, by registering the telephone number and the IP address from the telephone to the server when the telephone is connected to the network. Each phone needs to have an individual IP address. For example, in a DHCP (Dynamic Host Configuration Protocol) server, the use status of the IP address is centrally managed, and each device is managed. This is realized by assigning an IP address to
A system is disclosed in which a telephone terminal is associated with an IP address of a voice transmission UDP channel at the time of call connection (see, for example, Patent Document 1). In this system, one IP address can be used by a plurality of telephone terminals, and the shortage of IP addresses is addressed. Further, it is disclosed that a telephone terminal is not registered in a DNS server and can be used for emergency communication.

特許第3436471号公報Japanese Patent No. 3436471

上述の形態で、公衆電話網へIP技術は適用されるが、例えば、コールエージェントが故障したり、通信トラヒックの増加で輻輳したりすると、通話が行えなくなることがある。
IP公衆電話網においては、通信接続性をできるだけ確保する必要がある。従って、電話番号とIPアドレスを対応付ける機能を有するコールエージェントの故障や輻輳によって、通話が不可能となる可能性を極力低減させることが、課題である。
本発明は、以上の点に鑑み、システムや中心的サーバ(例えば、コールエージェント)が停止しても、エンドユーザ間の通話を可能とするIP電話端末及びIP電話システムを提供することを目的とする。また、本発明は、コールエージェント等への回線集中により、通話が不可能になること防ぐことを目的のひとつとする。
本発明は、IP公衆電話網において通信制御の役割を担うコールエージェントが故障もしくは輻輳によって動作異常に陥った場合においても、電話番号とIPアドレスが正確に対応できている場合にはIP電話端末独自で通話を確立することを目的のひとつとする。また、本発明は、電話番号とIPアドレスが正確に対応できていない場合には、通話の誤接続を回避することを目的のひとつとする。
In the above-described form, the IP technology is applied to the public telephone network. However, for example, when a call agent breaks down or becomes congested due to an increase in communication traffic, a call may not be made.
In an IP public telephone network, it is necessary to secure communication connectivity as much as possible. Therefore, it is a problem to reduce as much as possible the possibility of making a call impossible due to a failure or congestion of a call agent having a function of associating a telephone number with an IP address.
The present invention has been made in view of the above points, and an object thereof is to provide an IP telephone terminal and an IP telephone system that enable a call between end users even when the system and a central server (for example, a call agent) are stopped. To do. Another object of the present invention is to prevent a call from becoming impossible due to the concentration of lines on a call agent or the like.
In the present invention, even when a call agent responsible for communication control in an IP public telephone network has malfunctioned due to a failure or congestion, if the telephone number and the IP address can be accurately handled, the IP telephone terminal is unique. One of the purposes is to establish a call. Another object of the present invention is to avoid erroneous connection of a telephone call when the telephone number and the IP address are not accurately associated.

上記課題を解決するために、本発明においては、IP電話端末に、コールエージェントとの通信においてコールエージェントの動作異常を検出する機能と、過去に通話を行ってコールエージェントが正常動作していた際に取得した接続先の電話番号とIPアドレスの対応を抽出し、データベース化して記憶する手段を搭載する。
本発明は、例えば、二つ以上のIP電話端末および一つもしくは複数のコールエージェントを有するIPネットワークにおける、コールエージェントを経由して、IP電話端末間での呼制御プロトコルによる通信を行うことにより、通話を確立するIP電話端末において、
IP電話端末内部に、他のIP電話端末またはコールエージェントとの通信中に取得した、他のIP電話端末の電話番号とIPアドレスの対応情報を、データベースとして随時記憶させ、
IP電話端末からコールエージェントへの通信が不可能となり、コールエージェントを経由する形ではIP電話端末間での通話制御プロトコルの通信が不可能となった場合に、
IP電話端末内部で、コールエージェントへの通信の可否を自立的に判断し、通信不可の場合には通話を希望する電話番号のIPアドレスを自身のデータベースより探索を行い、見つかった場合には、そのIPアドレスに対して直接、通話制御プロトコルでの通信を試みることにより、コールエージェントへの通信が不可能な場合にも、通話ができる可能性をもたせる。
着信側のIP電話端末は、通話着信時に、送信データの中に含まれる着信側電話端末番号と、自電話番号との照合を行い、照合の結果が一致する場合には通話を確立し、照合の結果が不一致の場合には着信を拒絶して通話を完了する。
In order to solve the above-described problem, in the present invention, the IP telephone terminal has a function of detecting an abnormal operation of the call agent in communication with the call agent, and when the call agent has been operating normally after making a call in the past. A means for extracting the correspondence between the telephone number of the connection destination and the IP address obtained in the above and storing it in a database is installed.
The present invention, for example, by performing communication according to a call control protocol between IP telephone terminals via a call agent in an IP network having two or more IP telephone terminals and one or a plurality of call agents. In an IP phone terminal that establishes a call,
In the IP telephone terminal, the correspondence information between the telephone number and the IP address of the other IP telephone terminal acquired during communication with the other IP telephone terminal or the call agent is stored as a database as needed.
When communication from the IP phone terminal to the call agent becomes impossible and communication of the call control protocol between IP phone terminals becomes impossible via the call agent,
In the IP phone terminal, it independently determines whether communication to the call agent is possible. If communication is not possible, the IP address of the phone number desired to be called is searched from its own database, and if found, By trying to communicate with the IP address directly using the call control protocol, it is possible to make a call even when communication to the call agent is impossible.
When an incoming call is received, the IP phone terminal on the receiving side collates the called telephone number contained in the transmission data with its own telephone number. If the matching results match, the call is established, If the result of the check is inconsistent, the incoming call is rejected and the call is completed.

本発明の第1の解決手段によると、
複数のIP電話端末と、前記IP電話端末の電話番号と該IP電話端末のIPアドレスとが対応して記憶されたコールエージェントを有するIPネットワークにおいて、前記IP電話端末間で通話するための前記IP電話端末であって、
他のIP電話端末の電話番号と、該IP電話端末のIPアドレスが対応して記憶されるメモリと、
呼接続の処理を行う制御部と、
を備え、
前記制御部は、第1の呼接続において
所望の着信先IP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第1の接続要求を前記コールエージェントに送信し、
該第1の接続要求に従い前記コールエージェントにより前記着信先IP電話端末が呼び出され、第1の接続要求に含まれる電話番号に対応するIPアドレスを含む呼び出し信号通知を前記コールエージェントから受信すると、受信されたIPアドレスを該電話番号に対応して前記メモリに記憶し、及び、前記コールエージェントを介して前記着信先IP電話端末と第1の呼接続を確立し、
第1の呼接続後の第2の呼接続において
前記着信先IP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第2の接続要求を前記コールエージェントに送信し、
前記コールエージェントの故障又は輻輳又はシステムの障害により前記コールエージェントから所定時間内に応答がない場合、入力された前記着信先IP電話端末の電話番号に基づき前記メモリを検索して、対応するIPアドレスを取得し、
取得されたIPアドレスに従い第3の接続要求を前記着信先IP電話端末に送信し、及び、前記コールエージェントを介さずに前記着信先IP電話端末との第2の呼接続を確立する前記IP電話端末が提供される。
According to the first solution of the present invention,
The IP for calling between the IP telephone terminals in an IP network having a plurality of IP telephone terminals and a call agent in which a telephone number of the IP telephone terminal and an IP address of the IP telephone terminal are stored correspondingly A phone terminal,
A memory in which a telephone number of another IP telephone terminal and the IP address of the IP telephone terminal are stored correspondingly;
A control unit that performs call connection processing;
With
The control unit inputs a telephone number of a desired destination IP telephone terminal in the first call connection, and transmits a first connection request including the telephone number to the call agent according to a predetermined IP address. And
When the destination IP telephone terminal is called by the call agent according to the first connection request and receives a call signal notification including an IP address corresponding to the telephone number included in the first connection request, the call agent receives Storing the received IP address in the memory corresponding to the telephone number, and establishing a first call connection with the destination IP telephone terminal via the call agent;
In the second call connection after the first call connection, the telephone number of the destination IP telephone terminal is input, and a second connection request including the telephone number is sent to the call agent according to a predetermined IP address. Send
When there is no response from the call agent within a predetermined time due to a failure or congestion of the call agent or a system failure, the memory is searched based on the input telephone number of the destination IP telephone terminal and the corresponding IP address Get
The IP telephone which transmits a third connection request to the destination IP telephone terminal according to the acquired IP address and establishes a second call connection with the destination IP telephone terminal without going through the call agent A terminal is provided.

本発明の第2の解決手段によると、
第1のIP電話端末と、
第2のIP電話端末と、
前記第1及び第2のIP電話端末の電話番号と該IP電話端末のアドレスとが対応して記憶されたコールエージェントと
を備え、
前記第1及び第2のIP電話端末はそれぞれ、
他のIP電話端末の電話番号と、該IP電話端末のIPアドレスが対応して記憶されるメモリと、
呼接続の処理を行う制御部と、
を備え、
前記第1のIP電話端末の前記制御部は、
第1の呼接続において
前記第2のIP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第1の接続要求を前記コールエージェントに送信し、
該第1の接続要求に従い前記コールエージェントにより前記第2のIP電話端末が呼び出され、第1の接続要求に含まれる電話番号に対応するIPアドレスを含む呼び出し信号通知を前記コールエージェントから受信すると、受信されたIPアドレスを該電話番号に対応して前記メモリに記憶し、及び、前記コールエージェントを介して前記第2のIP電話端末と第1の呼接続を確立し、
第1の呼接続後の第2の呼接続において
前記第2のIP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第2の接続要求を前記コールエージェントに送信し、
前記コールエージェントの故障又は輻輳又はシステムの障害により前記コールエージェントから所定時間内に応答がない場合、入力された前記第2のIP電話端末の電話番号に基づき前記メモリを検索して、対応するIPアドレスを取得し、
取得されたIPアドレスに従い第3の接続要求を前記第2のIP電話端末に送信し、
前記第1のIP電話端末と前記第2のIP電話端末間で第2の呼接続が確立されるIP電話システムが提供される。
According to the second solution of the present invention,
A first IP telephone terminal;
A second IP telephone terminal;
A call agent in which the telephone numbers of the first and second IP telephone terminals and the addresses of the IP telephone terminals are stored correspondingly;
The first and second IP telephone terminals are respectively
A memory in which a telephone number of another IP telephone terminal and the IP address of the IP telephone terminal are stored correspondingly;
A control unit that performs call connection processing;
With
The control unit of the first IP telephone terminal is
In the first call connection, the telephone number of the second IP telephone terminal is input, and a first connection request including the telephone number is transmitted to the call agent according to a predetermined IP address.
When the second IP telephone terminal is called by the call agent according to the first connection request and receives a call signal notification including an IP address corresponding to the telephone number included in the first connection request from the call agent, Storing the received IP address in the memory corresponding to the telephone number, and establishing a first call connection with the second IP telephone terminal via the call agent;
In the second call connection after the first call connection, the telephone number of the second IP telephone terminal is input, and a second connection request including the telephone number is sent to the call agent according to a predetermined IP address. To
If there is no response from the call agent within a predetermined time due to a failure or congestion of the call agent or a system failure, the memory is searched based on the input telephone number of the second IP telephone terminal and the corresponding IP Get the address,
Sending a third connection request to the second IP telephone terminal according to the acquired IP address;
An IP telephone system is provided in which a second call connection is established between the first IP telephone terminal and the second IP telephone terminal.

本発明によると、システムや中心的サーバ(例えば、コールエージェント)が停止しても、エンドユーザ間の通話を可能とするIP電話端末及びIP電話システムを提供することができる。また、本発明によると、コールエージェント等への回線集中により、通話が不可能になること防ぐことができる。
本発明によると、IP公衆電話網において通信制御の役割を担うコールエージェントが故障もしくは輻輳によって動作異常に陥った場合においても、電話番号とIPアドレスが正確に対応できている場合にはIP電話端末独自で通話を確立することができる。また、本発明によると、電話番号とIPアドレスが正確に対応できていない場合には、通話の誤接続を回避することができる。
According to the present invention, it is possible to provide an IP telephone terminal and an IP telephone system that enable a call between end users even when the system and a central server (for example, a call agent) are stopped. In addition, according to the present invention, it is possible to prevent a call from becoming impossible due to the concentration of lines on a call agent or the like.
According to the present invention, even when a call agent that plays a role of communication control in an IP public telephone network has malfunctioned due to a failure or congestion, if the telephone number and the IP address can be accurately handled, the IP telephone terminal You can establish your own call. Further, according to the present invention, when the telephone number and the IP address are not correctly associated, it is possible to avoid erroneous connection of the call.

(システム構成)
図1は、本実施の形態のIP電話網の全体構成図である。
IPネットワーク101は、例えば、n台(nは2以上の整数)のIP電話端末(IP電話端末20−1、IP電話端末20−2、IP電話端末20−3、…、IP電話端末10−n)と、m台(nは1以上の整数)のコールエージェント(コールエージェント10−1、コールエージェント10−2、…、コールエージェント10−m)と、DNS(Domain Name System)サーバ109を備える。
本実施の形態のIP電話システムは、例えば、既存のIP電話システムと同様に、全てのIP電話端末(IP電話端末20−1、IP電話端末20−2、IP電話端末20−3、…、IP電話端末10−n)と全てのコールエージェント(コールエージェント10−1、コールエージェント10−2、…、コールエージェント10−m)には、DNSサーバ109によってIPアドレスを振っている。IP電話端末(20−1〜10−n)は再起動が発生した場合、それまで使用していたIPアドレスが破棄されることになり、新たにDNSサーバ109と通信して他のIPアドレスを取得する。すなわち、IP電話端末(20−1〜10−n)のIPアドレスは可変である。なお、IPアドレスは固定でもよい。一方、コールエージェント(10−1〜10−m)は、常にIP電話端末(20−1〜10−n)からのアクセスが可能となるように、固定的にIPアドレスを設定してもよい。
また、本実施の形態においては、既存の電話網と同様に、全てのIP電話端末(20−1〜10−n)に、それぞれ固有の電話番号を設定しており、例えば通話先の決定に用いる。
本実施の形態のIP電話システムは、IP電話端末20とコールエージェント10との間での通信が可能である場合においては、例えばRFC3261で規定されるSIP(Session Initiation Protocol)等の呼制御プロトコルに従って、IP電話同士の通話を確立することができる。なお、プロトコルは、SIP以外のH.323など適宜の呼制御プロトコル、音声通信のためのプロトコルを用いてもよい。
コールエージェント10の故障又は輻輳等によって、IP電話端末20とコールエージェント10との間の通信が不可能な場合は、以下に詳細に説明する方法にて通話を実現する。
(System configuration)
FIG. 1 is an overall configuration diagram of an IP telephone network according to the present embodiment.
The IP network 101 includes, for example, n (n is an integer of 2 or more) IP telephone terminals (IP telephone terminal 20-1, IP telephone terminal 20-2, IP telephone terminal 20-3,..., IP telephone terminal 10- n), m (n is an integer equal to or greater than 1) call agents (call agent 10-1, call agent 10-2,..., call agent 10-m), and DNS (Domain Name System) server 109. .
The IP telephone system according to the present embodiment is, for example, similar to the existing IP telephone system, all IP telephone terminals (IP telephone terminal 20-1, IP telephone terminal 20-2, IP telephone terminal 20-3,... An IP address is assigned by the DNS server 109 to the IP telephone terminal 10-n) and all the call agents (call agent 10-1, call agent 10-2,..., Call agent 10-m). When the IP telephone terminal (20-1 to 10-n) is restarted, the IP address used so far is discarded, and another IP address is newly communicated with the DNS server 109. get. That is, the IP addresses of the IP telephone terminals (20-1 to 10-n) are variable. The IP address may be fixed. On the other hand, the call agent (10-1 to 10-m) may set a fixed IP address so as to always allow access from the IP telephone terminal (20-1 to 10-n).
In the present embodiment, similar to the existing telephone network, each IP telephone terminal (20-1 to 10-n) is set with a unique telephone number. Use.
In the IP telephone system according to the present embodiment, when communication between the IP telephone terminal 20 and the call agent 10 is possible, for example, according to a call control protocol such as SIP (Session Initiation Protocol) defined by RFC3261. A call between IP telephones can be established. The protocol is H.264 other than SIP. An appropriate call control protocol such as H.323 or a protocol for voice communication may be used.
When communication between the IP telephone terminal 20 and the call agent 10 is impossible due to a failure or congestion of the call agent 10, a call is realized by a method described in detail below.

図2は、IP電話端末20−1の内部構成図である。
IP電話端末20−1は、制御部201、メモリ202、電話番号検出部203、フッキング検出部204、回線接続部205、アナログ・デジタルデータ変換部206、マイク部207及びスピーカ部208を有する。
制御部201は、他の構成ブロックへの命令およびIPパケットの生成、解析を行う。また、制御部201は、呼接続を制御する。メモリ202は、電話番号およびIPアドレスを対応して記憶する。電話番号検出部203は、プッシュボタン等により入力された電話番号を検出する。フッキング検出部204は、オンフック、オフフックを検出する。回線接続部205は、制御部201より作成したIPパケットをIPネットワーク101に送信し、IPネットワーク101より受信したIPパケットを制御部201に送信する。アナログ・デジタルデータ変換部206は、制御部201で生成したデジタルデータをアナログデータに変換して、スピーカ208へと出力する。また、制御部201は、マイク207から入力されたアナログデータをデジタルデータに変換して、制御部201に転送する。尚、IP電話端末20−2〜20−nについてもIP電話端末20−1と同様の構成である。
本実施の形態におけるIP電話端末20は、一般の電話端末と、IP電話用モデムにより構成されてもよい。なお、以下の説明においては、単にIP電話端末と称する。
図14は、IP電話用モデム1404と電話端末1401で構成される場合のIP電話端末20の内部構成図を示す。
IP電話用モデム1404は、制御部201、メモリ202、電話番号検出部203、フッキング検出部204、回線接続部205、アナログ・デジタルデータ変換部206及び電話端末回線接続部1403を有する。アナログ・デジタルデータ変換部206は、制御部201で生成した呼制御や音声等のデジタルデータをアナログデータに変換する。また、電話回線接続部1403からのアナログデータをデジタルデータに変換し、制御部201に送信する。呼制御や音声等のアナログデータは、電話回線接続部1403より、例えば電話回線1402を通じて、電話端末1401と通信される。なお、他の構成については、図2と同様である。また、電話端末1401は、例えば、上述のマイク部、スピーカー部、フッキング検出部に相当する部分を有する。
FIG. 2 is an internal configuration diagram of the IP telephone terminal 20-1.
The IP telephone terminal 20-1 includes a control unit 201, a memory 202, a telephone number detection unit 203, a hooking detection unit 204, a line connection unit 205, an analog / digital data conversion unit 206, a microphone unit 207, and a speaker unit 208.
The control unit 201 generates and analyzes instructions and IP packets for other constituent blocks. The control unit 201 controls call connection. The memory 202 stores a telephone number and an IP address correspondingly. The telephone number detection unit 203 detects a telephone number input by a push button or the like. The hooking detection unit 204 detects on-hook and off-hook. The line connection unit 205 transmits the IP packet created by the control unit 201 to the IP network 101, and transmits the IP packet received from the IP network 101 to the control unit 201. The analog / digital data conversion unit 206 converts the digital data generated by the control unit 201 into analog data and outputs the analog data to the speaker 208. In addition, the control unit 201 converts analog data input from the microphone 207 into digital data and transfers the digital data to the control unit 201. The IP telephone terminals 20-2 to 20-n have the same configuration as the IP telephone terminal 20-1.
IP telephone terminal 20 in the present embodiment may be configured by a general telephone terminal and an IP telephone modem. In the following description, it is simply referred to as an IP telephone terminal.
FIG. 14 shows an internal configuration diagram of IP telephone terminal 20 in the case where IP telephone modem 1404 and telephone terminal 1401 are configured.
The IP telephone modem 1404 includes a control unit 201, a memory 202, a telephone number detection unit 203, a hooking detection unit 204, a line connection unit 205, an analog / digital data conversion unit 206, and a telephone terminal line connection unit 1403. The analog / digital data conversion unit 206 converts digital data such as call control and voice generated by the control unit 201 into analog data. Also, analog data from the telephone line connection unit 1403 is converted into digital data and transmitted to the control unit 201. Analog data such as call control and voice is communicated with the telephone terminal 1401 from the telephone line connection unit 1403 through, for example, the telephone line 1402. Other configurations are the same as those in FIG. The telephone terminal 1401 includes, for example, portions corresponding to the above-described microphone unit, speaker unit, and hooking detection unit.

図13は、IP電話端末のメモリ202の内部構成図である。
メモリ202は、自電話番号を記憶する領域1301、自IPアドレスを記憶する領域1302、コールエージェントのIPアドレスを記憶する領域1303、及び、過去に通話を行った相手先IP電話端末の電話番号とIPアドレスの対応を記憶するデータベース301を有する。図13においては、一例としてIP電話端末20−1のメモリの内部構成を表しており、自電話番号1301にはIP電話端末20−1の電話番号である「00−1234−5678」が、自IPアドレス1302には予め割り当てられたIP電話端末20−1のIPアドレスである「AA.AA.A.A」が、コールエージェントのIPアドレス1303には、IP電話端末20−1の通信相手となる予め定められたコールエージェント10−1のIPアドレスである「100.100.1.30」がそれぞれ記憶されている。
図3は、相手先IP電話端末の電話番号とIPアドレスの対応を記憶するデータベース301の内部構成図である。
データベース301は、通話相手となる一つのIP電話端末の電話番号とIPアドレスを、例えば各項番ごとに対応付けして記憶する。項番は、例えば項番1(302)から項番r(304)まであり、最大でIP電話端末r台分の電話番号とIPアドレスを記憶することが出来る。
FIG. 13 is an internal configuration diagram of the memory 202 of the IP telephone terminal.
The memory 202 has an area 1301 for storing its own telephone number, an area 1302 for storing its own IP address, an area 1303 for storing the IP address of the call agent, and the telephone number of the destination IP telephone terminal that has made a call in the past It has a database 301 for storing correspondence of IP addresses. In FIG. 13, the internal configuration of the memory of IP telephone terminal 20-1 is shown as an example, and “00-1234-5678”, which is the telephone number of IP telephone terminal 20-1, is assigned to own telephone number 1301. “AA.AA.AA” which is the IP address of the IP telephone terminal 20-1 assigned in advance to the IP address 1302, and the communication partner of the IP telephone terminal 20-1 to the IP address 1303 of the call agent The predetermined IP address of the call agent 10-1 “100.100.1.30” is stored.
FIG. 3 is an internal configuration diagram of the database 301 for storing the correspondence between the telephone number of the destination IP telephone terminal and the IP address.
The database 301 stores a telephone number and an IP address of one IP telephone terminal that is a call partner in association with each item number, for example. The item numbers are, for example, from item number 1 (302) to item number r (304), and can store a maximum of telephone numbers and IP addresses for r IP telephone terminals.

図3は、一例としてIP電話端末20−1のメモリ202内部のデータベースを示しており、項番1(302)には、例えばIP電話端末20−2の情報を格納し、電話番号記憶領域305にはIP電話端末20−2の電話番号「01−1222−3333」を格納する。IPアドレス記憶領域308にはIP電話端末2のIPアドレス「BB.BB.B.B」を格納する。また、項番2(303)は、例えばIP電話端末20−3の情報を示す項番であり、電話番号記憶領域306にはIP電話端末20−3の電話番号「06−5555−4444」、IPアドレス記憶領域309にはIP電話端末3のIPアドレス「CC.CC.C.C」を格納する。項番r(304)は、例えばIP電話端末10−nの情報を示す項番であり、電話番号記憶領域307にはIP電話端末10−nの電話番号「09−9999−9999」、IPアドレス記憶領域310にはIP電話端末10−nのIPアドレス「DD.DD.D.D」を格納する。これらの各情報は、後述するようにCA10が正常に動作している際の呼接続時に制御部201より格納される。   FIG. 3 shows a database in the memory 202 of the IP telephone terminal 20-1 as an example. In the item number 1 (302), for example, information of the IP telephone terminal 20-2 is stored, and a telephone number storage area 305 is stored. Stores the telephone number “01-1223-3333” of the IP telephone terminal 20-2. The IP address storage area 308 stores the IP address “BB.BB.BB” of the IP telephone terminal 2. The item number 2 (303) is, for example, an item number indicating the information of the IP telephone terminal 20-3. The telephone number storage area 306 includes the telephone number "06-5555-4444" of the IP telephone terminal 20-3, In the IP address storage area 309, the IP address “CC.CC.C.C” of the IP telephone terminal 3 is stored. The item number r (304) is, for example, an item number indicating the information of the IP telephone terminal 10-n. The telephone number storage area 307 stores the telephone number “09-9999-9999” of the IP telephone terminal 10-n, the IP address The storage area 310 stores the IP address “DD.DD.D.D” of the IP telephone terminal 10-n. These pieces of information are stored by the control unit 201 at the time of call connection when the CA 10 is operating normally, as will be described later.

(発呼側の処理)
図4、図5及び図6は、本実施の形態のIP電話端末からの発信から、通話を確立するまでの動作を示すフローチャートの例である。
尚、本例および図7に示す着信側IP電話端末の動作フローチャートの例では、呼制御プロトコルとしてSIPを使用することとし、「INVITE」、「ACK」及び「BYE」は、それぞれSIPのリクエストメッセージであり、「180Ringing」及び「200OK」は、SIPのリクエストメッセージに対するレスポンスである。
例えば、IP電話端末(発信元IP電話端末、第1のIP電話端末)20−1の制御部201は、動作の開始(処理401)として、まずフッキング検出部204よりオフフックを検出(処理402)する。すると電話番号入力待ち状態となり、電話番号検出部203にて、入力された通話先の電話番号を取得する(処理403)。この例では、IP電話端末20−2を着信先とし、IP電話端末20−2の電話番号が取得されるものとして説明する。
そして、制御部201は、「INVITE」メッセージ送信回数カウンタ値x(回)をx=0に設定し(処理404)、「INVITE」メッセージ送信後の時間カウンタ値y(秒)をy=0と設定する(処理405)。制御部201は、メモリ202内のコールエージェント(以後、CAと記す)IPアドレス記憶領域1303に記憶されているIPアドレスを用いて「INVITE」(第1、第2の接続要求)をCA10−1に送信する(処理406)。また、制御部201は、yのカウントをスタート(処理407)し、CA10−1より「180Ringing」を受信するまで待機する。
通信に問題がない場合、CA10−1は、IP電話端末20−1より受信した「INVITE」を相手先IP電話端末(着信先IP電話端末、第2のIP電話端末)20−2に送信する。「INVITE」を受信した相手先端末20−2は、CA10−1に「180Ringing」(呼び出し信号通知)を送信し、CA10−1は「180Ringing」をIP電話端末20−1に送信する。「180Ringing」は、例えば、相手先電話端末20−2のIPアドレスを含む。
制御部201は、「180Ringing」受信の待機中に(処理409)、yが予め設定した閾値b(秒)を超えた場合(処理408)、受信の待機を終了して、xに1を足す(処理410)。xが予め設定した閾値a(回)に達成していない場合(処理411、No)、y=0と設定(処理405)し直して、再度CA10−1にINVITEを送信する(処理406)。
(Calling party processing)
4, 5 and 6 are examples of flowcharts showing the operation from the call origination from the IP telephone terminal to the establishment of the call.
In this example and the example of the operation flowchart of the terminating IP telephone terminal shown in FIG. 7, SIP is used as a call control protocol, and “INVITE”, “ACK”, and “BYE” are SIP request messages. “180 Ringing” and “200 OK” are responses to the SIP request message.
For example, the control unit 201 of the IP telephone terminal (source IP telephone terminal, first IP telephone terminal) 20-1 first detects an off-hook from the hooking detection unit 204 (process 402) as the operation start (process 401). To do. Then, the telephone number input waiting state is entered, and the telephone number detection unit 203 acquires the telephone number of the input destination (process 403). In this example, it is assumed that the IP telephone terminal 20-2 is the destination and the telephone number of the IP telephone terminal 20-2 is acquired.
Then, the control unit 201 sets the “INVITE” message transmission count counter value x (times) to x = 0 (processing 404), and sets the time counter value y (seconds) after the “INVITE” message transmission to y = 0. Setting is made (process 405). The control unit 201 sends “INVITE” (first and second connection requests) to the CA 10-1 using the IP address stored in the call agent (hereinafter referred to as CA) IP address storage area 1303 in the memory 202. (Process 406). Further, the control unit 201 starts counting y (processing 407) and waits until “180 Ringing” is received from the CA 10-1.
If there is no problem in communication, CA 10-1 transmits “INVITE” received from IP telephone terminal 20-1 to destination IP telephone terminal (destination IP telephone terminal, second IP telephone terminal) 20-2. . The counterpart terminal 20-2 that has received “INVITE” transmits “180 Ringing” (call signal notification) to the CA 10-1, and the CA 10-1 transmits “180 Ringing” to the IP telephone terminal 20-1. “180 Ringing” includes, for example, the IP address of the destination telephone terminal 20-2.
While waiting for reception of “180 Ringing” (process 409), the control unit 201 ends the reception standby and adds 1 to x when y exceeds a preset threshold value b (seconds) (process 408). (Processing 410). When x does not reach the preset threshold value a (times) (No in process 411), y = 0 is set again (process 405), and INVITE is transmitted again to the CA 10-1 (process 406).

一方、yが予め設定した閾値b(秒)を超えていない場合で(処理408)、制御部201は、CA10−1より「180Ringing」を受信した場合(処理409)、スピーカ部208より呼び出し音を出力する(処理418)。
制御部201は、CA10−1との接続が可能であると判断し、以後はCA10−1経由で相手先端末20−2とSIPで規定される手順に従って通信することにより、通話の確立を行う。また、「180Ringing」を受信せず、xが予め設定した閾値a(回)に達成した場合(処理411)、制御部はCAとの接続が不可能と判断し、後述するように相手先端末20−2に向けて直接通信することにより、通話の確立を試みる。
図5に移り、制御部201は、相手先端末データベース301より入力電話番号の検索を行う(処理501)。制御部201は、入力電話番号の検索に失敗した場合(処理502、No)、これまでデータベース301に登録されていない電話番号と判断して、データベース301に入力電話番号と「180Ringing」に含まれる相手先電話端末20−2のIPアドレスを新規に追加し(処理505)、処理507へ移る。また、制御部201は、入力電話番号の検索に成功した場合(処理502、Yes)、データベース301上の入力電話番号に対応するIPアドレスと、「180Ringing」記載の相手先端末20−2のIPアドレスとを比較する(処理503)。比較結果が同一の場合は(処理504、Yes)、これまでのデータベースの正常性が確認され、データベースへの登録、修正は行わず、処理507へ移る。比較結果が同一ではない場合は(処理504、No)、制御部201は、データベース301の入力電話番号に対応するIPアドレスに「180Ringing」に記載された相手先電話端末のIPアドレスを上書きし(処理506)、処理507へ移る。
On the other hand, if y does not exceed the preset threshold value b (seconds) (process 408), and the control unit 201 receives “180 Ringing” from the CA 10-1 (process 409), the ringing tone from the speaker unit 208 is obtained. Is output (process 418).
The control unit 201 determines that the connection with the CA 10-1 is possible, and thereafter establishes a call by communicating with the partner terminal 20-2 via the CA 10-1 according to a procedure defined by SIP. . Further, when “180 Ringing” is not received and x reaches the preset threshold value a (times) (processing 411), the control unit determines that connection with the CA is impossible, and the destination terminal as described later. Try to establish a call by communicating directly to 20-2.
Moving to FIG. 5, the control unit 201 searches the input terminal number from the counterpart terminal database 301 (process 501). If the search of the input telephone number fails (No in process 502), the control unit 201 determines that the telephone number has not been registered in the database 301 so far, and includes the input telephone number and “180 Ringing” in the database 301. The IP address of the destination telephone terminal 20-2 is newly added (process 505), and the process proceeds to process 507. Further, when the search of the input telephone number is successful (step 502, Yes), the control unit 201 and the IP address corresponding to the input telephone number on the database 301 and the IP of the counterpart terminal 20-2 described in “180 Ringing” are displayed. The address is compared (process 503). If the comparison results are the same (step 504, Yes), the normality of the database so far is confirmed, and the processing proceeds to step 507 without registration or correction in the database. If the comparison results are not the same (No in process 504), the control unit 201 overwrites the IP address of the destination telephone terminal described in “180 Ringing” with the IP address corresponding to the input telephone number in the database 301 ( The processing proceeds to processing 506) and processing 507.

データベース処理が終了した後は、制御部201は、SIPで規定される既存の呼確立処理と同様に、CA10−1より「200OK」(確認通知)を受信する(処理507)。IP電話端末20−1は、「200OK」のレスポンスとして、CA10−1へ「ACK」を送信する(処理508)。CA10−1から相手先電話端末に「ACK」を送信することにより、通話が確立し、相手先電話端末との間で音声パケットの通信を開始する(処理509)。
IP電話端末20−1は、フッキング検出部204でオンフックを検出した場合(処理510、Yes)、CA10−1に「BYE」(終了通知)を送信し(処理516)し、CA10−1より「ACK」を受信し(処理517)、相手先端末との音声パケットの通信が終了し(処理518)、制御部201の動作が終了する(処理519)。また、CA10−1より「BYE」を受信した場合(処理511)、制御部201は、CA10−1に「ACK」を送信し(処理512)、相手先電話端末がCA10−1より「ACK」を受信することで、相手先端末との音声パケットの通信が終了(処理513)する。IP電話端末20−1は、フッキング検出部513にてオンフックを検出する(処理514)ことで、制御部の動作を終了する(処理515)。
以上のように、CA10を介した通信時に端末20のデータベース301を更新しておく。
After the database processing is completed, the control unit 201 receives “200 OK” (confirmation notification) from the CA 10-1 as in the existing call establishment processing defined by SIP (processing 507). The IP telephone terminal 20-1 transmits “ACK” to the CA 10-1 as a response “200 OK” (process 508). By transmitting “ACK” from CA 10-1 to the destination telephone terminal, a call is established and voice packet communication is started with the destination telephone terminal (process 509).
When the hooking detection unit 204 detects on-hook (Yes in processing 510), the IP telephone terminal 20-1 transmits “BYE” (end notification) to the CA 10-1 (processing 516). ACK "is received (process 517), the voice packet communication with the partner terminal is terminated (process 518), and the operation of the control unit 201 is terminated (process 519). When “BYE” is received from CA 10-1 (process 511), control unit 201 transmits “ACK” to CA 10-1 (process 512), and the destination telephone terminal receives “ACK” from CA 10-1. Is received, the voice packet communication with the counterpart terminal is completed (step 513). The IP telephone terminal 20-1 ends the operation of the control unit (processing 515) by detecting the on-hook in the hooking detection unit 513 (processing 514).
As described above, the database 301 of the terminal 20 is updated at the time of communication via the CA 10.

次に、図4に戻り、相手先電話端末20−2に直接通話接続通信を行う場合を説明する。
制御部201は、xが予め設定した閾値a(回)に達成した場合(処理411)、データベース301より入力電話番号に対応するIPアドレスを検索する(処理412)。例えば、IPアドレスが登録されていないことにより相手先端末20−2のIPアドレスの検索に失敗した場合(処理413、No)、制御部201は、スピーカ部208より通話不可能であることを示すメッセージを出力し(処理414)、制御部201の動作を終了する(処理415)。
一方、IPアドレスの検索に成功した場合(処理413、Yes)、制御部201は、「INVITE」メッセージ送信回数カウンタ値x’(回)をx’=0に設定し(処理601)、「INVITE」メッセージ後の時間カウンタ値y’(秒)をy’=0と設定する(処理602)。以降IP電話端末20−1は、CA10−1ではなく、相手先端末20−2と通信を行う。
制御部201は、相手先電話端末20−2に「INVITE」(第3の接続要求)を送信する(処理603)。また、制御部201は、y’のカウントをスタート(処理604)し、相手先端末20−2より電話番号不一致メッセージ1205もしくは「180Ringing」を受信するまで待機する。
電話番号不一致メッセージ1205および「180Ringing」受信の待機中に(処理606及び処理607)、y’が予め設定した閾値b’(秒)を超えた場合(処理605、Yes)、受信の待機を終了して、x’に1を足す(処理608)。x’が予め設定した閾値a’(回)に達成していない場合(処理609、No)、y’=0と設定(処理602)して、再度相手先電話端末20−2にINVITEを送信する(処理603)。y’が予め設定した閾値b’(秒)を超えていない場合で(処理605、No)、相手先端末20−2より電話番号不一致メッセージ1205を受信した場合(処理606、Yes)と、x’が予め設定した閾値a’(回)に達成した場合(処理609、Yes)は、制御部201は相手先端末20−2への通話の確立が不可能であると判断し、スピーカ部208より通話不可能であることを示すメッセージを出力し(処理610)、動作を終了する(処理611)。
y’が予め設定した閾値b’(秒)を超えていない場合で(処理605、No)、相手先電話端末20−2より「180Ringing」を受信した場合(処理607、Yes)、制御部201は相手先電話端末20−2への通話の確立が可能であると判断し、処理612へ移る。
Next, returning to FIG. 4, a case where direct call connection communication is performed with the destination telephone terminal 20-2 will be described.
When x reaches the preset threshold value a (times) (process 411), the control unit 201 searches the database 301 for an IP address corresponding to the input telephone number (process 412). For example, when the search for the IP address of the destination terminal 20-2 fails because the IP address is not registered (No in process 413), the control unit 201 indicates that the speaker unit 208 cannot make a call. A message is output (process 414), and the operation of the control unit 201 is terminated (process 415).
On the other hand, if the IP address search is successful (step 413, Yes), the control unit 201 sets the “INVITE” message transmission count counter value x ′ (times) to x ′ = 0 (step 601). The time counter value y ′ (second) after the “message” is set as y ′ = 0 (process 602). Thereafter, IP telephone terminal 20-1 communicates with counterpart terminal 20-2 instead of CA 10-1.
The control unit 201 transmits “INVITE” (third connection request) to the destination telephone terminal 20-2 (processing 603). The control unit 201 starts counting y ′ (process 604) and waits until a telephone number mismatch message 1205 or “180 Ringing” is received from the counterpart terminal 20-2.
While waiting for reception of the telephone number mismatch message 1205 and “180 Ringing” (processing 606 and processing 607), if y ′ exceeds a preset threshold value b ′ (seconds) (processing 605, Yes), the reception waiting is terminated. Then, 1 is added to x ′ (process 608). If x ′ has not reached the preset threshold value a ′ (times) (No in process 609), y ′ = 0 is set (process 602), and INVITE is transmitted to the destination telephone terminal 20-2 again. (Process 603). When y ′ does not exceed the preset threshold value b ′ (seconds) (No in process 605) and the telephone number mismatch message 1205 is received from the destination terminal 20-2 (Yes in process 606), x When “has reached the preset threshold value a” (times) (step 609, Yes), the control unit 201 determines that a call to the partner terminal 20-2 cannot be established, and the speaker unit 208 A message indicating that the telephone call is impossible is output (process 610), and the operation is terminated (process 611).
When y ′ does not exceed the preset threshold value b ′ (seconds) (No in process 605) and “180 Ringing” is received from the destination telephone terminal 20-2 (Yes in process 607), the control unit 201 Determines that it is possible to establish a call to the destination telephone terminal 20-2, and proceeds to processing 612.

以下、制御部201は、SIPで規定されている手順に従って、相手先電話端末20−2より「200OK」を受信したら(処理612)、レスポンスとして相手先電話端末20−2へ「ACK」を送信する(処理613)。相手先電話端末20−2に「ACK」を送信することにより、通話の確立が完了となり、相手先電話端末20−2との間で音声パケットの通信を開始する(処理614)。
IP電話端末20−1は、フッキング検出部204でオンフックを検出した場合(処理615、Yes)、制御部201は、相手先電話端末20−2に「BYE」を送信し(処理621)し、相手先電話端末20−2より「ACK」を受信する(処理622)。「ACK」を受信することにより(処理622)、相手先端末20−2との音声パケットの通信を終了し(処理623)、制御部201の動作が終了する(処理624)。
また、相手先電話端末20−2より「BYE」を受信した場合(処理616)、制御部201は、相手先電話端末20−2に「ACK」を送信し(処理617)、相手側電話端末20−2が「ACK」を受信することで、相手先電話端末20−2との音声パケットの通信が終了(処理618)する。IP電話端末20−1は、フッキング検出部513にてオンフックを検出する(処理619)ことで、制御部の動作を終了する(処理620)。
Thereafter, when the control unit 201 receives “200 OK” from the destination telephone terminal 20-2 in accordance with the procedure stipulated by SIP (Process 612), it transmits “ACK” to the destination telephone terminal 20-2 as a response. (Process 613). By transmitting “ACK” to the destination telephone terminal 20-2, the establishment of the call is completed, and voice packet communication is started with the destination telephone terminal 20-2 (step 614).
When the IP phone terminal 20-1 detects on-hook by the hooking detection unit 204 (step 615, Yes), the control unit 201 transmits “BYE” to the destination phone terminal 20-2 (step 621). “ACK” is received from the destination telephone terminal 20-2 (process 622). By receiving “ACK” (process 622), the voice packet communication with the counterpart terminal 20-2 is terminated (process 623), and the operation of the control unit 201 is terminated (process 624).
When “BYE” is received from the other party telephone terminal 20-2 (process 616), the control unit 201 transmits “ACK” to the other party telephone terminal 20-2 (process 617). When 20-2 receives “ACK”, the communication of the voice packet with the destination telephone terminal 20-2 ends (process 618). The IP telephone terminal 20-1 ends the operation of the control unit by detecting the on-hook in the hooking detection unit 513 (processing 619) (processing 620).

(着信側の処理)
本実施の形態では、CA10−1が故障又は輻輳等している場合で、かつ相手先電話端末のIPアドレスが変更されてしまっている場合に、誤った端末に着信する可能性がある。これを解決するために、通話の着信を受け付けた場合に、送信された着信側電話番号と、自電話番号1301との照合を行い、その整合によって着信を受け付けて通話を確立するか、もしくは着信を拒否して通話を切断する手段を搭載する。詳細を図7を参照して説明する。
図7は、本実施の形態のIP電話システムにおけるIP電話端末20−2の着信時における制御部201の通話を確立するまでの動作を示すフローチャートの例である。
制御部201は、動作の開始として(処理701)、まずCA10−1もしくは発信元電話端末20−1より「INVITE」を受信し(処理702)、「INVITE」記載の着信側電話番号とメモリ内の自電話番号1301を比較する(処理703)。比較結果が同一でない場合(処理704、No)、CA10−1もしくは発信元のIP電話端末20−1に対して、電話番号不一致メッセージ1205を送信し(処理708)、動作を終了する(処理709)。
(Called party processing)
In the present embodiment, there is a possibility that the wrong terminal is received when the CA 10-1 is out of order or congested and the IP address of the destination telephone terminal has been changed. In order to solve this, when an incoming call is accepted, the transmitted incoming telephone number and the own telephone number 1301 are collated, and the incoming call is accepted according to the matching, and the call is established, or the incoming call is received. Equipped with a means to reject the call and disconnect the call. Details will be described with reference to FIG.
FIG. 7 is an example of a flowchart showing an operation until the control unit 201 establishes a call when the IP telephone terminal 20-2 receives an incoming call in the IP telephone system of the present embodiment.
At the start of the operation (process 701), the control unit 201 first receives "INVITE" from the CA 10-1 or the caller telephone terminal 20-1 (process 702), and receives the destination telephone number described in "INVITE" and in the memory. Are compared (step 703). If the comparison results are not the same (No at Step 704), the telephone number mismatch message 1205 is transmitted to the CA 10-1 or the originating IP telephone terminal 20-1 (Step 708), and the operation ends (Step 709). ).

例えば、IP電話端末20−2が、過去の呼接続以降に再起動されることなどによりIPアドレスが変更されていることがある。IP電話端末20−2は、IPアドレスに変更があると、CA10−1に電話番号と変更されたIPアドレスを通知して、CA10−1では最新のIPアドレスを管理するが、各IP電話端末には通知しない。従って、IP電話端末20−1がメモリに記憶された情報に基づいて接続要求を送信しても、所望の端末に届かず、異なる端末で受信されることがある。本実施の形態では、上述のようにIPアドレスの一致/不一致を確認することで、誤った端末に着信することを防いでいる。
一方、比較結果が同一の場合(処理704、Yes)、制御部201は、SIPに規定された手順に従ってCA10−1もしくは発信元電話端末20−1に「180Ringing」を送信する(処理705)。制御部201は、スピーカ部208より着信ベルを鳴らし(処理706)、オフフックを検出したら(処理707)、CA10−1もしくは発信元電話端末20−1に「200OK」を送信する(処理710)。制御部201は、CA10−1もしくは発信元電話端末20−1から「ACK」を受信することにより、通話の確立が完了となり、発信元電話端末20−1との間で音声パケットの通信を開始する(処理712)。
IP電話端末20−2は、フッキング検出部204でオンフックを検出した場合(処理713、Yes)、CA10−1もしくは発信元電話端末20−1に「BYE」を送信し(処理719)し、CA10−1もしくは発信元電話端末20−1より「ACK」を受信する(処理720)。「ACK」を受信することにより(処理720)、制御部201は、発信元電話端末20−1との音声パケットの通信が終了し(処理721)、制御部201の動作を終了する(処理722)。
また、発信元電話端末20−1より「BYE」を受信した場合(処理714、Yes)、制御部201は、CA10−1もしくは発信元電話端末20−1に「ACK」を送信し(処理715)、CA10−1もしくは発信元電話端末20−1が「ACK」を受信することで、発信元電話端末20−1との音声パケットの通信が終了(処理716)する。フッキング検出部204にてオンフックを検出する(処理717)ことで、制御部の動作が終了する(処理718)。
For example, the IP address may have been changed due to the IP telephone terminal 20-2 being restarted after a previous call connection. When there is a change in the IP address, the IP telephone terminal 20-2 notifies the CA 10-1 of the telephone number and the changed IP address, and the CA 10-1 manages the latest IP address. Do not notify. Therefore, even if the IP telephone terminal 20-1 transmits a connection request based on the information stored in the memory, it may not reach the desired terminal and may be received by a different terminal. In the present embodiment, as described above, by confirming the coincidence / non-coincidence of the IP address, it is possible to prevent an incoming call from being made at the wrong terminal.
On the other hand, when the comparison results are the same (step 704, Yes), the control unit 201 transmits “180 Ringing” to the CA 10-1 or the caller telephone terminal 20-1 according to the procedure defined in SIP (step 705). The control unit 201 rings an incoming call bell from the speaker unit 208 (process 706), and when “off hook” is detected (process 707), transmits “200 OK” to the CA 10-1 or the caller telephone terminal 20-1 (process 710). The control unit 201 receives “ACK” from the CA 10-1 or the caller telephone terminal 20-1, thereby completing the establishment of the call and starting voice packet communication with the caller telephone terminal 20-1. (Process 712).
When the hooking detection unit 204 detects on-hook (Yes in process 713), IP phone terminal 20-2 transmits “BYE” to CA 10-1 or caller telephone terminal 20-1 (process 719). -1 or “ACK” is received from the originating telephone terminal 20-1 (process 720). By receiving “ACK” (process 720), the control unit 201 ends the communication of the voice packet with the caller telephone terminal 20-1 (process 721), and ends the operation of the control unit 201 (process 722). ).
When “BYE” is received from the caller telephone terminal 20-1 (Yes in process 714), the control unit 201 transmits “ACK” to the CA 10-1 or the caller telephone terminal 20-1 (process 715). ) When the CA 10-1 or the caller telephone terminal 20-1 receives “ACK”, the voice packet communication with the caller telephone terminal 20-1 ends (process 716). When the hooking detection unit 204 detects on-hook (step 717), the operation of the control unit ends (step 718).

(データベースの更新例)
図8は、データベース301のIPアドレスを更新する場合の例として、更新前と更新後の内部構成を示す。
IPアドレスを更新する場合、まず、更新対象のIPアドレスに対応する電話番号がどの項番にあるのかを調べる。そして、更新対象のIPアドレスに対応する電話番号がある項番の一つ前の項番の電話番号とIPアドレスを、それぞれ更新対象のIPアドレスに対応する電話番号がある項番の記憶領域へとコピーする。次に、更新対象のIPアドレスに対応する電話番号がある項番の二つ前の項番の電話番号とIPアドレスを、それぞれ更新対象のIPアドレスに対応する電話番号がある項番の一つ前の項番の記憶領域へとコピーする。これを順次繰り返し、項番1 302の電話番号とIPアドレスが項番2 303の記憶領域へとコピーされるまで行う。最後に項番1 302のIPアドレス記憶領域305に更新後のIPアドレスを入力し、電話番号記憶領域306に更新対象のIPアドレスに対応する電話番号を入力する。
図8については具体例として、項番2(303)に登録されている電話番号「01−2222−3333」(802)のIPアドレスを「XX.XX.X.X」(805)から「BB.BB.B.B」(807)に更新する場合を示す。初めに、制御部201内で更新後のIPアドレス「BB.BB.B.B」(807)とそれに対応する電話番号「01−2222−3333」(802)を記憶する。次に、項番2 (303)の電話番号記憶領域306に項番1(302)の電話番号「06−5555−4444」(801)を入力し、IPアドレス記憶領域309に項番1(302)のIPアドレス「CC.CC.C.C」(804)を入力する。そして、項番1(302)の電話番号記憶領域305に更新対象のIPアドレスに対応する電話番号「01−2222−3333」(802)を入力し、IPアドレス記憶領域308に更新後のIPアドレス「BB.BB.B.B」(807)を入力する。この場合、項番3(304)の電話番号記憶領域307の内容と、IPアドレス記憶領域310の内容は変化しない。これらの操作により、更新されたIPアドレスとそれに対応する電話番号は、最新の情報として項番1(302)の記憶領域に入力される。
(Example of database update)
FIG. 8 shows an internal configuration before and after updating as an example of updating the IP address of the database 301.
When updating the IP address, first, it is checked which item number has the telephone number corresponding to the IP address to be updated. Then, the telephone number and IP address of the item number immediately before the item number having the telephone number corresponding to the IP address to be updated are respectively stored in the storage area of the item number having the telephone number corresponding to the IP address to be updated. And copy. Next, the telephone number and IP address of the item number two immediately before the item number having the telephone number corresponding to the IP address to be updated are each one of the item numbers having the telephone number corresponding to the IP address to be updated. Copy to the storage area of the previous item number. This is repeated sequentially until the telephone number and IP address of item number 1 302 are copied to the storage area of item number 2 303. Finally, the updated IP address is input to the IP address storage area 305 of item number 1302, and the telephone number corresponding to the IP address to be updated is input to the telephone number storage area 306.
8, as a specific example, the IP address of the telephone number “01-2222-3333” (802) registered in item number 2 (303) is changed from “XX.XX.X.X” (805) to “BB”. .BB.BB ”(807) shows the case of updating. First, the updated IP address “BB.BB.BB” (807) and the corresponding telephone number “01-2222-3333” (802) are stored in the control unit 201. Next, the telephone number “06-5555-4444” (801) of item number 1 (302) is input to the telephone number storage area 306 of item number 2 (303), and the item number 1 (302) is stored in the IP address storage area 309. ) IP address “CC.CC.C.C” (804). The telephone number “01-2222-3333” (802) corresponding to the IP address to be updated is input to the telephone number storage area 305 of item number 1 (302), and the updated IP address is input to the IP address storage area 308. Enter "BB.BB.BB" (807). In this case, the contents of the telephone number storage area 307 of item number 3 (304) and the contents of the IP address storage area 310 do not change. By these operations, the updated IP address and the corresponding telephone number are input to the storage area of item number 1 (302) as the latest information.

図9は、データベース301に新規に電話番号とIPアドレスを追加する例として、登録前と登録後の内部構成を示す。
電話番号とIPアドレスを追加する場合、項番r(304)の一つ前の項番r−1の電話番号とIPアドレスを、項番rの記憶領域へとコピーする。次に、項番r(304)の二つ前の項番r−2の電話番号とIPアドレスを、項番r(304)の一つ前の項番r−1の記憶領域へとコピーする。これを順次繰り返し、項番1(302)の電話番号とIPアドレスを項番2(303)の記憶領域へとコピーするまで行う。最後に項番1(302)のIPアドレス記憶領域305に登録するIPアドレスを入力し、電話番号記憶領域306に登録する電話番号を入力する。
図9について具体例として、データベース301に新規に電話番号「01−2222−3333」(907)とIPアドレスを「BB.BB.B.B」(908)を登録する場合を示す。初めに、制御部201内で登録する電話番号「01−2222−3333」(907)と「BB.BB.B.B」(908)を記憶する。次に、項番3(304)の電話番号記憶領域307に項番2(303)の電話番号「09−9999−9999」(902)を入力し、IPアドレス記憶領域310に項番2(303)のIPアドレス「DD.DD.D.D」(804)を入力する。次に、項番2(303)の電話番号記憶領域306に項番1(302)の電話番号「06−5555−4444」(901)を入力し、IPアドレス記憶領域309に項番1(302)のIPアドレス「CC.CC.C.C」(904)を入力する。更に、項番1(302)の電話番号記憶領域305に更新対象のIPアドレスに対応する電話番号「01−2222−3333」(907)を入力し、IPアドレス記憶領域308に更新後のIPアドレス「BB.BB.B.B」(908)を入力する。これらの操作により、新規追加するIPアドレスと電話番号は、最新の情報として項番1(302)の記憶領域に入力される。
FIG. 9 shows an internal configuration before registration and after registration as an example of newly adding a telephone number and IP address to the database 301.
When adding a telephone number and an IP address, the telephone number and IP address of item number r-1 immediately preceding item number r (304) are copied to the storage area of item number r. Next, the telephone number and IP address of item number r-2 immediately preceding item number r (304) are copied to the storage area of item number r-1 immediately preceding item number r (304). . This is repeated sequentially until the telephone number and IP address of item number 1 (302) are copied to the storage area of item number 2 (303). Finally, the IP address to be registered is input to the IP address storage area 305 of item number 1 (302), and the telephone number to be registered is input to the telephone number storage area 306.
As a specific example of FIG. 9, a case where a telephone number “01-2222-3333” (907) and an IP address “BB.BB.BB” (908) are newly registered in the database 301 is shown. First, the telephone number “01-2222-3333” (907) and “BB.BB.BB” (908) registered in the control unit 201 are stored. Next, the telephone number “09-9999-9999” (902) of the item number 2 (303) is input to the telephone number storage area 307 of the item number 3 (304), and the item number 2 (303 is stored in the IP address storage area 310. ) IP address “DD.DD.DD” (804). Next, the telephone number “06-5555-4444” (901) of the item number 1 (302) is input to the telephone number storage region 306 of the item number 2 (303), and the item number 1 (302) is stored in the IP address storage region 309. ) IP address “CC.CC.C.C” (904). Further, the telephone number “01-2222-3333” (907) corresponding to the IP address to be updated is input to the telephone number storage area 305 of item number 1 (302), and the updated IP address is input to the IP address storage area 308. Enter "BB.BB.BB" (908). By these operations, the newly added IP address and telephone number are input to the storage area of item number 1 (302) as the latest information.

図10は、本実施の形態のIP電話システムにおいて、IP電話端末の通話の確立までの動作の一例を示したシーケンス図(1)である。
本例は、データベースから相手先電話番号に対するIPアドレスを検索し、そのIPアドレスに接続を行った結果、通話を希望するIP電話端末に接続を行う場合を示す。
まずIP電話端末20−1の制御部201は、1回目のINVITEメッセージをCA10−1へと送信する(処理1001)。CA10−1への接続が不可能の場合、IP電話端末20−1の制御部201は「180Ringing」を受信することがないため、1回目のメッセージ送信からb秒経過した後、2回目のINVITEメッセージをCA10−1へ送信する(処理1002)。2回目のメッセージ送信からb秒経過した後、3回目のINVITEメッセージをCA10−1に出力する(処理1003)。以後、同様にb秒周期で送信回数がa回になるまで、CA10−1にINVITEメッセージを繰り返し送信する。a回目のINVITEメッセージを送信して(処理1004)、b秒経過したら、データベース301にてIP電話端末20−2のIPアドレスの検索を実施する(処理1006)。検索に成功し(処理1005)、データベースよりIP電話端末20−2のIPアドレスを取得したら(処理1007)、IP電話端末20−2へ直接INVITEメッセージを送信する(処理1008)。
IP電話端末20−2では、INVITEメッセージ中に記述されている電話番号とメモリ202内部の自電話番号1301を比較する。番号が一致している場合は(処理1009)、180RingingをIP電話端末20−1に送信する(処理1010)。以降の処理は既存のSIPの手順に従って通話を確立する(処理1011)。
FIG. 10 is a sequence diagram (1) showing an example of the operation up to establishment of a call of the IP telephone terminal in the IP telephone system of the present embodiment.
This example shows a case where an IP address corresponding to a destination telephone number is searched from a database, and as a result of connecting to the IP address, connection is made to an IP telephone terminal that desires a call.
First, the control unit 201 of the IP telephone terminal 20-1 transmits the first INVITE message to the CA 10-1 (process 1001). When connection to the CA 10-1 is not possible, the control unit 201 of the IP telephone terminal 20-1 does not receive “180 Ringing”. Therefore, after b seconds have passed since the first message transmission, the second INVITE The message is transmitted to the CA 10-1 (process 1002). After elapse of b seconds from the second message transmission, the third INVITE message is output to the CA 10-1 (process 1003). Thereafter, similarly, the INVITE message is repeatedly transmitted to the CA 10-1 until the number of transmissions becomes “a” in a cycle of b seconds. When the a-th INVITE message is transmitted (process 1004) and b seconds elapse, the IP address of the IP telephone terminal 20-2 is searched in the database 301 (process 1006). When the search is successful (process 1005) and the IP address of IP telephone terminal 20-2 is obtained from the database (process 1007), an INVITE message is directly transmitted to IP telephone terminal 20-2 (process 1008).
The IP telephone terminal 20-2 compares the telephone number described in the INVITE message with the own telephone number 1301 in the memory 202. If the numbers match (process 1009), 180 Ringing is transmitted to IP telephone terminal 20-1 (process 1010). The subsequent processing establishes a call according to the existing SIP procedure (processing 1011).

図11は、本実施の形態のIP電話システムにおいて、IP電話端末の通話の確立までの動作の一例を示したシーケンス図(2)である。
本例は、データベースから相手先電話番号に対するIPアドレスを検索し、そのIPアドレスに接続を行った結果、通話を希望するIP電話端末とは別のIP電話端末に接続した場合を示す。
まずIP電話端末20−1の制御部201は、1回目のINVITEメッセージをCA10−1へと送信する(処理1101)。CA10−1への接続が不可能の場合、IP電話端末1制御部201は「180Ringing」を受信することがないため、1回目のメッセージ送信からb秒経過した後、2回目のINVITEメッセージをCA10−1へ送信する(処理1102)。2回目のメッセージ送信からb秒経過した後、3回目のINVITEメッセージをCA10−1に出力する(処理1103)。以後、同様にb秒周期で送信回数がa回になるまで、CA10−1にINVITEメッセージを繰り返し送信する。a回目のINVITEメッセージを送信して(処理1104)、b秒経過したら、データベースにてIP電話端末20−2のIPアドレスの検索を実施する(処理1106)。検索に成功し(処理1105)、データベースよりIP電話端末20−2のIPアドレスを取得したら(処理1107)、IP電話端末20−2へ直接INVITEメッセージを送信する(処理1108)。
FIG. 11 is a sequence diagram (2) showing an example of the operation up to establishment of a call of the IP telephone terminal in the IP telephone system of the present embodiment.
This example shows a case where an IP address corresponding to a destination telephone number is searched from the database, and as a result of connecting to the IP address, a connection is made to an IP telephone terminal different from the IP telephone terminal that wishes to make a call.
First, the control unit 201 of the IP telephone terminal 20-1 transmits the first INVITE message to the CA 10-1 (process 1101). When the connection to the CA 10-1 is impossible, the IP telephone terminal 1 control unit 201 does not receive “180 Ringing”. Therefore, after b seconds have passed since the first message transmission, the second INVITE message is sent to the CA 10 -1 (process 1102). After elapse of b seconds from the second message transmission, the third INVITE message is output to the CA 10-1 (processing 1103). Thereafter, similarly, the INVITE message is repeatedly transmitted to the CA 10-1 until the number of transmissions becomes “a” in a cycle of b seconds. The a-th INVITE message is transmitted (process 1104), and when b seconds elapse, the IP address of the IP telephone terminal 20-2 is searched in the database (process 1106). When the search is successful (process 1105) and the IP address of the IP telephone terminal 20-2 is acquired from the database (process 1107), an INVITE message is directly transmitted to the IP telephone terminal 20-2 (process 1108).

IP電話端末20−2では、INVITEメッセージ中に記述されている電話番号とメモリ202内部の自電話番号1301を比較する。番号が不一致の場合は(処理1109)、電話番号不一致メッセージ1205をIP電話端末20−1に送信する(処理1110)。IP電話端末20−1は電話番号不一致メッセージ1205を受信したら、スピーカ208より通話不可能であることを示すメッセージを出力する(処理1111)。
図12は、電話番号不一致メッセージ1205のIPパケット1201の位置を記述した図である。電話番号不一致メッセージ1205はIPヘッダ1202内部のUDPヘッダ(TCPヘッダ)1203内部のデータ1204の中に位置することができる。
図15は、呼制御プロトコルを記述したデータ1501の内部構成図である。
呼制御プロトコルを記述したデータ1501は、経由場所(経由情報)1502、1503、メッセージ名1504、送信元IPアドレス1505、送信元電話番号1506、送信先電話番号1507を含むヘッダ情報と、さらに内部のデータ1508を有する。
経由場所(1502、1503)は、発信側から送信されたメッセージが各端末もしくはCAを経由する度に、経由した場所のIPアドレスが追記されていく。これは、着信側から送信されたメッセージが、発信側に戻るのに利用される。また、経由元を戻る度に、一つずつ削除される。
図16は、IP電話システムにおいて、コールエージェント10−1を介する場合の、メッセージの送受信動作の一例を示したシーケンス図である。
まず、IP電話端末20−1は、例えばINVITEメッセージを作成する(処理1601)。IP電話端末20−1は、INVITEメッセージに、例えば、メッセージ名1504、送信元IPアドレス1505、送信元電話番号1506、送信先電話番号1507等を記入する。そして、INVITEメッセージをCA10−1に送信する(処理1605)。
CA10−1は、まず経由場所1 1502としてIP電話端末20−1のIPアドレスを記入する。なお、経由場所は、適宜の装置により記入されてもよい(以下の処理も同様)。CA10−1は、自データベースにて、INVITEメッセージの送信先電話番号(1507)より、送信先IPアドレスを検索する(処理1602)。そして、検索して求めたIP電話端末20−2にINVITEメッセージを送信する(処理1606)。
IP電話端末20−2は、まずINVITEメッセージの経由場所2 1503にCA10−1のIPアドレスを記入する。次に、180Ringingメッセージを作成する。この際、INVITEメッセージの経由場所1 1502および経由場所2 1503をコピーする(処理1603)。そして、最新の経由場所である経由場所2 1503、ここではCA10−1のIPアドレスに180Ringingメッセージを送信する(処理1607)。
The IP telephone terminal 20-2 compares the telephone number described in the INVITE message with the own telephone number 1301 in the memory 202. If the numbers do not match (process 1109), a telephone number mismatch message 1205 is transmitted to the IP telephone terminal 20-1 (process 1110). When the IP telephone terminal 20-1 receives the telephone number mismatch message 1205, the IP telephone terminal 20-1 outputs a message indicating that the telephone call is impossible from the speaker 208 (process 1111).
FIG. 12 is a diagram describing the position of the IP packet 1201 of the telephone number mismatch message 1205. The telephone number mismatch message 1205 can be located in the data 1204 inside the UDP header (TCP header) 1203 inside the IP header 1202.
FIG. 15 is an internal block diagram of data 1501 describing a call control protocol.
Data 1501 describing the call control protocol includes route information (route information) 1502, 1503, message name 1504, source IP address 1505, source telephone number 1506, destination telephone number 1507, and internal information. Data 1508 is included.
In the via locations (1502, 1503), every time a message transmitted from the originator passes through each terminal or CA, the IP address of the via location is added. This is used to return a message sent from the incoming side to the outgoing side. In addition, each time the route originator is returned, it is deleted one by one.
FIG. 16 is a sequence diagram showing an example of a message transmission / reception operation in the IP telephone system via the call agent 10-1.
First, the IP telephone terminal 20-1 creates an INVITE message, for example (process 1601). The IP telephone terminal 20-1 writes, for example, a message name 1504, a transmission source IP address 1505, a transmission source telephone number 1506, a transmission destination telephone number 1507, and the like in the INVITE message. Then, the INVITE message is transmitted to the CA 10-1 (process 1605).
The CA 10-1 first fills in the IP address of the IP telephone terminal 20-1 as the transit location 1 1502. The transit location may be entered by an appropriate device (the same applies to the following processing). The CA 10-1 searches the own database for the destination IP address from the destination telephone number (1507) of the INVITE message (process 1602). Then, the INVITE message is transmitted to the IP telephone terminal 20-2 obtained by the search (process 1606).
The IP telephone terminal 20-2 first enters the IP address of the CA 10-1 in the route location 2 1503 of the INVITE message. Next, a 180 Ringing message is created. At this time, the transit location 1 1502 and transit location 2 1503 of the INVITE message are copied (process 1603). Then, a 180 Ringing message is transmitted to the route location 2 1503 which is the latest route location, here, the IP address of the CA 10-1 (process 1607).

CA10−1は、受信した180Ringingメッセージの経由場所2 1503を削除する(処理1604)。そして、最新の経由場所となった経由場所1 1502、ここではIP電話端末20−1のIPアドレスに、180Ringingメッセージを送信する(処理1608)。
以後、同様にCAを経由してメッセージの送受信が行われる。
図17は、IP電話システムにおいて、IP電話端末同士で直接通信する場合の、メッセージ送受信動作の一例を示したシーケンス図である。この場合、上述のように、IP電話端末20−1はIP電話端末20−2のIPアドレスを分かっているものとする。
まず、IP電話端末20−1は、INVITEメッセージを作成する(処理1701)。IP電話端末20−1は、例えば、メッセージ名1504、送信元IPアドレス1505、送信元電話番号1506、送信先電話番号1507等を記入する。そして、INVITEメッセージをIP電話端末20−2に送信する(処理1703)。
IP電話端末3は、まず経由場所1 1502としてIP電話端末20−1のIPアドレスを記入する。次に180Ringingメッセージを作成する。この際、INVITEメッセージの経由場所1 1502をコピーする(処理1603)。そして、最新の経由場所である経由場所1 1502、ここではIP電話端末20−1のIPアドレスに180Ringingメッセージを送信する(処理1704)。
このように、CA10を介さずに直接通信することができる。
以後、同様にIP電話端末20同士で、メッセージの送受信が行われる。
The CA 10-1 deletes the via location 2 1503 of the received 180 Ringing message (processing 1604). Then, a 180 Ringing message is transmitted to the via-route 1 1502, which is the latest via-route, here, the IP address of the IP telephone terminal 20-1 (process 1608).
Thereafter, messages are similarly transmitted and received via the CA.
FIG. 17 is a sequence diagram showing an example of a message transmission / reception operation when IP phone terminals communicate directly with each other in the IP phone system. In this case, as described above, it is assumed that IP telephone terminal 20-1 knows the IP address of IP telephone terminal 20-2.
First, IP telephone terminal 20-1 creates an INVITE message (process 1701). For example, the IP telephone terminal 20-1 enters a message name 1504, a transmission source IP address 1505, a transmission source telephone number 1506, a transmission destination telephone number 1507, and the like. Then, the INVITE message is transmitted to the IP telephone terminal 20-2 (process 1703).
The IP telephone terminal 3 first enters the IP address of the IP telephone terminal 20-1 as the transit location 1 1502. Next, a 180 Ringing message is created. At this time, the transit location 1 1502 of the INVITE message is copied (process 1603). Then, a 180 Ringing message is transmitted to the route location 1 1502, which is the latest route location, here, the IP address of the IP telephone terminal 20-1 (process 1704).
In this way, direct communication can be performed without going through the CA 10.
Thereafter, similarly, messages are transmitted and received between the IP telephone terminals 20.

本発明は、例えば、IP電話システム、IP電話サービスに関する産業に利用可能である。   The present invention can be used, for example, in industries related to IP telephone systems and IP telephone services.

本実施の形態のIP電話網の全体構成図である。1 is an overall configuration diagram of an IP telephone network according to an embodiment. IP電話端末の内部構成図である。It is an internal block diagram of an IP telephone terminal. IP電話端末おけるデータベースの内部構成図である。It is an internal block diagram of the database in an IP telephone terminal. 本実施の形態のIP電話システムにおける発信側IP電話端末の制御部の動作を示すフローチャートの例(1)である。It is an example (1) of the flowchart which shows operation | movement of the control part of the transmission side IP telephone terminal in the IP telephone system of this Embodiment. 本実施の形態のIP電話システムにおける発信側IP電話端末の制御部の動作を示すフローチャートの例(2)である。It is an example (2) of the flowchart which shows operation | movement of the control part of the transmission side IP telephone terminal in the IP telephone system of this Embodiment. 本実施の形態のIP電話システムにおける発信側IP電話端末の制御部の動作を示すフローチャートの例(3)である。It is an example (3) of the flowchart which shows operation | movement of the control part of the transmission side IP telephone terminal in the IP telephone system of this Embodiment. 本実施の形態のIP電話システムにおける着信側IP電話端末の制御部の動作を示すフローチャートの例である。It is an example of the flowchart which shows operation | movement of the control part of the receiving side IP telephone terminal in the IP telephone system of this Embodiment. IP電話端末におけるIPアドレス更新時のデータベースの更新前と更新後の内部構成図の例である。It is an example of an internal block diagram before and after the update of the database at the time of IP address update in the IP telephone terminal. IP電話端末における電話番号とIPアドレスの新規登録時のデータベースの登録前と登録後の内部構成図の例である。It is an example of an internal block diagram before and after registration of a database when a telephone number and IP address are newly registered in an IP telephone terminal. 本実施の形態のIP電話システムにおいて、IP電話端末の通話の確立までの動作の一例を示したシーケンス図である。In the IP telephone system of the present embodiment, it is a sequence diagram showing an example of an operation until establishment of a call of an IP telephone terminal. 本実施の形態のIP電話システムにおいて、IP電話端末の通話の確立が不成功に終わるまでの動作の一例を示したシーケンス図である。In the IP telephone system of the present embodiment, it is a sequence diagram showing an example of the operation until the establishment of the call of the IP telephone terminal ends unsuccessfully. IP電話システムにおける電話番号不一致メッセージを含むIPパケットの内部構成図である。It is an internal block diagram of an IP packet including a telephone number mismatch message in the IP telephone system. IP電話端末内部のメモリの構成図である。It is a block diagram of the memory inside an IP telephone terminal. IP電話用モデムおよび電話端末を使用する場合のIP電話端末の内部構成図である。It is an internal block diagram of an IP telephone terminal when using an IP telephone modem and a telephone terminal. 呼制御プロトコルを記述したデータの内部構成図である。It is an internal block diagram of the data describing the call control protocol. 一般的なIP電話システムにおいて、コールエージェントを介する場合の動作の一例を示したシーケンス図である。It is the sequence diagram which showed an example of the operation | movement in the case of via a call agent in a general IP telephone system. 一般的なIP電話システムにおいて、IP電話端末同士で直接通信する場合の動作の一例を示したシーケンス図である。It is the sequence figure which showed an example of the operation | movement in the case of direct communication between IP telephone terminals in a general IP telephone system.

符号の説明Explanation of symbols

101 IPネットワーク
10−1、2・・・m コールエージェント
20−1、2、3・・・n IP電話端末
109 DNSサーバ
201 制御部
202 メモリ
203 電話番号検出部
204 フッキング検出部
205 回線接続部
206 アナログ・デジタルデータ変換部
207 マイク部
208 スピーカ部
301 相手先電話端末データベース
302、303、304 項目番号
305、306、307 電話番号記憶領域
308、309、310 IPアドレス記憶領域
1201 IPパケット
1202 IPヘッダ
1203 UDPヘッダもしくはTCPヘッダ
1204 データ
1205 電話番号不一致メッセージ
1301 自電話番号記憶領域
1302 自IPアドレス記憶領域
1303 コールエージェントIPアドレス記憶領域
1401 電話端末
1402 電話回線
1403 電話回線接続部
1404 IP電話用モデム
101 IP network 10-1, 2... M Call agent 20-1, 2, 3... N IP telephone terminal 109 DNS server 201 Control unit 202 Memory 203 Telephone number detection unit 204 Hooking detection unit 205 Line connection unit 206 Analog / digital data conversion unit 207 Microphone unit 208 Speaker unit 301 Destination telephone terminal database 302, 303, 304 Item number 305, 306, 307 Telephone number storage area 308, 309, 310 IP address storage area 1201 IP packet 1202 IP header 1203 UDP header or TCP header 1204 Data 1205 Telephone number mismatch message 1301 Own telephone number storage area 1302 Own IP address storage area 1303 Call agent IP address storage area 1401 Telephone terminal 14 02 Telephone line 1403 Telephone line connection unit 1404 IP telephone modem

Claims (6)

複数のIP電話端末と、前記IP電話端末の電話番号と該IP電話端末のIPアドレスとが対応して記憶されたコールエージェントを有するIPネットワークにおいて、前記IP電話端末間で通話するための前記IP電話端末であって、
他のIP電話端末の電話番号と、該IP電話端末のIPアドレスが対応して記憶されるメモリと、
呼接続の処理を行う制御部と、
を備え、
前記制御部は、第1の呼接続において
所望の着信先IP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第1の接続要求を前記コールエージェントに送信し、
該第1の接続要求に従い前記コールエージェントにより前記着信先IP電話端末が呼び出され、第1の接続要求に含まれる電話番号に対応するIPアドレスを含む呼び出し信号通知を前記コールエージェントから受信すると、受信されたIPアドレスを該電話番号に対応して前記メモリに記憶し、及び、前記コールエージェントを介して前記着信先IP電話端末と第1の呼接続を確立し、
第1の呼接続後の第2の呼接続において
前記着信先IP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第2の接続要求を前記コールエージェントに送信し、
前記コールエージェントの故障又は輻輳又はシステムの障害により前記コールエージェントから所定時間内に応答がない場合、入力された前記着信先IP電話端末の電話番号に基づき前記メモリを検索して、対応するIPアドレスを取得し、
取得されたIPアドレスに従い第3の接続要求を前記着信先IP電話端末に送信し、及び、前記コールエージェントを介さずに前記着信先IP電話端末との第2の呼接続を確立する前記IP電話端末。
The IP for calling between the IP telephone terminals in an IP network having a plurality of IP telephone terminals and a call agent in which a telephone number of the IP telephone terminal and an IP address of the IP telephone terminal are stored correspondingly A phone terminal,
A memory in which a telephone number of another IP telephone terminal and the IP address of the IP telephone terminal are stored correspondingly;
A control unit that performs call connection processing;
With
The control unit inputs a telephone number of a desired destination IP telephone terminal in the first call connection, and transmits a first connection request including the telephone number to the call agent according to a predetermined IP address. And
When the destination IP telephone terminal is called by the call agent according to the first connection request and receives a call signal notification including an IP address corresponding to the telephone number included in the first connection request, the call agent receives Storing the received IP address in the memory corresponding to the telephone number, and establishing a first call connection with the destination IP telephone terminal via the call agent;
In the second call connection after the first call connection, the telephone number of the destination IP telephone terminal is input, and a second connection request including the telephone number is sent to the call agent according to a predetermined IP address. Send
When there is no response from the call agent within a predetermined time due to a failure or congestion of the call agent or a system failure, the memory is searched based on the input telephone number of the destination IP telephone terminal and the corresponding IP address Get
The IP telephone which transmits a third connection request to the destination IP telephone terminal according to the acquired IP address and establishes a second call connection with the destination IP telephone terminal without going through the call agent Terminal.
前記制御部は、着信時に、
発信元IP電話端末から、IPアドレスを含む第3の接続要求を受信した場合には、該接続要求に含まれるIPアドレスと、自装置のIPアドレスとを比較し、
IPアドレスが一致する場合には、呼び出し信号通知を前記発信元IP電話端末に送信し、及び、IPアドレスが一致しない場合には着信を拒絶する請求項1に記載のIP電話端末。
The control unit receives an incoming call,
When the third connection request including the IP address is received from the source IP telephone terminal, the IP address included in the connection request is compared with the IP address of the own device,
The IP telephone terminal according to claim 1, wherein when the IP addresses match, a call signal notification is transmitted to the caller IP telephone terminal, and when the IP addresses do not match, the incoming call is rejected.
前記制御部は、
IPアドレスが一致しない場合には、電話番号不一致メッセージを含むパケットを、前記発信元IP電話端末に送信する請求項2に記載のIP電話端末。
The controller is
3. The IP telephone terminal according to claim 2, wherein when the IP addresses do not match, a packet including a telephone number mismatch message is transmitted to the source IP telephone terminal.
第1の接続要求は、前記発信元IP電話端末のIPアドレス及び前記コールエージェントのIPアドレスを含む第1の経由情報が記憶され、
第3の接続要求は、前記発信元IP電話端末のIPアドレスを含む第2の経由情報が記憶され、
前記制御部は、着信時に、
前記コールエージェントから、前記発信元IP電話端末のIPアドレス及び前記コールエージェントのIPアドレスを含む第1の経由情報が記憶された第1の接続要求を受信した場合、該第1の経由情報を含む前記呼び出し信号通知を作成し、第1の経由情報に従い、作成された呼び出し信号通知を前記コールエージェントを介して前記発信元IP電話端末に送信することにより、及び、
前記発信元IP電話端末から、前記発信元IP電話端末のIPアドレスを含む第2の経由情報が記憶された第3の接続要求を受信した場合、該第2の経由情報を含む呼び出し信号通知を作成し、第2の経由情報に従い、作成された呼び出し信号通知を前記着信先IP電話端末に送信することにより、
該読み出し信号通知が、第1及び第2の経由情報に従い第1及び第3の接続要求が経由した経路を戻り前記発信元IP電話端末で受信され、及び、前記コールエージェントを介した第1の呼接続が確立され又は前記コールエージェントを介さずに前記IP電話端末間で第2の呼接続が確立される請求項2に記載のIP電話端末。
The first connection request stores first route information including an IP address of the source IP telephone terminal and an IP address of the call agent,
In the third connection request, second route information including the IP address of the source IP telephone terminal is stored,
The control unit receives an incoming call,
If the first connection request storing the first route information including the IP address of the source IP telephone terminal and the IP address of the call agent is received from the call agent, the first route information is included. Creating the call signal notification and transmitting the created call signal notification to the caller IP telephone terminal via the call agent according to the first route information; and
When the third connection request storing the second route information including the IP address of the source IP phone terminal is received from the source IP phone terminal, a call signal notification including the second route information is received. By creating and sending the created call signal notification to the destination IP telephone terminal according to the second route information,
The read signal notification is received by the source IP telephone terminal after returning through the route through which the first and third connection requests have passed according to the first and second route information, and the first signal via the call agent. The IP telephone terminal according to claim 2, wherein a call connection is established or a second call connection is established between the IP telephone terminals without going through the call agent.
第1のIP電話端末と、
第2のIP電話端末と、
前記第1及び第2のIP電話端末の電話番号と該IP電話端末のアドレスとが対応して記憶されたコールエージェントと
を備え、
前記第1及び第2のIP電話端末はそれぞれ、
他のIP電話端末の電話番号と、該IP電話端末のIPアドレスが対応して記憶されるメモリと、
呼接続の処理を行う制御部と、
を備え、
前記第1のIP電話端末の前記制御部は、
第1の呼接続において
前記第2のIP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第1の接続要求を前記コールエージェントに送信し、
該第1の接続要求に従い前記コールエージェントにより前記第2のIP電話端末が呼び出され、第1の接続要求に含まれる電話番号に対応するIPアドレスを含む呼び出し信号通知を前記コールエージェントから受信すると、受信されたIPアドレスを該電話番号に対応して前記メモリに記憶し、及び、前記コールエージェントを介して前記第2のIP電話端末と第1の呼接続を確立し、
第1の呼接続後の第2の呼接続において
前記第2のIP電話端末の電話番号を入力して、予め定められたIPアドレスに従い、該電話番号を含む第2の接続要求を前記コールエージェントに送信し、
前記コールエージェントの故障又は輻輳又はシステムの障害により前記コールエージェントから所定時間内に応答がない場合、入力された前記第2のIP電話端末の電話番号に基づき前記メモリを検索して、対応するIPアドレスを取得し、
取得されたIPアドレスに従い第3の接続要求を前記第2のIP電話端末に送信し、
前記第1のIP電話端末と前記第2のIP電話端末間で第2の呼接続が確立されるIP電話システム。
A first IP telephone terminal;
A second IP telephone terminal;
A call agent in which the telephone numbers of the first and second IP telephone terminals and the addresses of the IP telephone terminals are stored correspondingly;
The first and second IP telephone terminals are respectively
A memory in which a telephone number of another IP telephone terminal and the IP address of the IP telephone terminal are stored correspondingly;
A control unit that performs call connection processing;
With
The control unit of the first IP telephone terminal is
In the first call connection, the telephone number of the second IP telephone terminal is input, and a first connection request including the telephone number is transmitted to the call agent according to a predetermined IP address.
When the second IP telephone terminal is called by the call agent according to the first connection request and receives a call signal notification including an IP address corresponding to the telephone number included in the first connection request from the call agent, Storing the received IP address in the memory corresponding to the telephone number, and establishing a first call connection with the second IP telephone terminal via the call agent;
In the second call connection after the first call connection, the telephone number of the second IP telephone terminal is input, and a second connection request including the telephone number is sent to the call agent according to a predetermined IP address. To
If there is no response from the call agent within a predetermined time due to a failure or congestion of the call agent or a system failure, the memory is searched based on the input telephone number of the second IP telephone terminal and the corresponding IP Get the address,
Sending a third connection request to the second IP telephone terminal according to the acquired IP address;
An IP telephone system in which a second call connection is established between the first IP telephone terminal and the second IP telephone terminal.
前記第2のIP電話端末の前記制御部は、
前記第1のIP電話端末から、IPアドレスを含む第3の接続要求を受信した場合には、該接続要求に含まれるIPアドレスと、自装置のIPアドレスとを比較し、
IPアドレスが一致する場合には、呼び出し信号通知を前記第1のIP電話端末に送信して第2の呼接続を確立し、及び、IPアドレスが一致しない場合には着信を拒絶する請求項5に記載のIP電話システム。
The control unit of the second IP telephone terminal is
When a third connection request including an IP address is received from the first IP telephone terminal, the IP address included in the connection request is compared with the IP address of the own device,
6. A call signal notification is transmitted to the first IP telephone terminal if the IP addresses match to establish a second call connection, and if the IP addresses do not match, the incoming call is rejected. The IP phone system described in 1.
JP2007074234A 2007-03-22 2007-03-22 Ip telephone terminal and ip telephone system Pending JP2008236470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007074234A JP2008236470A (en) 2007-03-22 2007-03-22 Ip telephone terminal and ip telephone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007074234A JP2008236470A (en) 2007-03-22 2007-03-22 Ip telephone terminal and ip telephone system

Publications (1)

Publication Number Publication Date
JP2008236470A true JP2008236470A (en) 2008-10-02

Family

ID=39908687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007074234A Pending JP2008236470A (en) 2007-03-22 2007-03-22 Ip telephone terminal and ip telephone system

Country Status (1)

Country Link
JP (1) JP2008236470A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294896A (en) * 2007-05-28 2008-12-04 Nakayo Telecommun Inc Ip telephone terminal with server detouring direct call originating function
JP2011199384A (en) * 2010-03-17 2011-10-06 Ricoh Co Ltd Controller, method, program and recording medium
US10349453B2 (en) 2017-01-23 2019-07-09 Casio Computer Co., Ltd. Communication apparatus, communication system, communication method and recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158553A (en) * 2001-11-20 2003-05-30 Oki Electric Ind Co Ltd Ip phone and method for searching the ip phone
JP2005094695A (en) * 2003-09-19 2005-04-07 Hitachi Communication Technologies Ltd Communication device
JP2006087016A (en) * 2004-09-17 2006-03-30 Fujitsu Ltd Communication terminal, communication system and communication method
JP2006173869A (en) * 2004-12-14 2006-06-29 Oki Electric Ind Co Ltd Call connection method in ip telephone, ip telephone system and terminal
JP2008016932A (en) * 2006-07-03 2008-01-24 Fuji Xerox Co Ltd Communication apparatus and communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158553A (en) * 2001-11-20 2003-05-30 Oki Electric Ind Co Ltd Ip phone and method for searching the ip phone
JP2005094695A (en) * 2003-09-19 2005-04-07 Hitachi Communication Technologies Ltd Communication device
JP2006087016A (en) * 2004-09-17 2006-03-30 Fujitsu Ltd Communication terminal, communication system and communication method
JP2006173869A (en) * 2004-12-14 2006-06-29 Oki Electric Ind Co Ltd Call connection method in ip telephone, ip telephone system and terminal
JP2008016932A (en) * 2006-07-03 2008-01-24 Fuji Xerox Co Ltd Communication apparatus and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294896A (en) * 2007-05-28 2008-12-04 Nakayo Telecommun Inc Ip telephone terminal with server detouring direct call originating function
JP2011199384A (en) * 2010-03-17 2011-10-06 Ricoh Co Ltd Controller, method, program and recording medium
US10349453B2 (en) 2017-01-23 2019-07-09 Casio Computer Co., Ltd. Communication apparatus, communication system, communication method and recording medium

Similar Documents

Publication Publication Date Title
JP4502803B2 (en) Terminal connection device, connection control device, and multi-function telephone terminal
JP5332544B2 (en) Call control device, call control system, call control method, and computer program
JP2008508753A (en) Method and apparatus for providing correlation means in a hybrid communication network
US20030007483A1 (en) Call set-up method using SIP-T overlap signaling
US8654960B2 (en) Dual network telephone device
JP4227846B2 (en) MULTIMEDIA DATA TRANSFER SYSTEM, CALL CONNECTION CONTROL DEVICE, TERMINAL LINKING METHOD USED FOR THEM, AND PROGRAM THEREOF
JP2008236470A (en) Ip telephone terminal and ip telephone system
JP5532641B2 (en) COMMUNICATION SYSTEM, SERVER DEVICE, TERMINAL DEVICE, AND PROGRAM
JP4585480B2 (en) Telephone system and telephone exchange device
JP4191183B2 (en) IP telephone system, packet conversion apparatus, and packet conversion method
JP4485469B2 (en) Telephone communication system
JP2005020676A (en) Telephone communication method and apparatus
JP2011239015A (en) Network apparatus and telephone system
JP2008306375A (en) Voip-gw apparatus
US20120163371A1 (en) Telephone System, Call Control Apparatus and Communication Connection Method
JP2017022617A (en) Call incoming control device, call incoming control method, user terminal, and program
JP2006352543A (en) Sip telephone exchange system
US8630254B2 (en) Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program
JP5311479B2 (en) SIP-compatible switching device and SIP-compatible switching system using the same
JP5046007B2 (en) IP telephone equipment
JP5299350B2 (en) Call center system and call center system control method
JP4560530B2 (en) Notification system, information processing apparatus, notification system notification method, information processing method, information processing program, and recording medium
JP2006094330A (en) Ip telephone forwarding device
US20110261808A1 (en) Server Apparatus and DTMF Notification Method
JP2009207087A (en) Communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090714

A711 Notification of change in applicant

Effective date: 20100122

Free format text: JAPANESE INTERMEDIATE CODE: A712

A977 Report on retrieval

Effective date: 20110516

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20110614

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20111025

Free format text: JAPANESE INTERMEDIATE CODE: A02