[go: up one dir, main page]

CN101917526A - Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network - Google Patents

Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network Download PDF

Info

Publication number
CN101917526A
CN101917526A CN2010102610899A CN201010261089A CN101917526A CN 101917526 A CN101917526 A CN 101917526A CN 2010102610899 A CN2010102610899 A CN 2010102610899A CN 201010261089 A CN201010261089 A CN 201010261089A CN 101917526 A CN101917526 A CN 101917526A
Authority
CN
China
Prior art keywords
user agent
agent equipment
sip user
information
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102610899A
Other languages
Chinese (zh)
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.)
Hangzhou 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 CN2010102610899A priority Critical patent/CN101917526A/en
Publication of CN101917526A publication Critical patent/CN101917526A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and equipment for number collocation in an SIP (Session Initiation Protocol) telephone network. According to technical scheme of the invention, the number collocation only needs to be carried out on a registry server. SIP user agent equipment can be used for finding corresponding number information in the registry server through the registry operation of address information per se and carrying out corresponding number collocation accordingly so that the number collocation process in the SIP user agent equipment can be automatically completed on the basis of the collocated number information in the registry server without carrying out number collocation singly on the SIP user agent equipment. Therefore, the centralization management on number resources by the registry server is realized, the collocation work amount in the SIP user agent equipment is reduced, the collocation efficiency of the SIP user agent equipment is increased, and the number collocation accuracy is also improved on the basis of the automatic number collocation through the collocated number information in the registry server.

Description

