JP2008172552A - Telephone switching system - Google Patents

Telephone switching system Download PDF

Info

Publication number
JP2008172552A
JP2008172552A JP2007004093A JP2007004093A JP2008172552A JP 2008172552 A JP2008172552 A JP 2008172552A JP 2007004093 A JP2007004093 A JP 2007004093A JP 2007004093 A JP2007004093 A JP 2007004093A JP 2008172552 A JP2008172552 A JP 2008172552A
Authority
JP
Japan
Prior art keywords
telephone
sip
router
call
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007004093A
Other languages
Japanese (ja)
Other versions
JP4372160B2 (en
Inventor
Takeshi Hori
健 堀
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.)
NEC Platforms Ltd
Original Assignee
NEC Infrontia 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 NEC Infrontia Corp filed Critical NEC Infrontia Corp
Priority to JP2007004093A priority Critical patent/JP4372160B2/en
Publication of JP2008172552A publication Critical patent/JP2008172552A/en
Application granted granted Critical
Publication of JP4372160B2 publication Critical patent/JP4372160B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To make it possible to communicate with a plurality of ISP (Internet Service Provider) networks by a single telephone device. <P>SOLUTION: The system is composed of the telephone device 21 such a master unit of a key telephone device, and routers 23A, 23B which accommodate telephone circuits to the ISP networks 25A, 25B, and access the telephone device 21 as an external line. One telephone device 21 and the plurality of the routers 23A, 23B are connected with a LAN 24, and the plurality of the routers 23A, 23B respectively connect with the corresponding telephone lines of the ISP networks. Further, the telephone device has ports A, B to which different port numbers are respectively given corresponding to the routers 25A, 25B in an external line port 32 of the telephone device 21 connecting with the LAN 24 in order to carry out selective access of the routers as the external line. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数のキャリア(電気通信事業者)により提供され、それぞれ異なるセッション・イニシエイション・プロトコル(以後、SIPと略称する)を用いる複数のキャリア・ネットワークに、一つの電話装置から容易にアクセス可能な電話交換システムに関するものである。   The present invention allows a single telephone device to easily access a plurality of carrier networks provided by a plurality of carriers (telecommunications carriers) each using a different session initiation protocol (hereinafter abbreviated as SIP). The present invention relates to a telephone exchange system.

近年、TCPネットワークを使って音声データを送受信するVoIPを応用したインターネット電話などで通話制御プロトコルに、上記SIPが広く用いられてきている。すなわち、IP−PBXなどのゲートウェイ・システム及びSIP電話機システムにはSIPを用いるキャリアが提供する電話回線を収容することができるようになっている。   In recent years, the SIP has been widely used as a call control protocol in Internet telephones using VoIP that transmits and receives voice data using a TCP network. That is, a gateway system such as IP-PBX and a SIP telephone system can accommodate a telephone line provided by a carrier using SIP.

一方、SIPを用いて音声通信を提供するSIPキャリアは複数存在する。従って、電話回線を使用するユーザは、既存のアナログ回線及びISDN回線を通信費用の安い経路に自動的に切替えしているLCR機能に、複数のキャリアが提供する電話回線を併用したいという要望がある。また、SIPを用いる電話回線はIPを用いたベストエフォート形の通信であるため、IP回線がいつ使用不可能になるかわからない。そのため、異なる複数キャリアそれぞれが提供するネットワークの通信回線を併用することが望まれる。しかし、キャリアであるインターネット・サービス・プロバイダ(ISP)は、それぞれ独自のSIPを用いている。   On the other hand, there are a plurality of SIP carriers that provide voice communication using SIP. Accordingly, a user who uses a telephone line has a desire to use a telephone line provided by a plurality of carriers in combination with an LCR function that automatically switches an existing analog line and ISDN line to a path with a low communication cost. . Further, since a telephone line using SIP is a best effort type communication using IP, it is not known when the IP line becomes unusable. Therefore, it is desirable to use together communication lines of networks provided by different carriers. However, each Internet service provider (ISP) as a carrier uses its own SIP.

従来のSIPを用いた電話交換システムには、例えば、特開2006−109110号公報(特許文献1)に開示されたSIPサーバを含むものがある。   Some conventional telephone exchange systems using SIP include, for example, a SIP server disclosed in Japanese Patent Laid-Open No. 2006-109110 (Patent Document 1).

図1には、企業内通信システムとして構築されたSIP内線網が示されている。このSIP内線網では、一つの内線網SIPサーバ10が、一方で公衆網としてインタフェースするキャリア・ネットワークと接続し、他方では独自の内線網を構築するISPネットワーク11A,11Bと接続している。各ISPネットワーク11A,11Bは、上述したように独自のSIPに従うため、それぞれのプロトコルを解析するルータ12A,12Bを接続する。従って、IP電話機13Aは、ルータ12A,12Bのいずれかに接続されることになり、図示される例ではルータ12Aに接続されている。   FIG. 1 shows a SIP extension network constructed as an in-house communication system. In this SIP extension network, one extension network SIP server 10 is connected to a carrier network that interfaces as a public network on the one hand, and is connected to ISP networks 11A and 11B that construct a unique extension network on the other hand. Since the ISP networks 11A and 11B follow the unique SIP as described above, the routers 12A and 12B for analyzing the respective protocols are connected. Accordingly, the IP telephone 13A is connected to one of the routers 12A and 12B, and is connected to the router 12A in the illustrated example.

一方、家庭においても企業におけると同様、ISPネットワークを利用した電話回線が普及し始めている。すなわち、複数の電話機を収容してISPネットワークに接続するボタン電話装置又はキーテレホンのような一つの小規模電話交換装置がルータを介してそのISPネットワークに接続される。   On the other hand, telephone lines using ISP networks are beginning to become popular in homes as well as in companies. That is, one small-scale telephone exchange device such as a button telephone device or a key telephone that accommodates a plurality of telephones and connects to an ISP network is connected to the ISP network via a router.

上述した電話交換システムにおいて電話回線に接続されるボタン電話装置を配備する、例えば図1に示されるような場合、そのボタン電話装置は、ルータ12BにLAN14を介して電話装置15としてIP電話機13Bと共に接続される。この電話装置15は子機として電話機16を接続している。LAN14には、イーサネット(登録商標)で代表されるように、その通信システム独自のTCP/IP又はUDP/IPがLANプロトコルとして用いられている。   In the case where a button telephone apparatus connected to a telephone line is provided in the telephone exchange system described above, for example, as shown in FIG. 1, the button telephone apparatus is connected to the router 12B via the LAN 14 as the telephone apparatus 15 together with the IP telephone 13B. Connected. The telephone device 15 is connected to a telephone 16 as a slave unit. As represented by Ethernet (registered trademark), the LAN 14 uses TCP / IP or UDP / IP unique to the communication system as a LAN protocol.

上述したように、一つの小規模電話装置でも、直接、複数のISPネットワークに接続することが望まれる。その場合、図1において、ルータ12A,12Bの両者がLAN14に接続してLANプロトコルを用いると共にそれぞれのISPネットワークに適合したSIPを用いることが必要である。しかし、従来の小規模電話装置では、SIPをサポートする各ISPネットワークで受信するポート番号が一般的にUDP/IPで一つの番号「5060」のみが付与されているため、デフォルトゲートウェイとして一つのルータのみが対象であり、複数のルータ、すなわち複数のISPネットワークと接続することができない。   As described above, it is desirable that a single small-scale telephone apparatus be directly connected to a plurality of ISP networks. In that case, in FIG. 1, it is necessary for both routers 12A and 12B to connect to the LAN 14 to use the LAN protocol and to use SIP adapted to the respective ISP network. However, in the conventional small-sized telephone apparatus, the port number received by each ISP network that supports SIP is generally only one number “5060” in UDP / IP. It is only a target and cannot be connected to a plurality of routers, that is, a plurality of ISP networks.

特開2006−109110号公報(図1)JP 2006-109110 A (FIG. 1)

