CN102546644B - Method, equipment and system for implementing SIP (Session Initiation Protocol) calling - Google Patents

Method, equipment and system for implementing SIP (Session Initiation Protocol) calling Download PDF

Info

Publication number
CN102546644B
CN102546644B CN201210013827.7A CN201210013827A CN102546644B CN 102546644 B CN102546644 B CN 102546644B CN 201210013827 A CN201210013827 A CN 201210013827A CN 102546644 B CN102546644 B CN 102546644B
Authority
CN
China
Prior art keywords
media
address information
message
calling party
party device
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
CN201210013827.7A
Other languages
Chinese (zh)
Other versions
CN102546644A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210013827.7A priority Critical patent/CN102546644B/en
Publication of CN102546644A publication Critical patent/CN102546644A/en
Application granted granted Critical
Publication of CN102546644B publication Critical patent/CN102546644B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method, equipment and a system for implementing SIP (Session Initiation Protocol) calling, so as to solve the problem that in the prior art, in the SIP calling process, NAT (Network Address Translator) equipment can only convert signaling IP (Internet Protocol) address information in a message header of an SIP message and cannot convert media IP address information in the message header of the SIP message, so that before a media message of calling party equipment does not arrive at an SBC (Single Board Computer), a media message of called party equipment cannot be sent to the calling party equipment by the SBC. Due to the adoption of the technical scheme provided by the embodiment of the invention, the SIP calling can be successfully completed, so that the reliability of the SIP calling can be effectively improved.

Description

