CN101860629B - Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence - Google Patents

Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence Download PDF

Info

Publication number
CN101860629B
CN101860629B CN 201010185648 CN201010185648A CN101860629B CN 101860629 B CN101860629 B CN 101860629B CN 201010185648 CN201010185648 CN 201010185648 CN 201010185648 A CN201010185648 A CN 201010185648A CN 101860629 B CN101860629 B CN 101860629B
Authority
CN
China
Prior art keywords
phone
state
fxo mouth
mouth
fxo
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.)
Expired - Fee Related
Application number
CN 201010185648
Other languages
Chinese (zh)
Other versions
CN101860629A (en
Inventor
郭晓军
黄灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 201010185648 priority Critical patent/CN101860629B/en
Publication of CN101860629A publication Critical patent/CN101860629A/en
Application granted granted Critical
Publication of CN101860629B publication Critical patent/CN101860629B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, equipment and a system for binding an external exchange port and an IP phone in one-to-one correspondence. The method comprises the following steps: a voice gateway sends an address request message to a voice server, wherein the address request message carries the identification information of the IP phone corresponding to an FXO port; the voice gateway receives an address response message sent by the voice server to acquire the address of the IP phone corresponding to the FXO port; the voice gateway sends a subscription request message carrying the identification information of the FXO port to the IP phone corresponding to the FXO port according to the address of the IP phone corresponding to the FXO port to subscribe the state of the IP phone corresponding to the FXO port, and acquires the state of the IP phone corresponding to the FXO port after successful subscription; and when the IP phone corresponding to the FXO port is in a busy state or an off-line state, the voice gateway sets the FXO port to be in an off-hook state. In the invention, relevance of the FXO port and the state of the IP phone is reached, and the state of the FXO port is updated in real time when the IP phone is in a busy state.

Description

Method, the equipment and system of FXO mouth and 1 to 1 binding of IP phone
Technical field
The present invention relates to the communications field, relate in particular to method, the equipment and system of a kind of FXO mouth and 1 to 1 binding of IP phone.
Background technology
Along with IP (Internet Protocol, Internet Protocol) network is universal rapidly, IP-based voice have also obtained fast development as a kind of new application, progressively substitute conventional P BX (Private BranchExchange, the user class switch), PSTN (PublicSwitched Telephone Network, the PSTN) mode such as Centrex (virtual Private Branch Exchange PBX) the phone main flow that becomes the enterprises communication network is selected.
As shown in Figure 1, in the ip voice network, the IP phone is set up voice call by IP network and opposite end IP phone after the voice server registration.Also comprise voice gateways in the ip voice network, the IP phone is by FXO (the Foreign Exchange Office of voice gateways, FXO) analog junction, E1/T1 digital junction and existing PSTN network carry out intercommunication, complete the conversation between external call (fixed line, mobile phone etc.) and intercommunication phone (hanging analog station etc. under IP phone, voice gateways).
In present PSTN network, except being equipped with PBX, enterprise oneself realizes intra-company's telephone system, Centrex circuit (being provided by operator, is exactly the straight line phone concerning the user) also is provided in a large number.In order farthest to protect customer investment, not change use habit, provide the reforming mode of FXO and telephone terminal 1 to 1 binding in prior art.As shown in Figure 2, the FXO mouth of each IP phone and special use binding, the IP phone both can be conversed by IP network, can also use as Centrex straight line phone simultaneously i.e. corresponding outside line key of each phone, direct outward dialing; Each phone is bound the FXO circuit of a special use simultaneously, can be by other CUs.
but, in prior art, the scheme of FXO and telephone terminal 1 to 1 binding is a kind of 1 to 1 loose binding form, Configuration is passed through in association between FXO mouth and IP phone, in the enterprising line correlation configuration of voice gateways, reach the purpose that certain FXO mouth and corresponding IP phone are bound, specific as follows: (1) configures the special line that points to IP phone number on the FXO mouth, the FXO mouth is in case receive calling from PSTN, issue immediately corresponding IP phone, the user only need dial the outside line key of FXO mouth correspondence like this, without two-stage dialing (namely dialing the number of IP phone), (2) configuration based on the restriction of calling number, only has from the next calling of the IP phone of assigned number and could pass through this FXO mouth striking out on FXO, reaches the purpose of special line special use.
Scheme based on above-mentioned FXO and telephone terminal 1 to 1 binding, after the FXO mouth corresponding with the IP phone receives call request, off-hook immediately not, can not judge whether the IP phone is idle yet, but first send call, by PSTN to the caller playing RBT, and then call request is sent to the IP phone, but, if this moment, the IP phone was just in the interior lines conversation, can't set up to converse between caller and IP phone and be connected, should reply busy tone to caller, but in fact replied the tinkle of bells to caller, affected the user and normally use.
Summary of the invention
The invention provides method, the equipment and system of 1 to 1 binding of a kind of FXO mouth and IP phone, realize the related of FXO mouth and IP phone state, at the state of IP phone real-time update FXO mouth when the line is busy.
The invention provides a kind of method of FXO mouth and 1 to 1 binding of IP phone, be applied to comprise the system of voice gateways, Internet Protocol IP phone and voice server, described voice gateways dispose FXO FXO mouth, and the method further comprises:
Described voice gateways send address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request;
Described voice gateways receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth;
Described voice gateways to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and are obtained the state of the IP phone corresponding with described FXO mouth according to the address of the IP phone corresponding with described FXO mouth after subscribing to successfully;
When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the state of the described FXO mouth of described voice gateways is set to off-hook.
The described state that obtains the IP phone corresponding with described FXO mouth after subscribing to successfully comprises:
The IP phone corresponding with described FXO mouth sends message to described voice gateways in real time, notifies the variation of the described voice gateways IP phone state corresponding with described FXO mouth.
The state of described FXO mouth comprises logic state and physical state,
After the described state that obtains the IP phone corresponding with described FXO mouth, also comprise: the logic state of described FXO mouth is set to the state consistent with corresponding IP phone;
When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the state of the described FXO mouth of described voice gateways is set to off-hook and comprises: when the logic state of described FXO mouth for busy or when rolling off the production line, the physical state of the described FXO mouth of described voice gateways is set to off-hook.
Also comprise:
When the logic state of described FXO mouth is off-hook for the physical state of busy and described FXO mouth, after described voice gateways receive the first call request of the IP phone transmission corresponding with described FXO mouth, the physical state of described FXO mouth is set to the free time, and sends the second call request according to described the first call request to public switch telephone network PSTN.
The state of the IP phone corresponding with described FXO mouth comprises following any situation for doing:
When the IP phone corresponding with described FXO mouth established call connection by the internet, the state of the IP phone corresponding with described FXO mouth was for busy;
When the IP phone corresponding with described FXO mouth established call connection by described FXO mouth, the state of the IP phone corresponding with described FXO mouth was for busy.
Described voice gateways also comprise before receiving the address response message of described voice server transmission:
Described voice server obtains the identification information of the IP phone corresponding with the FXO mouth that carries in address request, searches address with IP phone corresponding to FXO mouth in this locality according to the identification information of the IP phone corresponding with the FXO mouth;
When described voice server stored the address of the IP phone corresponding with the FXO mouth, described voice server sent the address response message of the address of carrying the IP phone corresponding with the FXO mouth to described voice gateways.
A kind of voice gateways are applied to comprise that in the system of described voice gateways, Internet Protocol IP phone and voice server, described voice gateways dispose FXO FXO mouth, and described voice gateways comprise:
The first transmitting element is used for sending address request to described voice server, carries the identification information of the IP phone corresponding with the FXO mouth in described address request;
The first receiving element is connected with described the first transmitting element, is used for receiving the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth that wherein carries;
The second transmitting element, be connected with described the first receiving element, be used for according to the address of the IP phone corresponding with described FXO mouth to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth;
The second receiving element is connected with described the second transmitting element, is used for receiving the message that the IP phone corresponding with described FXO mouth sends;
The state acquiring unit is connected with described the second receiving element, for the state of IP phone corresponding to the message Real-time Obtaining that sends according to the IP phone corresponding with described FXO mouth and described FXO mouth;
State set unit is connected with described state acquiring unit, is used for when the state of the IP phone corresponding with described FXO mouth for hurrying or when rolling off the production line, the state of described FXO mouth is set to off-hook.
The state of described FXO mouth comprises logic state and physical state,
Described state set unit also is used for: the logic state of described FXO mouth is set to the state consistent with corresponding IP phone; When the logic state of described FXO mouth for busy or when rolling off the production line, the physical state of described FXO mouth is set to off-hook.
Also comprise:
The 3rd receiving element is used for receiving the first call request that the IP phone corresponding with described FXO mouth sends;
Described state set unit also is connected with described the 3rd receiving element, be used for when the logic state of described FXO mouth for hurrying and the physical state of described FXO mouth when being off-hook, after described the 3rd receiving element received described the first call request, the physical state of described FXO mouth was set to the free time;
The 3rd transmitting element is connected with the 3rd receiving element with described state set unit, is used for sending the second call request according to described the first call request to public switch telephone network PSTN.
The state of the IP phone corresponding with described FXO mouth comprises for busy: the IP phone corresponding with described FXO mouth establishes call connection by the internet, and perhaps the IP phone corresponding with described FXO mouth establishes call connection by described FXO mouth.
The system of a kind of FXO mouth and 1 to 1 binding of Internet Protocol phone comprises voice gateways, IP phone and voice server, and described voice gateways dispose a plurality of FXO FXO mouths,
Described voice gateways are used for sending address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request; Receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth; According to the address of the IP phone corresponding with described FXO mouth to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and at the state of subscribing to the IP phone that successfully Real-time Obtaining is corresponding with described FXO mouth afterwards; When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the state of described FXO mouth is set to off-hook;
Described voice server, be used for receiving the address request that described voice gateways send, obtain the identification information of the IP phone corresponding with described FXO mouth that carries in described address request, search address with IP phone corresponding to described FXO mouth in this locality according to the identification information of the IP phone corresponding with described FXO mouth; When described voice server stores the address of the IP phone corresponding with described FXO mouth, send the address response message of the address of carrying the IP phone corresponding with described FXO mouth to described voice gateways.
The state of described FXO mouth comprises logic state and physical state,
Described voice gateways also are used for: after the state of the Real-time Obtaining IP phone corresponding with described FXO mouth, the logic state of described FXO mouth is set to the state consistent with corresponding IP phone; When the logic state of described FXO mouth for busy or when rolling off the production line, the physical state of described FXO mouth is set to off-hook.
Compared with prior art, the present invention has the following advantages at least:
In the present invention, the voice gateways at FXO mouth place are obtained the address information of the IP phone of binding with the FXO mouth to voice server, further obtain the state of IP phone according to the address information of obtaining, and at the state of IP phone for busy or when rolling off the production line, the state of the FXO mouth that the IP phone is corresponding is set to off-hook, thereby realized the related of FXO mouth and IP phone state, at the state of IP phone real-time update FXO mouth when the line is busy.
Description of drawings
Fig. 1 is ip voice network diagram in prior art;
Fig. 2 is FXO and telephone terminal 1 to 1 binding network diagram in prior art;
Fig. 3 is the schematic flow sheet of the method for FXO mouth provided by the invention and 1 to 1 binding of IP phone;
Fig. 4 is the schematic flow sheet of method shown in Figure 3 in a kind of concrete application scenarios;
Fig. 5 is the further implementation procedure schematic diagram in detail of message that the voice gateways when FXO mouth place send to voice server method shown in Figure 4 when being standard agreement;
Fig. 6 is the structural representation of voice gateways provided by the invention.
Embodiment
In the present invention, voice gateways are to the address of voice server inquiry with the IP phone of FXO mouth binding, further according to the address of the IP phone state information to the IP phone, when the state of IP phone for busy or when rolling off the production line, the state of voice gateways FXO mouth is set to off-hook.
The invention provides a kind of method of FXO mouth and 1 to 1 binding of Internet Protocol phone, be applied to comprise the system of voice gateways, Internet Protocol IP phone and voice server, described voice gateways dispose FXO FXO mouth, and as shown in Figure 3, the method further comprises:
Step 301, described voice gateways send address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request;
Step 302, described voice gateways receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth;
Step 303, described voice gateways to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and are obtained the state of the IP phone corresponding with described FXO mouth according to the address of the IP phone corresponding with described FXO mouth after subscribing to successfully;
Step 304, when the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the state of the described FXO mouth of described voice gateways is set to off-hook.
In order more clearly to introduce method provided by the invention, below in conjunction with a kind of concrete application scenarios, method provided by the invention is further introduced.
Application scenarios of the present invention provides a kind of method of FXO mouth and 1 to 1 binding of IP phone, in conjunction with networking structure shown in Figure 2, comprising voice server, a plurality of IP phone and voice gateways, a FXO mouth binding that configures on each IP phone and voice gateways.
As shown in Figure 4, the method comprises the following steps:
Step 401, the voice gateways at FXO mouth place send message to voice server, the address information of the IP phone of acquisition request and the binding of FXO mouth.
Concrete, voice gateways send message, the address information of acquisition request IP phone to voice server after the corresponding IP phone number of self FXO mouth configuration being detected.This message can be message or the standard agreement message of proprietary protocol, arranges flexibly according to actual needs.
Step 402, voice server receives the message that voice gateways send, and returns to the address information of this IP phone to voice gateways.
Concrete, voice server is resolved the identification information that obtains the IP phone that carries in message that voice gateways send, and IP phone number for example is according to the state of this IP phone of this information inquiry.If this IP phone has been registered to this locality, return to the address information of this IP phone that inquires to voice gateways.
Need to prove, if there is the IP phone to roll off the production line, voice server notifies the offline information of this IP phone to voice gateways.
Step 403, voice gateways send subscribe message according to the address information that obtains to the IP phone, and state with the IP phone of FXO mouth binding pulls subscription.
Step 404, IP phone receive the subscribe message of voice gateways, subscribe to successfully after with local state variation real-time informing voice gateways.
Step 405, voice gateways receive the notice that the IP phone sends, and the state that is the corresponding FXO mouth of busy when IP phone state is set to hurry.
Need to prove, when voice gateways received the notice that the IP phone rolls off the production line, state that equally need to corresponding FXO mouth was set to hurry herein.
In this step, the state of above-mentioned FXO mouth refers to physical state, in this application scene, voice gateways can also be FXO mouth configuration logic state, and this logic state has " free time " and " doing " two states, and this logic state arranges according to the state of the IP phone of correspondence, after the state variation of IP phone, this logic state also is set to corresponding state, namely when the state of corresponding IP phone for busy or when rolling off the production line, the logic state of voice gateways FXO mouth is set to hurry; When the state of the IP of correspondence phone was the free time, the logic state of voice gateways FXO mouth was set to the free time.
After the configuration logic state, the physical state of FXO mouth change have two kinds may, a kind of be normal call setup/release to the change of physical state, another kind is that the variation of logic state is to the change of physical state.When the logic state of FXO mouth becomes busy, the physical state of voice gateways correspondence is set to off-hook.at this moment, the user will directly hear busy tone from the phone that PSTN calls in, when the user makes a phone call toward PSTN by this FXO mouth is out from the IP phone, the FXO mouth is reset and processed by normal flow, concrete, when the logic state of FXO mouth for busy, when physical state is off-hook, the IP phone can't send to PSTN by the FXO mouth by the FXO mouth to the call request that PSTN sends, therefore, arrange after voice gateways receive the first call request of IP phone transmission, if the physical state of FXO mouth is off-hook, logic state is for busy, its physical state is reset to the free time, then send the second call request to PSTN, this moment, the state due to the IP phone did not change, therefore the logic state of FXO mouth remains unchanged.The physical state of FXO is set to off-hook after IP phone and opposite end establish call connection.After end of conversation, the IP phone is idle, and the logic state of FXO mouth and physical state all are updated to the free time.Wherein the first call request is the IP protocol massages, SIP (Session Initiation Protocol, Session initiation Protocol) message for example, and the second call request is analog message.
Below in conjunction with for the flow process of method provided by the invention shown in Figure 4 in concrete application scenarios, further introduce when the voice gateways at FXO mouth place are standard agreement to the message of voice server transmission, the specific implementation of method shown in Figure 4, wherein the expansion of Application standard Session Initiation Protocol realizes the state interlock of FXO mouth and IP phone, as shown in Figure 5, comprising:
(1) after the corresponding IP phone number of FXO mouth configuration, the voice gateways at FXO mouth place send the information of this phone of message subscribing to voice server.
Concrete, voice gateways are obtained IP address and the login state of IP phone.This message is sip message, wherein expands a sip event type phone-info, the information of indicating to subscribe to phone, as: subscribe to number and be 1000 phone information, subscribe to message as follows:
SUBSCRIBE?sip:100010.154.245.103?SIP/2.0
Via:SIP/2.0/UDP
192.168.8.8:5060;branch=af7b8130b20106b5786a0dbc33913be
From:<sip:fxo192.168.8.8>;tag=cc307b72b8e8d6729807712abc55214718
To:<sip:100010.154.245.103>
Call-ID:e3f07a4cbbb34c1d83fa12757467343b192.168.8.8
Contact:<sip:192.168.8.8:5060>
CSeq:1SUBSCRIBE
Event:phone-info
Expires:3600
Content-Length:0
(2) if IP phone Login Register on voice server, voice server sends notice to voice gateways immediately, informs address and the login state of IP phone; If the IP phone rolls off the production line, voice server notice voice gateways IP phone rolls off the production line.
Concrete, needing to increase a kind of message body type application/phone-info in this step, message body content is:
PHONE_AOR---form is " number IP address "
REG_STATUS---be worth and be login (reaching the standard grade), logout (rolling off the production line)
If the IP phone logins successfully, the notice message is as follows:
NOTIFY?sip:fx0192.168.8.8SIP/2.0
Via:SIP/2.0/UDP?10.154.245.103:5060;branch=2435161525
From:<sip:10.154.245.103>;tag=3fa662921acc
To:<sip:fx0192.168.8.8>;tag=11223344-1111-2222-33
Call-ID:a67be43210.154.245.103
Contact:<sip:ipt10.154.245.103>
CSeq:1?NOTIFY
Event:phone-info
Subscription-State:active;expires=3600
Content-Type:application/phone-info
Content-Length:47
PHONE?AOR=1000192.168.1.1
REG?STATUS=login
(3) after voice gateways get the address of IP phone, subscribe to the phone state to the IP phone.
Concrete, sip event type phone-status of expansion in this step indicates to subscribe to the state of phone, as: subscribe to number and be 1000 phone state, subscribe to message as follows:
SUBSCRIBE?sip:1000192.168.1.1SIP/2.0
Via:SIP/2.0/UDP
192.168.8.8:5060;branch=af7b8130b20106b5786a0dbc33913be
From:<sip:fxo192.168.8.8>;tag=cc307b72b8e8d6729807712abc55214718
To:<sip:1000192.168.1.1>
Call-ID:e3f07a4cbbb34c1d83fa12757467343b192.168.8.8
Contact:<sip:192.168.8.8:5060>
CSeq:1SUBSCRIBE
Event:phone-status
Expires:3600
Content-Length:0
When (4) IP phone state changes, send notice to voice gateways immediately, inform the state of IP phone.
Need to increase a kind of message body type application/phone-status in this step, message body content is:
PHONE_STATUS---be worth for busy (phone does not have idle line),
Free (the available free circuit of phone)
If the IP phone does not have available line, can't answer external call, the notice message is as follows:
NOTIFY?sip:fx0192.168.8.8?SIP/2.0
Via:SIP/2.0/UDP?192.168.1.1:5060;branch=2435161525
From:<sip:192.168.1.1>;tag=3fa662921acc
To:<sip:fx0192.168.8.8>;tag=11223344-1111-2222-33
Call-ID:a67be432192.168.1.1
Contact:<sip:192.168.1.1:5060>
CSeq:1?NOTIFY
Event:phone-status
Subscription-State:active;expires=3600
Content-Type:application/phone-status
Content-Length:19
PHONE_STATUS=busy
By adopting method provided by the invention, the voice gateways at FXO mouth place are obtained the address information of the IP phone of binding with the FXO mouth to voice server, further obtain the state of IP phone according to the address information of obtaining, and at the state of IP phone for busy or when rolling off the production line, the state of the FXO mouth that the IP phone is corresponding is set to off-hook, thereby realized the related of FXO mouth and IP phone state, at the state of IP phone real-time update FXO mouth when the line is busy.
The invention provides a kind of voice gateways, be applied to comprise the system of voice gateways, IP phone and voice server, described voice gateways dispose FXO FXO mouth, and as shown in Figure 6, described voice gateways comprise:
The first transmitting element 11 is used for sending address request to described voice server, carries the identification information of the IP phone corresponding with the FXO mouth in described address request;
The first receiving element 12 is connected with described the first transmitting element 11, is used for receiving the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth that wherein carries;
The second transmitting element 13, be connected with described the first receiving element 12, be used for according to the address of the IP phone corresponding with described FXO mouth to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth;
The second receiving element 14 is connected with described the second transmitting element 13, is used for receiving the message that the IP phone corresponding with described FXO mouth sends;
State acquiring unit 15 is connected with described the second receiving element 14, is used for obtaining state with IP phone corresponding to described FXO mouth according to the message that the IP phone corresponding with described FXO mouth sends;
State set unit 16 is connected with described state acquiring unit 15, is used for when the state of the IP phone corresponding with described FXO mouth for hurrying or when rolling off the production line, the state of described FXO mouth is set to off-hook.
The state of described FXO mouth comprises logic state and physical state, and described state set unit 16 also is used for: the logic state of described FXO mouth is set to the state consistent with corresponding IP phone; When the logic state of described FXO mouth for busy or when rolling off the production line, the physical state of described FXO mouth is set to off-hook.Wherein, the state of described IP phone comprises for busy: described IP phone establishes call connection by the internet, and perhaps described IP phone establishes call connection by described FXO mouth.
These voice gateways can also comprise:
The 3rd receiving element 17 is used for receiving the first call request that the IP phone corresponding with described FXO mouth sends;
Described state set unit 16 also is connected with described the 3rd receiving element 17, be used for when the logic state of described FXO mouth for hurrying and the physical state of described FXO mouth when being off-hook, after described the 3rd receiving element received described the first call request, the physical state of described FXO mouth was set to the free time;
The 3rd transmitting element 18 is connected with the 3rd receiving element 17 with described state set unit 16, is used for sending the second call request according to described call request to public switch telephone network PSTN.
The invention provides the system of a kind of FXO mouth and 1 to 1 binding of Internet Protocol phone, comprise voice gateways, IP phone and voice server, described voice gateways dispose a plurality of FXO FXO mouths, wherein
Described voice gateways are used for sending address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request; Receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth; To sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and obtain the state of the IP phone corresponding with described FXO mouth according to the address of the IP phone corresponding with described FXO mouth after subscribing to successfully; When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the state of described FXO mouth is set to off-hook;
Described voice server, be used for receiving the address request that described voice gateways send, obtain the identification information of the IP phone corresponding with described FXO mouth that carries in described address request, search address with IP phone corresponding to described FXO mouth in this locality according to the identification information of the IP phone corresponding with described FXO mouth; When described voice server stores the address of the IP phone corresponding with described FXO mouth, send the address response message of the address of carrying the IP phone corresponding with described FXO mouth to described voice gateways.
The state of described FXO mouth comprises logic state and physical state, and described voice gateways also are used for: after the state that obtains the IP phone corresponding with described FXO mouth, the logic state of described FXO mouth is set to the state consistent with corresponding IP phone; When the logic state of described FXO mouth for busy or when rolling off the production line, the physical state of described FXO mouth is set to off-hook.
By adopting equipment provided by the invention and system, the voice gateways at FXO mouth place are obtained the address information of the IP phone of binding with the FXO mouth to voice server, further obtain the state of IP phone according to the address information of obtaining, and at the state of IP phone for busy or when rolling off the production line, the state of the FXO mouth that the IP phone is corresponding is set to off-hook, thereby realized the related of FXO mouth and IP phone state, at the state of IP phone real-time update FXO mouth when the line is busy.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Above disclosed be only several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (9)

1. the method for a FXO mouth and 1 to 1 binding of IP phone, be applied to comprise the system of voice gateways, Internet Protocol IP phone and voice server, described voice gateways dispose FXO FXO mouth, the state of described FXO mouth comprises logic state and physical state, it is characterized in that, the method further comprises:
Described voice gateways send address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request;
Described voice gateways receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth;
Described voice gateways to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and are obtained the state of the IP phone corresponding with described FXO mouth according to the address of the IP phone corresponding with described FXO mouth after subscribing to successfully; The logic state of described FXO mouth is set to the state consistent with corresponding IP phone;
When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the logic state of the described FXO mouth of described voice gateways is set to busy or rolls off the production line, and the physical state of described FXO mouth is set to off-hook.
2. the method for claim 1, is characterized in that, the described state that obtains the IP phone corresponding with described FXO mouth after subscribing to successfully comprises:
The IP phone corresponding with described FXO mouth sends message to described voice gateways in real time, notifies the variation of the described voice gateways IP phone state corresponding with described FXO mouth.
3. the method for claim 1, is characterized in that, also comprises:
When the logic state of described FXO mouth is off-hook for the physical state of busy and described FXO mouth, after described voice gateways receive the first call request of the IP phone transmission corresponding with described FXO mouth, the physical state of described FXO mouth is set to the free time, and sends the second call request according to described the first call request to public switch telephone network PSTN.
4. as the described method of claim 1-3 any one, it is characterized in that, the state of the IP phone corresponding with described FXO mouth comprises following any situation for doing:
When the IP phone corresponding with described FXO mouth established call connection by the internet, the state of the IP phone corresponding with described FXO mouth was for busy;
When the IP phone corresponding with described FXO mouth established call connection by described FXO mouth, the state of the IP phone corresponding with described FXO mouth was for busy.
5. as the described method of claim 1-3 any one, it is characterized in that, described voice gateways also comprise before receiving the address response message of described voice server transmission:
Described voice server obtains the identification information of the IP phone corresponding with the FXO mouth that carries in address request, searches address with IP phone corresponding to FXO mouth in this locality according to the identification information of the IP phone corresponding with the FXO mouth;
When described voice server stored the address of the IP phone corresponding with the FXO mouth, described voice server sent the address response message of the address of carrying the IP phone corresponding with the FXO mouth to described voice gateways.
6. voice gateways, be applied to comprise that in the system of described voice gateways, Internet Protocol IP phone and voice server, described voice gateways dispose FXO FXO mouth, the state of described FXO mouth comprises logic state and physical state, it is characterized in that, described voice gateways comprise:
The first transmitting element is used for sending address request to described voice server, carries the identification information of the IP phone corresponding with the FXO mouth in described address request;
The first receiving element is connected with described the first transmitting element, is used for receiving the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth that wherein carries;
The second transmitting element, be connected with described the first receiving element, be used for according to the address of the IP phone corresponding with described FXO mouth to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth;
The second receiving element is connected with described the second transmitting element, is used for receiving the message that the IP phone corresponding with described FXO mouth sends;
The state acquiring unit is connected with described the second receiving element, is used for obtaining state with IP phone corresponding to described FXO mouth according to the message that the IP phone corresponding with described FXO mouth sends;
State set unit, be connected with described state acquiring unit, the logic state that is used for described FXO mouth is set to the state consistent with corresponding IP phone, when the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the logic state of described FXO mouth is set to busy or rolls off the production line, and the physical state of described FXO mouth is set to off-hook.
7. voice gateways as claimed in claim 6, is characterized in that, also comprises:
The 3rd receiving element is used for receiving the first call request that the IP phone corresponding with described FXO mouth sends;
Described state set unit also is connected with described the 3rd receiving element, be used for when the logic state of described FXO mouth for hurrying and the physical state of described FXO mouth when being off-hook, after described the 3rd receiving element received described the first call request, the physical state of described FXO mouth was set to the free time;
The 3rd transmitting element is connected with the 3rd receiving element with described state set unit, is used for sending the second call request according to described the first call request to public switch telephone network PSTN.
8. voice gateways as described in claim 6 or 7, it is characterized in that, the state of the IP phone corresponding with described FXO mouth comprises for busy: the IP phone corresponding with described FXO mouth establishes call connection by the internet, and perhaps the IP phone corresponding with described FXO mouth establishes call connection by described FXO mouth.
9. the system of a FXO mouth and 1 to 1 binding of Internet Protocol phone, comprise voice gateways, IP phone and voice server, described voice gateways dispose a plurality of FXO FXO mouths, and the state of described FXO mouth comprises logic state and physical state, it is characterized in that
Described voice gateways are used for sending address request to described voice server, carry the identification information of the IP phone corresponding with the FXO mouth in described address request; Receive the address response message that described voice server sends, the address that obtains the IP phone corresponding with described FXO mouth; According to the address of the IP phone corresponding with described FXO mouth to sending pull subscription state with IP phone corresponding to described FXO mouth of the subscribe message of carrying described FXO mouth identification information with IP phone corresponding to described FXO mouth, and obtain the state of the IP phone corresponding with described FXO mouth after subscribing to successfully, the logic state of described FXO mouth is set to the state consistent with corresponding IP phone; When the state of the IP phone corresponding with described FXO mouth for busy or when rolling off the production line, the logic state of described FXO mouth is set to busy or rolls off the production line, and the physical state of described FXO mouth is set to off-hook;
Described voice server, be used for receiving the address request that described voice gateways send, obtain the identification information of the IP phone corresponding with described FXO mouth that carries in described address request, search address with IP phone corresponding to described FXO mouth in this locality according to the identification information of the IP phone corresponding with described FXO mouth; When described voice server stores the address of the IP phone corresponding with described FXO mouth, send the address response message of the address of carrying the IP phone corresponding with described FXO mouth to described voice gateways.
CN 201010185648 2010-05-28 2010-05-28 Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence Expired - Fee Related CN101860629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010185648 CN101860629B (en) 2010-05-28 2010-05-28 Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010185648 CN101860629B (en) 2010-05-28 2010-05-28 Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence

Publications (2)

Publication Number Publication Date
CN101860629A CN101860629A (en) 2010-10-13
CN101860629B true CN101860629B (en) 2013-06-05

Family

ID=42946278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010185648 Expired - Fee Related CN101860629B (en) 2010-05-28 2010-05-28 Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence

Country Status (1)

Country Link
CN (1) CN101860629B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487424B (en) * 2010-12-02 2014-02-05 杭州华三通信技术有限公司 Method and communication device for realizing internet protocol (IP) telephone escape
CN105472188B (en) * 2015-12-31 2019-03-12 瑞斯康达科技发展股份有限公司 A kind of method and system for realizing phone scheduling
CN109379328A (en) * 2018-09-04 2019-02-22 北京云迹科技有限公司 The operating status querying method and device of voice gateways
CN114006889B (en) * 2021-10-29 2024-04-16 迈普通信技术股份有限公司 Voice gateway implementation method, voice gateway and IP voice communication system
CN116032889B (en) * 2023-03-30 2023-07-21 新华三技术有限公司 IP address allocation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2753069Y (en) * 2004-06-29 2006-01-18 深圳市新概念科技发展有限公司 VoIP terminal adapter used for IP network
CN1822626A (en) * 2006-04-05 2006-08-23 迈普(四川)通信技术有限公司 Analogue relay interface control method
CN1885993A (en) * 2005-06-22 2006-12-27 华为技术有限公司 Mobility event packet subscribing method and multi-connection state reporting method
CN1889613A (en) * 2006-07-17 2007-01-03 杭州华为三康技术有限公司 Calling control method and speech gate based on speech Internet protocol
CN101695071A (en) * 2009-09-30 2010-04-14 杭州华三通信技术有限公司 Registration method of internet protocol telephone terminal and equipment thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2753069Y (en) * 2004-06-29 2006-01-18 深圳市新概念科技发展有限公司 VoIP terminal adapter used for IP network
CN1885993A (en) * 2005-06-22 2006-12-27 华为技术有限公司 Mobility event packet subscribing method and multi-connection state reporting method
CN1822626A (en) * 2006-04-05 2006-08-23 迈普(四川)通信技术有限公司 Analogue relay interface control method
CN1889613A (en) * 2006-07-17 2007-01-03 杭州华为三康技术有限公司 Calling control method and speech gate based on speech Internet protocol
CN101695071A (en) * 2009-09-30 2010-04-14 杭州华三通信技术有限公司 Registration method of internet protocol telephone terminal and equipment thereof

Also Published As

Publication number Publication date
CN101860629A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
JPWO2003103259A1 (en) Terminal connection device, connection control device, and multi-function telephone terminal
KR100884868B1 (en) Complementary ???? service
CN101277343A (en) Method, terminal and system for implementing video binding in voice communication network
CN101860629B (en) Method, equipment and system for binding external exchange port and IP phone in one-to-one correspondence
JP4672011B2 (en) IP telephone system and IP telephone method
JP4328810B2 (en) Call control communication system and call control communication method
JP4227846B2 (en) MULTIMEDIA DATA TRANSFER SYSTEM, CALL CONNECTION CONTROL DEVICE, TERMINAL LINKING METHOD USED FOR THEM, AND PROGRAM THEREOF
CN102158613B (en) Call transfer method and equipment
JP2011091661A (en) Telephone apparatus and telephone method
CN101217648A (en) Video monitoring information transferring method, device and system
JP2007013616A (en) Presence server, information providing system, and information providing method
CN102638452B (en) Calling method and device based on VoIP (voice over internet phone)
JP4864999B2 (en) Caller information notification request service system, session control server, call control method, and program
US20080101564A1 (en) Communication system
KR101519600B1 (en) method and apparatus for security communication in VoIP system
US20070140444A1 (en) Proxy response terminal and system
JP5331995B2 (en) Call center system
CN101938496A (en) Call control method, device and system for attendant console
KR100815560B1 (en) System and method for providing image ring-back tone in mobile communication network
CN106161817B (en) Communication method and communication system based on VOIP platform
JP5299350B2 (en) Call center system and call center system control method
CN103841093A (en) Terminal device and network protocol voice communication method
JP4094316B2 (en) Internet telephone system and method
KR100442436B1 (en) Method for user authentication using IVR service in internet telephone network
US8630254B2 (en) Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130605

Termination date: 20200528