解決しようとする課題は、複数の電話機を収容してネットワークに接続するボタン電話装置(キーテレホン)のような小規模電話交換装置では、一つの電話交換装置で複数のISPネットワークに接続できないことである。   The problem to be solved is that a small-scale telephone exchange device such as a key telephone device that accommodates a plurality of telephones and connects to a network cannot connect to a plurality of ISP networks with a single telephone exchange device. is there.

本発明は、複数のISPネットワークとアクセスして呼処理する場合でも、電話装置の構成を簡素化してその制御を容易にする電話交換システムを提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide a telephone exchange system that simplifies the configuration of a telephone device and facilitates control even when a plurality of ISP networks are accessed for call processing.

そのため、本発明による電話交換システムは、一方に内線として複数の電話機を、他方に外線として少なくとも一つの電話回線を、それぞれ接続するボタン電話装置又はキーテレホンなどの主装置のような電話装置と、ISP(インターネット・サービス・プロバイダ)ネットワークに対する電話回線を収容し前記外線として前記電話装置にアクセスするルータとで形成される。その主要な特徴は、一つの前記電話装置と複数の前記ルータとが一つのLAN(ローカル・エリア・ネットワーク)に接続され、複数の前記ルータそれぞれは対応するISPネットワークの電話回線を接続し、かつ、前記電話装置は、前記ルータを外線として選択アクセスするため、前記ルータそれぞれに対応するポート番号を有する外線ポートを備えることである。   Therefore, the telephone exchange system according to the present invention includes a telephone device such as a main device such as a button telephone device or a key telephone that connects a plurality of telephones as an extension line on one side and at least one telephone line as an external line, respectively. A router that accommodates a telephone line for an ISP (Internet Service Provider) network and accesses the telephone apparatus as the external line. The main feature is that one telephone device and a plurality of routers are connected to one LAN (local area network), and each of the plurality of routers connects a telephone line of a corresponding ISP network, and The telephone device includes an outside line port having a port number corresponding to each of the routers in order to selectively access the router as an outside line.

このようにルータ対応にポート番号を有する外線ポートを設けた構成のため、一つの電話装置が複数のキャリア・ネットワークにアクセスすることが可能となった。   As described above, an external line port having a port number corresponding to the router is provided, so that one telephone device can access a plurality of carrier networks.

このような電話交換システムでは、前記ISPネットワーク及び前記LANに接続する前記電話装置及び前記ルータそれぞれが、SIP(セッション・イニシエイション・プロトコル)を用いることがシステムとして普遍性を有するので望ましい。   In such a telephone switching system, it is desirable that the telephone apparatus and the router connected to the ISP network and the LAN each use SIP (Session Initiation Protocol) because the system has universality.

また、各外線ポートの具体的なポート番号は、前記外線ポートの一つにUDP/IPで規定される第1のポート番号を用い、残りのそれぞれに当該第1のポート番号以外の番号を用いることができる。一方、前記ルータは、その一つが前記第1のポート番号を用い、残りのルータはその第1のポート番号から自己に付与されたポート番号に変換することで容易にそれに対応できる。   Further, as the specific port number of each external line port, a first port number defined by UDP / IP is used for one of the external line ports, and a number other than the first port number is used for each remaining port. be able to. On the other hand, one of the routers uses the first port number, and the remaining routers can easily cope with this by converting the first port number into a port number assigned to itself.

更に、電話装置は、複数ISPネットワークそれぞれに対して、外線への発呼接続制御の際には前記ルータを介して接続先ISPネットワークのサーバを宛先にSIPメッセージを送出し、音声パケット転送の際には前記ルータを介して被呼先電話機を宛先にRTP(リアルタイム・トランスポート・プロトコル)を用いて送受信することが可能になる。   Further, the telephone device transmits a SIP message to the server of the connection destination ISP network via the router for outgoing call connection control to an external line for each of the plurality of ISP networks, and at the time of voice packet transfer In this case, it is possible to transmit / receive using the RTP (Real-time Transport Protocol) with the called telephone as the destination via the router.

本発明の電話交換システムは、一つの電話装置が、対応するISPネットワークそれぞれにインタフェースする複数のルータそれぞれに対する外線ポートを有するため、LANを介して各ルータと相互アクセスできる。これにより、電話装置は、内線電話機から外線を介してSIP電話機との間の呼接続で、各ルータを介して対応するISPネットワークとアクセスできるので、複数のISPネットワークと通信できるという効果がある。   In the telephone exchange system of the present invention, one telephone apparatus has an external line port for each of a plurality of routers that interface with the corresponding ISP networks, and therefore can mutually access each router via a LAN. As a result, the telephone device can access the corresponding ISP network via each router in a call connection from the extension telephone to the SIP telephone via the external line, so that it is possible to communicate with a plurality of ISP networks.

複数の電話機を収容してネットワークに接続する一つの電話装置で複数のISPネットワークと通信するという目的を、一つの電話装置が、対応するISPネットワークそれぞれにインタフェースする複数のルータそれぞれに対応する外線ポートを有し、LANを介して各ルータと相互にアクセスすることにより、既存構成の大幅な変更なしで実現した。   An external line port corresponding to each of a plurality of routers that interface with each corresponding ISP network for the purpose of communicating with a plurality of ISP networks with a single telephone device accommodating a plurality of telephones and connecting to the network It was realized without significant changes in the existing configuration by mutually accessing each router via the LAN.

本発明の実施態様について図2を参照して説明する。   An embodiment of the present invention will be described with reference to FIG.

図2は本発明による電話交換システム20の実施の一形態をブロックで示す説明図である。図示されるブロックは、本発明に係る部分であり、電話交換システムとして必須の機能でも、省略されているものがある。また、電話装置内のブロック構成は本発明の趣旨及び発揮される機能に基づくものであれば変更が自由であり、下記の説明が本発明を限定するものではない。   FIG. 2 is an explanatory diagram showing in block form an embodiment of the telephone exchange system 20 according to the present invention. The block shown is a part according to the present invention, and some functions that are essential as a telephone exchange system are omitted. Further, the block configuration in the telephone device can be freely changed as long as it is based on the gist of the present invention and the function to be exhibited, and the following description does not limit the present invention.

図示される実施例では、電話交換システム20として、SIP電話装置21、電話機22、ルータ23A,23B、及びLAN24が示され、ルータ23A,23Bの接続先として、ISPネットワーク25A,25Bを介するSIPサーバ26A,26B及びSIP電話機27A,27Bが示されている。   In the illustrated embodiment, a SIP telephone device 21, a telephone set 22, routers 23A and 23B, and a LAN 24 are shown as a telephone exchange system 20, and SIP servers via ISP networks 25A and 25B are connected to the routers 23A and 23B. 26A, 26B and SIP telephones 27A, 27B are shown.

SIP電話装置21は、例えばボタン電話装置の主装置で、一方に内線となる複数の電話機22を接続し、他方にLAN24を介して外線となるルータ23A,23Bを接続し、外線側では普遍性が期待されるSIPを用いている。図では二つのルータ23A,23BのみであるがSIP電話装置21の外線ポートに対応するポートを有するならば、それ以上を接続することができる。また、図示されるように、SIP電話装置21は、内線ポート31、外線ポート32、呼制御部33、SIP制御部34、音声制御部35、及びIPパケット制御部36により構成される。その詳細は後述する。   The SIP telephone device 21 is, for example, a main device of a button telephone device, which is connected to a plurality of telephones 22 serving as extension lines on one side and connected to routers 23A and 23B serving as outside lines via the LAN 24, and is universal on the outside line side. SIP is expected. Although only two routers 23A and 23B are shown in the figure, if there is a port corresponding to the external line port of the SIP telephone device 21, more than that can be connected. As illustrated, the SIP telephone device 21 includes an extension port 31, an outside port 32, a call control unit 33, a SIP control unit 34, a voice control unit 35, and an IP packet control unit 36. Details thereof will be described later.