Number collocation method and equipment in a kind of SIP phone network
Technical field
The present invention relates to communication technical field, number collocation method and equipment in particularly a kind of SIP phone network.
Background technology
Along with the development of VoIP (Voice over Internet Protocol, the networking telephone) and SIP (Session InitiationProtocol, session initiation protocol) technology, H.323 the networking telephone epoch have carried out the transition to the SIP networking telephone epoch comprehensively.
Generally comprise in the SIP phone network:
Sip user agent (SIP User Agent, SIP UA) equipment is the terminal equipment in the SIP phone network, in talk application, is equivalent to the IP phone terminal;
Acting server (Proxy Server), be in the SIP phone network for other clients provide the entity of the forwarding service of request, i.e. route service, in the SIP phone network, acting server proxy SIP user agent device is handled all network services;
Redirect Server (Redirect Server) receives the SIP request that sip user agent equipment sends, and the raw address that shines upon this request becomes the IP address, and returns to sip user agent equipment, initiates request again by sip user agent equipment;
Location-server (Location Server), the routing inquiry by Redirect Server or acting server is accepted in management plurality of data storehouse;
Registrar (Registrar Server), all sip user agent equipment that belong to this SIP phone network all must arrive the registrar place and register.Registrar receives the register requirement of sip user agent equipment, sip user agent equipment mark information is write in the database that location-server manages, and return login state to sip user agent equipment.
As shown in Figure 1, structural representation for a kind of SIP phone network in the prior art, in this SIP phone network, registrar is as the server that receives user's register requirement, be responsible for to receive the validated user agency by the user logic address of REGISTER information reporting and the map information of physical address, and this information is put in the database that location-server manages.Positioning service when location-server provides calling for acting server; Acting server and registrar, location-server cooperate, and are responsible for finishing work such as authentication, charging monitoring, calling control, the business of calling out route, calling provide.
Hence one can see that, should be legal and valid sip user agent devices allocation number information (identify label) and authentication information in advance on the registrar, and number information is deployed in each sip user agent equipment by manual or automated manner, be that number information is disposing respectively on the registrar and on the sip user agent equipment, and be consistent.
As mentioned above, when the deploying SIP telephone network, need to be configured on registrar according to the port number of the telephony gateway that will dispose or the quantity and the numbering plan of IP phone earlier, and then the number information of this port correspondence that on registrar, has disposed for each port arrangement on each gateway/IP phone.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In existing technical scheme, need dispose corresponding number information respectively on the registrar and on each port of sip user agent equipment (gateway/IP phone), because the port number that the SIP phone network is had is huge, brought huge workload for corresponding number information in sip user agent equipment disposition and the server one by one, and huge workload also exerts an influence to the accuracy of the number information that disposed.
Summary of the invention
The invention provides number collocation method and equipment in a kind of SIP phone network, SIP phone network number allocation plan workload of the prior art is big in order to solve, the problem of poor accuracy.
For achieving the above object, one aspect of the present invention provides the number collocation method in a kind of SIP phone network, specifically may further comprise the steps:
Sip user agent equipment sends login request message to registrar, carries described sip user agent equipment mark information in the described login request message;
Described sip user agent equipment receives the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described sip user agent equipment is according to the number information that carries in the described registration reply message, for described sip user agent equipment carries out the number configuration.
Preferably, when described sip user agent equipment comprises a plurality of port, in the described login request message, also carry the information of the port that needs configuration number, wherein:
For described sip user agent equipment carries out the number configuration, be specially:
For the described port of configuration number that needs carries out the number configuration.
Preferably, described sip user agent equipment is according to the number information that carries in the described registration reply message, for described sip user agent equipment carries out also comprising after the number configuration:
Described sip user agent equipment sends login request message according to the default register update cycle to described registrar, carries described sip user agent equipment mark information in the described login request message;
Described sip user agent equipment receives the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described sip user agent equipment upgrades for described sip user agent equipment carries out number according to the number information that carries in the described registration reply message.
Preferably, when described sip user agent equipment comprises a plurality of port, in the described login request message, also carry the information of the port that needs register update, wherein:
Upgrade for described sip user agent equipment carries out number, be specially:
For the described port of register update that needs carries out the number renewal.
Preferably, described sip user agent equipment mark information is specially:
The mac address information of described sip user agent equipment or IP address information.
On the other hand, the embodiment of the invention also provides a kind of sip user agent equipment, specifically comprises:
Sending module is used for sending login request message to registrar, carries described sip user agent equipment mark information in the described login request message;
Receiver module is used to receive the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Configuration module is connected with described receiver module with described sending module, and the number information that the registration reply message that is used for receiving according to described receiver module carries is for described sip user agent equipment carries out the number configuration.
Preferably, described sip user agent equipment also comprises module is set, and is used to be provided with the register update cycle;
Described sending module also is used for being set to described registrar transmission login request message the set register update cycle of module according to described, carries described sip user agent equipment mark information in the described login request message;
Described receiver module also is used to receive the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described configuration module, the number information that the registration reply message that also is used for receiving according to described receiver module carries upgrades for described sip user agent equipment carries out number.
Wherein, described sip user agent equipment mark information is specially the mac address information or the IP address information of described sip user agent equipment.
Preferably, when described sip user agent equipment comprises a plurality of port,
If also carry the information of the port that needs configuration number in the login request message that described sending module sent, described configuration module specifically is used to the described port of configuration number that needs to carry out the number configuration;
If also carry the information of the port that needs register update in the login request message that described sending module sent, described configuration module specifically is used to the described port of register update that needs to carry out the number renewal.
On the other hand, the embodiment of the invention also provides the number collocation method in a kind of SIP phone network, specifically may further comprise the steps:
Registrar receives the login request message that sip user agent equipment sends, and carries described sip user agent equipment mark information in the described login request message;
Described registrar is inquired about the pairing number information of described sip user agent equipment from it according to described sip user agent equipment mark information in Pei Zhi the number information;
Described registrar sends registration reply message to described sip user agent equipment, carries the pairing number information of described sip user agent equipment that inquires in the described registration reply message.
Preferably, described sip user agent equipment mark information is specially:
The mac address information of described sip user agent equipment or IP address information.
Preferably, when described sip user agent equipment comprised a plurality of port, described method was specially:
Described registrar receives the login request message that sip user agent equipment sends, and carries the information of described sip user agent equipment mark information and port in the described login request message;
Described registrar is inquired about the pairing number information of port on the described sip user agent equipment from it according to the information of described sip user agent equipment mark information and port in Pei Zhi the number information;
Described registrar sends registration reply message to described sip user agent equipment, carries the pairing number information of described port that inquires in the described registration reply message.
On the other hand, the embodiment of the invention also provides a kind of registrar, specifically comprises:
Receiver module is used to receive the login request message that sip user agent equipment sends, and carries described sip user agent equipment mark information in the described login request message;
Enquiry module is used for the described sip user agent equipment mark information included according to the received login request message of described receiver module, the pairing number information of the described sip user agent equipment of inquiry from the number information of configuration;
Sending module is used for sending registration reply message to described sip user agent equipment, carries the pairing number information of described sip user agent equipment that described enquiry module inquires in the described registration reply message.
Preferably, when described sip user agent equipment comprises a plurality of port,
Described receiver module specifically is used to receive the login request message that described sip user agent equipment sends, and carries the information of described sip user agent equipment mark information and port in the described login request message;
Described enquiry module, specifically be used for according to the included described sip user agent equipment mark information of the received login request message of described receiver module and the information of port the pairing number information of port from the number information of configuration on the described sip user agent equipment of inquiry;
Described sending module specifically is used for sending registration reply message to described sip user agent equipment, carries the pairing number information of described port that described enquiry module inquires in the described registration reply message.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, only need on registrar, carry out the number configuration, sip user agent equipment can be by carrying the registration operation of self address information, in registrar, inquire corresponding number information, and carry out corresponding number in view of the above and dispose, number layoutprocedure in the sip user agent equipment can be finished automatically based on the number information that has disposed in the registrar, need not on sip user agent equipment, to carry out separately the number configuration, thereby, realize the check numbers unified management of resource of registrar, reduced the configuration effort amount in the sip user agent equipment, improved the allocative efficiency of sip user agent equipment, the mode of carrying out the automatic configuration of number based on the number information that has disposed in the registrar has also improved the accuracy of number configuration.
Description of drawings
Fig. 1 is the structural representation of a kind of SIP phone network in the prior art;
Fig. 2 is the schematic flow sheet of the number collocation method in a kind of SIP phone network that the embodiment of the invention proposed;
Fig. 3 is the schematic flow sheet of the number collocation method in the SIP phone network under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 4 is the schematic diagram that carries out the number configuration mode in registrar under a kind of concrete application scenarios that the embodiment of the invention proposed
Fig. 5 is the structural representation of a kind of sip user agent equipment that the embodiment of the invention proposed;
Fig. 6 is the structural representation of a kind of registrar that the embodiment of the invention proposed.
Embodiment
As stated in the Background Art, number allocation plan in the existing SIP phone network, need carry out the number configuration earlier at registrar, the number information that has disposed in respectively according to registrar in each sip user agent equipment carries out the number configuration to corresponding port then, identical number information need carry out twice configuration, especially in the huge SIP phone network of port number, one by one the port of sip user agent equipment is carried out the configuration operation general of repetition, its workload is big, and is difficult to guarantee the accuracy of configuration result.
The embodiment of the invention just is being based on this problem and is proposing number configuration mechanism in a kind of SIP phone network, only need in registrar, carry out the number configuration, then, each sip user agent equipment is registered to registrar respectively based on the identification information of self, registrar is inquired about corresponding number information according to these information in the number information that has disposed, and feed back, make each sip user agent equipment carry out the number configuration according to the number information of feedback.
Below in conjunction with accompanying drawing, the embodiment of the invention is described in detail.
The framework of the SIP phone network that the embodiment of the invention is related is identical with the framework of existing SIP phone network, can comprise registrar and at least one sip user agent equipment, and wherein, sip user agent equipment comprises at least one port.
Based on the SIP phone network, as shown in Figure 2, the schematic flow sheet for the number collocation method in a kind of SIP phone network of embodiment of the invention proposition specifically may further comprise the steps:
Step S201, sip user agent equipment send login request message to registrar, carry sip user agent equipment mark information in this login request message.
In concrete application scenarios, sip user agent equipment mark information in this step, be specifically as follows MAC (Media Access Control, the medium access control) address information of sip user agent equipment or IP address information or other can this sip user agent equipment mark information of unique identification in the SIP phone network.
When sip user agent equipment comprises a plurality of port, also further carry the information of the port that needs configuration number in the login request message in this step.
In actual applications, need the information of the port of configuration number can be this port in sip user agent equipment sequence number or other can this port of unique identification in sip user agent equipment information.
Step S202, sip user agent equipment receive the registration reply message that registrar returns, and carry the number information that registrar is inquired according to sip user agent equipment mark information in this registration reply message.
In actual applications, if only carry sip user agent equipment mark information in the login request message among the step S201, so, the entrained number information of response message that this step is received, be the registrar pairing number information of this sip user agent equipment that directly information inquiry is arrived according to the sip user agent equipment mark, if and not only carry sip user agent equipment mark information in the login request message among the step S201, also further carry the information of the port that needs configuration number, so, the entrained number information of response message that this step is received, be registrar according to the information inquiry of the port of sip user agent equipment mark information and needs configuration number to this sip user agent equipment on the pairing number information of port of needs configuration number.
For second kind of situation, concrete inquiry mode can be to inquire about in the number information that has disposed according to sip user agent equipment mark information earlier to be the number information that all of the port disposed in this sip user agent equipment, then, the pairing number information of this port of the information inquiry of the port of configuration number as required again, also can be with sip user agent equipment mark information and need the information of the port of configuration number to bind, directly inquire about the pairing number information of this port, concrete employ inquiry mode can be adjusted according to actual needs.
Step S203, sip user agent equipment are according to the number information that carries in the registration reply message, for this sip user agent equipment carries out the number configuration.
Wherein, if not only carry sip user agent equipment mark information in the login request message among the step S201, also further carry the information of the port that needs configuration number, so, the number layoutprocedure in this step is actual is that the port that needs configuration number on this sip user agent equipment is carried out the number configuration.
Need be pointed out that further that after completing steps S203, the technical scheme that the embodiment of the invention proposed also can further comprise the renewal process of number information, specifies as follows:
Sip user agent equipment sends login request message according to the default register update cycle to registrar, carries sip user agent equipment mark information in the login request message;
Sip user agent equipment receives the registration reply message that registrar returns, and carries the number information that registrar is inquired according to sip user agent equipment mark information in the registration reply message;
Sip user agent equipment upgrades for this sip user agent carries out number according to number information entrained in the registration reply message.
Similar with above stated specification, when sip user agent equipment comprises a plurality of port, in the above-mentioned number renewal process, also need further to carry the information of the port that needs register update in the login request message, at this moment, the information of carrying in the registration reply message is the number information that information inquired of registrar according to the port of sip user agent equipment mark information and needs register update, and the port that the number renewal process is needing register update carries out register update.
No matter whether sip user agent equipment exists a plurality of ports, and said process can be thought reaching register update during the cycle, the once registration again that sip user agent equipment is carried out, and its process and registration process shown in Figure 2 are similar.By guaranteeing that in registration process the number configuration information in the sip user agent equipment can be consistent with up-to-date number configuration information in the registrar.
By such process, when in the SIP phone network, having number to change, only need in registrar, carry out the change of respective number configuration information, corresponding sip user agent equipment just can pass through the register update process, get access to after changing number information reaching register update week after date, need not one by one corresponding sip user agent equipment to be carried out special renewal operation again.
It is to be noted, in the register update process, can add the identifying whether number information changes, if promptly the sip user agent recognition of devices goes out by the accessed number information of registration reply message to change, then with the number information after changing to before configuration number information upgrade, if and the sip user agent recognition of devices goes out by the accessed number information of registration reply message and do not change, then not to before configuration number information upgrade operation.Such processing can be avoided that identical number is carried out repeated configuration and handle under the constant situation of number.
Certainly, also can not carry out the identification whether number information changes.No matter whether number changes, and all the number information that carries in need be according to registration reply message is configured respective number information, thereby the operation bidirectional of avoiding identifying to bring is handled.
By using the above embodiment of the present invention, only need on registrar, carry out the number configuration, sip user agent equipment can be by carrying the registration operation of self address information, in registrar, inquire corresponding number information, and carry out corresponding number in view of the above and dispose, number layoutprocedure in the sip user agent equipment can be finished automatically based on the number information that has disposed in the registrar, need not on sip user agent equipment, to carry out separately the number configuration, thereby realized the check numbers unified management of resource of registrar, reduced the configuration effort amount in the sip user agent equipment, improved the allocative efficiency of sip user agent equipment, the mode of carrying out the automatic configuration of number based on the number information that has disposed in the registrar has also improved the accuracy of number configuration.
In order further to set forth technological thought of the present invention, existing in conjunction with concrete application scenarios, the technical scheme that the embodiment of the invention proposed is described.
The embodiment of the invention proposed a kind of on registrar configuration number information, each sip user agent equipment obtains the number allocation plan of corresponding number information to registrar, this scheme need not carry out on the sip user agent equipment with registrar on the configuration of identical secondary number information, but by the resource of registrar unified management with the issue number information, and further combined with mode by the address of each server in the current SIP phone network of broadcast notice sip user agent equipment, further reach in the SIP phone network, to the effect of sip user agent equipment zero configuration.
For convenience of description, below specifically with the example of gateway device as sip user agent equipment, the technical scheme that the embodiment of the invention proposed is described.
Wherein, there are a plurality of ports in gateway device.
Specifically as shown in Figure 3, the schematic flow sheet for the number collocation method in the SIP phone network under a kind of concrete application scenarios of embodiment of the invention proposition specifically may further comprise the steps:
Step S301, in registrar configuration number information.
Concrete configuration mode can be as shown in Figure 4, under this scene, in registrar, be port one configuration number " 15608989 " in the gateway device of " 00-50-56-C0-00-01 " for MAC Address, similar therewith, can in registrar, carry out the number configuration for each port in each gateway device in the SIP phone network one by one.
Step S302, gateway device send the login request message of the port numbers of the MAC Address that comprises gateway device and port to be configured to registrar.
With the prior art scheme on the gateway device be each port on the gateway device mode of configuration number is different one by one, gateway device is configured to obtain portal number by sending login request message to registrar in the embodiment of the invention.
The embodiment of the invention can be by improving existing login request message to realize the function of obtaining of port data.Wherein, a kind of shift gears for: with carried originally in From header field, To header field and the Contact header field in the login request message part of configuration number information replace with port information to be configured (such as: for logical order number be 1,2,3,4 port, in the present embodiment with port numbers as port-mark, in actual applications, the type of port information can be adjusted as required).
In order to allow registrar identify the port information that different gateway devices sends with same side slogan, can in login request message, increase the MAC Address that the Mac-Address header field carries gateway device, so that registrar is by the MAC Address of gateway device and the port of the unique definite gateway device of port numbers.
Certainly; also can adopt the binding mode of IP address+port information in actual applications; perhaps mode such as gateway device name+port information is come the particular port of unique identification particular gateway equipment; the mode of every port in can the unique identification gateway device all can be applied in the technical scheme that the embodiment of the invention proposes, and such variation belongs to protection scope of the present invention equally.
Gateway device is as follows according to the format sample of the register requirement message that MAC Address and port numbers constituted:
Session?Information?Protocol
Request-Line:REGISTER?sip:100.1.1.101SIP/2.0
Message?Header
Via:SIP/2.0/UDP?100.1.1.217;branch=z9hG4bKac1125823042
Max-Forwards:70
From:<sip:1@100.1.1.101>;tag=1c1125817292
To:<sip:1@100.1.1.101>
Call-ID:11258144851120005029@100.1.1.217
CSeq:1REGISTER
Contact:<sip:1@100.1.1.217>;expires=300
Supported:em,timer,replacer,path
Allow:REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO
Expires:300
Mac-Address:00-50-56-C0-00-01
Content-Length:0
At first, in from header field and the To header field<sip:1@100.1.1.101 field describes, " 1 " before the @ symbol is the port numbers of gateway device, " 100.1.1.101 " then is the IP address of registrar.
Then, further in the Contact header field<sip:1@100.1.1.127 describe, " 1 " before the @ symbol is similarly the port numbers of gateway device, " 100.1.1.127 " then is the IP address of gateway device, moreover, in logon message, also comprise the Mac-Address field, entrained content " 00-50-56-C0-00-01 " is the MAC Address of gateway device in this field.
Step S303, registrar receive the login request message that gateway device sends, and inquire about the pairing number information of this port according to the MAC Address of gateway device and the port numbers of port to be configured.
According to the description among step S301 and the step S302, registrar inquires the pairing number information of all of the port under this MAC Address according to the MAC Address " 00-50-56-C0-00-01 " of gateway device entrained in the login request message, by port numbers " 1 ", determine that the number information that this port disposes should be " 15608989 " then.Certainly, also MAC Address " 00-50-56-C0-00-01 " and port numbers " 1 " directly can be bound inquiry, directly obtain the number information of " 15608989 ".
Step S304, registrar return the registration reply message that comprises the number information that inquires to gateway device.
Inquired at registrar under the situation of number information of this port correspondence, the login state that registrar can be provided with this number is online, and can in the Contact header field in the registration reply message of responding (in the present embodiment be example with 200OK message), carry the number information that inquires, and send this registration reply message to sip user agent equipment.
Corresponding with the login request message among the step S302, in the present embodiment, the concrete format sample of above-mentioned 200OK message as registration reply message is as follows:
Session?Information?Protocol
Request-Line:SIP/2.0200OK
Message?Header
Via:SIP/2.0/UDP?100.1.1.217;branch=z9hG4bKac1125889739
From:<sip:1@100.1.1.101>;tag=1c1125817292
To:<sip:1@100.1.1.101>
Call-ID:11258144851120005029@100.1.1.217
CSeq:2REGISTER
Date:Sat,02Dec?200619:47:41GMT
Contact:<sip:15608989@100.1.1.217>;expires=300
Allow:REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO
Supported:em,timer,replacer,path
Expires:300
Mac-Address:00-50-56-C0-00-01
Content-Length:0
In this 200OK message, in from header field and the To header field<sip:1@100.1.1.101〉the implication of Mac-Address field in field and the Contact header field is consistent with the implication in the aforesaid login request message, is self previous pairing registration reply message of which login request message that sends so that gateway device can acknowledge receipt of.
And in Contact header field<sip:15608989@100.1.1.127〉field, the number information of the port one that " 15608989 " before the @ symbol inquire for registrar.
By this 200OK message, registrar is notified to gateway device with the number information that inquires.
Step S305, gateway device carry out the number configuration according to number information entrained in the registration reply message that receives to corresponding port.
Specifically which port being configured can be according to mac address information and the port numbers in the above-mentioned 200OK message, and deploy content then is the number information of " 15608989 ".
According to this configuration, gateway need shine upon corresponding ports and number information, finish above-mentioned configuration after, other message such as calling message that follow-up this port is initiated all find corresponding number information to carry out message constructing according to port.
Step S306, gateway device carry out register update.
The number information of current configuration reached the register update cycle or because of situations such as Event triggered under, gateway device is initiated the register update process.The process of register update process and aforesaid step 302~305 is similar, does not repeat them here.
This step is after the number configuration of finishing for each port of gateway device, the register update process of initiating in order to keep number information consistent in gateway device and the registrar.For example, the register update cycle is set, whenever reaching this register update during the cycle, each port of gateway device will be initiated registration process one time to registrar, to keep the synchronous of number information in gateway device and the registrar, when the number information of this port binding on the server took place to upgrade, gateway device can in time carry out the renewal of number information.
Said process is that example describes with the gateway device, and for the sip user agent equipment of other types, corresponding processing procedure and above-mentioned explanation are similar, in this no longer repeat specification.
By using the above embodiment of the present invention, after carrying out the number configuration on the registrar, sip user agent equipment is by carrying the registration operation of self address information and port information, in registrar, inquire corresponding number information, and the number that carries out corresponding port in view of the above disposes, number layoutprocedure in the sip user agent equipment can be finished automatically based on the number information that has disposed in the registrar, need not on sip user agent equipment, to carry out separately the number configuration, the unified management of resource thereby the realization registrar is checked numbers, reduced the configuration effort amount in the sip user agent equipment, improved the allocative efficiency of sip user agent equipment, the mode of carrying out the automatic configuration of number based on the number information that has disposed in the registrar has also improved the accuracy of number configuration.
In order to realize technical scheme of the present invention, based on aforesaid explanation, the invention allows for a kind of sip user agent equipment, its structural representation comprises as shown in Figure 5:
Sending module 51 is used for sending login request message to registrar, carries sip user agent equipment mark information in the login request message.
In concrete application scenarios; sip user agent equipment mark information in this step; being specifically as follows the mac address information of sip user agent equipment or IP address information or other can this sip user agent equipment mark information of unique identification in current SIP phone network; in actual applications, the identification information of concrete employ form does not influence protection scope of the present invention.
When sip user agent equipment comprises a plurality of port, also further carry the information of the port that needs configuration number in the login request message that sending module 51 is sent.
In actual applications, need the information of the port of configuration number can be this port in sip user agent equipment sequence number or other can this port of unique identification in this sip user agent equipment information.
Receiver module 52 is used to receive the registration reply message that registrar returns, and carries the number information that registrar is inquired according to sip user agent equipment mark information in the registration reply message.
If not only carry sip user agent equipment mark information in the login request message that sending module 51 is sent, also further carry the information of the port that needs configuration number, so, the entrained number information of response message that receiver module 52 is received, be registrar according to the information inquiry of the port of sip user agent equipment mark information and needs configuration number to this sip user agent equipment on the pairing number information of port of needs configuration number.
Configuration module 53 is connected with receiver module 52 with sending module 51, is used for the number information that carries according to the registration reply message that receiver module 52 is received, for this sip user agent equipment carries out the number configuration.
If not only carry sip user agent equipment mark information in the login request message that sending module 51 is sent, also further carry the information of the port that needs configuration number, so, configuration module 53 specifically is used for the port that needs configuration number on this sip user agent equipment is carried out the number configuration.
In concrete application scenarios, above-mentioned sip user agent equipment also comprises module 54 is set, and is used to be provided with the register update cycle;
Sending module 51 also is used for sending login request message according to the 54 set register update cycles of module are set to registrar, carries sip user agent equipment mark information in the login request message;
Receiver module 52 also is used to receive the registration reply message that registrar returns, and carries the number information that registrar is inquired according to sip user agent equipment mark information in the registration reply message;
Configuration module 53 also is used for the number information that carries according to the registration reply message that receiver module 52 is received, upgrades for this sip user agent equipment carries out number.
Similar with above stated specification, when sip user agent equipment comprises a plurality of port, in the above-mentioned number renewal process, the information that also needs further to carry the port that needs register update in the login request message that sending module 51 is sent, at this moment, the information of carrying in the registration reply message that receiver module 52 is received is the number information that information inquired of registrar according to the port of sip user agent equipment mark information and needs register update, and the port that the number renewal process that configuration module 53 is carried out is needing register update carries out register update.
On the other hand, the embodiment of the invention also provides a kind of registrar, and its structural representation specifically comprises as shown in Figure 6:
Receiver module 61 is used to receive the login request message that sip user agent equipment sends, and carries sip user agent equipment mark information in the login request message;
Enquiry module 62, be used for the sip user agent equipment mark information of carrying according to receiver module 61 received login request message, inquiry sip user agent equipment needs the pairing number information of port of configuration number from the number information of configuration;
Sending module 63 is used for sending registration reply message to sip user agent equipment, carries the pairing number information of this sip user agent equipment that enquiry module 62 inquires in the registration reply message.
In actual applications, similar with above stated specification so if sip user agent equipment comprises a plurality of ports, registrar will be handled corresponding ports information, with the pairing number information of inquiry corresponding ports, in this no longer repeat specification.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, only need on registrar, carry out the number configuration, sip user agent equipment can be by carrying the registration operation of self address information, in registrar, inquire corresponding number information, and carry out corresponding number in view of the above and dispose, number layoutprocedure in the sip user agent equipment can be finished automatically based on the number information that has disposed in the registrar, need not on sip user agent equipment, to carry out separately the number configuration, thereby, realize the check numbers unified management of resource of registrar, reduced the configuration effort amount in the sip user agent equipment, improved the allocative efficiency of sip user agent equipment, the mode of carrying out the automatic configuration of number based on the number information that has disposed in the registrar has also improved the accuracy of number configuration.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, module in the 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 of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several concrete enforcement scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (13)

