Gateway device and communication system

A remotely installed gateway device manages communication carrier information to support the continued use of telephone numbers with cloud PBX systems, reducing costs by eliminating the need for on-premises VoIP gateways.

JP7566254B2Active Publication Date: 2024-10-15BRYSYS INC +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020155130
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-10-15
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

Users of cloud PBX systems face high costs when attempting to continue using their existing telephone numbers due to the necessity of installing expensive VoIP gateway devices for protocol conversion.

Method used

A gateway device is installed remotely from the user's base, acquiring and managing communication carrier information, and facilitating SIP message processing between the user's communication device and the cloud PBX system, eliminating the need for on-premises VoIP gateways.

Benefits of technology

Enables the continued use of existing telephone numbers while reducing costs by utilizing a cloud-based gateway system, allowing users to pay a usage fee instead of investing in expensive hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566254000001
    Figure 0007566254000001
  • Figure 0007566254000002
    Figure 0007566254000002
  • Figure 0007566254000003
    Figure 0007566254000003
Patent Text Reader

Abstract

To provide a technique for supporting both continuous use of a telephone number of a user's base and inexpensive use of a cloud PBX.SOLUTION: A gateway device 64 acquires an IP address of a router device 62 provided for the router device 62 from a communication carrier and an IP address of a SIP server 30 of the communication carrier. The gateway device 64 passes a registration message that contains the IP address of the router device 62 and is addressed to the IP address of the SIP server 30 to the router device 62. The router device 62 transmits the registration message to a carrier network 14. When receiving a SIP message from the SIP server 30, the router device 62 transfers the SIP message to the gateway device 64. The gateway device 64 transfers the SIP message transferred from the router device 62 to a PBX 52 that controls a telephone terminal 46 of a user base.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to communication technologies, and more particularly to a gateway device and a communication system. [Background technology]