電話機22は、子機のボタン電話機とし内線番号を有し、外線を外線ボタンの操作により捕捉するとする。勿論、例えば「0+外線電話番号」発信により外線を捕捉するとしてもよい。この場合の説明は省略するが、外線電話番号とその捕捉外線との対応テーブルにより呼接続が制御される。   Assume that the telephone 22 is an extension telephone as a handset telephone and has an extension number, and an outside line is captured by operating the outside line button. Of course, for example, an outside line may be captured by calling “0 + external phone number”. Although the explanation in this case is omitted, the call connection is controlled by a correspondence table between the external telephone number and the captured external line.

ルータ23Aは、ISPネットワーク25Aに接続するための装置であり、NAT(ネットワーク・アドレス・トランスレーション)機能を有している。ここでは、ルータ23Aは、一方でLAN24を介してSIP電話装置21の外線ポートAにアクセスし、他方でISPネットワーク25Aの電話回線に接続してそのネットワーク(A)に用いられるSIP(これをSIP−Aとする)に対応している。従って、ルータ23Aは、そのSIP−Aを用いたデータのみを処理するので、LAN24上のSIP−A以外に対応のデータを破棄する。同様に、ルータ23Bは、ISPネットワーク25Bに接続するための装置であり、一方でLAN24を介してSIP電話装置21の外線ポートBにアクセスし、他方でISPネットワーク25Bの電話回線に接続してそのネットワーク(B)に用いられるSIP(これをSIP−Bとする)に対応している。   The router 23A is a device for connecting to the ISP network 25A and has a NAT (Network Address Translation) function. Here, the router 23A, on the one hand, accesses the external line port A of the SIP telephone device 21 via the LAN 24, and on the other hand, connects to the telephone line of the ISP network 25A and uses the SIP (this is the SIP). -A). Therefore, since the router 23A processes only the data using the SIP-A, the router 23A discards the corresponding data other than the SIP-A on the LAN 24. Similarly, the router 23B is a device for connecting to the ISP network 25B. On the other hand, the router 23B accesses the external line B of the SIP telephone device 21 via the LAN 24, and connects to the telephone line of the ISP network 25B on the other side. It corresponds to the SIP (this is SIP-B) used for the network (B).

LAN24は、例えばイーサネット(登録商標)であり、本電話交換システム20に固有のTCP/IPを用いたイーサIPをLANプロトコルとして適用することができ、SIP電話装置21及びルータ23A,23Bを接続している。図示されるシステムでは、LAN24上でルータ23Aは外線ポートAとのみアクセスする。同様に、ルータ23Bは外線ポートBとのみアクセスする。アドレス構成等を含む詳細は後に説明する。   The LAN 24 is, for example, Ethernet (registered trademark), and can use Ether IP using TCP / IP unique to the telephone switching system 20 as a LAN protocol, and connects the SIP telephone device 21 and the routers 23A and 23B. ing. In the illustrated system, the router 23 </ b> A accesses only the external line port A on the LAN 24. Similarly, the router 23B accesses only the external line port B. Details including the address configuration will be described later.

ISPネットワーク25Aは、ISP(インターネット・サービス・プロバイダ)−Aにより管理されるネットワークであり、SIP−Aが用いられる。従って、SIP−Aを用いてISP−Aに管理されるSIPサーバ26Aとユーザにより使用されるSIP電話機27Aとが接続されている。ISPネットワーク25Bは、ISP−Bにより管理され、SIP−Bを用いるインターネットである。従って、SIP−Bを用いるSIPサーバ26B及びSIP電話機27Bが接続されている。   The ISP network 25A is a network managed by an ISP (Internet Service Provider) -A, and SIP-A is used. Therefore, the SIP server 26A managed by the ISP-A using the SIP-A and the SIP telephone 27A used by the user are connected. The ISP network 25B is the Internet that is managed by ISP-B and uses SIP-B. Therefore, the SIP server 26B and SIP telephone 27B using SIP-B are connected.

内線ポート31は、一方で電話機22を内線対応に収容接続し、他方で呼制御部33を接続して各電話機22と呼制御部33との間における信号、音声などの転送を行う。   On the other hand, the extension port 31 accommodates and connects the telephone set 22 corresponding to the extension, and connects the call control unit 33 on the other side to transfer signals, voices, and the like between each telephone set 22 and the call control unit 33.

外線ポート32は、一方でLAN24に接続して複数外線それぞれに対応するポート番号の付与を受け、そのポート番号は待受けポート番号としてルータ23A,23Bそれぞれのアドレスに対応する。この対応表は、例えば、図3に示される管理テーブル41としてSIP制御部34に備える。   On the other hand, the external port 32 is connected to the LAN 24 and receives a port number corresponding to each of the external lines, and the port number corresponds to the address of each of the routers 23A and 23B as a standby port number. This correspondence table is provided in the SIP control unit 34 as, for example, the management table 41 shown in FIG.

呼制御部33は、一方で内線ポート31を、他方でSIP制御部34及び音声制御部35を、それぞれ接続して呼管理機能を有する。すなわち、呼制御部33は、内線ポート31から発呼による呼接続要求があった際にはSIP制御部34に発呼を指示し、SIP制御部34から着呼による呼接続要求があった際には内線ポート31に着呼を指示する。また、呼制御部33は、内線ポート31と音声制御部35との間で内線ポート対応による音声データの転送を行う。   The call control unit 33 has a call management function by connecting the extension port 31 on the one hand and the SIP control unit 34 and the voice control unit 35 on the other side. That is, the call control unit 33 instructs the SIP control unit 34 to make a call when there is a call connection request from the extension port 31, and the call control unit 33 receives a call connection request from the SIP control unit 34. In this case, the extension port 31 is instructed to receive a call. The call control unit 33 transfers voice data between the extension port 31 and the voice control unit 35 according to the extension port.

SIP制御部34は、一方で呼制御部33を、また他方でIPパケット制御部36を、それぞれ接続してSIPメッセージの作成及び解析の機能を有する。すなわち、SIP制御部34は、呼制御部33からの発呼要求等を受付けした際に接続先のISPネットワークに対応するSIPメッセージを作成してIPパケット制御部36へ送出する一方、IPパケット制御部36から受付けのSIPメッセージを解析して接続先ISPネットワークを知ると共にその解析結果を呼制御部33へ通知する。SIP制御部34は、更に、上述したようにISPネットワークとその待受けポートとを対応付ける管理テーブル41を有する。   The SIP control unit 34 has a function of creating and analyzing a SIP message by connecting the call control unit 33 on the one hand and the IP packet control unit 36 on the other side. That is, when the SIP control unit 34 accepts a call request from the call control unit 33, the SIP control unit 34 creates a SIP message corresponding to the ISP network to which it is connected and sends it to the IP packet control unit 36. The SIP message received from the unit 36 is analyzed to know the connection destination ISP network, and the analysis result is notified to the call control unit 33. The SIP control unit 34 further includes a management table 41 that associates the ISP network with its standby port as described above.

音声制御部35は、一方で呼制御部33を、他方でIPパケット制御部36を、それぞれ接続して、音声データの変換機能を有する。すなわち、音声制御部35は、呼制御部33から音声データとRTP送信要求とを受付けした際に音声のRTPパケットを作成して指定されたIPアドレスと共にIPパケット制御部36へ送出する。また、音声制御部35は、IPパケット制御部36からRTPパケットを受付けした際には音声データに変換して呼制御部33へ送出する。   The voice control unit 35 has a voice data conversion function by connecting the call control unit 33 on the one hand and the IP packet control unit 36 on the other side. That is, when the voice control unit 35 receives voice data and an RTP transmission request from the call control unit 33, the voice control unit 35 creates a voice RTP packet and sends it to the IP packet control unit 36 together with the designated IP address. The voice control unit 35 receives the RTP packet from the IP packet control unit 36, converts it into voice data, and sends it to the call control unit 33.