1. the number collocation method in the SIP phone network is characterized in that, specifically may further comprise the steps:
Sip user agent equipment sends login request message to registrar, carries described sip user agent equipment mark information in the described login request message;
Described sip user agent equipment receives the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described sip user agent equipment is according to the number information that carries in the described registration reply message, for described sip user agent equipment carries out the number configuration.
2. the method for claim 1 is characterized in that, when described sip user agent equipment comprises a plurality of port, in the described login request message, also carries the information of the port that needs configuration number, wherein:
For described sip user agent equipment carries out the number configuration, be specially:
For the described port of configuration number that needs carries out the number configuration.
3. the method for claim 1 is characterized in that, described sip user agent equipment is according to the number information that carries in the described registration reply message, for described sip user agent equipment carries out also comprising after the number configuration:
Described sip user agent equipment sends login request message according to the default register update cycle to described registrar, carries described sip user agent equipment mark information in the described login request message;
Described sip user agent equipment receives the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described sip user agent equipment upgrades for described sip user agent equipment carries out number according to the number information that carries in the described registration reply message.
4. method as claimed in claim 3 is characterized in that, when described sip user agent equipment comprises a plurality of port, in the described login request message, also carries the information of the port that needs register update, wherein:
Upgrade for described sip user agent equipment carries out number, be specially:
For the described port of register update that needs carries out the number renewal.
5. as claim 1 or 3 described methods, it is characterized in that described sip user agent equipment mark information is specially:
The mac address information of described sip user agent equipment or IP address information.
6. a sip user agent equipment is characterized in that, specifically comprises:
Sending module is used for sending login request message to registrar, carries described sip user agent equipment mark information in the described login request message;
Receiver module is used to receive the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Configuration module is connected with described receiver module with described sending module, and the number information that the registration reply message that is used for receiving according to described receiver module carries is for described sip user agent equipment carries out the number configuration.
7. sip user agent equipment as claimed in claim 6 is characterized in that, also comprises module is set, and is used to be provided with the register update cycle;
Described sending module also is used for being set to described registrar transmission login request message the set register update cycle of module according to described, carries described sip user agent equipment mark information in the described login request message;
Described receiver module also is used to receive the registration reply message that described registrar returns, and carries the number information that described registrar is inquired according to described sip user agent equipment mark information in the described registration reply message;
Described configuration module, the number information that the registration reply message that also is used for receiving according to described receiver module carries upgrades for described sip user agent equipment carries out number.
Wherein, described sip user agent equipment mark information is specially the mac address information or the IP address information of described sip user agent equipment.
8. as claim 6 or 7 described sip user agent equipment, it is characterized in that, when described sip user agent equipment comprises a plurality of port,
If also carry the information of the port that needs configuration number in the login request message that described sending module sent, described configuration module specifically is used to the described port of configuration number that needs to carry out the number configuration;
If also carry the information of the port that needs register update in the login request message that described sending module sent, described configuration module specifically is used to the described port of register update that needs to carry out the number renewal.
9. the number collocation method in the SIP phone network is characterized in that, specifically may further comprise the steps:
Registrar receives the login request message that sip user agent equipment sends, and carries described sip user agent equipment mark information in the described login request message;
Described registrar is inquired about the pairing number information of described sip user agent equipment from it according to described sip user agent equipment mark information in Pei Zhi the number information;
Described registrar sends registration reply message to described sip user agent equipment, carries the pairing number information of described sip user agent equipment that inquires in the described registration reply message.
10. method as claimed in claim 9 is characterized in that, described sip user agent equipment mark information is specially:
The mac address information of described sip user agent equipment or IP address information.
11. method as claimed in claim 8 is characterized in that, when described sip user agent equipment comprised a plurality of port, described method was specially:
Described registrar receives the login request message that sip user agent equipment sends, and carries the information of described sip user agent equipment mark information and port in the described login request message;
Described registrar is inquired about the pairing number information of port on the described sip user agent equipment from it according to the information of described sip user agent equipment mark information and port in Pei Zhi the number information;
Described registrar sends registration reply message to described sip user agent equipment, carries the pairing number information of described port that inquires in the described registration reply message.
12. a registrar is characterized in that, specifically comprises:
Receiver module is used to receive the login request message that sip user agent equipment sends, and carries described sip user agent equipment mark information in the described login request message;
Enquiry module is used for the described sip user agent equipment mark information included according to the received login request message of described receiver module, the pairing number information of the described sip user agent equipment of inquiry from the number information of configuration;
Sending module is used for sending registration reply message to described sip user agent equipment, carries the pairing number information of described sip user agent equipment that described enquiry module inquires in the described registration reply message.
13. registrar as claimed in claim 12 is characterized in that, when described sip user agent equipment comprises a plurality of port,
Described receiver module specifically is used to receive the login request message that described sip user agent equipment sends, and carries the information of described sip user agent equipment mark information and port in the described login request message;
Described enquiry module, specifically be used for according to the included described sip user agent equipment mark information of the received login request message of described receiver module and the information of port the pairing number information of port from the number information of configuration on the described sip user agent equipment of inquiry;
Described sending module specifically is used for sending registration reply message to described sip user agent equipment, carries the pairing number information of described port that described enquiry module inquires in the described registration reply message.
CN2010102610899A 2010-08-24 2010-08-24 Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network Pending CN101917526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102610899A CN101917526A (en) 2010-08-24 2010-08-24 Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102610899A CN101917526A (en) 2010-08-24 2010-08-24 Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network