[0002] Currently, the use of PBX (Private Branch eXchange) (hereinafter also referred to as "Cloud PBX"), which is installed on the cloud (for example, in a data center different from the user's base) and provides an internal line exchange function and an external line connection function via the Internet to a telephone installed at the user's base, is expanding (for example, see Patent Document 1). A communication system using Cloud PBX has the advantage of low initial implementation costs, since internal calls can be used by paying a service fee without purchasing an expensive exchange. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-103837 A Summary of the Invention [Problem to be solved by the invention]

[0004] Users of Cloud PBX sometimes wish to continue using the telephone number of their base (also called the "area number"). In the past, in order to achieve this, it was necessary to install an expensive VoIP gateway device at the user's base, which performs protocol conversion to connect the communication carrier and the Cloud PBX, and this could result in a large cost.

[0005] The present disclosure has been made in consideration of the above-mentioned problems, and one objective thereof is to provide a technology that supports both the continued use of a telephone number of a user's base and the inexpensive use of a cloud PBX. [Means for solving the problem]

[0006] In order to solve the above problems, a gateway device according to one embodiment of the present disclosure is a gateway device provided at a location different from a user's base, and includes an acquisition unit that acquires an IP address of a communication device provided by a communication carrier to a communication device installed at the user's base and connected to the communication carrier's network, and an IP address of a Session Initiation Protocol (SIP) server of the communication carrier; a registration unit that passes a registration message including the IP address of the communication device and destined for the IP address of the SIP server to the communication device, and causes the communication device to transmit the registration message to the communication carrier's network; a reception unit that accepts a SIP message sent from the SIP server to the communication device and forwarded from the communication device; and a forwarding unit that forwards the SIP message forwarded from the communication device to an exchange provided at a location different from the user's base and that controls a telephone terminal installed at the user's base.

[0007] Another aspect of the present disclosure is also a gateway device, which is provided at a location different from a user's base and includes: a storage unit that stores information provided by a communications carrier, the information including an IP address of a communication device installed at the user's base and connected to the communications carrier's network, and an IP address of a SIP server of the communications carrier; a registration unit that passes a registration message including the IP address of the communication device and addressed to the IP address of the SIP server to the communications device and causes the communications device to transmit the registration message to the communications carrier's network; a reception unit that receives a SIP message transmitted from the SIP server to the communications device and forwarded from the communications device; and a forwarding unit that forwards the SIP message forwarded from the communications device to an exchange provided at a location different from the user's base and that controls a telephone terminal provided at the user's base.

[0008] Yet another aspect of the present disclosure is a communication system. The communication system includes a communication device provided at a user's base and connected to a network of a communication carrier, an exchange provided at a location different from the user's base, and a gateway device provided at a location different from the user's base. The gateway device acquires an IP address of the communication device provided by the communication carrier to the communication device and an IP address of a SIP server of the communication carrier, the gateway device passes a registration message including the IP address of the communication device and addressed to the IP address of the SIP server to the communication device, the communication device transmits the registration message to the network of the communication carrier, the communication device forwards the SIP message to the gateway device when the communication device receives the SIP message from the SIP server, the gateway device forwards the SIP message forwarded from the communication device to the exchange, and the exchange controls a telephone terminal provided at the user's base based on the SIP message forwarded from the gateway device.

[0009] Yet another aspect of the present disclosure is also a communication system. The communication system includes a communication device provided at a user's base and connected to a network of a communication carrier, an exchange provided at a location different from the user's base, and a gateway device provided at a location different from the user's base. The gateway device stores information provided by the communication carrier, including an IP address of the communication device and an IP address of a SIP server of the communication carrier, the gateway device passes a registration message including the IP address of the communication device and addressed to the IP address of the SIP server to the communication device, the communication device transmits the registration message to the network of the communication carrier, the communication device forwards the SIP message to the gateway device when the communication device receives the SIP message from the SIP server, the gateway device forwards the SIP message forwarded from the communication device to the exchange, and the exchange controls a telephone terminal provided at the user's base based on the SIP message forwarded from the gateway device.

[0010] Any combination of the above components, and any conversion of the expressions of the present disclosure into a method, a computer program, a recording medium storing a computer program, etc. are also valid as aspects of the present disclosure. Effect of the Invention

[0011] According to the present disclosure, it is possible to support both the continued use of a user's base telephone number and the inexpensive use of a cloud PBX. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a conventional communication system. [Diagram 2] FIG. 1 is a sequence diagram showing an operation of a conventional communication system. [Diagram 3] 3 is a sequence diagram showing the operation of the communication system subsequent to FIG. 2. [Figure 4] FIG. 1 is a diagram illustrating a configuration of a communication system according to an embodiment. [Diagram 5] FIG. 5 is a block diagram showing functional blocks of the gateway device of FIG. 4. [Figure 6] FIG. 13 is a diagram illustrating an example of a SIP message after SIP-NAT. [Figure 7] FIG. 2 is a sequence diagram showing an operation of the communication system according to the embodiment. [Figure 8] 8 is a sequence diagram showing the operation of the communication system following FIG. 7. [Figure 9] FIG. 1 is a diagram illustrating an example of communication via a VPN tunnel. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Prior to describing the communication system of the embodiment, the prior art will be described. Fig. 1 shows the configuration of a conventional communication system 10. Fig. 1 shows a conventional configuration for using a cloud PBX (PBX 52) while continuing to use the telephone number of the user's base. The carrier network 14 is a network of a communication carrier (in other words, a telecommunications carrier) that provides IP telephone services, and is a next generation telephone network (Next Generation Network) that uses Internet Protocol technology. The carrier network 14 is connected to the Internet 12 via an ISP (Internet Service Provider) 20.

[0014] The carrier network 14 includes a SIP server 30 that controls signaling in IP telephone services, a DHCP (Dynamic Host Configuration Protocol) server 32, and a relay device 38. Also connected to the carrier network 14 is a telephone terminal 36 that communicates with a telephone terminal at a user site (a telephone terminal 46 described later).

[0015] The access line 16 is a line that connects the Internet 12 with a user site. The access line 16 is connected to the Internet 12 via an ISP 22. In addition, the access line 16 is provided with a relay device 50 that is connected to a device at the user site.

[0016] The service provider network 18 is a network of a service provider that provides a cloud PBX service, and is, for example, a network built in a data center of the service provider. The service provider network 18 is connected to the Internet 12 via an L3 (layer 3) switch 24. A PBX 52 is provided in the service provider network 18 as a cloud PBX. The PBX 52 is a private branch exchange that controls telephone terminals (telephone terminals 46 described below) at a user site. For example, the PBX 52 controls internal calls between multiple telephone terminals at the user site and outside line (public line) connections.

[0017] The user site is a site of a user who uses the cloud PBX service, such as the head office, branch office, or call center of a user company. The user site includes an ONU device 40, an IP telephone adapter 42, a VoIP gateway 44, a plurality of telephone terminals 46 (e.g., telephone terminal 46a, telephone terminal 46b), and an L2 (layer 2) switch 48.

[0018] The ONU device 40 is an optical line terminal that converts between optical and electrical signals. The IP telephone adapter 42 converts between SIP messages, which are signaling packets in IP telephones, RTP (Real-time Transport Protocol) packets, which are voice packets, and ISDN (Integrated Services Digital Network) signals for general business phones. The IP telephone adapter 42 may be lent by a communications carrier to an IP telephone service user.

[0019] Each of the telephone terminals 46 may be an IP telephone or a softphone compatible with IP telephones (such as a PC on which a softphone is installed). The L2 switch 48 relays data transmitted and received between the user site and the access line 16.

[0020] The VoIP gateway 44 converts between IP telephone SIP messages and RTP packets and IDSN signals. The VoIP gateway 44 transmits to the PBX 52 a SIP message corresponding to an ISDN signal output from the IP telephone adapter 42, and also outputs to the IP telephone adapter 42 an ISDN signal corresponding to a SIP message transmitted from the PBX 52.

[0021] 2 is a sequence diagram showing the operation of the conventional communication system 10. When the telephone terminal 36 is started, it executes a process of registering with the SIP server 30. When the telephone terminal 46 is started, it executes a process of registering with the PBX 52. When the IP telephone adapter 42 at the user site is started, it sends a DHCP request to the DHCP server 32. The DHCP server 32 assigns a global IP address to the IP telephone adapter 42 and sends a DHCP response to the IP telephone adapter 42.

[0022] The DHCP response includes (1) the global IP address assigned to the IP telephone adapter 42, (2) network information (subnet mask, default gateway information, etc.), (3) SIP server 30 information (global IP address of the SIP server 30, etc.), and (4) a telephone number of the IP telephone adapter 42 that is predetermined by the communications carrier (specifically, a list of one or more telephone numbers assigned to the user site). Hereinafter, the information (1) to (4) is collectively referred to as "carrier setting information."

[0023] The DHCP server 32 also notifies the SIP server 30 of the global IP address assigned to the IP telephone adapter 42. The SIP server 30 stores the line information (line ID, etc.) of the user's base, which is predetermined by the communications carrier, in association with the global IP address of the IP telephone adapter 42. The IP telephone adapter 42 sends a SIP message including a registration request to the SIP server 30. The SIP server 30 determines that the sender is a legitimate sender based on the global IP address of the IP telephone adapter 42 included in the SIP message and the line information from which the SIP message was sent, and executes registration processing for the SIP client. The SIP server 30 sends a SIP message indicating successful registration (200 OK (REGISTER)) to the IP telephone adapter 42.

[0024] An example of calling from telephone terminal 36 located outside the user site to telephone terminal 46 located within the user site will be described below. Telephone terminal 36 sends a SIP message including an INVITE request specifying the telephone number of the user site (hereinafter also referred to as an "INVITE message") to SIP server 30. SIP server 30 sends the INVITE message to IP telephone adapter 42 at the user site according to the specified telephone number.

[0025] The IP telephone adapter 42 sends an ISDN signal "SETUP" corresponding to the INVITE message to the VoIP gateway 44. The VoIP gateway 44 sends an INVITE message corresponding to the ISDN signal "SETUP" to the PBX 52. This INVITE message passes through the L2 switch 48, the access line 16, the Internet 12, and the L3 switch 24 and arrives at the PBX 52 of the service provider network 18.

[0026] The PBX 52 transmits an INVITE message to the telephone terminal 46 corresponding to the specified telephone number. Although detailed explanation is omitted below because it is well known, a SIP message indicating processing (100 trying) and a SIP message indicating calling (180 Ringing) are transmitted in sequence from the IP telephone adapter 42 at the user site to the SIP server 30.

[0027] FIG. 3 is a sequence diagram showing the operation of the communication system 10 following FIG. 2. A description of the PRACK request and response is omitted. When the person in charge at the user site answers the phone, the telephone terminal 46 sends a SIP message indicating that there is a response (200 OK w / SDP (INVITE)) (hereinafter also referred to as a "response message") to the PBX 52. The PBX 52 sends the response message to the VoIP gateway 44. The VoIP gateway 44 sends an ISDN signal "CONNECT" corresponding to the response message to the IP telephone adapter 42. The VoIP gateway 44 also sends a SIP message indicating an ACK request (hereinafter also referred to as an "ACK message") to the PBX 52. The PBX 52 sends the ACK message to the telephone terminal 46.

[0028] The IP telephone adapter 42 sends a response message corresponding to the ISDN signal "CONNECT" to the SIP server 30. The SIP server 30 sends the response message to the telephone terminal 36. The telephone terminal 36 sends an ACK message to the SIP server 30. The SIP server 30 sends the ACK message to the IP telephone adapter 42. The IP telephone adapter 42 sends an ISDN signal "CONNECT-ACK" corresponding to the ACK message to the VoIP gateway 44. Through the above signaling processing, sessions for voice calls are established respectively (1) between the telephone terminal 36 and the IP telephone adapter 42, (2) between the IP telephone adapter 42 and the VoIP gateway 44, and (3) between the VoIP gateway 44 and the telephone terminal 46.

[0029] When voice is input to telephone terminal 46, telephone terminal 46 transmits an RTP packet including the voice data to VoIP gateway 44. VoIP gateway 44 transmits the voice data to IP telephone adapter 42 via ISDN channel B. IP telephone adapter 42 transmits the RTP packet including the voice data received to telephone terminal 36 via ISDN channel B.

[0030] On the other hand, when voice is input to the telephone terminal 36, the telephone terminal 36 transmits an RTP packet including the voice data to the IP telephone adapter 42. The IP telephone adapter 42 transmits the voice data to the VoIP gateway 44 via the ISDN B channel. The VoIP gateway 44 transmits the RTP packet including the voice data received to the telephone terminal 46 via the ISDN B channel.

[0031] Thus, in the past, in order to use a cloud PBX while continuing to use the telephone number of the user's base, it was necessary to install an expensive VoIP gateway on-premise at the user's base, which could result in a large cost. Therefore, in the embodiment, a communication system is proposed that implements a mechanism for obtaining carrier setting information provided to the device at the user's base from the cloud side by a communication carrier, and a mechanism for the VoIP gateway to operate normally on the cloud side. The communication system of the embodiment will be described in detail below.

[0032] Fig. 4 shows the configuration of a communication system 100 according to an embodiment. In Fig. 4, among the elements constituting the communication system 100, elements that are the same as or correspond to the elements constituting the conventional communication system 10 shown in Fig. 1 are denoted by the same reference numerals and will be described. Also, the description of the contents that overlap with the contents already described in relation to the conventional communication system 10 will be omitted as appropriate.

[0033] As a difference from the conventional communication system 10, in the communication system 100 of the embodiment, a router device 62 is installed at the user site instead of the IP telephone adapter 42 and the VoIP gateway 44. The router device 62 is a communication device installed at the user site and connected to the carrier network 14.

[0034] In the communication system 100 of the embodiment, a gateway device 64 is installed in the service provider network 18 as a VoIP gateway on the cloud side. The gateway device 64 is connected to a router device 62 via the Internet 12, the carrier network 14, the relay device 38, and the ONU device 40. Therefore, an L3 (Layer 3) switch 60 is further installed in the service provider network 18, which relays packets transmitted and received between the gateway device 64 and the router device 62 and the Internet 12.

[0035] Fig. 5 is a block diagram showing the functional blocks of the gateway device 64 in Fig. 4. Each block shown in the block diagram of the present disclosure can be realized in hardware terms by elements such as a computer processor, CPU, and memory, electronic circuits, and mechanical devices, and in software terms by a computer program, etc., but here, the functional blocks realized by their cooperation are depicted. Therefore, it will be understood by those skilled in the art that these functional blocks can be realized in various forms by combining hardware and software.

[0036] The gateway device 64 includes a carrier-side interface 70, a user-side interface 72, a control unit 74, and a storage unit 76. The carrier-side interface 70 is an interface for communicating with the router device 62 via the L3 switch 60. As described later in relation to FIG. 9, an IP address for PPP communication and an IP address for L2TP (Layer 2 Tunneling Protocol) / IPsec (Security Architecture for Internet Protocol) communication are set in the carrier-side interface 70. The user-side interface 72 is an interface for communicating with the PBX 52. An IP address for communicating with the PBX 52 is set in the user-side interface 72.

[0037] The control unit 74 executes various data processing operations to operate in the same manner as the IP telephone adapter 42 and the VoIP gateway 44 in Fig. 1. The control unit 74 transmits and receives data to and from the router device 62 via the carrier-side interface 70, and transmits and receives data to and from the PBX 52 via the user-side interface 72.

[0038] The storage unit 76 stores data to be referred to or updated by the control unit 74. The storage unit 76 includes a carrier setting information storage unit 78. The carrier setting information storage unit 78 stores carrier setting information provided to a user base (in this embodiment, the router device 62) from a communication carrier as a DHCP response.

[0039] The control unit 74 includes a carrier setting information acquisition unit 80, a tunnel setting unit 82, a registration unit 84, a message reception unit 86, and a message transfer unit 88. A computer program implementing the functions of these multiple functional blocks may be stored in a recording medium and installed in the storage (storage unit 76, etc.) of the gateway device 64 via the recording medium. Alternatively, the computer program may be downloaded via a network and installed in the storage of the gateway device 64. The processor of the gateway device 64 may fulfill the functions of the multiple functional blocks by reading the computer program into a main memory and executing it.

[0040] The carrier setting information acquiring unit 80 is installed at a user site, and functions as an acquiring unit that acquires the IP address of a communication device provided by the communication carrier to a communication device connected to the communication carrier's network, and the IP address of the communication carrier's SIP server. In the embodiment, the carrier setting information acquiring unit 80 acquires, from the router device 62, the carrier setting information included in the DHCP response provided to the router device 62 from the DHCP server 32 of the communication carrier. The carrier setting information here includes (1) a global IP address assigned to the router device 62, (2) network information (subnet mask, default gateway information, etc.), (3) SIP server 30 information (global IP address of the SIP server 30, etc.), and (4) a telephone number of the router device 62 that is predetermined by the communication carrier (specifically, a list of one or more telephone numbers assigned to the user site). The carrier setting information acquiring unit 80 stores the acquired carrier setting information in the carrier setting information storage unit 78.

[0041] The tunnel setting unit 82 negotiates with the router device 62 by a known method, and establishes an Internet VPN (Virtual Private Network) using L2TP / IPsec with the router device 62. Hereinafter, the virtual transmission path by the Internet VPN is also called a "VPN tunnel."

[0042] The registration unit 84 generates a registration message (specifically, a SIP message including a registration request) including the global IP address of the router device 62 indicated by the carrier setting information stored in the carrier setting information storage unit 78, and addressed to the global IP address of the SIP server 30 indicated by the carrier setting information. The registration unit 84 passes the registration message to the router device 62 via the VPN tunnel, thereby causing the router device 62 to transmit the registration message to the carrier network 14 (SIP server 30).

[0043] The message reception unit 86 receives SIP messages (for example, INVITE messages and various response messages) that are sent from the SIP server 30 to the router device 62 and then transferred from the router device 62 via the VPN tunnel.

[0044] The message transfer unit 88 transfers the SIP message transferred from the router device 62 (in other words, the SIP message accepted by the message acceptance unit 86) to the PBX 52 of the service provider network 18. As a result, the message transfer unit 88 causes the PBX 52 to execute a process for controlling the telephone terminal 46 installed at the user's base based on the SIP message.

[0045] The message transfer unit 88 accepts a SIP message (e.g., an INVITE message or various response messages) output from the PBX 52 to be sent to the SIP server 30, and converts the source IP address included in the SIP message into the global IP address of the router device 62 indicated by the carrier setting information stored in the carrier setting information storage unit 78. This conversion is also referred to as "SIP-NAT" hereinafter. The message transfer unit 88 passes the SIP message after SIP-NAT to the router device 62 via a VPN tunnel, thereby causing the router device 62 to transmit the SIP message after SIP-NAT to the carrier network 14 (SIP server 30).

[0046] 6 shows an example of a SIP message after SIP-NAT. The figure shows a SIP message 112 after SIP-NAT and an IP header 110 added to the SIP message 112. The IP header 110 is not subject to SIP-NAT. An item 114 of the IP header 110 is set with the IP address of the gateway device 64.

[0047] On the other hand, the SIP message 112 is subject to SIP-NAT. The global IP address of the router device 62 assigned by the communication carrier, in other words, the global IP address of the router device 62 for the carrier network 14, is set in the items 116, 118, 120, 122, and 124 (collectively referred to as "target items") of the SIP message 112. For example, the IP address of the gateway device 64 may be set in the target item of the SIP message output from the PBX 52. The message transfer unit 88 may replace the value of the target item of the SIP message from the IP address of the gateway device 64 to the global IP address of the router device 62.

[0048] 6 shows an example of a SIP message including an INVITE request, but the message transfer unit 88 also performs SIP-NAT on other types of SIP messages. For example, in the case of a SIP message including a registration request, the message transfer unit 88 converts the source IP address included in the contact header of the SIP message into the global IP address of the router device 62 indicated by the carrier setting information.

[0049] In this way, the message transfer unit 88 of the gateway device 64 performs SIP-NAT, and the router device 62 sends the SIP message received from the gateway device 64 directly to the carrier network 14 (SIP server 30) without being aware of the contents of the SIP message. Since the correct IP address assigned by the communication carrier is set in the SIP message sent from the router device 62, the SIP server 30 recognizes the SIP message as valid and can execute the signaling process normally.

[0050] 7 is a sequence diagram showing the operation of the communication system 100 of the embodiment. The telephone terminal 36 executes a registration process to the SIP server 30 when started. The telephone terminal 46 executes a registration process to the PBX 52 when started. The router device 62 at the user site transmits a DHCP request to the DHCP server 32 when started (S10). The DHCP server 32 assigns a global IP address to the router device 62, and transmits a DHCP response including carrier setting information to the router device 62 (S12).

[0051] Like the carrier setting information of the prior art, the carrier setting information of the embodiment includes (1) a global IP address assigned to the router device 62, (2) network information (subnet mask, default gateway information, etc.), (3) SIP server 30 information (global IP address of the SIP server 30, etc.), and (4) telephone numbers of the router device 62 predetermined by the communication carrier (specifically, a list of one or more telephone numbers assigned to user locations). The DHCP server 32 also notifies the SIP server 30 of the global IP address assigned to the router device 62. The SIP server 30 stores line information (line ID, etc.) of the user location predetermined by the communication carrier in association with the global IP address of the router device 62.

[0052] A carrier setting information acquisition unit 80 of the gateway device 64 logs in to the router device 62 using SSH (Secure Shell) (S14), and reads carrier setting information provided by the communication carrier from the router device 62 (S16). A tunnel setting unit 82 of the gateway device 64 establishes a connection (VPN tunnel) with the router device 62 using L2TP / IPsec (S18). After that, various data are transmitted and received between the router device 62 and the gateway device 64 via the VPN tunnel.

[0053] The registration unit 84 of the gateway device 64 transmits a registration message to the router device 62 (S20). The router device 62 transmits the registration message to the carrier network 14, and the registration message reaches the SIP server 30 via the carrier network 14 (S22). The SIP server 30 determines that the sender is a legitimate sender based on the global IP address of the router device 62 contained in the SIP message (contact header, etc.) and the line information from which the SIP message was sent, and executes registration processing for the SIP client. The SIP server 30 transmits a SIP message indicating successful registration to the router device 62 (S24). When the router device 62 receives the SIP message indicating successful registration from the carrier network 14, it transfers the SIP message to the gateway device 64 of the cloud (S26).

[0054] An example of calling from telephone terminal 36 installed outside the user site to telephone terminal 46 installed within the user site will be described below. Telephone terminal 36 transmits an INVITE message specifying the telephone number of the user site to SIP server 30 (S28). SIP server 30 transmits the INVITE message to router device 62 at the user site according to the specified telephone number (S30). When router device 62 receives the SIP message transmitted from SIP server 30 from carrier network 14, it transfers the INVITE message to cloud gateway device 64 (S32).

[0055] The message transfer unit 88 of the gateway device 64 transfers the INVITE message transferred from the router device 62 to the PBX 52 (S34). The PBX 52 executes signaling processing for the telephone terminal 46 provided at the user's site based on the SIP message transferred from the gateway device 64. Specifically, the PBX 52 determines the telephone terminal 46 to receive the call based on the telephone number specified in the INVITE message transferred from the gateway device 64. The PBX 52 transmits the INVITE message to the telephone terminal 46 determined as the call destination (S36).

[0056] After the process of S34, the message transfer unit 88 of the gateway device 64 transmits a SIP message indicating that processing is in progress (100 trying) to the router device 62 (S38), and the router device 62 transmits the SIP message to the carrier network 14 (S40), and the SIP message reaches the SIP server 30. The SIP server 30 transmits a SIP message indicating that processing is in progress to the telephone terminal 36 (S42). After the process of S36, the PBX 52 transmits a SIP message indicating that processing is in progress to the gateway device 64 (S44). Moreover, the telephone terminal 46 transmits a SIP message indicating that processing is in progress to the PBX 52 (S46).

[0057] Fig. 8 is a sequence diagram showing the operation of the communication system 100 following Fig. 7. The telephone terminal 46 transmits a SIP message indicating that the call is ringing (180 Ringing) to the PBX 52 (S48). The PBX 52 transmits a SIP message indicating that the call is ringing to the gateway device 64 (S50). The message transfer unit 88 of the gateway device 64 transmits the SIP message indicating that the call is ringing to the router device 62 (S52), and the router device 62 transfers the SIP message to the carrier network 14 (S54), and the SIP message reaches the SIP server 30. The SIP server 30 transmits a SIP message indicating that the call is ringing to the telephone terminal 36 (S56).

[0058] The telephone terminal 36 transmits a SIP message indicating a PRACK request (hereinafter also referred to as a "PRACK message") to the SIP server 30 (S58). The SIP server 30 transmits the PRACK message to the router device 62 (S60), and the router device 62 transfers the PRACK message to the gateway device 64 (S62). The gateway device 64 transmits a response message indicating a response to the PRACK message (200 OK (PRACK)) to the router device 62 (S64), and the router device 62 transfers the response message to the carrier network 14 (S66), and the response message reaches the SIP server 30. The SIP server 30 transmits the response message to the telephone terminal 36 (S68).

[0059] When the person in charge at the user site answers the phone, the telephone terminal 46 transmits a response message to the PBX 52 (S70). The PBX 52 transmits the response message to the gateway device 64 (S72). The message transfer unit 88 of the gateway device 64 transmits the response message to the router device 62 (S74), which transfers the response message to the carrier network 14 (S76), and the response message reaches the SIP server 30. The SIP server 30 transmits the response message to the telephone terminal 36 (S78).

[0060] After the process of S74, the message transfer unit 88 of the gateway device 64 transmits an ACK message to the PBX 52 (S80), and the PBX 52 transmits the ACK message to the telephone terminal 46 (S82). The telephone terminal 36 also transmits the ACK message to the SIP server 30 (S84). The SIP server 30 transmits the ACK message to the router device 62 (S86), and the router device 62 transfers the ACK message to the gateway device 64 (S88). Through the above signaling process, an RTP session for voice communication is established (1) between the telephone terminal 36 and the router device 62, (2) between the router device 62 and the gateway device 64, and (3) between the gateway device 64 and the telephone terminal 46.

[0061] When voice is input to telephone terminal 46, telephone terminal 46 transmits an RTP packet including the voice data to gateway device 64 (S90). Message transfer unit 88 of gateway device 64 transmits the RTP packet including the voice data to router device 62 (S92). Router device 62 transmits the RTP packet received from gateway device 64 to carrier network 14 (S94). As a result, the RTP packet reaches telephone terminal 36, and voice is output at telephone terminal 36.

[0062] On the other hand, when voice is input to the telephone terminal 36, the telephone terminal 36 transmits an RTP packet including the voice data to the router device 62 via the carrier network 14 (S96). The router device 62 transfers the RTP packet received from the telephone terminal 36 to the gateway device 64 (S98). The message transfer unit 88 of the gateway device 64 transmits the RTP packet including the voice data to the telephone terminal 46 (S100). As a result, the voice is output from the telephone terminal 46.

[0063] 9 shows an example of communication via a VPN tunnel. A first IP address (XX7.74) (global IP address) provided by a communication carrier in a DHCP response (carrier setting information) and a second IP address (YY226.143) (global IP address) predetermined for communication with a gateway device 64 are set in a router device 62 at a user site. A first IP address (192.168.100.222) for PPP communication and a second IP address (ZZ181.12) (global IP address) for L2TP / IPsec communication are set in a gateway device 64 of a service provider network 18.

[0064] The SIP server 30 of the communication carrier transmits a SIP packet 130 including a SIP message to the router device 62. The router device 62 executes NAT processing to rewrite the destination IP address of the SIP packet 130 to the first IP address of the gateway device 64, and generates an L2TP packet 136 in which the SIP packet 132 is encapsulated by adding an L2TP header 134 to the SIP packet 132 after the NAT processing. The L2TP header 134 here has the second IP address of the gateway device 64 as the destination and the second IP address of the router device 62 as the source. The router device 62 transmits the L2TP packet 136 to the gateway device 64.

[0065] Upon receiving the L2TP packet 136, the message reception unit 86 of the gateway device 64 removes the L2TP header 134 from the L2TP packet 136 to decapsulate the L2TP packet 136. The message reception unit 86 passes the decapsulated SIP packet 132 to a subsequent process (e.g., a message transfer unit 88).

[0066] When the message transfer unit 88 of the gateway device 64 accepts the SIP message output from the PBX 52 and to be sent to the SIP server 30, the message transfer unit 88 generates a SIP packet 140 by adding an IP header having the IP address of the SIP server 30 as the destination and the first IP address of the gateway device 64 as the source. The message transfer unit 88 generates an L2TP packet 144 by encapsulating the SIP packet 140 by adding an L2TP header 142 to the SIP packet 140. The L2TP header 142 here has the second IP address of the router device 62 as the destination and the second IP address of the gateway device 64 as the source.

[0067] The message transfer unit 88 of the gateway device 64 transmits the L2TP packet 144 to the router device 62. Upon receiving the L2TP packet 144, the router device 62 decapsulates the L2TP packet 144 by removing the L2TP header 142 from the L2TP packet 144. The router device 62 executes NAT processing to rewrite the source IP address of the decapsulated SIP packet 140 to the first IP address of the router device 62. The router device 62 transmits the NAT processed SIP packet 146 to the carrier network 14.

[0068] In this way, by connecting the gateway device 64 and the router device 62 via VPN, a SIP message to be sent to the SIP server 30 can be reliably sent from the router device 62 to the SIP server 30. That is, a SIP message to be sent from the gateway device 64 to the SIP server 30 can be sent to the SIP server 30 using a source IP address and line that the SIP server 30 judges to be valid. Note that, although an example of communication of SIP packets is shown in FIG. 9, communication of RTP packets is similar, and in this case, the SIP server 30 is replaced with the telephone terminal 36.

[0069] According to the communication system 100 of the embodiment, a gateway device 64 that behaves in the same manner as an IP telephone adapter 42 and a VoIP gateway 44 conventionally installed at a user site can be realized on the cloud (service provider network 18 in the embodiment) for each of the SIP server 30 of the carrier network 14 and the PBX 52 of the service provider network 18. By paying a specified usage fee, the user can use the functions of the gateway device 64, and there is no need to introduce an expensive VoIP gateway 44 at the user site and to maintain the VoIP gateway 44. In other words, according to the communication system 100 of the embodiment, it is possible to achieve both the continued use of the telephone number (area code) of the user site and the inexpensive use of the cloud PBX.

[0070] The present invention has been described above based on the embodiments. These embodiments are merely illustrative, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each treatment process described in the embodiments, and that such modifications are also within the scope of the present invention.

[0071] In the above embodiment, carrier setting information including (1) a global IP address assigned to the router device 62, (2) network information (subnet mask, default gateway information, etc.), (3) SIP server 30 information (global IP address of the SIP server 30, etc.), and (4) a telephone number of the router device 62 predetermined by the communication carrier (specifically, a list of one or more telephone numbers assigned to user sites) is dynamically acquired from the communication carrier device as a DHCP response. As a modified example, the carrier setting information for the user may be statically determined in advance by the communication carrier and provided / notified to the user in advance by the communication carrier. The carrier setting information statically determined in this manner may be stored in the router device 62 and the gateway device 64 (carrier setting information storage unit 78) by the system builder and stored in the router device 62 and the gateway device 64 (carrier setting information storage unit 78). The gateway device 64 may execute SIP message processing (e.g., generation / transmission processing of a registration message for the SIP server 30, etc.) using the statically determined carrier setting information stored in the carrier setting information storage unit 78.

[0072] Of course, there is no limit to the number of physical cases for each device in the communication system 100 of the above embodiment. For example, each device (e.g., the gateway device 64) shown in Fig. 4 may be realized as a system in which a plurality of devices cooperate with each other.

[0073] Any combination of the above-mentioned examples and modifications is also useful as an embodiment of the present invention. A new embodiment resulting from the combination has the effects of each of the combined examples and modifications. It will also be understood by those skilled in the art that the functions to be performed by each component recited in the claims can be realized by each component shown in the examples and modifications alone or in cooperation with each other. [Explanation of symbols]

[0074] 30 SIP server, 36 telephone terminal, 46 telephone terminal, 52 PBX, 62 router device, 64 gateway device, 80 carrier setting information acquisition unit, 84 registration unit, 86 message reception unit, 88 message transfer unit, 100 communication system.

Claims

1. A gateway device provided at a location different from a user's base, an acquisition unit that is installed at the user's base and that acquires an IP address of a communication device provided by the communication carrier for a communication device connected to a network of the communication carrier, and an IP address of a Session Initiation Protocol (SIP) server of the communication carrier; a registration unit that delivers a registration message including an IP address of the communication device and addressed to the IP address of the SIP server to the communication device and transmits the registration message from the communication device to a network of the communication carrier; a reception unit that receives a SIP message transmitted from the SIP server to the communication device and forwarded from the communication device; a transfer unit that transfers the SIP message transferred from the communication device to an exchange that is provided at a location different from the user's base and that controls a telephone terminal provided at the user's base; A gateway device comprising:

2. The gateway device according to claim 1, characterized in that the forwarding unit converts a source IP address contained in a SIP message to be sent to the SIP server output from the exchange into an IP address of the communication device provided by the communication carrier, passes the converted SIP message to the communication device, and transmits the converted SIP message from the communication device to the network of the communication carrier.

3. In addition to a first IP address provided by the communication carrier, a second IP address different from the first IP address is further set in the communication device for communicating with the gateway device; The gateway device according to claim 1 or 2, characterized in that the forwarding unit generates a packet encapsulating a SIP message to be sent to the SIP server by adding a header destined for the second IP address of the communication device to the SIP message destined for the SIP server, and by sending the packet to the communication device, causes the SIP message after the packet encapsulation to be sent from the communication device to the communication carrier's network.

4. A gateway device provided at a location different from a user's base, a storage unit that stores information provided by a communication carrier, the information including an IP address of a communication device installed at a base of the user and connected to a network of the communication carrier, and an IP address of a SIP server of the communication carrier; a registration unit that delivers a registration message including an IP address of the communication device and addressed to the IP address of the SIP server to the communication device and transmits the registration message from the communication device to a network of the communication carrier; a reception unit that receives a SIP message transmitted from the SIP server to the communication device and forwarded from the communication device; a transfer unit that transfers the SIP message transferred from the communication device to an exchange that is provided at a location different from the user's base and that controls a telephone terminal provided at the user's base; A gateway device comprising:

5. A communication device installed at a user's base and connected to a communication carrier's network; An exchange provided at a location different from the user's base; A gateway device provided at a location different from the user's base; Equipped with the gateway device acquires an IP address of the communication device provided by the communication carrier and an IP address of a SIP server of the communication carrier; the gateway device passes to the communication device a registration message including an IP address of the communication device and addressed to the IP address of the SIP server; The communication device transmits the registration message to the communication carrier's network; When the communication device receives a SIP message from the SIP server, the communication device transfers the SIP message to the gateway device; The gateway device transfers the SIP message transferred from the communication device to the exchange; The communication system according to the present invention is characterized in that the exchange controls telephone terminals provided at the user's bases based on the SIP messages transferred from the gateway device.

6. A communication device installed at a user's base and connected to a communication carrier's network; An exchange provided at a location different from the user's base; A gateway device provided at a location different from the user's base; Equipped with the gateway device stores information provided by the communication carrier, the information including an IP address of the communication device and an IP address of a SIP server of the communication carrier; the gateway device passes to the communication device a registration message including an IP address of the communication device and addressed to the IP address of the SIP server; The communication device transmits the registration message to the communication carrier's network; When the communication device receives a SIP message from the SIP server, the communication device transfers the SIP message to the gateway device; The gateway device transfers the SIP message transferred from the communication device to the exchange; The communication system according to the present invention is characterized in that the exchange controls telephone terminals provided at the user's bases based on the SIP messages transferred from the gateway device.

Citation Information

Patent Citations

  • gateway

    JP2007325004A

  • Telephone system and gateway device

    JP2008258838A

  • Communication system, and communication method

    JP2015103837A

  • IP telephone system, mobile phone and digital telephone exchange compatible with IP telephone system, and communication method

    JP2019115005A