IPパケット制御部36は、一方で外線ポート32を、他方でSIP制御部34及び音声制御部35を、それぞれ接続してIPパケットの管理機能を有する。また、IPパケット制御部36は、ISPネットワーク25A,25Bに対応するルータ23A,23Bそれぞれに対するSIPサーバ26A,26BとSIP電話機27A,27BとのそれぞれのIPアドレスを対応付ける例えば、図4に示されるルーティングテーブル42がある。このテーブルはSIP制御部34からの指示を受けて書換えられる。従って、IPパケット制御部36は、外線ポート32を介してLAN24から受けるIPパケットをSIP制御部34及び音声制御部35に振り分けて転送する。また、IPパケット制御部36は、SIP制御部34から受付けしたSIPメッセージを、また音声制御部35から受付けしたRTPパケットを、それぞれのIPパケットに形成し、ルーティングテーブル42に従ってLAN24に送出する。   The IP packet control unit 36 has an IP packet management function by connecting the outside line port 32 on the one hand and the SIP control unit 34 and the voice control unit 35 on the other side. Further, the IP packet control unit 36 associates the respective IP addresses of the SIP servers 26A and 26B and the SIP telephones 27A and 27B with respect to the routers 23A and 23B corresponding to the ISP networks 25A and 25B, for example, the routing shown in FIG. There is a table 42. This table is rewritten in response to an instruction from the SIP control unit 34. Accordingly, the IP packet control unit 36 distributes and transfers IP packets received from the LAN 24 via the external line port 32 to the SIP control unit 34 and the voice control unit 35. The IP packet control unit 36 forms the SIP message received from the SIP control unit 34 and the RTP packet received from the voice control unit 35 into respective IP packets, and sends them to the LAN 24 according to the routing table 42.

次に、図3の管理テーブル41について図2を併せ参照して説明する。管理テーブル41には、図示されるように、キャリアAであるISP−Aに対して待受けポート番号「5060」及びルータIPアドレス「172.16.0.1」とキャリアBであるISP−Bに対して待受けポート番号「5070」及びルータIPアドレス「172.16.0.2」とが示されている。待受けポート番号は図1の外線ポート32におけるポート番号である。ルータIPアドレスは、図1で示されるように、ルータ23A,23Bそれぞれに対応して付与されたIPアドレスである。従って、LAN24上でSIP電話装置21とルータ23A,23Bとが相互にアクセスする際、その対応付けに用いられる。   Next, the management table 41 in FIG. 3 will be described with reference to FIG. In the management table 41, as shown in the figure, the standby port number “5060” for the ISP-A carrier A and the router IP address “172.16.0.1” and the standby port for the ISP-B carrier B are shown. The number “5070” and the router IP address “172.16.0.2” are shown. The standby port number is the port number in the external line port 32 of FIG. As shown in FIG. 1, the router IP address is an IP address assigned to each of the routers 23A and 23B. Therefore, when the SIP telephone device 21 and the routers 23A and 23B access each other on the LAN 24, they are used for the association.

次に、図4のルーティングテーブル42について図2を併せ参照して説明する。ルーティングテーブル42には、パケットデータの送信先IPアドレスがルータ23A,23BそれぞれのIPアドレスに対応付けされて記録される。図示される例では、送信先IPアドレス「10.20.30.1」に対してルータIPアドレス「172.16.0.1」が記録されている。同様に、送信先IPアドレス「10.20.30.100」、「40.50.60.1」、「40.50.60.1」、に対してルータIPアドレス「172.16.0.1」、「172.16.0.2」、「172.16.0.2」それぞれが記録されている。   Next, the routing table 42 in FIG. 4 will be described with reference to FIG. In the routing table 42, transmission destination IP addresses of packet data are recorded in association with the IP addresses of the routers 23A and 23B. In the illustrated example, the router IP address “172.16.0.1” is recorded for the transmission destination IP address “10.20.30.1”. Similarly, for the destination IP addresses “10.20.30.100”, “40.50.60.1”, “40.50.60.1”, the router IP addresses “172.16.0.1”, “172.16.0.2”, “172.16.0.2” It is recorded.

以下に図面を参照して本発明のシステムにおける主要動作手順について説明する。ここで、ルーティングテーブルは、図面上の制限のため、経路テーブルと略称される場合がある。また、構成要素名称にある「SIP」は、必要とされるものを除き、ここの説明では省略する。また、SIPで用いられるインバイト・メッセージは発呼メッセージとして、また、200OKメッセージは応答メッセージとしてそれぞれを略称により説明する。また、まず電話機から電話機までの接続手順を一つの図面を参照して説明し、次いでそのうちの電話装置の手順のみを別の図面を用いて説明する。   The main operation procedure in the system of the present invention will be described below with reference to the drawings. Here, the routing table may be abbreviated as a route table due to limitations on the drawing. Further, “SIP” in the component name is omitted in the description here, except where necessary. Invite messages used in SIP will be described as calling messages, and 200 OK messages will be described as response messages by abbreviations. First, the connection procedure from the telephone to the telephone will be described with reference to one drawing, and then only the telephone device procedure will be described with reference to another drawing.

また、上述したように、IPパケット制御部36で管理されるルーティングテーブル42にサーバ26AのIPアドレス「10.20.30.100」とサーバ26Aへ送信する際に転送するルータ23AのIPアドレス「172.16.0.1」とが予め設定される。また、サーバ26BのIPアドレス「40.50.60.100」とサーバ26Bへ送信する際に転送するルータ23BのIPアドレス「172.16.0.2」とが予め設定される。   Further, as described above, the IP address “10.20.30.100” of the server 26A and the IP address “172.16.0.1” of the router 23A transferred when transmitting to the server 26A in the routing table 42 managed by the IP packet control unit 36. Are preset. Further, the IP address “40.50.60.100” of the server 26B and the IP address “172.16.0.2” of the router 23B to be transferred when transmitting to the server 26B are set in advance.

まず、図5に図2から図4までを併せ参照して電話機22からSIP電話機27A宛てに発呼した際の主要動作手順について説明する。   First, the main operation procedure when a call is made from the telephone 22 to the SIP telephone 27A will be described with reference to FIGS. 2 to 4 in FIG.

電話交換システム20でユーザが電話機22からSIPネットワーク25Aに対するSIP電話機27Aを宛先として発呼(手順S1)した際、電話装置21では、SIPネットワーク25Aに対応するサーバ26Aにアクセスするため、ルータ23AのIPアドレスを選択して発呼メッセージを転送することにより発呼(手順S2)を処理する。その結果、電話機22ではユーザにより呼び返し音(RBT)が聴取される。ルータ23Aは宛先に指定されたサーバ26Aにその発呼メッセージを転送(手順S3)するので、サーバ26Aは、受けた発呼メッセージを着呼先IPアドレスでSIP電話機27Aまで転送する。その結果、SIP電話機27Aは呼出信号の鳴動送出(手順S4)により着呼を受付けして被呼者ユーザを呼び出すことができる。   When the user makes a call (procedure S1) from the telephone set 22 to the SIP network 25A in the telephone switching system 20, the telephone device 21 accesses the server 26A corresponding to the SIP network 25A. A call (step S2) is processed by selecting an IP address and transferring a call message. As a result, the telephone 22 listens to a ring back tone (RBT) by the user. Since the router 23A transfers the call message to the server 26A designated as the destination (step S3), the server 26A transfers the received call message to the SIP telephone 27A using the call destination IP address. As a result, the SIP telephone 27A can call the called user by accepting the incoming call by ringing and sending the calling signal (step S4).

