CN103813038B - A kind of method realizing multiple VOIP service by single voice physical port - Google Patents
A kind of method realizing multiple VOIP service by single voice physical port Download PDFInfo
- Publication number
- CN103813038B CN103813038B CN201310562532.XA CN201310562532A CN103813038B CN 103813038 B CN103813038 B CN 103813038B CN 201310562532 A CN201310562532 A CN 201310562532A CN 103813038 B CN103813038 B CN 103813038B
- Authority
- CN
- China
- Prior art keywords
- voice
- voip
- account number
- physical port
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000011664 signaling Effects 0.000 claims abstract description 11
- 230000008569 process Effects 0.000 claims description 18
- 230000000977 initiatory effect Effects 0.000 claims description 6
- 230000005856 abnormality Effects 0.000 claims description 3
- 230000009191 jumping Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a kind of method realizing multiple VOIP service by single voice physical port, it is applied to sip terminal, including: configuration step: configure at least one VOIP voice account number and the server address information of correspondence being associated for each voice physical port, generate the several rule map tables being made up of some dialing rules;Registration step: initiate registration request to the server that each account number is corresponding according to configuration information;Exhalation step: when terminal use dials, Auto-matching number rule map table, select account number to initiate call request according to matched rule, set up call link;Incoming call step: when receiving Invite signaling bag, determines target VOIP voice account number, if corresponding voice physical port is currently at idle condition and current account allows calling, then sets up call link.The present invention improves the utilization rate of voice physical port, it is achieved the personalized VOIP service customization of user;There is backup server function, enhance fault-tolerance and stability.
Description
Technical field
The present invention relates to network voice communication (voice over internet protocol is called for short VOIP) technology
Field, particularly relates to one and is applied to SIP (Session Initiation Protocol, conversation initialized protocol) eventually
The method realizing multiple VOIP service by single voice physical port of end.
Background technology
Using the most widely along with VOIP technology and network operation environment is more and more open, future will
The VOIP service of more and more different voip service providers and customizable different levels occurs.For
The multiple different VOIP service of convenience customization also fully effectively utilizes VOIP resource, a kind of single end-speech
Mouth is bound the application of multiple VOIP voice account numbers and is arisen at the historic moment.One voice port of VOIP terminal can be same
Time register multiple different account number (simultaneously initiating registration to multiple different servers), specific by one
Dial mechanism realize the selection to different VOIP voice account numbers.User can customize dialing rule, fixed
System personalized VOIP service, such as user can be dialed local call by dialing rule setting and be accessed to your account
1, national distance accesses to your account 2, and international long-distance accesses to your account 3 etc..
Summary of the invention
It is an object of the invention to provide a kind of side being realized multiple VOIP service by single voice physical port
Method, facilitates user to customize multiple different VOIP service, on the premise of voice physical port resource is limited
Substantially effectively utilize VOIP resource.
It is an object of the invention to be achieved through the following technical solutions.
A kind of method realizing multiple VOIP service by single voice physical port, is applied to sip terminal,
The method includes:
Configuration step: each voice physical port for sip terminal configures at least one VOIP being associated
Voice account number and server address information corresponding to each VOIP voice account number, and if generate one accordingly by
Several rule map tables of dry dialing rule composition;
Registration step: sip terminal, according to described configuration information, applies each VOIP voice account number to correspondence in turn
Server carry out VOIP service registry;
Exhalation step: when terminal use dials, Auto-matching number rule map table, select according to matched rule
VOIP voice account number initiates calling to destination number, sets up call link;
Incoming call step: when receiving the Invite signaling bag that server sends, the most true according to Invite signaling bag
Determine Invite request target VOIP voice account number, then look at this VOIP voice account number service condition and
The use state of corresponding voice physical port, if this voice physical port is currently at idle condition and current
Account allows calling, then ring, sets up call link after user's off-hook.
Preferably, in described configuration step, each VOIP in each dialing rule of described several rule map tables
Voice account number is additionally provided with priority attribute;
Preferably, in described exhalation step, when terminal use dials, according to each VOIP of matched rule
Voice account number priority attribute, selects VOIP voice account number to initiate calling to destination number the most successively,
Until access success.
Preferably, in described configuration step, configure at least one server for each VOIP voice account number
Address.
Preferably, in described configuration step, for multiple servers ground that each VOIP voice account number is corresponding
Location arranges priority attribute.
Preferably, in described exhalation step, when initiating call request to corresponding server, according to excellent
First level attribute, initiates call request to each server the most successively until access success.
Preferably, in described registration step, during each VOIP voice account registration exception, trigger respective heavy
Register flow path and abnormality processing flow process.
Preferably, in described incoming call step, if the use state finding current speech physical port is busy, then
Return busy mark message;If the service condition of target VOIP voice account number is no, then returns and do not allow to exhale
Inlet identity message.
The present invention compared with prior art, has the beneficial effects that:
1), in the embodiment of the present invention, each voice physical port of sip terminal can associate multiple VOIP
Voice account number, user can customize dialing rule, and when receiving incoming call, sip terminal can be according to current circuit
State processes the operation flow of multiple VOIP voice account number simultaneously, so substantially increases each voice physical
The utilization rate of port, the most effectively utilizes VOIP resource, it is achieved the personalized VOIP service customization of user;
2), in the embodiment of the present invention, each VOIP voice account number can configure multiple server and can enter it
Row major level attribute configuration, can switch to other servers when to current server registration failure and registers,
Thus there is backup server function, enhance fault-tolerance and stability.
Accompanying drawing explanation
Fig. 1 is that the present invention realizes the method flow diagram of multiple VOIP service by single voice physical port;
Fig. 2 is the register method flow chart that the embodiment of the present invention provides;
Fig. 3 is the call-out method flow chart that the embodiment of the present invention provides;
Fig. 4 is the incoming call method flow diagram that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
Refer to Fig. 1, the side of the multiple VOIP service that realized by single voice physical port that the present invention provides
Method comprises the following steps:
101, each voice physical port for sip terminal configures the VOIP voice account number and correspondence being associated
Server address information, generate the several rule map tables comprising some dialing rules of a device port rank,
The scope of application of this number rule map table is all VOIP voice account numbers of present port.
In this step, each voice physical port can associate multiple VOIP voice account number simultaneously, and schemes for number
Rule list for VOIP voice account number each in each dialing rule, priority attribute is set, exhalation later
Step can select the most successively account number initiate calling until access success.The most each VOIP voice
Account number can also arrange multiple server address, such as active/standby server.The registration of each VOIP voice account number
Initiation is independent parallel, between do not interfere with each other.
102, sip terminal is according to the configuration information in step 101, apply in turn each VOIP voice account number to
Corresponding server carries out VOIP service registry.
In registration process, the 200Ok information that sip terminal resolution server returns, take out in territory, packet header corresponding
URL, navigate to corresponding voice physical port, its state of set is registered, illuminating state lamp.
During each account registration exception, trigger respective re-register flow process and abnormality processing flow process, each account number
In location registration process flow logic independently, it does not interfere with each other.
103, this sip terminal exhalation step: terminal use dials, this VOIP voice account number of system searching
The several rule map tables joined, at the end of subscriber dialing, system is according to matched rule, first selects the account of high priority
Number initiate calling, have at server and normal return 100 or show dial-up success during 180 ring, exhale
Being flow process, otherwise continuing to select the account number of sub-priority to initiate call request, by that analogy, until calling into
Merit.
104, this sip terminal incoming call step: when receiving the Invite signaling bag that server returns, system is first
First determine, according to Invite signaling bag, the VOIP voice account number that Invite asks, then look at the use of account
The use state of state and corresponding ports, if present port is in idle condition and current account allows calling,
Then ring, sets up call after user's off-hook, otherwise responds other error codes of busy/423/.
Should in aforementioned manners, can corresponding multiple account numbers to each account number pair on each RJ11 mouth of terminal
The server answered initiates registration.In the case of account number on the line has been registered, can root when receiving incoming call
Process the operation flow of multiple account number according to current line status simultaneously, make each voice physical multiplexed port many
Individual account number, to improve the utilization rate of port, improves fault-tolerance simultaneously.
Register flow path in said method, exhalation flow process and incoming call flow process will be described in detail below.
One, register flow path:
Configurable managed N number of account number under each speech line, each account number can configure active/standby server, its
Middle master server must configure, and standby server can arrangement.If active/standby server is all configured with, then work as master
During server registration failure, standby server registration can be turned to, thus there is doubling property function, increase
Strong system fault-tolerance and stability.The register flow path of each account number has a corresponding state machine to control, respectively
The register flow path of individual account number is the most independent in logic, is independent of each other.For the signaling received, by comparing
The server address that Request URL parses, finds out corresponding account number, and drives at corresponding state machine
Reason.
Each account registration flow process is as shown in Figure 2:
201, i-th account number initiates registration by Register signaling to master server, and it is super to start registration transactions
Time intervalometer.
202, judge that registration transactions is the most overtime, if it times out, retransmit registration message, jump to 203, no
Then jump to 208.
203, accumulative affairs time-out counter, jumps to 204.
204, judge whether affairs time-out counter exceeds affairs number of retransmissions, if it is, jump to 205 switchings
Server, otherwise jumps to 204, continues to initiate registration.
205, switching server, only when active/standby server all in the presence of, just can remove switching server,
Otherwise current server is constant, jumps to 206.
206, judge whether be currently master server, if it is, jump to 207, otherwise jump to 201, initiate
Re-register.
207, enabling re-register cycle timer, this intervalometer enabled when standby server switches to master server,
Represent that the time interval terminating to start to the active and standby registration of next round is taken turns in active and standby registration one.After time-out, jump to 201,
Initiate re-register.
208, judge whether message is registration 200OK message, if it is, jump to 209, otherwise jump to
210。
209, the login state updating current account number is UP, starts registration refresh timer, after time-out simultaneously
Jump to 201 initiation registrations refresh.
210, judging that whether message be 401 not authenticate or 423, if jumping to 211, otherwise jumping to
212。
211 if filling out authentication information in 401 registration messages, if 423, change registration period
Expire, jumps to 201, again initiates registration.
212, judge whether it is the 4xx message in addition to 401/407/423, if jumping to 213, if not
It is then to jump to 205.
213, terminal first sends logout message, then jumps to 205 switching servers.
Two, exhalation flow process, as it is shown on figure 3, include step:
301, subscriber dialing jumps to 302.
302, dialing matched rule, selects the account number of limit priority, jumps to 303.
303, check that currently used account number is the most registered, if it is, jump to 305;Otherwise jump to 304.
304, updating currently used account number is the sub-priority account number that dialing rule is corresponding, jumps to 303.
305, initiate invite request to the server that current account number is corresponding, jump to 306.
306, check whether the response receiving server is 407 authentications, if it is, jump to 307,;Otherwise,
Jump to 308.
307, fill in authentication information, jump to 305 and again initiate invite request.
308, checking whether server responds 200OK, if jumping to 309, representing access success, as
Fruit is responded with error code, then jump to 304.
309, access success.
Three, incoming call flow process, as shown in Figure 4.
401, after receiving invite signaling, 402 process are jumped to.
402, extract the Request URI in signaling, find out the target account number of calling, jump to 403.
403, judge that voice physical port is the most taken by non-targeted account number, if jumping to 404, no
Then jump to 405 process.
404,486busy is responded.
405, check the service condition of target account number, check whether permission incoming call, if it is, jump to 407;
Otherwise jump to 406 process.
406, response 423 or other error codes.
407, respond 180ring, jump to 408.
408, ring, jumps to 409.
409, currently the most whether off-hook, if it is, jump to 410, otherwise rebound 408 are judged.
410, respond 200OK, set up call.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention
Protection domain within.
Claims (8)
1. the method realizing multiple VOIP service by single voice physical port, is applied to sip terminal, it is characterised in that
The method includes:
Configuration step: configure at least one VOIP voice account number of being associated and each for each voice physical port of sip terminal
The server address information that VOIP voice account number is corresponding, and generate the several rule map tables being made up of accordingly some dialing rules;
Registration step: sip terminal, according to the server address information of described configuration, applies each VOIP voice account number to correspondence in turn
Server carries out VOIP service registry;
Exhalation step: when terminal use dials, Auto-matching number rule map table, according to matched rule select VOIP voice account number to
Destination number initiates calling, sets up call link;
Incoming call step: when receiving the Invite signaling bag that server sends, first determines, according to Invite signaling bag, the mesh that Invite asks
Mark VOIP voice account number, then looks at service condition and the use state of corresponding voice physical port of this VOIP voice account number, as
Really this voice physical port is currently at idle condition and current account allows calling, then ring, sets up call chain after user's off-hook
Connect.
2. the method realizing multiple VOIP service by single voice physical port as claimed in claim 1, it is characterised in that in institute
Stating in configuration step, in each dialing rule of described several rule map tables, each VOIP voice account number is additionally provided with priority attribute.
3. the method realizing multiple VOIP service by single voice physical port as claimed in claim 2, it is characterised in that in institute
State in exhalation step, when terminal use dials, according to each VOIP voice account number priority attribute of matched rule, depend on from high to low
Secondary selection VOIP voice account number initiates calling to destination number, until access success.
4. the method realizing multiple VOIP service by single voice physical port as described in claims 1 to 3 is arbitrary, its feature exists
In, in described configuration step, configure at least one server address for each VOIP voice account number.
5. the method realizing multiple VOIP service by single voice physical port as claimed in claim 4, it is characterised in that in institute
Stating in configuration step, the multiple server address corresponding for each VOIP voice account number arrange priority attribute.
6. the method realizing multiple VOIP service by single voice physical port as claimed in claim 5, it is characterised in that in institute
State in exhalation step, when initiating call request to corresponding server, according to priority attribute, the most successively to each service
Device initiates call request until access success.
7. the method realizing multiple VOIP service by single voice physical port as claimed in claim 1, it is characterised in that described
In registration step, during each VOIP voice account registration exception, trigger respective re-register flow process and abnormality processing flow process.
8. the method realizing multiple VOIP service by single voice physical port as claimed in claim 1, it is characterised in that described
In incoming call step, if the use state finding current speech physical port is busy, then return busy mark message;If target VOIP
The service condition of voice account number is no, then return and do not allow incoming call to identify message.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310562532.XA CN103813038B (en) | 2013-11-13 | 2013-11-13 | A kind of method realizing multiple VOIP service by single voice physical port |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310562532.XA CN103813038B (en) | 2013-11-13 | 2013-11-13 | A kind of method realizing multiple VOIP service by single voice physical port |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103813038A CN103813038A (en) | 2014-05-21 |
| CN103813038B true CN103813038B (en) | 2016-08-17 |
Family
ID=50709215
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310562532.XA Active CN103813038B (en) | 2013-11-13 | 2013-11-13 | A kind of method realizing multiple VOIP service by single voice physical port |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103813038B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106487883A (en) * | 2016-09-28 | 2017-03-08 | 乐视控股(北京)有限公司 | Network registration process method and module |
| CN111147455B (en) * | 2019-12-12 | 2023-01-10 | 北京淇瑀信息科技有限公司 | Outbound dialing method and device based on SIP (Session initiation protocol) protocol and electronic equipment |
| CN111404922B (en) * | 2020-03-12 | 2022-04-26 | 厦门亿联网络技术股份有限公司 | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof |
| CN113765894A (en) * | 2021-08-13 | 2021-12-07 | 武汉极物智联科技有限公司 | Method and system for intercommunication between soft and hard telephones in hospital based on SIP protocol |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1678005A (en) * | 2004-03-31 | 2005-10-05 | 国际商业机器公司 | Apparatus, system and method for multiple virtual phones sharing a single physical address |
| CN1791159A (en) * | 2004-12-16 | 2006-06-21 | 朗迅科技公司 | Method and apparatus for providing multiple simultaneous VoIP call sessions for a single directory number |
| CN1889541A (en) * | 2005-06-28 | 2007-01-03 | 北京寰龙技术有限公司 | System for supporting multi ITSP based on SIP and realizing method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7801105B2 (en) * | 2005-05-25 | 2010-09-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Scheduling radio resources for symmetric service data connections |
| CN101562634A (en) * | 2009-05-22 | 2009-10-21 | 中兴通讯股份有限公司 | Method and system for guaranteeing quality of service of voice over internet protocol |
-
2013
- 2013-11-13 CN CN201310562532.XA patent/CN103813038B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1678005A (en) * | 2004-03-31 | 2005-10-05 | 国际商业机器公司 | Apparatus, system and method for multiple virtual phones sharing a single physical address |
| CN1791159A (en) * | 2004-12-16 | 2006-06-21 | 朗迅科技公司 | Method and apparatus for providing multiple simultaneous VoIP call sessions for a single directory number |
| CN1889541A (en) * | 2005-06-28 | 2007-01-03 | 北京寰龙技术有限公司 | System for supporting multi ITSP based on SIP and realizing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103813038A (en) | 2014-05-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9854005B2 (en) | Methods and apparatus for providing network based services to non-registering endpoints | |
| CN1674580B (en) | Response information filtering method for internet multimedia subsystem service control mechanism | |
| US8046381B2 (en) | IMS network access using legacy devices | |
| CN102035798B (en) | Service processing method, system and device for realizing disaster tolerance | |
| EP3054644A1 (en) | Voice session termination for messaging clients in IMS | |
| US9832234B2 (en) | IMS inbound roamer and short number dialing | |
| CN103813038B (en) | A kind of method realizing multiple VOIP service by single voice physical port | |
| RU2510584C2 (en) | Method, apparatus and system for realising override service during emergency call | |
| CN103155511A (en) | Connection control with b2bua located behind nat gateway | |
| CN101159914B (en) | Regulation based dynamic service triggering method for IMS network | |
| EP4607890A1 (en) | Call request processing method, network node, and storage medium | |
| CN102137198B (en) | Method for realizing private branch exchange service and gateway equipment | |
| WO2013124313A1 (en) | Handling session initiation protocol messages in a wireless telecommunications device | |
| US20130060954A1 (en) | Enabling set up of a connection from a non-registered ue in ims | |
| WO2012113331A1 (en) | Service triggering method and system in ims network, computer program and storage medium | |
| EP2795865B1 (en) | Session establishment in an ip multimedia subsystem network | |
| CN103595691A (en) | A dynamic service trigger method based on a rule in an IMS network | |
| CN107567027A (en) | Processing method, device, equipment and the mobile terminal of RCS terminal networks switching | |
| EP3238425A1 (en) | Enterprise toll-free call routing | |
| CN106209473B (en) | Disaster recovery method and system | |
| CN104993985A (en) | Method for adaptively calibrating number table rule of access gateway equipment | |
| CN102497627A (en) | Method and system for realizing free conversation switching business | |
| CN102932764B (en) | Integrated call control device | |
| CN101163272A (en) | Service triggering method based on application server packet for IMS network | |
| WO2008151538A1 (en) | Method, device and system for achieving barring service |
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 |