Publications (1)

Publication Number Publication Date
CN101917526A true CN101917526A (en) 2010-12-15

Family

ID=43324904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102610899A Pending CN101917526A (en) 2010-08-24 2010-08-24 Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network

Country Status (1)

Country Link
CN (1) CN101917526A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065091A (en) * 2010-12-30 2011-05-18 中兴通讯股份有限公司 System, device and method for configuring VAS (Value Added Service) in SIP (Session Initiation Protocol) registering process
CN102833435A (en) * 2012-08-27 2012-12-19 北京理想固网科技股份有限公司 IP PBX (Internet Protocol-Private Branch Exchange) cross-network registration management method based on logic communication group
WO2014190687A1 (en) * 2013-05-31 2014-12-04 华为技术有限公司 Method, device and system for allocating phone number
CN104363361A (en) * 2014-11-24 2015-02-18 中国联合网络通信集团有限公司 Method and device for activating terminal
CN110995949A (en) * 2019-12-17 2020-04-10 紫光云(南京)数字技术有限公司 Method, device and computer storage medium for dynamically acquiring telephone number based on SIP protocol
CN113810350A (en) * 2020-06-17 2021-12-17 中兴通讯股份有限公司 Gateway management method, gateway and storage medium
CN114301881A (en) * 2021-12-10 2022-04-08 迈普通信技术股份有限公司 Registration method, registration device, electronic equipment and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543167A (en) * 2002-12-02 2004-11-03 ���ǵ�����ʽ���� Terminal Registration Method Using Session Initiation Protocol
CN1728752A (en) * 2004-07-29 2006-02-01 厦门一视通科技有限公司 Method for implementing phone dialing as if a fixed phone set based on PC computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543167A (en) * 2002-12-02 2004-11-03 ���ǵ�����ʽ���� Terminal Registration Method Using Session Initiation Protocol
CN1728752A (en) * 2004-07-29 2006-02-01 厦门一视通科技有限公司 Method for implementing phone dialing as if a fixed phone set based on PC computer

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065091B (en) * 2010-12-30 2015-10-21 中兴通讯股份有限公司 The system of VAS business, apparatus and method are configured in SIP registration process
CN102065091A (en) * 2010-12-30 2011-05-18 中兴通讯股份有限公司 System, device and method for configuring VAS (Value Added Service) in SIP (Session Initiation Protocol) registering process
CN102833435A (en) * 2012-08-27 2012-12-19 北京理想固网科技股份有限公司 IP PBX (Internet Protocol-Private Branch Exchange) cross-network registration management method based on logic communication group
CN102833435B (en) * 2012-08-27 2014-04-02 北京理想固网科技股份有限公司 IP PBX (Internet Protocol-Private Branch Exchange) cross-network registration management method based on logic communication group
WO2014190687A1 (en) * 2013-05-31 2014-12-04 华为技术有限公司 Method, device and system for allocating phone number
CN104219401A (en) * 2013-05-31 2014-12-17 华为技术有限公司 A phone number distributing method, device and system
US9843686B2 (en) 2013-05-31 2017-12-12 Huawei Technologies Co., Ltd. Method, apparatus, and system for allocating phone number
US10425537B2 (en) 2013-05-31 2019-09-24 Huawei Technologies Co., Ltd. Method, apparatus, and system for allocating phone number
CN104363361A (en) * 2014-11-24 2015-02-18 中国联合网络通信集团有限公司 Method and device for activating terminal
CN110995949A (en) * 2019-12-17 2020-04-10 紫光云(南京)数字技术有限公司 Method, device and computer storage medium for dynamically acquiring telephone number based on SIP protocol
CN110995949B (en) * 2019-12-17 2021-10-15 紫光云(南京)数字技术有限公司 Method, system and computer readable storage medium for dynamically acquiring telephone number based on SIP protocol
CN113810350A (en) * 2020-06-17 2021-12-17 中兴通讯股份有限公司 Gateway management method, gateway and storage medium
CN113810350B (en) * 2020-06-17 2024-11-12 中兴通讯股份有限公司 Gateway management method, gateway and storage medium
CN114301881A (en) * 2021-12-10 2022-04-08 迈普通信技术股份有限公司 Registration method, registration device, electronic equipment and computer-readable storage medium
CN114301881B (en) * 2021-12-10 2023-09-15 迈普通信技术股份有限公司 Registration method, registration device, electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US10470103B2 (en) System and method for authentication of a communication device
CN102025718B (en) SIP endpoint enhancer
US7599347B2 (en) System and method for allocating session initiation protocol (SIP) identifications (IDs) to user agents
CN101917526A (en) Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network
US20120036273A1 (en) Load balancing session initiation protocol (sip) servers
JP2006033105A (en) Media communication apparatus and media communication program
US20070206585A1 (en) IP-PBX system and method for linking VoIP terminal therewith
CN108712516A (en) Obtain method, apparatus, equipment and the storage medium of sip server address
JP2010502062A (en) Method for registration of multiple &#34;permanently registered users&#34; within the IMS subsystem of the NGN system
CN101815079A (en) Method and system for releasing service information by server cluster based on SIP (Session Initiation Protocol)
CN102740466A (en) Method for carrying out operation on resource in Internet of things and apparatus thereof
CN100512495C (en) Method and system for realizing called service
CN102342076A (en) Capability Query Handling in a Communication Network
US10666559B2 (en) Signalling protocol routing system
EP1849270A1 (en) Interworking
CN103618747A (en) Method and system for realizing session initiation protocol (SIP) information service
US8009585B2 (en) Method and system for topology discovery in an SIP network
CN105306758A (en) Method for transmitting enterprise network identifier when call is established, IBCF and IMS
CN101686174B (en) Method and system for realizing service flow based on MPLSs
CN118368273A (en) Network connection control method, equipment and storage medium of IPPBX
JP4926250B2 (en) Method, system, and network entity for obtaining session description protocol capability information
US20070058611A1 (en) Method and system to proxy mobile and network originated call sessions
US10469539B2 (en) Implementing application level multimedia services as a switching function
CN111245967B (en) DNS query method, DNS server and domain name resolution system
CN101789932A (en) Game service processing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101215