SIP電話機27Aが呼出信号に応答(手順S5)した際、SIPを用いた応答メッセージがSIPサーバ26Aを介して転送され、電話交換システム20のルータ23Aに到達する。ルータ23Aは、電話装置21の予め設定された外線ポートAにアクセスして応答メッセージを転送(手順S6)する。電話装置21は、受付けの外線ポートAでルータ23Aからの応答メッセージと知り、応答メッセージの解析により通話相手の情報を得てルーティングテーブルのルータ23Aに係る送信先IPアドレス情報を更新して電話機22の応答受付けを制御(手順S7)する。その結果、電話機22ではユーザへの呼び返し音が停止して通話可能となる。   When the SIP telephone 27A responds to the call signal (step S5), a response message using SIP is transferred via the SIP server 26A and reaches the router 23A of the telephone exchange system 20. The router 23A accesses the preset external port A of the telephone device 21 and transfers the response message (step S6). The telephone device 21 knows the response message from the router 23A at the accepted external port A, obtains information on the other party by analyzing the response message, updates the destination IP address information related to the router 23A in the routing table, and updates the telephone 22 Is controlled (step S7). As a result, the telephone 22 stops calling back to the user and can make a call.

電話機22がユーザから受けた音声は、音声データとして電話装置21へ送出(手順S8)される。電話装置21は、受けた音声データをRTPパケットに作成し、ルーティングテーブルを検索して取得した送信先IPアドレスのルータ23AにそのRTPパケットを送出(手順S9)する。ルータ23Aは、受付けしたRTPパケットを、ISPネットワーク25Aを介してSIP電話機27Aに宛てて直接転送(手順S10)する。   The voice received by the telephone 22 from the user is sent to the telephone device 21 as voice data (step S8). The telephone device 21 creates the received voice data in an RTP packet, and sends the RTP packet to the router 23A of the destination IP address obtained by searching the routing table (step S9). The router 23A directly transfers the received RTP packet to the SIP telephone 27A via the ISP network 25A (step S10).

次に、図6に図2から図4まで及び図5を併せ参照して電話機22からSIP電話機27A宛てに発呼した際の電話装置21内部における主要動作手順について説明する。次に説明する手順は、上記図5で記載された電話装置21における詳細動作手順である。   Next, with reference to FIG. 2 to FIG. 4 and FIG. 5 together with FIG. 6, the main operation procedure inside the telephone device 21 when a call is made from the telephone 22 to the SIP telephone 27A will be described. The procedure to be described next is a detailed operation procedure in the telephone device 21 described in FIG.

まず、上記手順S2の詳細を説明する。すなわち、上記手順S1により発呼を受付けした呼制御部33は、SIP制御部34へ発呼要求すると共に、発呼元電話機22へRBT(呼び返し音)を送出(手順S21)する。発呼要求を受付けしたSIP制御部34は、SIPネットワーク25Aに適用される発呼メッセージ(インバイト・メッセージ)を作成し、送信先であるSIPサーバ26Aを選択してそのIPアドレスと発呼メッセージとをIPパケット制御部36へ送り、発呼(手順S22)を処理する。発呼メッセージを受付けしたIPパケット制御部36はそのIPパケットを作成し、ルーティングテーブル42を参照して、選択されたSIPサーバ26Aにアクセスするルータ23AのIPアドレスを検索し、このルータ23Aを送信先として発呼メッセージのIPパケットをLAN24に送出(手順S23)する。   First, the details of the procedure S2 will be described. That is, the call control unit 33 that has accepted the call through the procedure S1 makes a call request to the SIP control unit 34 and sends an RBT (call back tone) to the caller telephone set 22 (step S21). The SIP control unit 34 that has accepted the call request creates a call message (invite message) to be applied to the SIP network 25A, selects the SIP server 26A as a transmission destination, and the IP address and call message. Are sent to the IP packet control unit 36 to process the call (procedure S22). Upon receiving the call message, the IP packet control unit 36 creates the IP packet, refers to the routing table 42, searches for the IP address of the router 23A that accesses the selected SIP server 26A, and transmits this router 23A. As a destination, an IP packet of a call message is sent to the LAN 24 (step S23).

次に、上記手順S7の詳細を説明する。上記手順S6によりルータ23Aから応答メッセージを受付けしたIPパケット制御部36はメッセージとそのメッセージを受付けした外線ポートAのポート番号情報をSIP制御部34に送出(手順S24)する。SIP制御部34は、まず管理テーブル41を検索し受付けした外線ポートAのポート番号情報から送られてきた応答メッセージがSIPネットワーク25Aからのものであることを認識し、それに対応するルータのIPアドレス「172.16.0.1」を取得(手順S25)する。   Next, the details of the procedure S7 will be described. The IP packet control unit 36 that has received the response message from the router 23A in step S6 sends the message and the port number information of the external port A that has received the message to the SIP control unit 34 (step S24). First, the SIP control unit 34 recognizes that the response message sent from the port number information of the external port A retrieved from the management table 41 and received is from the SIP network 25A, and the IP address of the corresponding router “172.16.0.1” is acquired (step S25).

次に、SIP制御部34は応答メッセージを解析し、音声通信のコーデックタイプと通話相手先のSIP電話機27AのIPアドレス「10.20.30.1」情報を取得(手順S26)する。その後、通話相手先IPアドレス「10.20.30.1」と転送依頼先IPアドレス「172.16.0.1」をルーティングテーブル42に設定するためIPパケット制御部36にルーティングテーブルの更新を要求(手順S27)する。従って、IPパケット制御部36は、通話相手先IPアドレスと転送依頼先IPアドレスとをルーティングテーブル42で更新(手順S28)により格納する。   Next, the SIP control unit 34 analyzes the response message and obtains the codec type of the voice communication and the IP address “10.20.30.1” information of the SIP telephone 27A of the communication partner (step S26). Thereafter, in order to set the destination IP address “10.20.30.1” and the transfer request destination IP address “172.16.0.1” in the routing table 42, the IP packet control unit 36 is requested to update the routing table (step S27). Accordingly, the IP packet control unit 36 stores the call destination IP address and the transfer request destination IP address in the routing table 42 by updating (step S28).

一方、上記手順S27の後、SIP制御部34は、SIP電話機27Aが応答したこととして、音声通信に使うコーデック情報と通話相手であるSIP電話機27AのIPアドレスとを通知するための応答メッセージを呼制御部33に送出(手順S29)する。呼制御部33は、応答メッセージを受付けして、音声制御部35にRTPによるオープン要求(手順S30)し、電話機22にはRBTの送出を停止するなどを含む応答の呼制御(手順S31)を実行する。   On the other hand, after the above step S27, the SIP control unit 34 calls a response message for notifying the codec information used for voice communication and the IP address of the SIP telephone 27A as the other party as a response from the SIP telephone 27A. The data is sent to the control unit 33 (step S29). The call control unit 33 accepts the response message, makes an open request by RTP to the voice control unit 35 (procedure S30), and performs call control (procedure S31) of the response including stopping the RBT transmission to the telephone set 22. Execute.

次に、上記手順S8により電話機22から音声データが送出された際には、呼制御部33は、受付けした音声データを音声制御部35に転送(手順S32)する。上記手順S31により、RTPオープン要求を受付けした音声制御部35は、受けた音声データをRTPパケットに作成し、送信先IPアドレスを通話相手先SIP電話機27AのIPアドレス「10.20.30.1」に設定してそのRTPパケットをIPパケッ制御部36に送出(手順S33)する。IPパケッ制御部36は、音声制御部35から受付けしたRTPパケットの通話相手先IPアドレスをルーティングテーブルから検索し、転送先ルータ23AのIPアドレス「172.16.0.1」を取得し、ルータ23Aに受付けRTPパケットを送出(手順S34)する。   Next, when voice data is sent from the telephone set 22 in the above step S8, the call control unit 33 transfers the received voice data to the voice control unit 35 (step S32). The voice control unit 35 that has received the RTP open request by the above step S31 creates the received voice data in the RTP packet, and sets the destination IP address to the IP address “10.20.30.1” of the call destination SIP telephone 27A. The RTP packet is sent to the IP packet control unit 36 (step S33). The IP packet control unit 36 searches the routing table for the destination IP address of the RTP packet received from the voice control unit 35, acquires the IP address “172.16.0.1” of the transfer destination router 23A, and receives the RTP received by the router 23A. The packet is transmitted (step S34).