Realize the method, apparatus and system of SIP calling
Technical field
The present invention relates to the communication technology, particularly relate to the method, apparatus and system realizing conversation initialized protocol (Session InitiationProtocol is called for short SIP) and call out.
Background technology
At Internet protocol (Internet Protocol, be called for short IP) IP multimedia subsystem, IMS (IP MultimediaSubsystem, be called for short IMS) in network, by disposing Session Border Controller (Session Border Controller on IMS network border, be called for short SBC) can topology hiding be completed, namely Access Network side is hidden to the address information of core-network side, core-network side is hidden to the address information of Access Network side.In order to solve the deficiency of legitimate ip address, terminal can pass through network address translation (Network AddressTranslation, be called for short NAT) equipment access IMS network, by NAT device, one of terminal group of IP location information is transformed into another group IP address information, such as: the legitimate ip address and the public network port number that the private IP address of one group of LAN and private network port numbers are transformed into internet.
But, in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and the media IP address information cannot changed in the message body of SIP message, make before the media message of calling party device does not arrive SBC, the media message of called party instrument then can not send to calling party device by SBC, cannot complete SIP calling, thus result in the reduction of the reliability of SIP calling.
Summary of the invention
The invention provides the method and apparatus, the system that realize SIP calling, in order to improve the reliability of SIP calling.
Provide a kind of method realizing SIP calling on the one hand, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise:
Described calling party device sends SIP to described NAT device and invites message, sends to SBC after inviting the conversion of the signaling address information of the heading of message to make described NAT device to described SIP; Described SIP invites message to comprise the first media address information of described calling party device;
Described SBC receives the described SIP invitation message that described NAT device sends, message is invited to carry out topology hiding to described SIP, message is invited to send to called party instrument the SIP carrying out topology hiding, the described SIP carrying out topology hiding invites the 3rd media address information comprising described calling party device in message, and the 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes;
Described SBC receives the SIP response message that called party instrument sends, and described SIP response message is carried out to topology hiding and adds indication information, sends the SIP response message comprising the topology hiding of described indication information to described NAT device; The SIP response message of described topology hiding comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes; Described indication information sends the first media message in order to indicate described calling party device according to described indication information, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, and destination address is the first media address information of called party instrument;
Described SBC invites message and described SIP response message according to described SIP, obtains the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument;
Described SBC receives the second media message, described second media message is that described first media message is converted to through described NAT device, comprise the second media address information of described calling party device and the first media address information of described called party instrument in described second media message, the second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition;
The second media address information of described SBC according to described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of acquired described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device;
Described SBC receives the 3rd media message that called party instrument sends, and comprises the 3rd media address information of described calling party device in described 3rd media message;
Described SBC is according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, and send fourth media message to described NAT device, the second media address information of described calling party device is comprised in described fourth media message, the 5th media message is sent to described calling party device to make described NAT device, the first media address information of described calling party device is comprised in described 5th media message.
Provide a kind of method realizing SIP calling on the other hand, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise:
Described calling party device receives the SIP response message comprising indication information that described NAT device sends; To be described NAT device obtain after the signaling address information conversion of the heading of the 2nd SIP response message received from described SBC a described SIP response message, and described 2nd SIP response message is that described SBC carries out topology hiding to the SIP response message received from called party instrument and obtains after adding described indication information; A described SIP response message comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Described calling party device is according to described indication information, send the first media message, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of called party instrument, the second media message is received to make described SBC, and according to the second media address information of described calling party device and the first media address information of described called party instrument, and according to the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, described second media message is that described first media message is converted to through described NAT device, the second media address information of described calling party device and the first media address information of described called party instrument is comprised in described second media message, second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition, 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes,
Described calling party device receives the 5th media message, the first media address information of described calling party device is comprised in described 5th media message, send after described 5th media message receives fourth media message by described NAT device, the second media address information of described calling party device is comprised in described fourth media message, after described fourth media message receives the 3rd media message of called party instrument transmission by described SBC, according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, send to described NAT device after obtaining the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, the 3rd media address information of described calling party device is comprised in described 3rd media message.
Provide a kind of SBC on the other hand, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise:
First receiving element, invites message for receiving described NAT device by the SIP obtained after the signaling address information conversion of the heading of the SIP received from described calling party device invitation message; Described SIP invites message to comprise the first media address information of described calling party device;
Message is invited to carry out topology hiding to described SIP, message is invited to send to called party instrument the SIP carrying out topology hiding, the described SIP carrying out topology hiding invites the 3rd media address information comprising described calling party device in message, and the 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes;
First transmitting element, for receiving the SIP response message that called party instrument sends, carrying out topology hiding to described SIP response message and adding indication information, sending the SIP response message comprising the topology hiding of described indication information to described NAT device; The SIP response message of described topology hiding comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes; Described indication information sends the first media message in order to indicate described calling party device according to described indication information, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of described called party instrument, and the first media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Second receiving element, for receiving the second media message, described second media message is that described first media message is converted to through described NAT device, comprise the second media address information of described calling party device and the first media address information of described called party instrument in described second media message, the second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition;
Obtain unit, for according to the second media address information of described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of acquired described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, wherein, the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument is that described SBC invites message and described SIP response message to obtain according to described SIP,
3rd receiving element, for receiving the 3rd media message that called party instrument sends, comprises the 3rd media address information of described calling party device in described 3rd media message;
Second transmitting element, for the corresponding relation according to the second media address information of described calling party device and the 3rd media address information of described calling party device, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, and send fourth media message to described NAT device, the second media address information of described calling party device is comprised in described fourth media message, the 5th media message is sent to described calling party device to make described NAT device, the first media address information of described calling party device is comprised in described 5th media message.
Provide a kind of calling party device on the other hand, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise:
First receiving element, for receiving the SIP response message comprising indication information that described NAT device sends; To be described NAT device obtain after the signaling address information conversion of the heading of the 2nd SIP response message received from described SBC a described SIP response message, and described 2nd SIP response message is that described SBC carries out topology hiding to the SIP response message received from called party instrument and obtains after adding described indication information; A described SIP response message comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Transmitting element, for according to described indication information, send the first media message, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of called party instrument, the second media message is received to make described SBC, and according to the second media address information of described calling party device and the first media address information of described called party instrument, and according to the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, described second media message is that described first media message is converted to through described NAT device, the second media address information of described calling party device and the first media address information of described called party instrument is comprised in described second media message, second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition, 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes,
Second receiving element, for receiving the 5th media message, the first media address information of described calling party device is comprised in described 5th media message, send after described 5th media message receives fourth media message by described NAT device, the second media address information of described calling party device is comprised in described fourth media message, after described fourth media message receives the 3rd media message of called party instrument transmission by described SBC, according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, send to described NAT device after obtaining the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, the 3rd media address information of described calling party device is comprised in described 3rd media message.
Provide a kind of system realizing SIP calling on the one hand, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise NAT device, Session Border Controller SBC as above and calling party device as above
As shown from the above technical solution, the embodiment of the present invention can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet realizing the method for SIP calling that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet realizing the method for SIP calling that Fig. 2 provides for another embodiment of the present invention;
The schematic flow sheet realizing the method for SIP calling that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the SBC that Fig. 4 provides for another embodiment of the present invention;
The structural representation of the calling party device that Fig. 5 provides for another embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet realizing the method for SIP calling that Fig. 1 provides for one embodiment of the invention, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, as shown in Figure 1, described method can comprise:
101, in SIP call establishment, SBC sends indication information to above-mentioned calling party device, above-mentioned indication information sends the first media message in order to indicate above-mentioned calling party device according to above-mentioned indication information, comprise the first media address information of above-mentioned calling party device and the first media address information of called party instrument in above-mentioned first media message, the first media address information of above-mentioned called party instrument is above-mentioned SBC is the media address information that above-mentioned called party instrument distributes.
Wherein, above-mentioned indication information may be used for indicating above-mentioned calling party device to send described first media message.
In an application scenarios of the embodiment of the present invention, above-mentioned SBC can send a SIP response message to above-mentioned calling party device, comprises above-mentioned indication information in an above-mentioned SIP ring message.Wherein, the 2nd SIP ring message that an above-mentioned SIP ring message is sent according to the above-mentioned called party instrument received by above-mentioned SBC sends.Wherein, above-mentioned first response message or the second response message can include but not limited to ring (Ring) message (180 message), 183 messages or 200OK message.Such as: calling party device sends sip invite message by NAT device and SBC to called party instrument; After callee receives sip invite message, send 180 messages to SBC; SBC adds above-mentioned indication information in 180 messages, and 180 messages that with the addition of above-mentioned indication information are sent to calling party device.
In an application scenarios of the embodiment of the present invention, the port that above-mentioned indication information can also be further used for indicating above-mentioned calling party device to send media message is the media receiver port of above-mentioned calling party device; Correspondingly, calling party device then can according to above-mentioned indication information, and at the media receiver port of calling party device, send the first media message, thus can effectively avoid due to the media receiver port of sending side terminal and media transmit port is inconsistent and the media message of called party instrument that is that cause can not send to the problem of calling party device by SBC, thus further increase the reliability of SIP calling.
In an application scenarios of the embodiment of the present invention, above-mentioned indication information specifically may be used for indicating above-mentioned calling party device to send quiet media message, correspondingly, above-mentioned first media message and above-mentioned second media message are quiet media message, lessly can take network transmission resource, avoid the waste of network transmission resource.
102, above-mentioned SBC receives the second media message, above-mentioned second media message is that above-mentioned first media message is converted to through above-mentioned NAT device, comprise the second media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument in above-mentioned second media message, the second media address information of above-mentioned calling party device is that the first media address information of above-mentioned NAT device to above-mentioned calling party device carries out conversion acquisition.
103, the second media address information of above-mentioned SBC according to above-mentioned calling party device and the first media address information of above-mentioned called party instrument, and the corresponding relation of the 3rd media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, the 3rd media address information of above-mentioned calling party device is above-mentioned SBC is the media address information that above-mentioned calling party device distributes.
In an application scenarios of the embodiment of the present invention, after above-mentioned SBC receives above-mentioned second media message, can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in above-mentioned second media message and above-mentioned called party instrument, and and then according to SBC receive calling party device send sip invite message and called party instrument send SIP response message after, the 3rd media address information of above-mentioned calling party device obtained and the corresponding relation of the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device.
104, above-mentioned SBC receives the 3rd media message that called party instrument sends, and comprises the 3rd media address information of above-mentioned calling party device in above-mentioned 3rd media message.
105, above-mentioned SBC is according to above-mentioned corresponding relation, obtain the second media address information of the above-mentioned calling party device corresponding with the 3rd media address information of above-mentioned calling party device, and send fourth media message to above-mentioned NAT device, the second media address information of above-mentioned calling party device is comprised in above-mentioned fourth media message, to make above-mentioned NAT device send the 5th media message to above-mentioned calling party device, in above-mentioned 5th media message, comprise the first media address information of above-mentioned calling party device.
In the present embodiment, in SIP call establishment, indication information is sent to calling party device by SBC, this indication information sends the first media message in order to indicate above-mentioned calling party device according to above-mentioned indication information, make above-mentioned SBC can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in the second media message received and above-mentioned called party instrument, and and then according to the corresponding relation of the 3rd media address information of the above-mentioned calling party device obtained before SBC and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, and according to this corresponding relation, the 3rd media message that called party instrument sends is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
The schematic flow sheet realizing the method for SIP calling that Fig. 2 provides for another embodiment of the present invention, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, as shown in Figure 2, described method can comprise:
201, in SIP call establishment, above-mentioned calling party device receives the indication information that SBC sends.
Wherein, above-mentioned indication information may be used for indicating above-mentioned calling party device to send the first media message.
In an application scenarios of the embodiment of the present invention, above-mentioned calling party device can receive the SIP response message that above-mentioned SBC sends, and comprises above-mentioned indication information in an above-mentioned SIP ring message.Wherein, the 2nd SIP ring message that an above-mentioned SIP ring message is sent according to the above-mentioned called party instrument received by above-mentioned SBC sends.Wherein, above-mentioned first response message or the second response message can include but not limited to ring (Ring) message (180 message), 183 messages or 200OK message.Such as: calling party device sends sip invite message by NAT device and SBC to called party instrument; After callee receives sip invite message, send 180 messages to SBC; SBC adds above-mentioned indication information in 180 messages, and 180 messages that with the addition of above-mentioned indication information are sent to calling party device.
202, above-mentioned calling party device is according to above-mentioned indication information, send the first media message, the first media address information of above-mentioned calling party device and the first media address information of called party instrument is comprised in above-mentioned first media message, first media address information of above-mentioned called party instrument is above-mentioned SBC is the media address information that above-mentioned called party instrument distributes, the second media message is received to make above-mentioned SBC, and according to the second media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument, and the corresponding relation of the 3rd media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, above-mentioned second media message is that above-mentioned first media message is converted to through above-mentioned NAT device, the second media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument is comprised in above-mentioned second media message, second media address information of above-mentioned calling party device is that the first media address information of above-mentioned NAT device to above-mentioned calling party device carries out conversion acquisition, 3rd media address information of above-mentioned calling party device is above-mentioned SBC is the media address information that above-mentioned calling party device distributes.
In an application scenarios of the embodiment of the present invention, above-mentioned indication information specifically may be used for indicating above-mentioned calling party device to send quiet media message, correspondingly, above-mentioned first media message and above-mentioned second media message are quiet media message, lessly can take network transmission resource, avoid the waste of network transmission resource.
In an application scenarios of the embodiment of the present invention, the port that above-mentioned indication information can also be further used for indicating above-mentioned calling party device to send media message is the media receiver port of above-mentioned calling party device; Correspondingly, calling party device then can according to above-mentioned indication information, and at the media receiver port of calling party device, send the first media message, thus can effectively avoid due to the media receiver port of sending side terminal and media transmit port is inconsistent and the media message of called party instrument that is that cause can not send to the problem of calling party device by SBC, thus further increase the reliability of SIP calling.
In another embodiment of the invention, after above-mentioned SBC receives above-mentioned second media message, can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in above-mentioned second media message and above-mentioned called party instrument, and and then according to SBC receive calling party device send sip invite message and called party instrument send SIP response message after, the 3rd media address information of above-mentioned calling party device obtained and the corresponding relation of the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device.
203, above-mentioned calling party device receives the 5th media message, the first media address information of above-mentioned calling party device is comprised in above-mentioned 5th media message, send after above-mentioned 5th media message receives fourth media message by above-mentioned NAT device, the second media address information of above-mentioned calling party device is comprised in above-mentioned fourth media message, after above-mentioned fourth media message receives the 3rd media message of called party instrument transmission by above-mentioned SBC, according to above-mentioned corresponding relation, obtain the second media address information of the above-mentioned calling party device corresponding with the 3rd media address information of above-mentioned calling party device, and send, the 3rd media address information of above-mentioned calling party device is comprised in above-mentioned 3rd media message.
In the present embodiment, in SIP call establishment, the indication information that calling party device sends by receiving SBC, make above-mentioned calling party device can send the first media message according to above-mentioned indication information, make above-mentioned SBC can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in the second media message received and above-mentioned called party instrument, and and then according to the corresponding relation of the 3rd media address information of the above-mentioned calling party device obtained before SBC and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, and according to this corresponding relation, the 3rd media message that called party instrument sends is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the message body of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
It should be noted that: the NAT device that the embodiment of the present invention relates to is exactly the network equipment with network address translation function, and can include but not limited to router, fire compartment wall, switch or server, the embodiment of the present invention does not limit this.
In an application scenarios of the embodiment of the present invention, above-mentioned calling party device can receive SIP ring (Ring) message of above-mentioned SBC transmission by above-mentioned NAT device, comprise above-mentioned indication information in an above-mentioned SIP response message, the 2nd SIP response message that an above-mentioned SIP response message is sent according to the above-mentioned called party instrument received by above-mentioned SBC sends.Wherein, above-mentioned first response message or the second response message can include but not limited to ring (Ring) message (180 message), 183 messages or 200OK message.Such as: calling party device sends sip invite message by NAT device and SBC to called party instrument; After callee receives sip invite message, send 180 messages to SBC; SBC adds above-mentioned indication information in 180 messages, and 180 messages that with the addition of above-mentioned indication information are sent to calling party device by NAT device.
After NAT device receives above-mentioned first media message, above-mentioned NAT device can be changed the first media address information of the above-mentioned calling party device comprised in above-mentioned first media message, obtain the second media address of above-mentioned calling party device, and send the second media message to SBC, comprise the second media address information of above-mentioned calling party device and the first media address information of above-mentioned called party instrument in this second media message.
After above-mentioned SBC receives above-mentioned second media message, may learn the second media address information of the above-mentioned calling party device comprised in this second media message and the first media address information of above-mentioned called party instrument, and obtain SBC after the SIP response message that the sip invite message and called party instrument that receive calling party device transmission send, the 3rd media address information of above-mentioned calling party device obtained and the corresponding relation of the first media address information of above-mentioned called party instrument, and and then according to above-mentioned information, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device.
So far, SBC can according to the second media address information of above-mentioned calling party device obtained and the corresponding relation of the 3rd media address information of above-mentioned calling party device, the 3rd media message that called party instrument sends is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
Be understandable that: the first media message related in the invention described above embodiment, the second media message, the 3rd media message, fourth media message and the 5th media message can include but not limited to real time transport protocol (Real-time Transport Protocol is called for short RTP) message.
It should be noted that: the topology hiding that the SBC that the embodiment of the present invention relates to carries out must not carry out, that is, SBC can not carry out topology hiding to the message that transmit leg equipment and receiver equipment send, namely the second media address information of calling party device is identical with the 3rd media address information of calling party device, and the first media address information of called party instrument is identical with the second media address information of called party instrument, the embodiment of the present invention does not limit this.
For example, as shown in Figure 3, be the schematic flow sheet of method realizing SIP calling that another embodiment of the present invention provides.Wherein, the message body of SIP message is described by Session Description Protocol (SessionDescription Protocol is called for short SDP) agreement.As shown in Figure 3, the method realizing SIP calling of the present embodiment can comprise:
301, calling party device sends SIP to NAT device and invites (Invite) message;
Such as: calling party device sends SIP to NAT device and invites message, this SIP invites in the message body of message and comprises the media IP address 192.168.1.2 of calling party device and the media receiver port numbers 3008 of calling party device.
302, NAT device conversion SIP invites the signaling address information in the heading of message, and does not change SIP and invite the NAT device media address information of distributing into calling party device in the message body of message, and the SIP invitation message after conversion is sent to SBC;
Such as: NAT device does not change the media address information that SIP invites the NAT device in the message body of message to distribute into calling party device, so NAT device is invited in the message body of message to the SIP that SBC sends still comprise the media IP address 192.168.1.2 of calling party device and the media receiver port numbers 3008 of calling party device.
303, SBC invites message to carry out topology hiding to above-mentioned SIP, and invites message to send to called party instrument the SIP carrying out topology hiding;
Such as: after SBC receives the SIP invitation message from SBC, can conventionally in topology hiding scheme, conversion receiver to SIP invite message route (VIA) header field in NAT device be calling party device conversion signaling address information, and conversion SIP invites the media address information of the calling party device in the SDP body of message, to carry out topology hiding, and message is invited to send to called party instrument the SIP carrying out topology hiding.Such as: the SIP that SBC sends to called party instrument invites in the message body of message and comprises SBC to carry out topology hiding be that to carry out topology hiding be the media port that distributes of calling party device numbers 5007 for media IP address 20.1.3.8 and SBC that calling party device distributes.
Be understandable that: in order to simple flow, in the flow process that the present embodiment relates to, eliminate the mutual of the network element SIP message between called party instrument and SBC, detailed process can see associated description of the prior art.
304, called party instrument sends SIP response message to SBC;
305, SBC carries out topology hiding to above-mentioned SIP response message, and interpolation is used to indicate calling party device sends quiet media message indication information at the media receiver port of above-mentioned calling party device in the SIP response message carrying out topology hiding, and the SIP response message comprising indication information is sent to NAT device;
Such as: after SBC receives the SIP response message from called party instrument, can conventionally in topology hiding scheme, the signaling address information of the called party instrument in route (VIA) header field of the SIP response message that conversion receiver arrives, and change the media address information of the called party instrument in the SDP body of SIP response message, to carry out topology hiding, and add above-mentioned indication information in the SIP response message carrying out topology hiding, and the SIP response message carrying out topology hiding is sent to NAT device.Such as: comprising SBC in the message body of the SIP response message that SBC sends to NAT device, to carry out topology hiding be that to carry out topology hiding be the media port numbers 7003 that called party instrument distributes for media IP address 20.1.3.8 and SBC that called party instrument distributes, also comprises above-mentioned indication information a=natpacket in this SIP response message.
Be understandable that: SBC can also further according to the SIP response message that sip invite message and the called party instrument of calling party device transmission send, obtaining SBC is the media address information that calling party device distributes, i.e. media IP address 20.1.3.8 and media port numbers 5007, be the media address information that called party instrument distributes with SBC, i.e. media IP address 20.1.3.8 and media port numbers 7003, corresponding relation.
306, NAT device changes the signaling address information in the heading of SIP response message, and do not change the media address information that the NAT device in the message body of SIP response message distributes into calling party device, and the SIP response message after conversion is sent to calling party device;
Be understandable that: in 306, above-mentioned NAT device does not change any address information of terminal called.
Such as: NAT device does not change the media address information of the calling party device in the message body of SIP response message, so still comprise the media IP address 192.168.1.2 of calling party device and the media receiver port numbers 3008 of calling party device in the message body of SIP response message that sends to calling party device of NAT device.
307, calling party device is according to above-mentioned indication information, sends the quiet message of RTP at the media receiver port of calling party device to NAT device;
Such as: after calling party device receives above-mentioned SIP response message, according to above-mentioned indication information, the quiet message of RTP is sent to NAT device immediately at the media receiver port of calling party device, source address in the quiet message of this RTP is the media address information of calling party device, i.e. media IP address 192.168.1.2 and media receiver port numbers 3008, destination address is SBC is the media address information that called party instrument distributes, i.e. media IP address 20.1.3.8 and media receiver port numbers 7003.
308, NAT device changes the media address information of the calling party device in the heading of the quiet message of RTP, and the quiet message of RTP after conversion is sent to SBC;
Such as: the media address information of to be NAT device the be calling party device conversion of the source address in the quiet message of RTP that NAT device sends to SBC, i.e. media IP address 20.1.3.8 and media receiver port numbers 8028, destination address is SBC is the media address information that called party instrument distributes, i.e. media IP address 20.1.3.8 and media receiver port numbers 7003.
309, SBC is according to the source address in the quiet message of RTP, namely NAT device is the media address information of calling party device conversion, and destination address, namely SBC is the media address information that called party instrument distributes, and the corresponding relation of the SBC obtained before to be media address information and SBC that calling party device distributes the be media address information that called party instrument distributes, acquisition NAT device is the corresponding relation of the media address information that the media address information changed of calling party device and SBC distribute into calling party device;
Particularly, after above-mentioned SBC receives the quiet message of RTP, may learn the NAT device comprised in the quiet message of this RTP is the media address information that the media address information changed of calling party device and SBC distribute into called party instrument, and obtain SBC after the SIP response message that the sip invite message and called party instrument that receive calling party device transmission send, the SBC obtained is the calling party device media address information of distributing and SBC is the corresponding relation of the media address information that called party instrument distributes, and then according to above-mentioned information, obtain the corresponding relation that NAT device is the media address information that the media address information changed of calling party device and SBC distribute into calling party device.
Such as: SBC is the media address information of calling party device conversion according to NAT device, i.e. media IP address 20.1.3.8 and media receiver port numbers 8028, with the media address information that SBC is called party instrument distribution, i.e. media IP address 20.1.3.8 and media receiver port numbers 7003, and the SBC obtained is the media address information that calling party device distributes, i.e. media IP address 20.1.3.8 and media port numbers 5007, be the media address information that called party instrument distributes with SBC, i.e. media IP address 20.1.3.8 and media port numbers 7003, corresponding relation, obtain the corresponding relation that NAT device is the media address information that the media address information changed of calling party device and SBC distribute into calling party device, the i.e. corresponding relation of 20.1.3.8:8028 and 20.1.3.8:5007.
310, SBC receives the RTP message that called party instrument sends, such as CRBT;
Such as: the media address information (media IP address 20.1.5.9 and media receiver port numbers 9000) that is called party instrument of the source address (SRC) in the RTP message that SBC receives, destination address (DST) for SBC be the media address information (media IP address 20.1.3.8 and media receiver port numbers 5007) that calling party device distributes.
311, SBC is according to the corresponding relation obtained, obtain and the destination address in RTP message, namely SBC is the media address information that calling party device distributes, corresponding NAT device is the media address information of calling party device conversion, and utilize the media address information that the NAT device obtained is changed for calling party device, send RTP message to NAT device;
Be understandable that: SBC can also carry out topology hiding to above-mentioned RTP message further.After SBC receives the RTP message from called party instrument, can conventionally in topology hiding scheme, conversion receiver to RTP message in the media address information of called party instrument, to carry out topology hiding.Such as: the source address in the RTP message that SBC sends to NAT device is that to carry out topology hiding be the media address information that called party instrument distributes to SBC, i.e. media IP address 20.1.3.8 and media receiver port numbers 7003, destination address is that SBC obtains according to the corresponding relation obtained, i.e. media IP address 20.1.3.8 and media receiver port numbers 8028.
312, the media address information in NAT device conversion RTP message, and the RTP message after conversion is sent to calling party device.
Be understandable that: in 312, above-mentioned NAT device does not change any address information of terminal called.
Such as: NAT device does not change the source address in RTP message, so source address in the RTP message that sends to calling party device of NAT device is still the media address information that called party instrument distributes for SBC carries out topology hiding, i.e. media IP address 20.1.3.8 and media receiver port numbers 7003, destination address is the media IP address 192.168.1.2 of calling party device and the media receiver port numbers 3008 of calling party device.
So far, calling party device receives the RTP message that called party instrument sends, and namely follow-up wait called party instrument off-hook can carry out SIP calling, thus can be successfully completed SIP calling.
In the present embodiment, in SIP call establishment, SBC to be sent to calling party device by NAT device and is used to indicate calling party device to send quiet media message indication information at the media receiver port of above-mentioned calling party device, and then the quiet message of RTP of calling party device transmission is received by NAT device, the quiet message of described RTP comprises the media address information that NAT device is calling party device conversion after NAT device, and obtain according to the quiet message of this RTP the corresponding relation that NAT device is the media address information that the media address information changed of calling party device and SBC distribute into calling party device, make SBC according to the corresponding relation obtained, the RTP message of called party instrument is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.Due to indication information calling party device can be indicated to send media receiver port that the port of media message is calling party device, so can effectively avoid due to the media receiver port of sending side terminal and media transmit port is inconsistent and the media message of called party instrument that is that cause can not send to the problem of calling party device by SBC, thus further increase the reliability of SIP calling.
It should be noted that: for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
The structural representation of the SBC that Fig. 4 provides for another embodiment of the present invention, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, as shown in Figure 4, the SBC of the present embodiment can comprise the first transmitting element 41, first receiving element 42, obtain unit 43, second receiving element 44 and the second transmitting element 45.Wherein, first transmitting element 41 is in SIP call establishment, indication information is sent to described calling party device, described indication information sends the first media message in order to indicate described calling party device according to described indication information, comprise the first media address information of described calling party device and the first media address information of called party instrument in described first media message, the first media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes; First receiving element 42 is for receiving the second media message, described second media message is that described first media message is converted to through described NAT device, comprise the second media address information of described calling party device and the first media address information of described called party instrument in described second media message, the second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition; Obtain unit 43 for according to the second media address information of described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, the 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes; The 3rd media message that second receiving element 44 sends for receiving called party instrument, comprises the 3rd media address information of described calling party device in described 3rd media message; Second transmitting element 45 is for according to described corresponding relation, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of described calling party device, and send fourth media message to described NAT device, the second media address information of described calling party device is comprised in described fourth media message, to make described NAT device send the 5th media message to described calling party device, in described 5th media message, comprise the first media address information of described calling party device.
Wherein, above-mentioned indication information may be used for indicating above-mentioned calling party device to send described first media message.
In an application scenarios of the embodiment of the present invention, the first transmitting element 41 specifically can send a SIP response message to above-mentioned calling party device, comprises above-mentioned indication information in an above-mentioned SIP response message.
In an application scenarios of the embodiment of the present invention, above-mentioned indication information specifically may be used for indicating above-mentioned calling party device to send quiet media message, correspondingly, above-mentioned first media message and above-mentioned second media message are quiet media message, lessly can take network transmission resource, avoid the waste of network transmission resource.
In the Another application scene of the embodiment of the present invention, the port that above-mentioned indication information can also be further used for indicating above-mentioned calling party device to send media message is the media receiver port of above-mentioned calling party device; Correspondingly, calling party device then can according to above-mentioned indication information, and at the media receiver port of calling party device, send the first media message, thus can effectively avoid due to the media receiver port of sending side terminal and media transmit port is inconsistent and the media message of called party instrument that is that cause can not send to the problem of calling party device by SBC, thus further increase the reliability of SIP calling.
In the present embodiment, in SIP call establishment, SBC sends indication information by the first transmitting element to calling party device, this indication information sends the first media message in order to indicate above-mentioned calling party device according to above-mentioned indication information, the the second media address information of above-mentioned calling party device comprised in the second media message that acquisition unit can be received according to the first receiving element and the first media address information of above-mentioned called party instrument, and and then according to the corresponding relation of the 3rd media address information of the above-mentioned calling party device obtained before SBC and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, and by the second transmitting element according to the corresponding relation obtaining unit acquisition, the 3rd media message that the called party instrument received by second receiving element sends sends to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
The structural representation of the calling party device that Fig. 5 provides for another embodiment of the present invention, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, as shown in Figure 5, the calling party device of the present embodiment can comprise the first receiving element 51, transmitting element 52 and the second receiving element 53.Wherein,
Described first receiving element 51, in SIP call establishment, receives the indication information that Session Border Controller SBC sends;
Described transmitting element 52 is for according to described indication information, send the first media message, the first media address information of described calling party device and the first media address information of called party instrument is comprised in described first media message, first media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes, the second media message is received to make described SBC, and according to the second media address information of described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, described second media message is that described first media message is converted to through described NAT device, the second media address information of described calling party device and the first media address information of described called party instrument is comprised in described second media message, second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition, 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes,
Described second receiving element 53 is for receiving the 5th media message, the first media address information of described calling party device is comprised in described 5th media message, send after described 5th media message receives fourth media message by described NAT device, the second media address information of described calling party device is comprised in described fourth media message, after described fourth media message receives the 3rd media message of called party instrument transmission by described SBC, according to described corresponding relation, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of described calling party device, and send, the 3rd media address information of described calling party device is comprised in described 3rd media message.
Wherein, above-mentioned indication information may be used for indicating above-mentioned calling party device to send the first media message.
In an application scenarios of the embodiment of the present invention, the first receiving element 51 specifically can receive the SIP response message that above-mentioned SBC sends, and comprises above-mentioned indication information in an above-mentioned SIP ring message.
In an application scenarios of the embodiment of the present invention, above-mentioned indication information specifically may be used for indicating above-mentioned calling party device to send quiet media message, correspondingly, above-mentioned first media message and above-mentioned second media message are quiet media message, lessly can take network transmission resource, avoid the waste of network transmission resource.
In the Another application scene of the embodiment of the present invention, the port that above-mentioned indication information can also be further used for indicating above-mentioned calling party device to send media message is the media receiver port of above-mentioned calling party device; Correspondingly, transmitting element 52 can according to above-mentioned indication information, and at the media receiver port of calling party device, send the first media message, thus can effectively avoid due to the media receiver port of sending side terminal and media transmit port is inconsistent and the media message of called party instrument that is that cause can not send to the problem of calling party device by SBC, thus further increase the reliability of SIP calling.
In the present embodiment, in SIP call establishment, calling party device receives the indication information of SBC transmission by the first receiving element, make transmitting element can send the first media message according to this indication information, make above-mentioned SBC can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in the second media message received and above-mentioned called party instrument, and and then according to the corresponding relation of the 3rd media address information of the above-mentioned calling party device obtained before SBC and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, and according to this corresponding relation, the 3rd media message that called party instrument sends is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
Another embodiment of the present invention additionally provides a kind of system realizing SIP calling, be applied to the scene that calling party device cross-over NAT equipment carries out SIP calling, comprise the calling party device in embodiment corresponding to SBC and Fig. 5 in embodiment corresponding to Fig. 4, achieve in SIP call establishment, indication information is sent to calling party device by SBC, this indication information sends the first media message in order to indicate above-mentioned calling party device according to above-mentioned indication information, make above-mentioned SBC can according to the first media address information of the second media address information of the above-mentioned calling party device comprised in the second media message received and above-mentioned called party instrument, and and then according to the corresponding relation of the 3rd media address information of the above-mentioned calling party device obtained before SBC and the first media address information of above-mentioned called party instrument, obtain the corresponding relation of the second media address information of above-mentioned calling party device and the 3rd media address information of above-mentioned calling party device, and according to this corresponding relation, the 3rd media message that called party instrument sends is sent to calling party device, can to solve in prior art in SIP calling procedure, because NAT device is merely able to the signaling IP address information in the heading of conversion SIP message, and before the media IP address information cannot changed in the heading of SIP message and the media message at calling party device caused do not arrive SBC, the media message of called party instrument then can not send to the problem of calling party device by SBC, adopt the technical scheme that the embodiment of the present invention provides, SIP calling can be successfully completed, thus effectively can improve the reliability of SIP calling.
Further, the system that the present embodiment provides, can further include described NAT device.
It should be noted that: the NAT device that the embodiment of the present invention relates to is exactly the network equipment with network address translation function, and can include but not limited to router, fire compartment wall, switch or server, the embodiment of the present invention does not limit this.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be changed the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these conversions or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (9)