次に、図7に図2から図4までを併せ参照してSIP電話機27Bから電話機22宛てに発呼した際の主要動作手順について説明する。   Next, the main operation procedure when a call is made from the SIP telephone 27B to the telephone 22 will be described with reference to FIGS.

まず、SIP電話機27BからSIP電話交換システム20の内線電話機22宛ての電話番号がダイヤル発信され、発呼(手順S51)があったとする。この場合、SIPを用いた発呼メッセージがISPネットワーク25Bを介してSIPサーバ26Bに送出される。SIPサーバ26Bは発呼メッセージをルータ23Bに転送する。ルータ23Bは、受付けした発呼メッセージを電話装置21の所定の外線ポートBに宛てて送付(手順S52)する。   First, it is assumed that a telephone number addressed to the extension telephone 22 of the SIP telephone switching system 20 is dialed from the SIP telephone 27B and a call is made (step S51). In this case, a call message using SIP is sent to the SIP server 26B via the ISP network 25B. The SIP server 26B transfers the call message to the router 23B. The router 23B sends the received call message to a predetermined external port B of the telephone device 21 (step S52).

電話装置21は、受付けの発呼メッセージを解析して発呼元の情報を取得すると共に受付けした外線ポートBから送信先ルータ23Bのアドレスを取得して被呼電話機22に呼出信号の鳴動をさせるなど、着呼を受付けする制御(手順S53)を実行する。   The telephone device 21 analyzes the received call message to acquire the caller information, acquires the address of the destination router 23B from the received external port B, and causes the called telephone 22 to ring the call signal. For example, control for accepting an incoming call (step S53) is executed.

電話機22は、ユーザの応答(手順S54)を受けた際にこれを電話装置21に通知する。電話装置21は、通話相手先IPアドレス及び転送先IPアドレスをルーティングテーブルに更新設定し、次いで応答メッセージを作成し、応答メッセージをSIPサーバ26Bに対応するルータ23Bに送出することにより応答(手順S55)の受付けを制御する。すなわち、呼出信号の鳴動は停止され、音声に対してRTPをオープンとして音声通話を可能とする。ルータ23Bは、受付けした応答メッセージを、SIPサーバ26Bを介して発呼元のSIP電話機27Bに向けて送出(手順S56)する。SIPサーバ26Bは応答メッセージをSIP電話機27Bに転送する。SIP電話機27Bは、応答メッセージを受付けして呼び返し音の送出を停止する応答の受付け制御(手順S57)が実行され、通話を可能としている。   When the telephone 22 receives the user's response (procedure S54), it notifies the telephone device 21 of this. The telephone device 21 updates the call destination IP address and transfer destination IP address in the routing table, then creates a response message, and sends the response message to the router 23B corresponding to the SIP server 26B to respond (step S55). ) Is controlled. That is, the ringing of the calling signal is stopped, and the voice call is made possible by opening RTP for the voice. The router 23B sends the accepted response message to the caller SIP telephone 27B via the SIP server 26B (step S56). The SIP server 26B transfers the response message to the SIP telephone 27B. The SIP telephone set 27B executes a response acceptance control (step S57) for accepting the response message and stopping the transmission of the ring back tone, thereby enabling a call.

電話機22からの音声データは、電話装置21に送出(手順S58)され、電話装置21でRTPパケットに作成されてルータ23Bに送出(手順S59)される。ルータ23BはRTPパケットをSIP電話機27Bへ宛てて直接転送する。   The voice data from the telephone 22 is sent to the telephone device 21 (step S58). The telephone device 21 creates an RTP packet and sends it to the router 23B (step S59). The router 23B directly transfers the RTP packet to the SIP telephone 27B.

次に、図8に図2から図4まで及び図7を併せ参照してSIP電話機27Bから電話機22宛てに発呼した際の電話装置21の主要動作手順について説明する。次に説明する手順は、上記図7で記載された電話装置21における詳細動作手順である。   Next, a main operation procedure of the telephone device 21 when a call is made from the SIP telephone 27B to the telephone 22 will be described with reference to FIGS. The procedure to be described next is a detailed operation procedure in the telephone device 21 described in FIG.

まず、上記手順S53の詳細を説明する。すなわち、電話装置21では、IPパケット制御部36が、上記手順S52により送付された発呼メッセージを外線ポートBのポート番号「5070」で受付け(手順S71)し、その発呼メッセージと受付けしたポート番号「5070」とをSIP制御部34に送出する。SIP制御部34は、そのポート番号情報で管理テーブルを検索し、ISPネットワーク25Bを介して着信したことを確認して、ルータ23BのIPアドレス「172.16.0.2」を認識して取得(手順S72)する。次に、SIP制御部34は発呼メッセージを解析し、音声通信のコーデックタイプと通話相手先のSIP電話機27BのIPアドレス「40.50.60.1」などを含む発呼元情報を取得(手順S73)し、着呼ありを知らせる着呼メッセージに、取得したコーデック情報と通話相手先のIPアドレス情報とを加えて、呼制御部33に送出(手順S74)する。呼制御部33は、着呼ありを例えば呼出信号の送出(手順S75)で通知し、電話機22を鳴動させる。   First, the details of the procedure S53 will be described. That is, in the telephone device 21, the IP packet control unit 36 receives the call message sent in the above step S52 with the port number “5070” of the external port B (step S71), and receives the call message and the port received. The number “5070” is sent to the SIP control unit 34. The SIP control unit 34 searches the management table with the port number information, confirms that the call has arrived via the ISP network 25B, and recognizes and acquires the IP address “172.16.0.2” of the router 23B (step S72). To do. Next, the SIP control unit 34 analyzes the call message and obtains call source information including the codec type of the voice communication and the IP address “40.50.60.1” of the SIP telephone 27B of the call partner (step S73). Then, the acquired codec information and the IP address information of the other party of the call are added to the incoming call message informing that there is an incoming call, and sent to the call control unit 33 (step S74). The call control unit 33 notifies that there is an incoming call, for example, by sending a call signal (step S75), and causes the telephone set 22 to ring.

上記手順S55では、手順S54でユーザが応答すると、呼制御部33は、SIP制御部34に応答メッセージの送出を要求すると共に音声制御部35に対してRTPのオープンを要求(手順S76)し、電話機22には呼出信号の送出を停止するなどを含む応答の呼制御(手順S77)を実行する。応答メッセージ送出要求を受付けしたSIP制御部34は、ルーティングテーブル更新を要求(手順S78)して、IPパケット制御部36に通話相手先IPアドレス「40.50.60.1」と転送先IPアドレス「172.16.0.2」との設定をルーティングテーブルで更新(手順S79)させ、格納する。また、上記手順S78についで、SIP制御部34は、SIP−Bを用いた応答メッセージをSIPサーバ26B宛てで作成し、IPパケット制御部36に送出(手順S80)する。IPパケット制御部36は、ルータ23Bを送信先として選択し応答メッセージをIPパケットで送出(手順S81)する。   In step S55, when the user responds in step S54, the call control unit 33 requests the SIP control unit 34 to send a response message and requests the voice control unit 35 to open RTP (step S76). The telephone 22 executes response call control (step S77) including stopping the transmission of the calling signal. The SIP control unit 34 that has received the response message transmission request requests a routing table update (step S78), and sends the call destination IP address “40.50.60.1” and the transfer destination IP address “172.16.0.2” to the IP packet control unit 36. "Is updated in the routing table (step S79) and stored. Further, following step S78, the SIP control unit 34 creates a response message using SIP-B addressed to the SIP server 26B, and sends it to the IP packet control unit 36 (step S80). The IP packet control unit 36 selects the router 23B as the transmission destination and sends a response message as an IP packet (step S81).

次に、上記手順S58により電話機22から音声データが送出された際には、電話装置21では、呼制御部33は、受付けした音声データを音声制御部35に転送(手順S82)する。上記手順S76により、RTPオープン要求を受付けした音声制御部35は、受けた音声データをRTPパケットに作成し、送信先IPアドレスを通話相手先SIP電話機27BのIPアドレス「40.50.60.1」に設定してそのRTPパケットをIPパケッ制御部36に送出(手順S83)する。IPパケッ制御部36は、音声制御部35から受付けしたRTPパケットの通話相手先IPアドレスをルーティングテーブルから検索し、転送先ルータ23BのIPアドレス「172.16.0.2」を取得し、ルータ23Bに受付けRTPパケットを送出(手順S84)する。   Next, when voice data is sent from the telephone set 22 in the above step S58, in the telephone device 21, the call control unit 33 transfers the received voice data to the voice control unit 35 (step S82). The voice control unit 35 that has received the RTP open request by the above step S76 creates the received voice data in the RTP packet, and sets the destination IP address to the IP address “40.50.60.1” of the destination SIP telephone 27B. The RTP packet is sent to the IP packet control unit 36 (step S83). The IP packet control unit 36 searches the routing table for the destination IP address of the RTP packet received from the voice control unit 35, acquires the IP address “172.16.0.2” of the transfer destination router 23B, and receives the RTP received by the router 23B. The packet is transmitted (step S84).

電話機間における逆方向の音声データも、上述同様、電話機側でRTPによるオープン条件でRTPパケットとの変換が実行されることにより、ISPネットワークを転送することができる。   Similarly to the above, voice data in the reverse direction between the telephones can be transferred to the ISP network by performing conversion into RTP packets on the telephone side under an open condition based on RTP.

このような構成を採用したので、一つの電話装置が、外線相当のルータの数だけ、電話装置の外線ポート及びそのそれぞれに異なる番号を設けて、ルータと共にLANで接続することにより、相違するキャリアが提供するISPネットワークに接続可能なシステムを構築できる。すなわち、SIPメッセージの待受けポートを複数用意することにより、受信したSIPメッセージがどのキャリア・ネットワークから送信されてきたものか判断することが可能となる。また、各キャリアとの通信に使用するルータのIPアドレスを管理して、SIPメッセージと組み合わせて動的にルーティングテーブルを更新することにより、RTPパケットを決められたISPネットワークを経由させることができるようになるので、一つのシステムで複数のキャリア・ネットワークを収容することが可能となる。   By adopting such a configuration, one telephone device has different numbers of routers corresponding to the external line, and provides different numbers for each of the external line ports of the telephone device and their respective numbers, and is connected with the router through the LAN, so that different carriers It is possible to construct a system that can be connected to the ISP network provided by. That is, by preparing a plurality of standby ports for SIP messages, it is possible to determine from which carrier network the received SIP message has been transmitted. In addition, by managing the IP address of the router used for communication with each carrier and dynamically updating the routing table in combination with the SIP message, the RTP packet can be routed through the determined ISP network. Therefore, a single system can accommodate a plurality of carrier networks.

それぞれのISPネットワークに接続するルータをLANに接続して外線に容易に設定でき、かつ、電話交換装置ではルータに対する外線ポートの割付けを設定することによって、容易に接続先ISPネットワークまたはそのキャリアを識別できるので、複数のキャリア・ネットワークにアクセスすることが必要な電話交換機、特に小規模電話交換装置に有効に適用できる。   The router connected to each ISP network can be easily set to the external line by connecting to the LAN, and the telephone switching device can easily identify the connected ISP network or its carrier by setting the assignment of the external port to the router. Therefore, the present invention can be effectively applied to a telephone exchange that needs to access a plurality of carrier networks, particularly a small-scale telephone exchange apparatus.

本発明と関連する複数ネットワークを有する電話交換システムの一例をブロックで示した説明図である。It is explanatory drawing which showed in block form an example of the telephone switching system which has a some network relevant to this invention. 本発明による電話交換システムの実施の一形態をブロックで示した説明図である。It is explanatory drawing which showed one Embodiment of the telephone switching system by this invention with the block. 図2における管理テーブルの実施の一形態を表で示した説明図である。It is explanatory drawing which showed one Embodiment of the management table in FIG. 2 with the table | surface. 図2におけるルーティングテーブルの実施の一形態を表で示した説明図である。It is explanatory drawing which showed one Embodiment of the routing table in FIG. 2 with the table | surface. 図2の電話交換システムにおけるISPネットワークへの発呼手順の実施の一形態をシーケンスチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the calling procedure to the ISP network in the telephone switching system of FIG. 2 with the sequence chart. 図5の発呼手順のうちSIP電話装置における主要動作手順の実施の一形態をシーケンスチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the main operation | movement procedure in a SIP telephone apparatus among the calling procedures of FIG. 5 with the sequence chart. 図2の電話交換システムにおけるISPネットワークからの着呼手順の実施の一形態をシーケンスチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the procedure of the incoming call from the ISP network in the telephone switching system of FIG. 2 with the sequence chart. 図7の着呼手順のうちSIP電話装置における主要動作手順の実施の一形態をシーケンスチャートで示した説明図である。It is explanatory drawing which showed one Embodiment of the main operation | movement procedure in a SIP telephone apparatus among the incoming call procedures of FIG. 7 with the sequence chart.

符号の説明Explanation of symbols

20 電話交換システム
21 電話装置
22 電話機
23A,23B ルータ
24 LAN
25A,25B ISPネットワーク
26A,26B SIPサーバ
27A,27B SIP電話機
31 内線ポート
32 外線ポート
33 呼制御部
34 SIP制御部
35 音声制御部
36 IPパケット制御部
20 Telephone switching system 21 Telephone device 22 Telephone 23A, 23B Router 24 LAN
25A, 25B ISP network 26A, 26B SIP server 27A, 27B SIP telephone 31 Internal port 32 External port 33 Call control unit 34 SIP control unit 35 Voice control unit 36 IP packet control unit

Claims (6)