1. realize a method for Session initiation protocol SIP calling, be applied to the scene that calling party device penetrating NAT equipment carries out SIP calling, it is characterized in that, comprising:
Described calling party device sends SIP to described NAT device and invites message, sends to Session Border Controller SBC after inviting the conversion of the signaling address information of the heading of message to make described NAT device to described SIP; Described SIP invites message to comprise the first media address information of described calling party device;
Described SBC receives the described SIP invitation message that described NAT device sends, message is invited to carry out topology hiding to described SIP, message is invited to send to called party instrument the SIP carrying out topology hiding, the described SIP carrying out topology hiding invites the 3rd media address information comprising described calling party device in message, and the 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes;
Described SBC receives the SIP response message that called party instrument sends, and described SIP response message is carried out to topology hiding and adds indication information, sends the SIP response message comprising the topology hiding of described indication information to described NAT device; The SIP response message of described topology hiding comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes; Described indication information sends the first media message in order to indicate described calling party device according to described indication information, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, and destination address is the first media address information of described called party instrument;
Described SBC invites message and described SIP response message according to described SIP, obtains the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument;
Described SBC receives the second media message, described second media message is that described first media message is converted to through described NAT device, comprise the second media address information of described calling party device and the first media address information of described called party instrument in described second media message, the second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition;
The second media address information of described SBC according to described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of acquired described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device;
Described SBC receives the 3rd media message that called party instrument sends, and comprises the 3rd media address information of described calling party device in described 3rd media message;
Described SBC is according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, and send fourth media message to described NAT device, the second media address information of described calling party device is comprised in described fourth media message, the 5th media message is sent to described calling party device to make described NAT device, the first media address information of described calling party device is comprised in described 5th media message.
2. method according to claim 1, is characterized in that, described indication information is also used to indicate described calling party device according to described indication information, at the media receiver port of described calling party device, sends the first media message.
3. realize a method for Session initiation protocol SIP calling, be applied to the scene that calling party device penetrating NAT equipment carries out SIP calling, it is characterized in that, comprising:
Described calling party device receives the SIP response message comprising indication information that described NAT device sends; To be described NAT device obtain after the signaling address information conversion of the heading of the 2nd SIP response message received from described SBC a described SIP response message, and described 2nd SIP response message is that described SBC carries out topology hiding to the SIP response message received from called party instrument and obtains after adding described indication information; A described SIP response message comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Described calling party device is according to described indication information, send the first media message, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of described called party instrument, to make, described SBC receives the second media message, and according to the second media address information of described calling party device and the first media address information of described called party instrument, and according to the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, described second media message is that described first media message is converted to through described NAT device, the second media address information of described calling party device and the first media address information of described called party instrument is comprised in described second media message, second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition, 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes,
Described calling party device receives the 5th media message, the first media address information of described calling party device is comprised in described 5th media message, send after described 5th media message receives fourth media message by described NAT device, the second media address information of described calling party device is comprised in described fourth media message, after described fourth media message receives the 3rd media message of called party instrument transmission by described SBC, according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, send to described NAT device after obtaining the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, the 3rd media address information of described calling party device is comprised in described 3rd media message.
4. method according to claim 3, is characterized in that, described calling party device, according to described indication information, sends the first media message, specifically comprises:
Described calling party device, according to described indication information, at the media receiver port of described calling party device, sends the first media message.
5. a Session Border Controller SBC, is applied to the scene that calling party device penetrating NAT equipment carries out SIP calling, it is characterized in that, comprising:
First receiving element, invites message for receiving described NAT device by the SIP obtained after the signaling address information conversion of the heading of the SIP received from described calling party device invitation message; Described SIP invites message to comprise the first media address information of described calling party device;
Message is invited to carry out topology hiding to described SIP, message is invited to send to called party instrument the SIP carrying out topology hiding, the described SIP carrying out topology hiding invites the 3rd media address information comprising described calling party device in message, and the 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes;
First transmitting element, for receiving the SIP response message that called party instrument sends, carrying out topology hiding to described SIP response message and adding indication information, sending the SIP response message comprising the topology hiding of described indication information to described NAT device; The SIP response message of described topology hiding comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes; Described indication information sends the first media message in order to indicate described calling party device according to described indication information, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of described called party instrument, and the first media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Second receiving element, for receiving the second media message, described second media message is that described first media message is converted to through described NAT device, comprise the second media address information of described calling party device and the first media address information of described called party instrument in described second media message, the second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition;
Obtain unit, for according to the second media address information of described calling party device and the first media address information of described called party instrument, and the corresponding relation of the 3rd media address information of acquired described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, wherein, the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument is that described SBC invites message and described SIP response message to obtain according to described SIP,
3rd receiving element, for receiving the 3rd media message that called party instrument sends, comprises the 3rd media address information of described calling party device in described 3rd media message;
Second transmitting element, for the corresponding relation according to the second media address information of described calling party device and the 3rd media address information of described calling party device, obtain the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, and send fourth media message to described NAT device, the second media address information of described calling party device is comprised in described fourth media message, the 5th media message is sent to described calling party device to make described NAT device, the first media address information of described calling party device is comprised in described 5th media message.
6. SBC according to claim 5, is characterized in that, described first transmitting element specifically for
Send a SIP response message to described calling party device, in a described SIP response message, comprise described indication information.
7. a calling party device, is applied to the scene that described calling party device penetrating NAT equipment carries out SIP calling, it is characterized in that, comprising:
First receiving element, for receiving the SIP response message comprising indication information that described NAT device sends; To be described NAT device obtain after the signaling address information conversion of the heading of the 2nd SIP response message received from described SBC a described SIP response message, and described 2nd SIP response message is that described SBC carries out topology hiding to the SIP response message received from called party instrument and obtains after adding described indication information; A described SIP response message comprises the first media address information of described called party instrument; First media address information of described called party instrument is described SBC is the media address information that described called party instrument distributes;
Transmitting element, for according to described indication information, send the first media message, described first media message is the quiet message of RTP, source address in the quiet message of described RTP is the first media address information of described calling party device, destination address is the first media address information of described called party instrument, to make, described SBC receives the second media message, and according to the second media address information of described calling party device and the first media address information of described called party instrument, and according to the corresponding relation of the 3rd media address information of described calling party device and the first media address information of described called party instrument, obtain the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, described second media message is that described first media message is converted to through described NAT device, the second media address information of described calling party device and the first media address information of described called party instrument is comprised in described second media message, second media address information of described calling party device is that the first media address information of described NAT device to described calling party device carries out conversion acquisition, 3rd media address information of described calling party device is described SBC is the media address information that described calling party device distributes,
Second receiving element, for receiving the 5th media message, the first media address information of described calling party device is comprised in described 5th media message, send after described 5th media message receives fourth media message by described NAT device, the second media address information of described calling party device is comprised in described fourth media message, after described fourth media message receives the 3rd media message of called party instrument transmission by described SBC, according to the corresponding relation of the second media address information of described calling party device and the 3rd media address information of described calling party device, send to described NAT device after obtaining the second media address information of the described calling party device corresponding with the 3rd media address information of calling party device described in described 3rd media message, the 3rd media address information of described calling party device is comprised in described 3rd media message.
8. calling party device according to claim 7, is characterized in that, described transmitting element specifically for
According to described indication information, at the media receiver port of described calling party device, send the first media message.
9. one kind realizes the system of Session initiation protocol SIP calling, be applied to the scene that calling party device penetrating NAT equipment carries out SIP calling, it is characterized in that, comprise NAT device, Session Border Controller SBC as described in claim 5 or 6 and calling party device as claimed in claim 7 or 8.
CN201210013827.7A 2012-01-17 2012-01-17 Method, equipment and system for implementing SIP (Session Initiation Protocol) calling Expired - Fee Related CN102546644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210013827.7A CN102546644B (en) 2012-01-17 2012-01-17 Method, equipment and system for implementing SIP (Session Initiation Protocol) calling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210013827.7A CN102546644B (en) 2012-01-17 2012-01-17 Method, equipment and system for implementing SIP (Session Initiation Protocol) calling