一方に内線として複数の電話機を、他方に外線として少なくとも一つの電話回線を、それぞれ接続する電話装置と、ISP(インターネット・サービス・プロバイダ)ネットワークに対する電話回線を収容し前記外線として前記電話装置にアクセスするルータとで形成される電話交換システムにおいて、一つの前記電話装置と複数の前記ルータとが一つのLAN(ローカル・エリア・ネットワーク)に接続され、複数の前記ルータそれぞれは対応するISPネットワークの電話回線を接続し、かつ、前記電話装置は、前記ルータを外線として選択アクセスするための前記ルータそれぞれに対応する外線ポートを有することを特徴とする電話交換システム。   A telephone device for connecting a plurality of telephones as an extension on one side and at least one telephone line as an external line on the other side and a telephone line for an ISP (Internet Service Provider) network are accommodated, and the telephone device is accessed as the external line. One telephone device and a plurality of routers are connected to one LAN (local area network), and each of the plurality of routers is a telephone of a corresponding ISP network. A telephone switching system characterized in that a telephone line is connected, and the telephone device has an external line port corresponding to each of the routers for selectively accessing the router as an external line. 請求項1に記載の電話交換システムにおいて、前記電話装置は、ボタン電話装置(キーテレホン)の主装置であることを特徴とする電話交換システム。   2. The telephone exchange system according to claim 1, wherein the telephone device is a main device of a button telephone device (key telephone). 請求項1に記載の電話交換システムにおいて、前記ISPネットワーク及び前記LANに接続する前記電話装置及び前記ルータそれぞれは、SIP(セッション・イニシエイション・プロトコル)を用いることを特徴とする電話交換システム。   2. The telephone exchange system according to claim 1, wherein each of the telephone apparatus and the router connected to the ISP network and the LAN uses a SIP (Session Initiation Protocol). 請求項3に記載の電話交換システムにおいて、前記電話装置は、前記外線ポートの一つにUDP/IPで規定される第1のポート番号を用い、残りのそれぞれに当該第1のポート番号以外の番号を用い、前記ルータは、その一つが前記第1のポート番号を用い、残りのルータはその第1のポート番号から自己に付与されたポート番号に変換して前記LANを介して前記電話装置の外線ポートとアクセスすることを特徴とする電話交換システム。   4. The telephone switching system according to claim 3, wherein the telephone device uses a first port number defined by UDP / IP for one of the external ports, and each of the remaining ports has a port number other than the first port number. One of the routers uses the first port number, and the remaining routers convert the first port number into a port number assigned to the router and the telephone device via the LAN. A telephone switching system characterized by access to an outside line port. 請求項3に記載の電話交換システムにおいて、前記電話装置は、外線への発呼接続制御の際には前記ルータを介して接続先ISPネットワークのサーバを宛先にSIPメッセージを送出する一方、音声パケット転送の際には前記ルータを介して被呼先電話機を宛先にRTP(リアルタイム・トランスポート・プロトコル)を用いて送受信することを特徴とする電話交換システム。   4. The telephone switching system according to claim 3, wherein the telephone device transmits a SIP message to a server of a connection destination ISP network via the router when a call connection control to an external line is performed, while a voice packet is transmitted. A telephone exchange system characterized in that at the time of transfer, transmission / reception is performed using a real-time transport protocol (RTP) with the called telephone as a destination via the router. 請求項1に記載の電話交換システムにおいて、前記電話装置が、
電話機を収容接続して電話機と信号授受する内線ポートと、
外線としてLANを介し前記ルータそれぞれとアクセスしてメッセージ及び音声パケットを授受するものであって、前記ルータそれぞれに対応したポート番号を有する外線ポートと、
呼の管理機能を有し、前記内線ポートと接続して電話機との間の信号及び音声の授受を行って、その呼を制御する呼制御手段と、
当該呼制御手段と接続して外線へアクセスの際にはアクセス先ISPネットワークに対応のSIPを用いたメッセーを作成して送出し、外線からアクセスを受けた際にはそのメッセージを解析して前記呼制御手段に送り、かつ前記ルータを介してISPネットワークにアクセスする際、当該ISPネットワークに対応するルータアドレスと前記ポート番号とを対応させて選択するSIP制御手段と、
前記呼制御手段から音声送出要求を受けた際にはRTPを用いて作成した音声パケットを送出し、かつRTPを用いて作成した音声パケットを受けた際には受けたパケットを音声に変換して前記呼制御手段に送出する音声制御手段と、
一方で前記外線ポートに他方で前記SIP制御手段及び前記音声制御手段に接続し、前記SIP制御手段から受けたSIPメッセージはISPネットワークのサーバを宛先に、また前記音声制御手段から受けたRTP音声パケットは被呼先電話機を宛先に、それぞれ指定して送信する一方、前記外線ポートから受けたSIPメッセージを前記SIP制御手段へ、また前記外線ポートから受けたRTP音声パケットを前記音声制御手段へ、それぞれ送るIPパケット制御手段と、
を備えることを特徴とする電話交換システム。
The telephone switching system according to claim 1, wherein the telephone device is:
An extension port that accommodates and connects the telephone and exchanges signals with the telephone;
Accessing each router via a LAN as an external line to send and receive messages and voice packets, and an external line port having a port number corresponding to each router;
A call control unit having a call management function, connected to the extension port and performing transmission and reception of signals and voices with a telephone, and controlling the call;
When accessing the external line by connecting to the call control means, a message using SIP corresponding to the access destination ISP network is created and transmitted, and when accessed from the external line, the message is analyzed and the message is analyzed. SIP control means for selecting a router address corresponding to the ISP network and the port number in association with each other when sending to the call control means and accessing the ISP network via the router;
When a voice transmission request is received from the call control means, a voice packet created using RTP is transmitted, and when a voice packet created using RTP is received, the received packet is converted into voice. Voice control means for sending to the call control means;
On the other hand, the SIP message received from the SIP control means is connected to the external port on the other side, and the SIP message received from the SIP control means is sent to the server of the ISP network and the RTP voice packet received from the voice control means. Transmits the SIP message received from the external line port to the SIP control means, and the RTP voice packet received from the external line port to the voice control means. IP packet control means for sending,
A telephone exchange system comprising:
JP2007004093A 2007-01-12 2007-01-12 Telephone exchange system Active JP4372160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007004093A JP4372160B2 (en) 2007-01-12 2007-01-12 Telephone exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007004093A JP4372160B2 (en) 2007-01-12 2007-01-12 Telephone exchange system

Publications (2)

Publication Number Publication Date
JP2008172552A true JP2008172552A (en) 2008-07-24
JP4372160B2 JP4372160B2 (en) 2009-11-25

Family

ID=39700220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007004093A Active JP4372160B2 (en) 2007-01-12 2007-01-12 Telephone exchange system

Country Status (1)

Country Link
JP (1) JP4372160B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238331B2 (en) 2009-12-25 2012-08-07 Kabushiki Kaisha Toshiba Communication system and telephone exchange apparatus
JP2012160903A (en) * 2011-01-31 2012-08-23 Ricoh Co Ltd Communication device, communication method, and communication program
US10033454B2 (en) 2015-05-13 2018-07-24 Nec Platforms, Ltd. Communication path control device, communication path control system, communication path control method and communication path control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238331B2 (en) 2009-12-25 2012-08-07 Kabushiki Kaisha Toshiba Communication system and telephone exchange apparatus
JP2012160903A (en) * 2011-01-31 2012-08-23 Ricoh Co Ltd Communication device, communication method, and communication program
US10033454B2 (en) 2015-05-13 2018-07-24 Nec Platforms, Ltd. Communication path control device, communication path control system, communication path control method and communication path control program

Also Published As

Publication number Publication date
JP4372160B2 (en) 2009-11-25

Similar Documents

Publication Publication Date Title
JP4420832B2 (en) VoIP gateway device
US7656889B2 (en) IP-based voice/video communication system and call pickup/forwarding method
JP4818428B2 (en) COMMUNICATION SYSTEM, TELEPHONE EXCHANGE DEVICE, AND CONTROL METHOD
KR20030096679A (en) Routing Device and Method of Using BICC in the Next Generation Open Network
JP4757438B2 (en) Network, private branch exchange, and multiprotocol communication terminal control method used therefor
JP2007318343A (en) Gateway device and renegotiation method
JP3664909B2 (en) Gateway, communication system, and communication method
US7545798B2 (en) Communication system for controlling a call portion
US9100729B2 (en) Method for handling a telecommunications connection, telecommunications arrangement, switching device and network coupling device
CN102291415B (en) Media stream processing method and system and home gateway
US8374178B2 (en) Apparatus and method for supporting NAT traversal in voice over internet protocol system
US8681199B2 (en) Method of providing video-call service using general voice-call terminal and private branch exchange for performing the method
JP4372160B2 (en) Telephone exchange system
JP4227846B2 (en) MULTIMEDIA DATA TRANSFER SYSTEM, CALL CONNECTION CONTROL DEVICE, TERMINAL LINKING METHOD USED FOR THEM, AND PROGRAM THEREOF
WO2008137173A1 (en) Network architecture for call processing
JP2005020676A (en) Telephone communication method and apparatus
KR100968484B1 (en) Voip gateway for processing call from magneto telephone and processing method thereof
JP4249680B2 (en) Private telephone system and extension telephone accommodation method
JP4796945B2 (en) Telephone exchange system
JP2011015066A (en) Server device and communication connection method
JP4215550B2 (en) Private branch exchange system for intersystem connection by IP and system information transmission method thereof
KR100821576B1 (en) Call switching method in pbx using ip network
US8630254B2 (en) Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program
JP2006197187A (en) Isdn/ip communication equipment
JP4313723B2 (en) IP telephone exchange method and apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090114

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090306

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

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

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4372160

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350