Publications (2)

Publication Number Publication Date
CN102546644A CN102546644A (en) 2012-07-04
CN102546644B true CN102546644B (en) 2015-03-25

Family

ID=46352602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210013827.7A Expired - Fee Related CN102546644B (en) 2012-01-17 2012-01-17 Method, equipment and system for implementing SIP (Session Initiation Protocol) calling

Country Status (1)

Country Link
CN (1) CN102546644B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917717B (en) * 2014-03-10 2018-09-07 中国移动通信集团北京有限公司 A kind of method of calling, equipment and system
CN108848194B (en) * 2018-08-20 2021-04-27 普联技术有限公司 Session establishment method between intranet clients, router and session system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901539A (en) * 2005-07-24 2007-01-24 中兴通讯股份有限公司 Method for multimedia service tunnel pass through NAT
CN101119270A (en) * 2007-09-14 2008-02-06 华中科技大学 Network boundary treatment method
CN101902506A (en) * 2010-06-21 2010-12-01 中兴通讯股份有限公司 SIP call-based traversal network address translation method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901539A (en) * 2005-07-24 2007-01-24 中兴通讯股份有限公司 Method for multimedia service tunnel pass through NAT
CN101119270A (en) * 2007-09-14 2008-02-06 华中科技大学 Network boundary treatment method
CN101902506A (en) * 2010-06-21 2010-12-01 中兴通讯股份有限公司 SIP call-based traversal network address translation method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IMS/SIP会话边界控制器的设计与实现;李广野;《中国科学院沈阳计算技术研究所硕士学位论文》;20100719;第16-20,22-29,38-40页 *

Also Published As

Publication number Publication date
CN102546644A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN103227788B (en) Realize the method and system that Web page application program and SIP equipment carry out communicating
US8861510B1 (en) Dynamic assignment of media proxy
CN104468145B (en) The treating method and apparatus of group's message based on RCS
CN100461778C (en) Method and system for implementing short message business bifurcation transmission in multimedia subsystem
CN102025718B (en) SIP endpoint enhancer
CN102318323B (en) NAT disposal method, equipment and system of call between private network and off-network clients
CN101656715B (en) Method, system and device for media bypass
CN110650260B (en) System and method for intercommunication of network terminal audio internal and external networks
US10601880B2 (en) Conference reconstruction in SIP networks
EP1895741B1 (en) Providing communications including an extended protocol header
CN102137198B (en) Method for realizing private branch exchange service and gateway equipment
CN104902111A (en) Web RTC-based method, equipment and system for establishing multi party call
CN104320403B (en) Communication means and device
CN103636179B (en) For the method and apparatus of the Media Stream marshalling in multimedia communication network
CN108848194B (en) Session establishment method between intranet clients, router and session system
CN102546644B (en) Method, equipment and system for implementing SIP (Session Initiation Protocol) calling
CN104980398A (en) Message distribution method between browser and IP multimedia subsystem (IMS), message distribution system between browser and IMS and signaling relay device
CN113489717A (en) Internal and external network intercommunication method, device, equipment and storage medium based on SIP protocol
CN103702295A (en) Incoming call reminding method, device and system
CN105306758A (en) Method for transmitting enterprise network identifier when call is established, IBCF and IMS
CN111835674A (en) Communication method, communication device, first network element and communication system
CN102143153B (en) Broadband service nesting method and device, and service application server
CN103139209A (en) Medium code stream obtaining method, unilateral self-address fixing (UNISAF) server and soft-switch communication system
JP2008301228A (en) Third party call control (3pcc) system and 3pcc attaining method in ip communications network having multiple ip address systems
CN105634911B (en) Session establishing method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150325

Termination date: 20180117

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