[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2013097250A1 - Call establishment method, device and system for voice over internet protocol - Google Patents

Call establishment method, device and system for voice over internet protocol Download PDF

Info

Publication number
WO2013097250A1
WO2013097250A1 PCT/CN2011/085205 CN2011085205W WO2013097250A1 WO 2013097250 A1 WO2013097250 A1 WO 2013097250A1 CN 2011085205 W CN2011085205 W CN 2011085205W WO 2013097250 A1 WO2013097250 A1 WO 2013097250A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
call
calling device
session controller
called
Prior art date
Application number
PCT/CN2011/085205
Other languages
French (fr)
Chinese (zh)
Inventor
汪红星
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180002987.5A priority Critical patent/CN103548330B/en
Priority to PCT/CN2011/085205 priority patent/WO2013097250A1/en
Publication of WO2013097250A1 publication Critical patent/WO2013097250A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1076Screening of IP real time communications, e.g. spam over Internet telephony [SPIT]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a VoIP (VoIP over Internet Protocol) call setup method, apparatus, and system.
  • VoIP VoiceIP over Internet Protocol
  • VoIP Voice over Internet Protocol
  • IP Network Internet Protocol Network
  • the Session Border Controller is a device used in a VoIP network. It is usually used to manage signaling such as session establishment, transmission, and teardown in VoIP calls, and to manage media data streams in VoIP calls.
  • the calling user equipments can be located under the same session border controller or under different session border controllers.
  • many users, especially enterprise users generally access the access bearer network through a Network Address Translation (NAT) device when accessing the network, at this time, under different SBCs.
  • NAT Network Address Translation
  • the current technical solution requires that the media data stream must be carried by the core network, that is, the media data stream must pass through the SBC; for example, the user equipment 1 sends the media data stream to the user equipment.
  • the direction of the media data stream is: "User Equipment 1 -> NAT Equipment 1 -> Access Bearer Network - a > SBC1 - -> Core Bearer Network - a > SBC2 - - > Access Bearer Network - >NAT device 2 -> > User device 2".
  • the inventors of the present invention have found that for such a call party, at least one user equipment that needs to pass through a NAT device and is located under a different SBC needs to be VoIP called. Occupying core network bandwidth, it wastes network resources.
  • the embodiment of the invention provides a method, a device and a system for establishing a VoIP call, which can save network resources without occupying the bandwidth of the core network.
  • a method for establishing a VoIP call including:
  • the second call request carries a media address for connecting the originating side SBC of the called device, so that the receiving side SBC determines that the access media domain to which the calling device belongs is associated with the called device.
  • the media address of the originating side SBC for connecting to the called device is delivered to the called device;
  • a third call response is sent to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
  • a method for establishing a VoIP call including:
  • the media address used to connect the originating side SBC of the called device is used as the medium for connecting the receiving side SBC of the called device. Address, sending a third call request to the called device;
  • the second call response carrying the media address of the called device to establish a VoIP call connection between the originating side SBC and the called device, and establishing an originating side SBC A VoIP call connection to the calling device.
  • a method for establishing a VoIP call including:
  • the fourth call response carries a media address for connecting the receiving side SBC of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs.
  • the media address of the receiving side SBC serves as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
  • a method for establishing a VoIP call including:
  • the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. Calling the media address of the receiving side SBC of the device;
  • the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the originating side SBC determines that the fourth call response is carried for connecting the main
  • the media address of the receiving side SBC of the device is called, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs
  • the media address of the receiving side SBC for connecting the calling device is used as The media address of the originating side SBC of the calling device is connected
  • the fifth call response is sent to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
  • a VoIP call setup device including:
  • a first receiving unit configured to receive a first call request sent by the calling device
  • An allocating unit configured to allocate, according to the first call request, a media address used to connect the originating side SBC of the called device when the calling device is located under the NAT device;
  • a first sending unit configured to send a second call request to the receiving side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device, so that the receiving side SBC determines the main
  • the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the originating side SBC of the called device is transmitted to the called device;
  • a second receiving unit configured to receive a second call response sent by the receiving side SBC, where the second call response carries a media address of the called device, to establish a VoIP call connection between the originating side SBC and the called device;
  • the second sending unit is configured to send a third call response to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
  • a VoIP call setup device including:
  • a first receiving unit configured to receive a second call request sent by the initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device;
  • the first sending unit is configured to determine, when the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device as a connection for the called party.
  • the media address of the receiving side SBC of the device sending a third call request to the called device
  • a second receiving unit configured to receive a first call response returned by the called device
  • a second sending unit configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish a VoIP call between the originating side SBC and the called device Connect, and establish a VoIP call connection between the originating side SBC and the calling device.
  • a VoIP call setup device including:
  • a first receiving unit configured to receive a first call request sent by the calling device
  • a first sending unit configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT device, and
  • the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the receiving side SBC of the calling device is allocated;
  • a second receiving unit configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address used to connect the receiving side SBC of the calling device;
  • a second sending unit configured to determine that the fourth call response carries a media address used to connect the receiving side SBC of the calling device, and the access media domain to which the calling device belongs and the access media domain to which the called device belongs At the same time, the media address of the receiving side SBC for connecting the calling device is used as the media address for connecting the originating side SBC of the calling device, and the fifth call response is sent to the calling device to establish the receiving side SBC and the main Call a VoIP call connection between devices.
  • a VoIP call setup device including:
  • a first receiving unit configured to receive a fourth call request sent by the sending side SBC, where the fourth call request carries a media address of the calling device;
  • the allocating unit determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. a media address connected to the receiving side SBC of the calling device;
  • a first sending unit configured to send a fifth call request to the called device according to the fourth call request
  • a second receiving unit configured to receive the first call response returned by the called device, to establish a receiving side
  • a second sending unit configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the initiating side SBC determines the fourth
  • the call response carries the media address of the receiving side SBC of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs
  • the receiving side for connecting the calling device is used.
  • the media address of the SBC is used as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
  • a communication system includes any of the VoIP call setup devices provided by the embodiments of the present invention.
  • the media address of the originating side SBC for connecting to the called device is allocated, and is transmitted to the called device, and is subsequently received and returned to carry the called device.
  • the media address is used to establish a VoIP call connection between the calling device, the originating side SBC, and the called device, so that the receiving side SBC can be bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network ( That is, bypassing the core network), to achieve the purpose of saving transmission bandwidth.
  • another solution provided by the embodiment of the present invention is to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the access media domain and is When the access media domain to which the device belongs is the same, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the connection is used for the connection.
  • the media address of the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the transmission of the media data stream.
  • the side SBC enables the media data stream to pass through the core network (ie, bypass the core network), thereby achieving the purpose of saving transmission bandwidth.
  • FIG. 1 is a flowchart of a method for establishing a VoIP call according to an embodiment of the present invention
  • FIG. 2 is another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention
  • Figure 3a is a schematic diagram of a scenario of bypassing the receiving side SBC
  • FIG. 3b is another schematic diagram of bypassing the receiving side SBC
  • FIG. 3 is a flowchart of an application example of a method for establishing a VoIP call according to an embodiment of the present invention
  • FIG. 4 is still another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention
  • FIG. 5 is still another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention.
  • FIG. 6a is a schematic diagram of a scenario of bypassing the originating side SBC
  • FIG. 6 is a flowchart of another application example of a VoIP call setup method according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a network telephone call setup apparatus according to an embodiment of the present invention
  • FIG. 7b is a network according to an embodiment of the present invention
  • FIG. 8 is another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention
  • FIG. 9 is another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention
  • FIG. 10 is still another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method, an apparatus, and a system for establishing a VoIP call. The following are detailed Detailed description.
  • the SBC on the calling device side is referred to as the initiating side SBC
  • the SBC in the called device side is referred to as receiving. Side SBC.
  • a method for establishing a VoIP call comprising: receiving a first call request sent by a calling device; and determining, when determining that the calling device is located under the NAT device according to the first call request, allocating a media address for connecting the originating side SBC of the called device; Sending a second call request to the receiving side SBC, where the second call request carries a media address for connecting the originating side SBC of the called device, so that the receiving side SBC determines that the access media domain to which the calling device belongs and the access of the called device belong to When the media domain is the same, the media address of the originating SBC of the called device is transmitted to the called device; the second call response sent by the receiving side SBC is received, and the second call response carries the media address of the called device.
  • To establish a VoIP call connection between the originating side SBC and the called device send a third call response to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
  • the call request for establishing a VoIP connection sent by the calling device is received.
  • the call request for establishing a VoIP connection is referred to as a first call request.
  • the first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
  • the media address in the embodiment of the present invention may include information such as an Internet Protocol (IP) address and a port.
  • IP Internet Protocol
  • the session initiating protocol (SIP) of the calling device can be used to learn whether the calling device is located under the NAT device. For example, after receiving the first call request, the initiating side SB C determines the first If a call request is from the terminal A, the previous SIP registration process of the terminal A can be used to determine whether the calling device is located under the NAT device.
  • SIP session initiating protocol
  • the second call request carries a media address for connecting the originating side SBC of the called device.
  • the receiving side SBC determines that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the second call request carries the connection device for connecting to the called device. Initiating the media address of the side SBC, determining that the receiving side SBC can be bypassed, and then transmitting the media address for connecting the originating side SBC of the called device to the called device as the media address of the receiving side SBC, so that the called device
  • the VoIP call connection is established directly with the originating side SBC without passing through the receiving side SBC.
  • the second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the Session Description Protocol (SDP).
  • SDP Session Description Protocol
  • the second call request may further include the access media domain information (ie, IP domain information) of the calling device, where the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side
  • the SBC can learn the access media domain to which the calling device belongs.
  • the access media domain information of the calling device can also be obtained through other means, for example, the SIP access registration process is used to learn the access media of the calling device according to the second call request. Domain information, and so on.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the VoIP call connection between the originating side SBC and the called device is completed.
  • the second call response may specifically carry the media address of the called device by using an extension of the media level a line in the SDP.
  • the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device.
  • Accessing the media domain of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
  • the calling device After the calling device receives the third call response from the originating side SBC, the originating side SBC and the master A VoIP call connection between devices is called to build.
  • a media address for the originating side SBC of the calling device may be allocated, and then determining that the second call response carries the media address of the called device, and
  • the media address of the originating side SBC to the calling device and the media address of the originating side SBC for connecting the called device are internally established.
  • the media session connection between the two so that the "VoIP call connection between the originating side SBC and the calling device" and the "VoIP call connection between the originating side SBC and the called device" can be connected to form a calling party.
  • a VoIP call connection between the device, the originating side SBC, and the called device (bypassing the receiving side SBC).
  • the media address for connecting the originating side SBC of the called device is allocated, and is transmitted to the called device, and is carried back in the subsequent receiving.
  • the network that is, bypassing the core network bearer
  • This embodiment is a VoIP call setup method corresponding to the first embodiment.
  • a method for establishing a VoIP call comprising: receiving a second call request sent by an initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device; determining that the calling device belongs to the access When the media domain is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device is used as the media address of the receiving side SBC for connecting the called device, and the third call request is sent to The called device receives the first call response returned by the called device; sends a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish the originating side SBC A VoIP call connection with the called device, and a VoIP call connection between the originating side SBC and the calling device.
  • the second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP.
  • the second call request may also carry the access media domain information of the calling device (ie, the IP domain information), and the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side SBC The access media domain to which the calling device belongs can be obtained.
  • the access media domain information of the calling device can also be obtained through other means, for example, after receiving the second call request, according to the second call request, the SIP registration process is used. Know the access media domain information of the calling device, and so on.
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the media address used to connect the originating side SBC of the called device is used as the receiving side SBC for connecting the called device.
  • Media address sending a third call request to the called device.
  • the following may be as follows: After receiving the second call request, the receiving side SBC determines that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the second call request carries the connection
  • the media address of the initiating side SBC of the called device indicates that the receiving side SBC can be bypassed, and then the media address used to connect the originating side SBC of the called device is transmitted to the called device as the media address of the receiving side SBC.
  • the media address of the originating side SBC for connecting the called device is replaced with the media address of the receiving side SBC of the called device, and the third call request is sent to the called device, so that the called device directly and the originating side
  • the SBC establishes a VoIP call connection without going through the receiving side SBC.
  • the first call response carries the media address of the called device.
  • the second call response carries the media address of the called device to establish a VoIP call connection between the originating side SBC and the called device, and establish a VoIP call connection between the originating side SBC and the calling device.
  • the second call response may specifically carry the media address of the called device through the extension of the media level a line in the SDP.
  • the receiving side SBC will allocate a media address to the receiving side SBC of the originating side SBC, and then the receiving side SBC And replacing the media address of the allocated side SBC of the originating side SBC with the media address of the called device in the original first call response, so as to indicate that the second call response is from the receiving side SBC, and the called device is
  • the media address is carried to the originating side SBC by an extension of the media level a line in the SDP (here, the second call response).
  • the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device.
  • Accessing the media domain of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
  • the originating side SBC when determining that the calling device is located under the NAT device, allocates a media address for connecting the originating side SBC of the called device, and then determines the access of the calling device at the receiving side SBC.
  • the media address of the originating side SBC for connecting the called device is transmitted by the receiving side SBC to the media address of the receiving side SBC for connecting the called device to the media address.
  • Embodiments 1 and 2 mainly describe a scenario in which the receiving side SBC is bypassed, and the scenario will be described in detail below by way of example.
  • Figures 3a and 3b are schematic illustrations of two scenes bypassing the receiving side SBC, respectively.
  • Figure 3a shows a scenario in which a VoIP call is established when both the calling device and the called device are located under the NAT
  • Figure 3b shows a scenario in which the VoIP call is established when the called device is located under the NAT and the called device is not located under the NAT.
  • the dashed line indicates the path of the signaling, and the path representing the media data stream is implemented.
  • the calling device is the terminal A
  • the called device is the terminal B
  • the NAT of the terminal A is NAT1
  • the NAT of the terminal B is the NAT2
  • the originating side SBC is the SBC1
  • the receiving is performed.
  • the side SBC is SBC2 as an example.
  • Terminal A sends a first call request through NAT1 through SIP signaling.
  • the first call request carries a SDP offer (Session Description Protocol offer) message body, and the SDP offer message body includes the media address of the terminal A: IP0 and port 0.
  • SDP offer Session Description Protocol offer
  • the format of the SDP offer message body can be as follows:
  • INVITE SIP user_B@operator_Y.net; SIP/2.0
  • the SBC1 allocates the media address of the SBC1 to the core side: IP2 and port 2. Since the terminal A is known to be located under the NAT device through the SIP registration process of the terminal A, the SBC1 allocates a media address of the SBC1 at this time. : IP1 and port 1, used to connect to terminal B.
  • the SBC1 sends a second call request to the core network according to the first call request.
  • the second call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC1: IP2 and port 2 (ie, replaces the IP0 and port 0 in the original first call request), and simultaneously passes the SDP
  • the media level a line is extended to carry the multi-allocated media address of the SBC1 for connecting to the terminal B: IP1 and port 1.
  • the access media domain information to which the terminal A belongs may also be carried: R1 information. For example, if IP2 is 13.24.1.1, port 2 is 62111, IP1 is 192.0.2.2, and port 1 is 49180, the format of the SDP offer message body can be as follows:
  • INVITE SIP user_B@operator_Y.net; SIP/2.0
  • the underlined part is an extended a-line information.
  • the core network After receiving the second call request, the core network routes the second call request to the SBC2, and the SBC2 determines that the SDP offer carried by the second call request includes the extended media level a line, and then obtains the R1 information. And obtaining the access media domain information of the terminal B, determining whether the R1 information and the access media domain information to which the terminal B belongs are the same. If yes, it is considered that the core network bearer can be bypassed, so that it is determined that the SBC2 can be bypassed; if not, it is considered It is not possible to bypass the core network bearer, and then operate according to the existing process.
  • SBC2 sends IP3 and port 1 in the extended media level a line as the media address of SBC2 to terminal B, and sends a third call request to terminal B.
  • the third call request carries an SDP offer message body, where the SDP offer message body includes IP1 and port 1.
  • the SBC2 originally needs to allocate the media address of the SBC2 to the terminal B, and then carries it to the terminal B in the third call request to indicate that the third call request is from the SBC2, and in this embodiment, The IP1 address and port 1 in the extended media level a line will be replaced by the original allocation.
  • the media address of the SBC2 to the terminal B that is, the IP1 address and port 1 in the extended media level a line are used as the media address of the SBC2 destined for the terminal B, and the third call request is sent to the terminal B, In this way, the terminal B can know the media address of the SBC1, thereby achieving the purpose of bypassing the SBC2. There is no need to extend the media level a line in the third call request.
  • the format of the SDP offer message body after the IP1 address and port 1 in the extended media level a line is used as the media address of the SBC2 to the terminal B may be as follows:
  • INVITE SIP sip:UE-B ⁇ operatorX.net; SIP/2.0
  • terminal B returns the first call response to SBC2;
  • the first call response carries a session description protocol answer (SDP answer, Session Description Protocol answer), and the SDP answer includes the media address of the terminal B: IP3 and port 3; and may also include the media domain information of the terminal B: R1 information .
  • SDP answer Session Description Protocol answer
  • SDP answer includes the media address of the terminal B: IP3 and port 3; and may also include the media domain information of the terminal B: R1 information .
  • the format of the SDP answer message body can be as follows:
  • the SBC2 After receiving the first call response, the SBC2 allocates the media address of the SBC2 to the core network: IP4 and port 4, and sends a second call response to the core network.
  • the second call response carries the SDP answer message body, and the SDP answer message body carries the assigned media address of the SBC2 to the core network: IP4 and port 4 (ie, IP4 and port 4 are replaced by the original first call response)
  • the media address of the terminal B IP3 and port 3
  • the media address of the terminal B is carried by the extension of the media level a: IP3 and port 3.
  • the access media domain information of the terminal B can also be carried: R1 information.
  • the format of the SDP answer message body can be as follows:
  • a nat-visited-realm: l Rl IN IP4 192.0.2.4 16511 Among them, the underlined part is the extended media level a line.
  • the core network routes the second call response to SBC1.
  • the SBC1 allocates the media address to the terminal A: IP5 and port 5; since the SDP answer is found to contain the extended media level a line, and the terminal A and the terminal B belong to The access media domain is the same, so SBC1 determines that the core network bearer can be bypassed, that is, SBC2 can be bypassed, and SBC1 establishes a media session connection internally: IP5+port ⁇ -->IP1+ port.
  • SBC1 sends a third call response to terminal A.
  • the third call response carries an SDP answer message body, and the SDP answer message body includes a media address to the terminal A: IP5 and port 5, that is, IP5 and port 5 are replaced with the IP4 and port in the original second call response. 4.
  • the format of the SDP answer message body can be as follows:
  • the VoIP call is established, and thereafter, the terminal A and the terminal B can perform the media session without being carried by the core network.
  • the media address of the SBC1 for connecting to the terminal B is allocated, and is carried to the SBC2 through the extended media level a line, so that the SBC2 will be used for the connection.
  • the media address of SBC1 of terminal B is transmitted as the media address of SBC2.
  • To the terminal B and then carry the media address of the terminal B to the SBC1 through the extended media level a line by the SBC2 to establish a VoIP call connection between the terminal A, the SBC1 and the terminal B, thereby transmitting the media data stream.
  • the media data stream does not pass through the core network (ie bypassing the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • Another embodiment of the present invention provides a VoIP call setup method.
  • the VoIP call setup method will be described in detail in Embodiments 4, 5 and 6.
  • a method for establishing a VoIP call comprising: receiving a first call request sent by a calling device; sending a fourth call request to a receiving side SBC according to the first call request, where the fourth call request carries a media address of the calling device, so that The receiving side SBC determines that the called device is located under the NAT device, and the first call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the access media domain to which the called device belongs.
  • the receiving side SBC for connecting the calling device is used.
  • the media address is used as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish reception.
  • the first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the fourth call request carries the media address of the calling device through the extension of the media level a line in the SDP.
  • the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the access media domain information ie, the IP domain information
  • the fourth call response may specifically carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP.
  • the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the fourth call response carries a media address used to connect the receiving side SBC of the calling device, and if the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, it is determined that the receiving may be bypassed.
  • the side SBC, and then the media address for connecting the receiving side SBC of the calling device is used as the media address for connecting the originating side SBC of the calling device (that is, replacing the media address of the receiving side SBC for connecting the calling device)
  • the assigned media address of the originating side SBC of the calling device is sent, and the fifth call response is sent to the calling device.
  • the calling device receives the fifth call response, the VoIP between the receiving side SBC and the calling device
  • the call connection is built to form a VoIP call connection between the calling device, the receiving side SBC and the called device (bypassing the originating side SBC).
  • the embodiment is used to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs and the access media to which the called device belongs.
  • the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the media address of the receiving side SBC for connecting the calling device is allocated.
  • Embodiment 5 Passed to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the originating side SBC when transmitting the media data stream,
  • the media data stream is not passed through the core network (ie, bypassing the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • This embodiment is a VoIP call establishment method corresponding to the fourth embodiment.
  • a method for establishing a VoIP call comprising: receiving a fourth call request sent by an initiating side SBC, where the fourth call request carries a media address of the calling device; determining that the called device is located under the NAT device, and the first call request is carried The media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the media address of the receiving side SBC for connecting the calling device is allocated; Receiving a call request to the called device; receiving a first call response returned by the called device to establish a VoIP call connection between the receiving side SBC and the called device; and transmitting a fourth call response to the originating side SBC according to the first call response, The fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the originating side SBC determines that the fourth call response carries a media address for connecting the receiving side SBC of the calling device, and the calling device belongs to When the incoming media domain is the same as the access media domain to
  • the fourth call request carries the media address of the calling device.
  • the media address of the calling device may be carried by the extension of the media level a line in the SDP.
  • the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the access media domain information ie, the IP domain information
  • the media address in the embodiment of the present invention may include information such as an IP address and a port. 502. Determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. The media address of the receiving side SBC of the calling device is connected.
  • the receiving side SBC after receiving the fourth call request, determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the calling device belongs to If the inbound media domain is the same as the access media domain to which the called device belongs, it indicates that the originating side SBC can be bypassed, and then the media address of the receiving side SBC for connecting to the calling device is allocated, so that the media address can be subsequently transmitted to the calling device. Establish a VoIP call connection between the calling device and the receiving side SBC.
  • the fourth call response may specifically carry a media address for connecting the receiving side SBC of the calling device by using an extension of the media level a line in the SDP.
  • the initiating side SBC After receiving the fourth call response, the initiating side SBC determines that the fourth call response carries the media address of the receiving side SBC for connecting to the calling device, and the accessing media domain to which the calling device belongs is associated with the called device. When the media domain is the same, it is considered that the originating side SBC can be bypassed, and then the media address used to connect the receiving side SBC of the calling device is used as the media address for connecting the originating side SBC of the calling device, and the fifth is sent.
  • the call response is sent to the calling device, that is, the media address of the receiving side SBC for connecting the calling device is replaced by the media address of the transmitting side SBC of the calling device, and the fifth call request is sent to the calling device, so that The calling device establishes a VoIP call connection directly with the receiving side SBC without passing through the originating side SBC.
  • the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • this embodiment is used to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the accessed media domain and the called device.
  • the access media domain is the same, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the receiving side for connecting the calling device is used.
  • the media address of the SBC is delivered to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the originating side SBC when transmitting the media data stream, so that the media data
  • the flow does not pass through the core network (that is, bypasses the core network bearer), achieving the purpose of saving transmission bandwidth.
  • FIG. 6a the figure is a schematic diagram of bypassing the SBC of the originating side when the media data stream is transmitted.
  • the calling device is not located under the NAT
  • the called device is located under the NAT, where the dotted line indicates signaling.
  • Path the path that represents the flow of media data.
  • the calling device will be the terminal A
  • the called device will be the terminal.
  • the NAT of the terminal B is NAT2
  • the SBC of the initiating side is SBC1
  • the SBC of the receiving side is SBC2.
  • Terminal A sends a first call request by using SIP signaling.
  • the first call request carries the SDP offer message body, and the SDP offer message body includes the media address of the terminal A: IP0 and port 0.
  • the format of the SDP offer message body can be as follows:
  • INVITE SIP user_B@operator_Y.net; SIP/2.0
  • SBC1 allocates the media address of SBC1 to the core side: IP2 and port 2.
  • the SBC1 sends a fourth call request to the core network according to the first call request.
  • the fourth call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC1: IP2 and the port (ie, replaces the IP0 and port 0 in the original first call request), and simultaneously passes the SDP media level.
  • the extension of the a line carries the media address of the terminal A: IP0 and port 0, and may also carry the access media domain information of the terminal A: R1 information.
  • the format of the SDP offer message body can be as follows:
  • INVITE SIP user_B@operator_Y.net; SIP/2.0
  • the line portion is an extended media level a line.
  • the core network routes the fourth call request to the SBC2.
  • the SBC2 allocates the media address of the SBC2 to the terminal B under the NAT2: IP6 and port 6.
  • SBC2 determines that terminal B is located under NAT2, and the SDP offer carried by the fourth call request is The extended media level a line is included, and the R1 information is obtained, and the access media domain information of the terminal B is obtained, and it is determined whether the R1 information and the access media domain information of the terminal B belong to the same. If yes, the core network is considered to be bypassed. Bearer, then allocates the media address of SBC2 for connecting terminal A: IP1 and port 1 to bypass SBC1; if not, it is considered that the core network bearer cannot be bypassed, and then operates according to the existing flow.
  • the SBC2 sends a fifth call request to the terminal B.
  • the fifth call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC2 assigned to the terminal B under the NAT2: IP6 and port 6.
  • the format of the SDP offer message body can be as follows:
  • INVITE SIP sip:UE-B ⁇ operatorX.net; SIP/2.0
  • Terminal B returns a first call response to SBC2.
  • the first call response carries the SDP answer, and the SDP answer includes the media address of the terminal B: IP3 and port 3.
  • the media domain information of the terminal B may also be included: R1 information.
  • the format of the SDP answer message body can be as follows:
  • the SBC2 After receiving the first call response, the SBC2 allocates the media addresses of the SBC2 to the core network: IP4 and port 4, and sends a fourth call response to the core network.
  • the fourth call response carries the SDP answer message body, and the SDP answer message body carries the assigned media address of the SBC2 to the core network: IP4 and port 4 (ie, IP4 and port 4 are replaced by the original first call response)
  • the media address of the terminal B IP3 and port 3
  • the media address of the SBC2 for connecting to the terminal A is carried by the extension of the media level a: IP1 and port 1, and the access of the terminal B can also be carried.
  • Media domain information R1 information.
  • the format of the SDP answer message body can be as follows:
  • the underlined part is the extended media level a line.
  • the core network routes the fourth call response to SBC1.
  • the SBC1 determines that the SDP answer includes the extended media level a line, and then obtains the R1 information, and obtains the access media domain information of the terminal A, and determines the access of the terminal A.
  • the media domain information is the same as the fixed R1 information, so it is determined that the core network bearer can be bypassed, that is, SBC1 can be bypassed.
  • the SBC1 sends a fifth call response to the terminal A by using the media address "IP1" and the port of the SBC2 for connecting the terminal A in the fourth call response as the media address of the SBC1 for connecting to the terminal A.
  • the fifth call response carries an SDP answer message body, where the SDP answer message body includes a media address of the SBC2 for connecting to the terminal A: IP1 and port 1.
  • the SBC1 originally needs to allocate the media address of the SBC1 to the terminal A, and then carries it to the terminal A in the fifth call response to indicate that the fifth call response is from SBC1, and in this embodiment, The IP1 address and port 1 in the extended media level a row will be replaced with the originally assigned media address of SBC1 destined for terminal A, that is, the IP1 address and port in the extended media level a row. 1 As the media address of the SBC1 to the terminal A, the fifth call response is sent to the terminal A, so that the terminal A can know the media address of the SBC2, thereby achieving the purpose of bypassing the SBC1. There is no need to extend the media level a line in the fifth call response.
  • the specific format of the SDP answer message body can be as follows:
  • the SBC2 allocates a media address for connecting to the SBC2 of the terminal A, and when subsequently receiving the first call response returned by the terminal B, it is carried to the SBC1 through the extended media level a, and is used by the SBC1 for the connection.
  • the media address of the SBC2 of the terminal A is transmitted to the terminal A as the media address of the SBC1 for connecting the terminal A, so as to establish a VoIP call connection between the terminal A, the SBC2 and the terminal B, thereby transmitting the media data stream.
  • the SBC1 is off the originating side, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • the embodiment of the present invention further provides a network telephone call setup device, that is, a VoIP call setup device, which can serve as an originating side SBC, as shown in FIG. 7a, the network telephone call.
  • the establishing device includes a first receiving unit 701, an allocating unit 702, a first sending unit 703, a second receiving unit 704, and a second sending unit 705;
  • the first receiving unit 701 is configured to receive a first call request sent by the calling device.
  • the first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the allocating unit 702 is configured to allocate, according to the first call request received by the first receiving unit 701, that the calling device is located under the NAT, and allocate a media address for connecting the originating side SBC of the called device;
  • the SIP process of the device is used to know whether the calling device is located under the NAT device. For example, after receiving the first call request, the originating SBC may pass the previous SIP of the terminal A if it is determined that the first call request is from the terminal A. Registration process to determine the calling setup Whether the device is under the NAT device.
  • the first sending unit 703 is configured to send a second call request to the receiving side SBC, where the second call request carries a media address allocated by the allocating unit 702 for connecting the originating side SBC of the called device, so that the receiving side SBC determines the main When the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the originating side SBC of the called device is transmitted to the called device; and the second receiving unit 704 is configured to receive and receive. a second call response sent by the side SBC, where the second call response carries the media address of the called device to establish a network telephone call connection between the originating side SBC and the called device;
  • the second sending unit 705 is configured to send a third call response to the calling device to establish a network telephone call connection between the originating side SBC and the calling device.
  • the second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. which is:
  • the first sending unit 701 is specifically configured to send a second call request to the receiving side SBC, where the second call request carries an media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. .
  • the second call request may further include the access media domain information (ie, the IP domain information) of the calling device, where the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that The receiving side SBC can learn the access media domain to which the calling device belongs.
  • the accessing media domain information of the calling device can also be obtained by other means, for example, the SIP calling process is used to learn the connection of the calling device according to the second call request. Enter media domain information, and more.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the second call response may also carry the media address of the called device through the extension of the media level a line in the SDP. which is:
  • the second receiving unit 704 is specifically configured to receive a second call response sent by the receiving side SBC, where the second call response carries the media address of the called device by using an extension of the media level a line in the SDP.
  • the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating side SBC can be informed
  • the access media domain to which the device belongs is used.
  • the access media domain information of the called device can also be obtained through other means, for example, after receiving the second call response, according to the second call response.
  • the SIP registration process learns the access media domain information of the called device, and so on.
  • the network telephone call setup device may further include a processing unit 706.
  • the processing unit 706 is configured to allocate a media address to the originating side SBC of the calling device, and determine that the second call response carries the called device.
  • the media address is the same, and the access media domain to which the called device belongs is the same as the access media domain to which the called device belongs, the media address of the originating side SBC to the calling device and the initiation of the connected device are established internally.
  • the second sending unit 705 is specifically configured to send a third call response to the calling device to establish a network telephone call connection between the originating side SBC and the calling device, where the third call response carrying processing unit 706 The assigned media address to the originating side SBC of the calling device.
  • the VoIP call setup device of the embodiment uses the media address for connecting the originating side SBC of the called device by the allocating unit 702 when determining that the calling device is located under the NAT device, and is configured by the first sending unit.
  • 703 is transmitted to the called device via the receiving side SBC, and is subsequently received by the second receiving unit 704, and the media address carrying the called device is received to establish a relationship between the calling device, the originating side SBC and the called device.
  • the VoIP call is connected, so that the receiving side SBC is bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • Example VIII Example VIII.
  • the embodiment of the present invention further provides another VoIP call setup device, that is, a VoIP call setup device, which can serve as a receiving side SBC.
  • the VoIP call setup device includes a first receiving.
  • the first receiving unit 801 is configured to receive a second call request sent by the initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device.
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the first sending unit 802 is configured to determine that the access media domain to which the calling device belongs is associated with the called device. When the media domain is the same, the media address of the originating side SBC for connecting to the called device is used as the media address of the receiving side SBC for connecting the called device, and the third call request is sent to the called device;
  • the unit 803 is configured to receive a first call response returned by the called device, where the first call response carries a media address of the called device.
  • the second sending unit 804 is configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish an between the originating side SBC and the called device.
  • the second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. which is:
  • the first receiving unit 801 is specifically configured to receive a second call request sent by the originating side SBC, where the second call request carries an extension of the media level a in the session description protocol to carry the originating side SBC for connecting the called device. Media address.
  • the second call request may also carry the access media domain information of the calling device (ie, the IP domain information), and the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side SBC The access media domain to which the calling device belongs can be obtained.
  • the access media domain information of the calling device can also be obtained through other means, for example, after receiving the second call request, according to the second call request, the SIP registration process is used. Know the access media domain information of the calling device, and so on.
  • the second call response may specifically carry the media address of the called device by using an extension of the media level a line in the SDP, that is,
  • the second receiving unit 803 is specifically configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device by using an extension of the media level a line in the SDP.
  • the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device.
  • Accessing the media domain of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
  • each of the foregoing units may be implemented as an independent entity, or may be implemented in any combination, and implemented as the same entity or several entities, and details are not described herein again.
  • the first receiving unit 801 of the network telephone call setup device of this embodiment can receive the second call request that is sent by the originating side SBC and carries the media address of the originating side SBC for connecting the called device, and then determines the main
  • the first sending unit 802 uses the media address of the originating side SBC for connecting the called device as the receiving side for connecting the called device.
  • the media address of the SBC is delivered to the called device, and the media address of the called device is subsequently transmitted by the second sending unit 804 to the originating side SBC to establish a relationship between the calling device, the originating side SBC and the called device.
  • the VoIP call is connected, so that the receiving side SBC is bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • Example IX The VoIP call is connected, so that the receiving side SBC is bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • the embodiment of the present invention further provides a network telephone call setup device, that is, a VoIP call setup device, which can serve as an originating side SBC, as shown in FIG. 9, the network telephone call.
  • the establishing device includes a first receiving unit 901, a first transmitting unit 902, a second receiving unit 903, and a second sending unit 904;
  • the first receiving unit 901 is configured to receive a first call request sent by the calling device, where the first call request includes a media address of the calling device, indicating that the first call request is from the calling device, and is convenient for the receiving end. Subsequent returns can be returned to the calling device.
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the first sending unit 902 is configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth calling request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT, and When the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the receiving side SBC of the calling device is allocated;
  • a second receiving unit 903 configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address used to connect the receiving side SBC of the calling device;
  • the second sending unit 904 is configured to determine that the fourth call response carries the connection for connecting the calling device.
  • the media address of the side SBC is the same as the access media domain to which the called device belongs
  • the media address of the receiving side SBC for connecting the calling device is used as the connection destination device.
  • the media address of the originating side SBC sends a fifth call response to the calling device to establish a network telephone call connection between the receiving side SBC and the calling device.
  • the fourth call request carries the media address of the calling device through the extension of the media level a line in the SDP. which is:
  • the first sending unit 902 is specifically configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device by using the extension of the media level a line in the SDP.
  • the fourth call request may further include the access media domain information of the calling device, that is, the IP domain information, used to indicate the access media domain to which the calling device belongs, and of course, the access media of the calling device.
  • the domain information can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the fourth call response may also carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP. which is:
  • the second receiving unit 903 is specifically configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries the media address used to connect the receiving side SBC of the calling device by using the extension of the media level a line in the SDP. .
  • the fourth call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the first receiving unit 901 of the VoIP call setup device of the present embodiment after receiving the first call request that is sent by the calling device and carrying the media address of the calling device, is called by the first sending unit 902.
  • the media address of the device is transmitted to the receiving side SBC, and the receiving side SBC determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the main
  • the media address of the receiving side SBC for connecting the calling device is allocated, so that the receiving side SBC subsequently receives the first call returned by the called device.
  • the media address for connecting the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby transmitting
  • the originating side SBC is bypassed, so that the media data stream does not pass through the core network (ie, bypasses the core network), thereby achieving the purpose of saving transmission bandwidth.
  • the embodiment of the present invention further provides another VoIP call setup device, that is, a VoIP call setup device, which can be used as a receiving side SBC.
  • the VoIP call setup device includes a first receiving. a unit 1001, an allocating unit 1002, a first transmitting unit 1003, a second receiving unit 1004, and a second transmitting unit 1005;
  • the first receiving unit 1001 is configured to receive a fourth call request sent by the initiating side SBC, where the fourth call request carries a media address of the calling device;
  • the media address in the embodiment of the present invention may include information such as an IP address and a port.
  • the allocating unit 1002 determines that the called device is located under the NAT, and the fourth call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. a media address connected to the receiving side SBC of the calling device;
  • the first sending unit 1003 is configured to send a fifth call request to the called device according to the fourth call request.
  • a second receiving unit 1004 configured to receive a first call response returned by the called device, to establish a network telephone call connection between the receiving side SBC and the called device;
  • the second sending unit 1005 is configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the initiating side SBC determines
  • the four-call response carries the media address of the receiving side SBC for connecting the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs.
  • the media address of the SBC serves as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a network telephone call connection between the receiving side SBC and the calling device.
  • the fourth call request may specifically carry the media address of the calling device by using an extension of the media level a line in the SDP. which is:
  • the first receiving unit 1001 is specifically configured to receive a fourth call request sent by the initiating side SBC, where the fourth call request carries the media address of the calling device by using an extension of the media level a line in the SDP.
  • the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the access media domain information ie, the IP domain information
  • the fourth call response may also carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP.
  • the second sending unit 1005 is specifically configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries the receiving side for connecting the calling device by using the extension of the media level a line in the SDP. SBC's media address.
  • the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
  • the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
  • the allocating unit 1002 of the VoIP call setup device in this embodiment determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the access device.
  • the domain is the same as the access media domain to which the called device belongs
  • the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the second sending unit 1005 Transmitting, by the originating side SBC, the media address of the receiving side SBC of the calling device to the calling device, to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby
  • the originating side SBC is bypassed, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth.
  • the embodiment of the present invention further provides a communication system, which includes any network telephone call setup device provided by the embodiment of the present invention.
  • the communication system may specifically include an initiating side SBC and a receiving side SBC, where the initiating side SBC may be any one of the network telephone call establishing devices provided in the seventh embodiment, and the receiving side SBC may be provided in the eighth embodiment.
  • the initiating side SBC may be any one of the network telephone call establishing devices provided in the seventh embodiment
  • the receiving side SBC may be provided in the eighth embodiment. Any type of VoIP call setup device; or,
  • the communication system may specifically include an initiating side SBC and a receiving side SBC, where the initiating side SBC may be any one of the network telephone call establishing devices provided in the ninth embodiment, and the receiving side SBC may be the tenth embodiment. Any of the provided VoIP call setup devices.
  • each VoIP call setup device For a detailed description of each VoIP call setup device, refer to the previous embodiment, and details are not described herein again.
  • the media address of the originating side SBC for connecting the called device is allocated in advance by the originating side SBC, and is transmitted to the called device.
  • the communication system may further determine that the called device is located under the NAT device, and the receiving side SBC allocates a media address for connecting the receiving side SBC of the calling device, and subsequently receives the first call returned by the called device.
  • the media address for connecting the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby transmitting
  • the originating side SBC is bypassed, so that the media data stream does not pass through the core network, thereby achieving the purpose of saving transmission bandwidth.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A VoIP call establishment method, including: receiving a first call request sent by a calling device; when it is determined that the calling device is located under an NAT device, allocating a media address of an initiation side SBC for connecting a called device; sending to a receiving side SBC a second call request which carries the media address of the initiation side SBC for connecting the called device, so that when it is determined that the access media domains of the calling device and the called device are the same, the receiving side SBC transfers the media address of the initiation side SBC for connecting the called device to the called device; receiving a second call response sent by the receiving side SBC and carrying the media address of the called device, so as to establish a VoIP call connected between the initiation side SBC and the called device; and sending a third call response to the calling device, so as to establish a VoIP call connected between the initiation side SBC and the calling device. In addition, also provided are another three VoIP call establishment methods and a corresponding device and system.

Description

一种网络电话建立呼叫方法、 装置和系统  Network telephone establishing call method, device and system
技术领域 Technical field
本发明涉及通信技术领域, 具体涉及一种网络电话 ( VoIP , Voice over Internet Protocol )呼叫建立方法、 装置和系统。  The present invention relates to the field of communications technologies, and in particular, to a VoIP (VoIP over Internet Protocol) call setup method, apparatus, and system.
背景技术 Background technique
网络电话( VoIP, Voice over Internet Protocol ) , 筒而言之就是将模 拟声音讯号(Voice )数字化, 并以数据包(Data Packet )的形式在网际协 议网给 ( IP Network, Internet Protocol Network ) 上做实时传递。 VoIP最大 的优势在于能广泛地采用因特网 ( Internet )和全球网际协议( IP , Internet Protocol ) 互连的环境, 提供比传统电话业务更多、 更好的服务。  In the case of VoIP (VoIP over Internet Protocol), the analog voice signal (Voice) is digitized and made in the form of a data packet on the Internet Protocol Network (IP Network). Pass in real time. The biggest advantage of VoIP is that it can widely use the Internet (Internet) and the Internet (Internet Protocol) interconnection environment to provide more and better services than traditional telephone services.
会话边界控制器( SBC, Session Border Controller )是一种用于 VoIP网络 中的设备, 通常用于管理 VoIP呼叫中的会话建立、 传输和拆除等信令, 以及 管理 VoIP呼叫中的媒体数据流。 呼叫用户设备之间可以位于同一个会话边界 控制器下,也可以位于不同的会话边界控制器下。在现有技术中,有很多用户, 特别是企业用户在接入网络时, 一般都会通过网络地址交换(NAT, Network Address Translation )设备来接入接入承载网, 此时对于位于不同的 SBC下的 用户设备(包括固定终端和移动终端 )来说, 当前技术方案都会要求其媒体数 据流必须经过核心网承载, 即媒体数据流必须经过 SBC; 例如, 以用户设备 1 发送媒体数据流给用户设备 2为例, 其中, 用户设备 1的 NAT设备为 "NAT 设备 1" , 用户设备 1的 SBC为 "SBC1" , 用户设备 2的 NAT设备为 "NAT 设备 2" , 用户设备 2的 SBC为 "SBC2" , 则媒体数据流的方向为: "用户设 备 1—— >NAT设备 1 -— >接入承载网 - 一 >SBC1 -— >核心承载网 - 一 >SBC2 -— >接入承载网 - 一 >NAT设备 2 -— >用户设备 2"。  The Session Border Controller (SBC) is a device used in a VoIP network. It is usually used to manage signaling such as session establishment, transmission, and teardown in VoIP calls, and to manage media data streams in VoIP calls. The calling user equipments can be located under the same session border controller or under different session border controllers. In the prior art, many users, especially enterprise users, generally access the access bearer network through a Network Address Translation (NAT) device when accessing the network, at this time, under different SBCs. For the user equipment (including the fixed terminal and the mobile terminal), the current technical solution requires that the media data stream must be carried by the core network, that is, the media data stream must pass through the SBC; for example, the user equipment 1 sends the media data stream to the user equipment. 2, for example, where the NAT device of the user equipment 1 is "NAT device 1", the SBC of the user equipment 1 is "SBC1", the NAT device of the user equipment 2 is "NAT device 2", and the SBC of the user equipment 2 is "SBC2". " , then the direction of the media data stream is: "User Equipment 1 -> NAT Equipment 1 -> Access Bearer Network - a > SBC1 - -> Core Bearer Network - a > SBC2 - - > Access Bearer Network - >NAT device 2 -> > User device 2".
在对现有技术的研究和实践过程中, 本发明的发明人发现,对于这种呼叫 一方至少有一个需要经过 NAT设备, 且位于不同 SBC下的用户设备来说, 由 于其进行的 VoIP呼叫需要占用核心网带宽, 所以较为浪费网络资源。  In the research and practice of the prior art, the inventors of the present invention have found that for such a call party, at least one user equipment that needs to pass through a NAT device and is located under a different SBC needs to be VoIP called. Occupying core network bandwidth, it wastes network resources.
发明内容 Summary of the invention
本发明实施例提供一种 VoIP呼叫建立方法、装置和系统, 可以不占用核心 网带宽, 节省网络资源。 一种 VoIP呼叫建立方法, 包括: The embodiment of the invention provides a method, a device and a system for establishing a VoIP call, which can save network resources without occupying the bandwidth of the core network. A method for establishing a VoIP call, including:
接收主叫设备发送的第一呼叫请求;  Receiving a first call request sent by the calling device;
根据第一呼叫请求确定主叫设备位于 NAT设备下时, 分配用于连接被叫 设备的发起侧 SBC的媒体地址;  And determining, according to the first call request, that the calling device is located under the NAT device, and allocating a media address for connecting the originating side SBC of the called device;
发送第二呼叫请求给接收侧 SBC, 所述第二呼叫请求携带用于连接被叫 设备的发起侧 SBC的媒体地址, 以便接收侧 SBC确定主叫设备所属接入媒体 域与被叫设备所属接入媒体域相同时,将所述用于连接被叫设备的发起侧 SBC 的媒体地址传递给被叫设备;  Sending a second call request to the receiving side SBC, where the second call request carries a media address for connecting the originating side SBC of the called device, so that the receiving side SBC determines that the access media domain to which the calling device belongs is associated with the called device. When the media domain is the same, the media address of the originating side SBC for connecting to the called device is delivered to the called device;
接收接收侧 SBC发送的第二呼叫响应, 所述第二呼叫响应携带被叫设备 的媒体地址, 以建立发起侧 SBC和被叫设备之间的 VoIP呼叫连接;  Receiving a second call response sent by the receiving side SBC, where the second call response carries a media address of the called device, to establish a VoIP call connection between the originating side SBC and the called device;
发送第三呼叫响应给主叫设备, 以建立发起侧 SBC 和主叫设备之间的 VoIP呼叫连接。  A third call response is sent to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
一种 VoIP呼叫建立方法, 包括:  A method for establishing a VoIP call, including:
接收发起侧 SBC发送的第二呼叫请求, 所述第二呼叫请求中携带用于连 接被叫设备的发起侧 SBC的媒体地址;  Receiving a second call request sent by the sending side SBC, where the second call request carries a media address for connecting the originating side SBC of the called device;
确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述 用于连接被叫设备的发起侧 SBC的媒体地址作为用于连接被叫设备的接收侧 SBC的媒体地址, 发送第三呼叫请求给被叫设备;  When the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device is used as the medium for connecting the receiving side SBC of the called device. Address, sending a third call request to the called device;
接收被叫设备返回的第一呼叫响应;  Receiving a first call response returned by the called device;
根据第一呼叫响应发送第二呼叫响应给发起侧 SBC, 所述第二呼叫响应 携带被叫设备的媒体地址,以建立发起侧 SBC和被叫设备之间的 VoIP呼叫连 接, 以及建立发起侧 SBC和主叫设备之间的 VoIP呼叫连接。  Sending a second call response to the originating side SBC according to the first call response, the second call response carrying the media address of the called device to establish a VoIP call connection between the originating side SBC and the called device, and establishing an originating side SBC A VoIP call connection to the calling device.
一种 VoIP呼叫建立方法, 包括:  A method for establishing a VoIP call, including:
接收主叫设备发送的第一呼叫请求;  Receiving a first call request sent by the calling device;
根据第一呼叫请求发送第四呼叫请求给接收侧 SBC, 所述第四呼叫请求 携带主叫设备的媒体地址, 以便接收侧 SBC确定被叫设备位于 NAT设备下, 且第四呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒体域与 被叫设备所属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒 体地址; 接收接收侧 SBC返回的第四呼叫响应, 所述第四呼叫响应携带用于连接 主叫设备的接收侧 SBC的媒体地址; Sending a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT device, and the fourth call request carries When the media address of the calling device is the same as the access media domain to which the called device belongs, the media address of the receiving side SBC for connecting the calling device is allocated; Receiving a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device;
确定第四呼叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址, 且 主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述用于连接 主叫设备的接收侧 SBC的媒体地址作为用于连接主叫设备的发起侧 SBC的媒 体地址, 发送第五呼叫响应给主叫设备, 以建立接收侧 SBC和主叫设备之间 的 VoIP呼叫连接。  Determining that the fourth call response carries a media address for connecting the receiving side SBC of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. The media address of the receiving side SBC serves as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
一种 VoIP呼叫建立方法, 包括:  A method for establishing a VoIP call, including:
接收发起侧 SBC发送的第四呼叫请求, 所述第四呼叫请求携带主叫设备 的媒体地址;  Receiving a fourth call request sent by the sending side SBC, where the fourth call request carries a media address of the calling device;
确定被叫设备位于 NAT设备下, 且第四呼叫请求中携带了主叫设备的媒 体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 分配 用于连接主叫设备的接收侧 SBC的媒体地址;  Determining that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. Calling the media address of the receiving side SBC of the device;
根据第四呼叫请求发送第五呼叫请求给被叫设备;  Sending a fifth call request to the called device according to the fourth call request;
接收被叫设备返回的第一呼叫响应, 以建立接收侧 SBC和被叫设备之间 的 VoIP呼叫连接;  Receiving a first call response returned by the called device to establish a VoIP call connection between the receiving side SBC and the called device;
根据第一呼叫响应发送第四呼叫响应给发起侧 SBC, 所述第四呼叫响应 携带用于连接主叫设备的接收侧 SBC的媒体地址, 以便发起侧 SBC确定第四 呼叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址, 且主叫设备所属 接入媒体域与被叫设备所属接入媒体域相同时,将所述用于连接主叫设备的接 收侧 SBC的媒体地址作为用于连接主叫设备的发起侧 SBC的媒体地址, 发送 第五呼叫响应给主叫设备,以建立接收侧 SBC和主叫设备之间的 VoIP呼叫连 接。  Sending a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the originating side SBC determines that the fourth call response is carried for connecting the main When the media address of the receiving side SBC of the device is called, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address of the receiving side SBC for connecting the calling device is used as The media address of the originating side SBC of the calling device is connected, and the fifth call response is sent to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
一种 VoIP呼叫建立设备, 包括:  A VoIP call setup device, including:
第一接收单元, 用于接收主叫设备发送的第一呼叫请求;  a first receiving unit, configured to receive a first call request sent by the calling device;
分配单元, 用于根据第一呼叫请求确定主叫设备位于 NAT设备下时, 分 配用于连接被叫设备的发起侧 SBC的媒体地址;  An allocating unit, configured to allocate, according to the first call request, a media address used to connect the originating side SBC of the called device when the calling device is located under the NAT device;
第一发送单元, 用于发送第二呼叫请求给接收侧 SBC, 所述第二呼叫请 求携带用于连接被叫设备的发起侧 SBC的媒体地址, 以便接收侧 SBC确定主 叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述用于连接被 叫设备的发起侧 SBC的媒体地址传递给被叫设备; a first sending unit, configured to send a second call request to the receiving side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device, so that the receiving side SBC determines the main When the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the originating side SBC of the called device is transmitted to the called device;
第二接收单元, 用于接收接收侧 SBC发送的第二呼叫响应, 所述第二呼 叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC和被叫设备之间的 VoIP 呼叫连接;  a second receiving unit, configured to receive a second call response sent by the receiving side SBC, where the second call response carries a media address of the called device, to establish a VoIP call connection between the originating side SBC and the called device;
第二发送单元, 用于发送第三呼叫响应给主叫设备, 以建立发起侧 SBC 和主叫设备之间的 VoIP呼叫连接。  The second sending unit is configured to send a third call response to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
一种 VoIP呼叫建立设备, 包括:  A VoIP call setup device, including:
第一接收单元, 用于接收发起侧 SBC发送的第二呼叫请求, 所述第二呼 叫请求中携带用于连接被叫设备的发起侧 SBC的媒体地址;  a first receiving unit, configured to receive a second call request sent by the initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device;
第一发送单元,用于确定主叫设备所属接入媒体域与被叫设备所属接入媒 体域相同时, 将所述用于连接被叫设备的发起侧 SBC的媒体地址作为用于连 接被叫设备的接收侧 SBC的媒体地址, 发送第三呼叫请求给被叫设备  The first sending unit is configured to determine, when the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device as a connection for the called party The media address of the receiving side SBC of the device, sending a third call request to the called device
第二接收单元, 用于接收被叫设备返回的第一呼叫响应;  a second receiving unit, configured to receive a first call response returned by the called device;
第二发送单元, 用于根据第一呼叫响应发送第二呼叫响应给发起侧 SBC, 所述第二呼叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC和被叫设备 之间的 VoIP呼叫连接, 以及建立发起侧 SBC和主叫设备之间的 VoIP呼叫连 接。  a second sending unit, configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish a VoIP call between the originating side SBC and the called device Connect, and establish a VoIP call connection between the originating side SBC and the calling device.
一种 VoIP呼叫建立设备, 包括:  A VoIP call setup device, including:
第一接收单元, 用于接收主叫设备发送的第一呼叫请求;  a first receiving unit, configured to receive a first call request sent by the calling device;
第一发送单元, 用于根据第一呼叫请求发送第四呼叫请求给接收侧 SBC, 所述第四呼叫请求携带主叫设备的媒体地址, 以便接收侧 SBC确定被叫设备 位于 NAT设备下, 且第四呼叫请求中携带了主叫设备的媒体地址, 且主叫设 备所属接入媒体域与被叫设备所属接入媒体域相同时,分配用于连接主叫设备 的接收侧 SBC的媒体地址;  a first sending unit, configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT device, and When the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the receiving side SBC of the calling device is allocated;
第二接收单元, 用于接收接收侧 SBC返回的第四呼叫响应, 所述第四呼 叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址;  a second receiving unit, configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address used to connect the receiving side SBC of the calling device;
第二发送单元, 用于确定第四呼叫响应携带用于连接主叫设备的接收侧 SBC 的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒体域相 同时, 将所述用于连接主叫设备的接收侧 SBC的媒体地址作为用于连接主叫 设备的发起侧 SBC的媒体地址, 发送第五呼叫响应给主叫设备, 以建立接收 侧 SBC和主叫设备之间的 VoIP呼叫连接。 a second sending unit, configured to determine that the fourth call response carries a media address used to connect the receiving side SBC of the calling device, and the access media domain to which the calling device belongs and the access media domain to which the called device belongs At the same time, the media address of the receiving side SBC for connecting the calling device is used as the media address for connecting the originating side SBC of the calling device, and the fifth call response is sent to the calling device to establish the receiving side SBC and the main Call a VoIP call connection between devices.
一种 VoIP呼叫建立设备, 包括:  A VoIP call setup device, including:
第一接收单元, 用于接收发起侧 SBC发送的第四呼叫请求, 所述第四呼 叫请求携带主叫设备的媒体地址;  a first receiving unit, configured to receive a fourth call request sent by the sending side SBC, where the fourth call request carries a media address of the calling device;
分配单元, 确定被叫设备位于 NAT设备下, 且第四呼叫请求中携带了主 叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相 同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址;  The allocating unit determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. a media address connected to the receiving side SBC of the calling device;
第一发送单元, 用于根据第四呼叫请求发送第五呼叫请求给被叫设备; 第二接收单元, 用于接收被叫设备返回的第一呼叫响应, 以建立接收侧 a first sending unit, configured to send a fifth call request to the called device according to the fourth call request, and a second receiving unit, configured to receive the first call response returned by the called device, to establish a receiving side
SBC和被叫设备之间的 VoIP呼叫连接; a VoIP call connection between the SBC and the called device;
第二发送单元, 用于根据第一呼叫响应发送第四呼叫响应给发起侧 SBC, 所述第四呼叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址, 以便发 起侧 SBC确定第四呼叫响应携带用于连接主叫设备的接收侧 SBC 的媒体地 址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述用 于连接主叫设备的接收侧 SBC 的媒体地址作为用于连接主叫设备的发起侧 SBC的媒体地址, 发送第五呼叫响应给主叫设备, 以建立接收侧 SBC和主叫 设备之间的 VoIP呼叫连接。  a second sending unit, configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the initiating side SBC determines the fourth When the call response carries the media address of the receiving side SBC of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the receiving side for connecting the calling device is used. The media address of the SBC is used as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a VoIP call connection between the receiving side SBC and the calling device.
一种通信系统, 包括本发明实施例提供的任一种 VoIP呼叫建立设备。  A communication system includes any of the VoIP call setup devices provided by the embodiments of the present invention.
本发明实施例采用在确定主叫设备位于 NAT设备下时, 分配用于连接被 叫设备的发起侧 SBC的媒体地址, 并传递给被叫设备, 并在后续接收返回的 携带有被叫设备的媒体地址, 以建立起主叫设备、 发起侧 SBC和被叫设备三 者之间的 VoIP呼叫连接, 从而在传输媒体数据流时可以旁路掉接收侧 SBC, 使得媒体数据流不经过核心网(即旁路掉核心网 ), 实现节约传输带宽的目的。  In the embodiment of the present invention, when determining that the calling device is located under the NAT device, the media address of the originating side SBC for connecting to the called device is allocated, and is transmitted to the called device, and is subsequently received and returned to carry the called device. The media address is used to establish a VoIP call connection between the calling device, the originating side SBC, and the called device, so that the receiving side SBC can be bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network ( That is, bypassing the core network), to achieve the purpose of saving transmission bandwidth.
同理, 本发明实施例提供的另一种方案采用在确定被叫设备位于 NAT设 备下,且第四呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒 体域与被叫设备所属接入媒体域相同时,分配用于连接主叫设备的接收侧 SBC 的媒体地址, 并在后续接收到被叫设备返回的第一呼叫响应时,将该用于连接 主叫设备的接收侧 SBC的媒体地址传递给主叫设备, 以建立起主叫设备、 接 收侧 SBC和被叫设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时旁 路掉发起侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网), 实现节 约传输带宽的目的。 Similarly, another solution provided by the embodiment of the present invention is to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the access media domain and is When the access media domain to which the device belongs is the same, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the connection is used for the connection. The media address of the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the transmission of the media data stream. The side SBC enables the media data stream to pass through the core network (ie, bypass the core network), thereby achieving the purpose of saving transmission bandwidth.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained according to these drawings without any creative work.
图 1是本发明实施例提供的 VoIP呼叫建立方法的流程图;  1 is a flowchart of a method for establishing a VoIP call according to an embodiment of the present invention;
图 2是本发明实施例提供的 VoIP呼叫建立方法的另一流程图;  2 is another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention;
图 3a是旁路掉接收侧 SBC的场景示意图;  Figure 3a is a schematic diagram of a scenario of bypassing the receiving side SBC;
图 3b是旁路掉接收侧 SBC的另一场景示意图;  FIG. 3b is another schematic diagram of bypassing the receiving side SBC;
图 3c是本发明实施例提供的 VoIP呼叫建立方法的应用例的流程图; 图 4是本发明实施例提供的 VoIP呼叫建立方法的又一流程图;  FIG. 3 is a flowchart of an application example of a method for establishing a VoIP call according to an embodiment of the present invention; FIG. 4 is still another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention;
图 5是本发明实施例提供的 VoIP呼叫建立方法的又一流程图;  FIG. 5 is still another flowchart of a method for establishing a VoIP call according to an embodiment of the present invention;
图 6a是旁路掉发起侧 SBC的场景示意图;  FIG. 6a is a schematic diagram of a scenario of bypassing the originating side SBC;
图 6b是本发明实施例提供的 VoIP呼叫建立方法的另一应用例的流程图; 图 7a是本发明实施例提供的网络电话呼叫建立设备的结构示意图; 图 7b是本发明实施例提供的网络电话呼叫建立设备的另一结构示意图; 图 8是本发明实施例提供的网络电话呼叫建立设备的又一结构示意图; 图 9是本发明实施例提供的网络电话呼叫建立设备的又一结构示意图; 图 10是本发明实施例提供的网络电话呼叫建立设备的又一结构示意图。  FIG. 6 is a flowchart of another application example of a VoIP call setup method according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a network telephone call setup apparatus according to an embodiment of the present invention; FIG. 7b is a network according to an embodiment of the present invention; FIG. 8 is another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention; FIG. 9 is another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention; FIG. 10 is still another schematic structural diagram of a network telephone call establishing apparatus according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种 VoIP呼叫建立方法、装置和系统。 以下分别进行详 细说明。 Embodiments of the present invention provide a method, an apparatus, and a system for establishing a VoIP call. The following are detailed Detailed description.
实施例一、  Embodiment 1
本实施例将从主叫设备侧的 SBC的角度进行描述, 为了描述方便, 在本 发明实施例中, 将主叫设备侧的 SBC称为发起侧 SBC, 将被叫设备侧的 SBC 称为接收侧 SBC。  This embodiment will be described from the perspective of the SBC on the calling device side. For the convenience of description, in the embodiment of the present invention, the SBC on the calling device side is referred to as the initiating side SBC, and the SBC in the called device side is referred to as receiving. Side SBC.
一种 VoIP呼叫建立方法, 包括: 接收主叫设备发送的第一呼叫请求; 根 据第一呼叫请求确定主叫设备位于 NAT设备下时, 分配用于连接被叫设备的 发起侧 SBC的媒体地址; 发送第二呼叫请求给接收侧 SBC, 该第二呼叫请求 携带用于连接被叫设备的发起侧 SBC的媒体地址, 以便接收侧 SBC确定主叫 设备所属接入媒体域与被叫设备所属接入媒体域相同时,将该用于连接被叫设 备的发起侧 SBC的媒体地址传递给被叫设备; 接收接收侧 SBC发送的第二呼 叫响应, 该第二呼叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC和被 叫设备之间的 VoIP呼叫连接; 发送第三呼叫响应给主叫设备, 以建立发起侧 SBC和主叫设备之间的 VoIP呼叫连接。  A method for establishing a VoIP call, comprising: receiving a first call request sent by a calling device; and determining, when determining that the calling device is located under the NAT device according to the first call request, allocating a media address for connecting the originating side SBC of the called device; Sending a second call request to the receiving side SBC, where the second call request carries a media address for connecting the originating side SBC of the called device, so that the receiving side SBC determines that the access media domain to which the calling device belongs and the access of the called device belong to When the media domain is the same, the media address of the originating SBC of the called device is transmitted to the called device; the second call response sent by the receiving side SBC is received, and the second call response carries the media address of the called device. To establish a VoIP call connection between the originating side SBC and the called device; send a third call response to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
如图 1所示, 具体流程可以如下:  As shown in Figure 1, the specific process can be as follows:
101、接收主叫设备发送的关于建立 VoIP连接的呼叫请求,为了描述方便, 在本发明实施例中, 将该关于建立 VoIP连接的呼叫请求称为第一呼叫请求。  The call request for establishing a VoIP connection sent by the calling device is received. For the convenience of description, in the embodiment of the present invention, the call request for establishing a VoIP connection is referred to as a first call request.
其中, 该第一呼叫请求中包含有主叫设备的媒体地址,指示该第一呼叫请 求来自主叫设备, 便于接收端后续可以返回相应的响应到该主叫设备。  The first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
需说明的是,本发明实施例中的媒体地址,可以包括网际协议( IP, Internet Protocol )地址和端口等信息。  It should be noted that the media address in the embodiment of the present invention may include information such as an Internet Protocol (IP) address and a port.
102、根据第一呼叫请求确定主叫设备位于 NAT设备下时, 分配用于连接 被叫设备的发起侧 SBC的媒体地址。  102. When determining that the calling device is located under the NAT device according to the first call request, allocate a media address for connecting the originating side SBC of the called device.
其中, 具体可以通过主叫设备的会话注册协议 ( SIP, Session Initiation Protocol) 过程来获知主叫设备是否位于 NAT设备下, 例如, 发起侧 SB C在 接收到第一呼叫请求后, 如果确定该第一呼叫请求是来自终端 A的, 则可以 通过终端 A此前的 SIP注册过程来确定主叫设备是否位于 NAT设备下。  Specifically, the session initiating protocol (SIP) of the calling device can be used to learn whether the calling device is located under the NAT device. For example, after receiving the first call request, the initiating side SB C determines the first If a call request is from the terminal A, the previous SIP registration process of the terminal A can be used to determine whether the calling device is located under the NAT device.
103、 发送第二呼叫请求给接收侧 SBC。  103. Send a second call request to the receiving side SBC.
其中,该第二呼叫请求携带用于连接被叫设备的发起侧 SBC的媒体地址。 这样, 接收侧 SBC在接收到该第二呼叫请求后, 如果确定主叫设备所属接入 媒体域与被叫设备所属接入媒体域相同,且第二呼叫请求中携带有用于连接被 叫设备的发起侧 SBC的媒体地址, 则确定可以旁路掉接收侧 SBC, 于是将该 用于连接被叫设备的发起侧 SBC的媒体地址作为接收侧 SBC的媒体地址传递 给被叫设备, 以便被叫设备直接与发起侧 SBC建立 VoIP呼叫连接, 而无需通 过接收侧 SBC。 The second call request carries a media address for connecting the originating side SBC of the called device. In this way, after receiving the second call request, the receiving side SBC determines that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the second call request carries the connection device for connecting to the called device. Initiating the media address of the side SBC, determining that the receiving side SBC can be bypassed, and then transmitting the media address for connecting the originating side SBC of the called device to the called device as the media address of the receiving side SBC, so that the called device The VoIP call connection is established directly with the originating side SBC without passing through the receiving side SBC.
例如,第二呼叫请求具体可以通过会话描述协议(SDP, Session Description Protocol )中媒体级 a行的扩展来携带用于连接被叫设备的发起侧 SBC的媒体 地址。  For example, the second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the Session Description Protocol (SDP).
此外, 该第二呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP 域信息), 该主叫设备的接入媒体域信息指示主叫设备所属接入媒体域, 以便 接收侧 SBC可以获知主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体 域信息也可以通过其他途径来获取,比如根据第二呼叫请求通过 SIP注册过程 来获知主叫设备的接入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也 可以通过 SIP注册过程来获知, 在此不再赘述。  In addition, the second call request may further include the access media domain information (ie, IP domain information) of the calling device, where the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side The SBC can learn the access media domain to which the calling device belongs. Of course, the access media domain information of the calling device can also be obtained through other means, for example, the SIP access registration process is used to learn the access media of the calling device according to the second call request. Domain information, and so on. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
104、 接收接收侧 SBC发送的第二呼叫响应, 其中, 该第二呼叫响应携带 被叫设备的媒体地址, 以建立发起侧 SBC和被叫设备之间的 VoIP呼叫连接。  104. Receive a second call response sent by the receiving side SBC, where the second call response carries a media address of the called device to establish a VoIP call connection between the originating side SBC and the called device.
当发起侧 SBC接收到第二呼叫响应后, 发起侧 SBC和被叫设备之间的 VoIP呼叫连接即以建成。  After the originating side SBC receives the second call response, the VoIP call connection between the originating side SBC and the called device is completed.
其中, 该第二呼叫响应具体可以通过 SDP中媒体级 a行的扩展来携带被 叫设备的媒体地址。  The second call response may specifically carry the media address of the called device by using an extension of the media level a line in the SDP.
此外, 该第二呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域, 以便发起侧 SBC可以 获知被叫设备所属接入媒体域, 当然,被叫设备的接入媒体域信息也可以通过 其他途径来获取, 比如在接收到第二呼叫响应后, 根据第二呼叫响应通过 SIP 注册过程来获知被叫设备的接入媒体域信息, 等等。  In addition, the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device. Accessing the media domain, of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
105、发送第三呼叫响应给主叫设备, 以建立发起侧 SBC和主叫设备之间 的 VoIP呼叫连接。  105. Send a third call response to the calling device to establish a VoIP call connection between the originating side SBC and the calling device.
当主叫设备接收到来自发起侧 SBC的第三呼叫响应后,发起侧 SBC和主 叫设备之间的 VoIP呼叫连接即以建成。 After the calling device receives the third call response from the originating side SBC, the originating side SBC and the master A VoIP call connection between devices is called to build.
例如,在将第三呼叫响应发送给主叫设备之前, 具体可以分配一个用于去 往主叫设备的发起侧 SBC的媒体地址, 然后在确定第二呼叫响应携带被叫设 备的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同 时, 在内部建立该去往主叫设备的发起侧 SBC的媒体地址与用于连接被叫设 备的发起侧 SBC的媒体地址之间的媒体会话连接, 这样, 就可以将 "发起侧 SBC和主叫设备之间的 VoIP呼叫连接" 和 "发起侧 SBC和被叫设备之间的 VoIP呼叫连接" 连接起来, 从而形成主叫设备、 发起侧 SBC和被叫设备三者 之间的 VoIP呼叫连接(旁路掉接收侧 SBC )。  For example, before sending the third call response to the calling device, specifically, a media address for the originating side SBC of the calling device may be allocated, and then determining that the second call response carries the media address of the called device, and When the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address of the originating side SBC to the calling device and the media address of the originating side SBC for connecting the called device are internally established. The media session connection between the two, so that the "VoIP call connection between the originating side SBC and the calling device" and the "VoIP call connection between the originating side SBC and the called device" can be connected to form a calling party. A VoIP call connection between the device, the originating side SBC, and the called device (bypassing the receiving side SBC).
由上可知, 本实施例采用在确定主叫设备位于 NAT设备下时, 分配用于 连接被叫设备的发起侧 SBC的媒体地址, 并传递给被叫设备, 并在后续接收 返回的携带有被叫设备的媒体地址, 以建立起主叫设备、 发起侧 SBC和被叫 设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时旁路掉接收侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的 目的。 实施例二、  As can be seen from the above, in this embodiment, when determining that the calling device is located under the NAT device, the media address for connecting the originating side SBC of the called device is allocated, and is transmitted to the called device, and is carried back in the subsequent receiving. Calling the media address of the device to establish a VoIP call connection between the calling device, the originating side SBC, and the called device, thereby bypassing the receiving side SBC when transmitting the media data stream, so that the media data stream does not pass through the core The network (that is, bypassing the core network bearer) achieves the purpose of saving transmission bandwidth. Embodiment 2
本实施例为与实施例一相对应的 VoIP呼叫建立方法。  This embodiment is a VoIP call setup method corresponding to the first embodiment.
本实施例将从被叫设备侧的 SBC, 即接收侧 SBC的角度进行描述。  This embodiment will be described from the perspective of the SBC on the called device side, that is, the reception side SBC.
一种 VoIP呼叫建立方法, 包括: 接收发起侧 SBC发送的第二呼叫请求, 其中, 该第二呼叫请求中携带用于连接被叫设备的发起侧 SBC的媒体地址; 确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将该用于连 接被叫设备的发起侧 SBC的媒体地址作为用于连接被叫设备的接收侧 SBC的 媒体地址,发送第三呼叫请求给被叫设备;接收被叫设备返回的第一呼叫响应; 根据第一呼叫响应发送第二呼叫响应给发起侧 SBC, 其中, 该第二呼叫响应 携带被叫设备的媒体地址,以建立发起侧 SBC和被叫设备之间的 VoIP呼叫连 接, 以及建立发起侧 SBC和主叫设备之间的 VoIP呼叫连接。  A method for establishing a VoIP call, comprising: receiving a second call request sent by an initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device; determining that the calling device belongs to the access When the media domain is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device is used as the media address of the receiving side SBC for connecting the called device, and the third call request is sent to The called device receives the first call response returned by the called device; sends a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish the originating side SBC A VoIP call connection with the called device, and a VoIP call connection between the originating side SBC and the calling device.
如图 2所示, 具体流程可以如下:  As shown in Figure 2, the specific process can be as follows:
201、 接收发起侧 SBC发送的第二呼叫请求, 其中, 该第二呼叫请求中携 带用于连接被叫设备的发起侧 SBC的媒体地址, 指示该第二呼叫请求来自主 叫设备, 便于接收端后续可以返回相应的响应到该主叫设备。 201. Receive a second call request sent by the sending side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device, indicating that the second call request is from the main Calling the device, the receiving end can then return a corresponding response to the calling device.
其中, 该第二呼叫请求具体可以通过 SDP中媒体级 a行的扩展来携带用 于连接被叫设备的发起侧 SBC的媒体地址。  The second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP.
此外, 第二呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP域 信息), 该主叫设备的接入媒体域信息指示主叫设备所属接入媒体域, 以便接 收侧 SBC可以获知主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取, 比如在接收到第二呼叫请求后,根据第二呼 叫请求通过 SIP注册过程来获知主叫设备的接入媒体域信息, 等等。  In addition, the second call request may also carry the access media domain information of the calling device (ie, the IP domain information), and the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side SBC The access media domain to which the calling device belongs can be obtained. Of course, the access media domain information of the calling device can also be obtained through other means, for example, after receiving the second call request, according to the second call request, the SIP registration process is used. Know the access media domain information of the calling device, and so on.
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。  It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port.
202、 确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 将该用于连接被叫设备的发起侧 SBC的媒体地址作为用于连接被叫设备的接 收侧 SBC的媒体地址, 发送第三呼叫请求给被叫设备。 例如, 具体可以如下: 接收侧 SBC在接收到该第二呼叫请求后, 如果确定主叫设备所属接入媒 体域与被叫设备所属接入媒体域相同,且第二呼叫请求中携带有用于连接被叫 设备的发起侧 SBC的媒体地址, 则表明可以旁路掉接收侧 SBC, 于是将该用 于连接被叫设备的发起侧 SBC的媒体地址作为接收侧 SBC的媒体地址传递给 被叫设备, 即将该用于连接被叫设备的发起侧 SBC的媒体地址替换掉分配的 去往被叫设备的接收侧 SBC的媒体地址, 发送第三呼叫请求给被叫设备, 以 便被叫设备直接与发起侧 SBC建立 VoIP呼叫连接, 而无需通过接收侧 SBC。  202. When it is determined that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address used to connect the originating side SBC of the called device is used as the receiving side SBC for connecting the called device. Media address, sending a third call request to the called device. For example, the following may be as follows: After receiving the second call request, the receiving side SBC determines that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the second call request carries the connection The media address of the initiating side SBC of the called device indicates that the receiving side SBC can be bypassed, and then the media address used to connect the originating side SBC of the called device is transmitted to the called device as the media address of the receiving side SBC. That is, the media address of the originating side SBC for connecting the called device is replaced with the media address of the receiving side SBC of the called device, and the third call request is sent to the called device, so that the called device directly and the originating side The SBC establishes a VoIP call connection without going through the receiving side SBC.
203、 接收被叫设备返回的第一呼叫响应。  203. Receive a first call response returned by the called device.
其中, 该第一呼叫响应携带被叫设备的媒体地址。  The first call response carries the media address of the called device.
204、 根据第一呼叫响应发送第二呼叫响应给发起侧 SBC。  204. Send a second call response to the originating side SBC according to the first call response.
其中, 该第二呼叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC和 被叫设备之间的 VoIP呼叫连接,以及建立发起侧 SBC和主叫设备之间的 VoIP 呼叫连接。 比如, 该第二呼叫响应具体可以通过 SDP中媒体级 a行的扩展来 携带被叫设备的媒体地址。  The second call response carries the media address of the called device to establish a VoIP call connection between the originating side SBC and the called device, and establish a VoIP call connection between the originating side SBC and the calling device. For example, the second call response may specifically carry the media address of the called device through the extension of the media level a line in the SDP.
需说明的是, 当接收侧 SBC接收到被叫设备返回的第一呼叫响应后, 将 会分配一个去往发起侧 SBC的接收侧 SBC的媒体地址,于是此时,接收侧 SBC 将该分配的去往发起侧 SBC的接收侧 SBC的媒体地址替换掉原第一呼叫响应 中的被叫设备的媒体地址, 以便指示该第二呼叫响应来自接收侧 SBC, 并将 该被叫设备的媒体地址通过 SDP (此处即指第二呼叫响应 )中媒体级 a行的扩 展携带给发起侧 SBC。 It should be noted that, after receiving the first call response returned by the called device, the receiving side SBC will allocate a media address to the receiving side SBC of the originating side SBC, and then the receiving side SBC And replacing the media address of the allocated side SBC of the originating side SBC with the media address of the called device in the original first call response, so as to indicate that the second call response is from the receiving side SBC, and the called device is The media address is carried to the originating side SBC by an extension of the media level a line in the SDP (here, the second call response).
此外, 该第二呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域, 以便发起侧 SBC可以 获知被叫设备所属接入媒体域, 当然,被叫设备的接入媒体域信息也可以通过 其他途径来获取, 比如在接收到第二呼叫响应后, 根据第二呼叫响应通过 SIP 注册过程来获知被叫设备的接入媒体域信息, 等等。  In addition, the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device. Accessing the media domain, of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
发起侧 SBC在接收到第二呼叫响应后的操作具体可参见实施例一, 在此 不再赘述。  For the operation of the SBC after receiving the second call response, refer to the first embodiment, and details are not described herein again.
由上可知, 本实施例采用在确定主叫设备位于 NAT设备下时, 由发起侧 SBC分配用于连接被叫设备的发起侧 SBC的媒体地址,然后在接收侧 SBC确 定主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,由接收侧 SBC 将该用于连接被叫设备的发起侧 SBC的媒体地址作为用于连接被叫设备的接 收侧 SBC的媒体地址传递给被叫设备, 并在后续将被叫设备的媒体地址传递 给发起侧 SBC, 以建立起主叫设备、 发起侧 SBC和被叫设备三者之间的 VoIP 呼叫连接, 从而在传输媒体数据流时旁路掉接收侧 SBC, 使得媒体数据流不 经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的目的。 实施例三、  As can be seen from the above, in the embodiment, when determining that the calling device is located under the NAT device, the originating side SBC allocates a media address for connecting the originating side SBC of the called device, and then determines the access of the calling device at the receiving side SBC. When the media domain is the same as the access media domain to which the called device belongs, the media address of the originating side SBC for connecting the called device is transmitted by the receiving side SBC to the media address of the receiving side SBC for connecting the called device to the media address. Calling the device, and subsequently transmitting the media address of the called device to the originating side SBC to establish a VoIP call connection between the calling device, the originating side SBC and the called device, thereby transmitting the media data stream The SBC is removed from the receiving side, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Embodiment 3
实施例一和二主要描述的是旁路掉接收侧 SBC的场景, 以下将举例对该 场景进行详细地说明。  Embodiments 1 and 2 mainly describe a scenario in which the receiving side SBC is bypassed, and the scenario will be described in detail below by way of example.
参见图 3a和图 3b , 这两个图分别为旁路掉接收侧 SBC的两个场景的示意 图。 其中, 图 3a为主叫设备和被叫设备均位于 NAT下时 VoIP呼叫建立的场景, 图 3b为主叫设备位于 NAT下, 而被叫设备不位于 NAT下时 VoIP呼叫建立的场 景, 其中, 虚线表示信令的路径, 实现表示媒体数据流的路径。 以下将以这两 中场景为例, 对本发明实施例所提供的 VoIP呼叫建立方法进行详细说明。  Referring to Figures 3a and 3b, the two figures are schematic illustrations of two scenes bypassing the receiving side SBC, respectively. Figure 3a shows a scenario in which a VoIP call is established when both the calling device and the called device are located under the NAT, and Figure 3b shows a scenario in which the VoIP call is established when the called device is located under the NAT and the called device is not located under the NAT. The dashed line indicates the path of the signaling, and the path representing the media data stream is implemented. The VoIP call setup method provided by the embodiment of the present invention will be described in detail below by taking the two scenarios as an example.
为了描述方便, 在本实施例中, 将以主叫设备为终端 A, 被叫设备为终端 B, 终端 A的 NAT为 NAT1 , 终端 B的 NAT为 NAT2, 发起侧 SBC为 SBC1 , 接收 侧 SBC为 SBC2为例进行说明。 For the convenience of description, in this embodiment, the calling device is the terminal A, the called device is the terminal B, the NAT of the terminal A is NAT1, the NAT of the terminal B is the NAT2, and the originating side SBC is the SBC1, and the receiving is performed. The side SBC is SBC2 as an example.
如图 3c所示, 具体流程可以如下:  As shown in Figure 3c, the specific process can be as follows:
301、 终端 A通过 SIP信令经过 NAT1发送第一呼叫请求。  301. Terminal A sends a first call request through NAT1 through SIP signaling.
其中, 该第一呼叫请求中携带会话描述协议给予 (SDP offer, Session Description Protocol offer ) 消息体, 在 SDP offer消息体中, 包含了终端 A的媒 体地址: IP0和端口 0。  The first call request carries a SDP offer (Session Description Protocol offer) message body, and the SDP offer message body includes the media address of the terminal A: IP0 and port 0.
例如, 若 IP0为 IP4 192.0.2.1 , 端口 0为 49170, 则该 SDP offer消息体的格式 具体可以如下:  For example, if IP0 is IP4 192.0.2.1 and port 0 is 49170, the format of the SDP offer message body can be as follows:
SDP offer(UEl to SBC1)  SDP offer (UEl to SBC1)
INVITE SIP: user_B@operator_Y.net; SIP/2.0  INVITE SIP: user_B@operator_Y.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.1  c=IN IP4 192.0.2.1
m=audio 49170 RTP/AVP 96 97  m=audio 49170 RTP/AVP 96 97
a=rtpmap:97 AMR  a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
302、 SBC1分配去往核心侧的 SBC1的媒体地址: IP2和端口 2, 由于通过 终端 A的 SIP注册过程已知终端 A位于 NAT设备下, 所以此时, SBC1会多分配 一份 SBC1的媒体地址: IP1和端口 1 , 用于连接终端 B。  302. The SBC1 allocates the media address of the SBC1 to the core side: IP2 and port 2. Since the terminal A is known to be located under the NAT device through the SIP registration process of the terminal A, the SBC1 allocates a media address of the SBC1 at this time. : IP1 and port 1, used to connect to terminal B.
303、 SBC1根据第一呼叫请求发送第二呼叫请求到核心网。  303. The SBC1 sends a second call request to the core network according to the first call request.
其中, 该第二呼叫请求携带 SDP offer消息体, 该 SDP offer消息体中包含 SBC1的媒体地址: IP2和端口 2 (即替换掉原第一呼叫请求中的 IP0和端口 0 ) , 同时通过对 SDP媒体级 a行的扩展来携带多分配的用于连接终端 B的 SBC1的媒 体地址: IP1和端口 1 , 此外, 还可以携带终端 A所属的接入媒体域信息: R1信 息。 例如, 若 IP2为 13.24.1.1 , 端口 2为 62111 ; IP1为 192.0.2.2, 端口 1为 49180, 则该 SDP offer消息体的格式具体可以如下: The second call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC1: IP2 and port 2 (ie, replaces the IP0 and port 0 in the original first call request), and simultaneously passes the SDP The media level a line is extended to carry the multi-allocated media address of the SBC1 for connecting to the terminal B: IP1 and port 1. In addition, the access media domain information to which the terminal A belongs may also be carried: R1 information. For example, if IP2 is 13.24.1.1, port 2 is 62111, IP1 is 192.0.2.2, and port 1 is 49180, the format of the SDP offer message body can be as follows:
SDP offer(SBCl to Core to SBC2)  SDP offer (SBCl to Core to SBC2)
INVITE SIP: user_B@operator_Y.net; SIP/2.0  INVITE SIP: user_B@operator_Y.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 13.24.1.1  c=IN IP4 13.24.1.1
m=audio 62111 RTP/AVP 96 97  m=audio 62111 RTP/AVP 96 97
a=rtpmap:97 AMR  a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
a=nat-visited-realm: l Rl IN IP4 192.0.2.2 49180  a=nat-visited-realm: l Rl IN IP4 192.0.2.2 49180
其中, 下划线部分为扩展的 a行信息。  The underlined part is an extended a-line information.
304、 核心网在接收到第二呼叫请求后, 将该第二呼叫请求路由到 SBC2, SBC2确定该第二呼叫请求携带的 SDP offer中包含了扩展的媒体级 a行,于是获 取其 R1信息, 以及获取终端 B所属接入媒体域信息, 确定 R1信息和终端 B所属 接入媒体域信息是否相同, 若是, 则认为可以旁路核心网承载, 于是确定可以 旁路掉 SBC2; 若否, 则认为不可以旁路核心网承载, 于是按照现有的流程进 行操作。  After receiving the second call request, the core network routes the second call request to the SBC2, and the SBC2 determines that the SDP offer carried by the second call request includes the extended media level a line, and then obtains the R1 information. And obtaining the access media domain information of the terminal B, determining whether the R1 information and the access media domain information to which the terminal B belongs are the same. If yes, it is considered that the core network bearer can be bypassed, so that it is determined that the SBC2 can be bypassed; if not, it is considered It is not possible to bypass the core network bearer, and then operate according to the existing process.
305、 SBC2将该扩展的媒体级 a行中的 IP1和端口 1作为去往终端 B的 SBC2 的媒体地址, 发送第三呼叫请求给终端 B。  305. SBC2 sends IP3 and port 1 in the extended media level a line as the media address of SBC2 to terminal B, and sends a third call request to terminal B.
其中, 该第三呼叫请求携带 SDP offer消息体, SDP offer消息体中包含 IP1 和端口 1。  The third call request carries an SDP offer message body, where the SDP offer message body includes IP1 and port 1.
需说明的是, SBC2原本需要分配去往终端 B的 SBC2的媒体地址, 然后携 带在第三呼叫请求中发送给终端 B, 以指示该第三呼叫请求来自于 SBC2, 而在 本实施例中, 将会把扩展的媒体级 a行中的 IP1地址和端口 1替换掉该原本分配 的去往终端 B的 SBC2的媒体地址, 也就是说, 将该扩展的媒体级 a行中的 IP1 地址和端口 1作为去往终端 B的 SBC2的媒体地址, 发送第三呼叫请求给终端 B, 这样, 终端 B就可以得知 SBC1的媒体地址, 从而实现旁路掉 SBC2的目的。 该 第三呼叫请求中不需要对媒体级 a行进行扩展。 It should be noted that the SBC2 originally needs to allocate the media address of the SBC2 to the terminal B, and then carries it to the terminal B in the third call request to indicate that the third call request is from the SBC2, and in this embodiment, The IP1 address and port 1 in the extended media level a line will be replaced by the original allocation. The media address of the SBC2 to the terminal B, that is, the IP1 address and port 1 in the extended media level a line are used as the media address of the SBC2 destined for the terminal B, and the third call request is sent to the terminal B, In this way, the terminal B can know the media address of the SBC1, thereby achieving the purpose of bypassing the SBC2. There is no need to extend the media level a line in the third call request.
例如, 将扩展的媒体级 a行中的 IP1地址和端口 1作为去往终端 B的 SBC2的 媒体地址后的 SDP offer消息体的格式具体可以如下:  For example, the format of the SDP offer message body after the IP1 address and port 1 in the extended media level a line is used as the media address of the SBC2 to the terminal B may be as follows:
SDP offer(SBC2 to Called)  SDP offer(SBC2 to Called)
INVITE SIP: sip:UE-B ©operatorX.net; SIP/2.0  INVITE SIP: sip:UE-B ©operatorX.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.2  c=IN IP4 192.0.2.2
m=audio 49180 RTP/AVP 96 97  m=audio 49180 RTP/AVP 96 97
a=rtpmap:97 AMR  a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
306、 终端 B返回第一呼叫响应给 SBC2;  306, terminal B returns the first call response to SBC2;
其中, 该第一呼叫响应携带会话描述协议应答( SDP answer , Session Description Protocol answer ) , SDP answer中包含终端 B的媒体地址: IP3和端 口 3; 还可以包含终端 B所述媒体域信息: R1信息。  The first call response carries a session description protocol answer (SDP answer, Session Description Protocol answer), and the SDP answer includes the media address of the terminal B: IP3 and port 3; and may also include the media domain information of the terminal B: R1 information .
例如, 若 IP3为 192.0.2.4, 端口 3为 16511 , 则该 SDP answer消息体的格式具 体可以如下:  For example, if IP3 is 192.0.2.4 and port 3 is 16511, the format of the SDP answer message body can be as follows:
SDP answer(Called to SBC2)  SDP answer(Called to SBC2)
SIP/2.0 183 Session Progress  SIP/2.0 183 Session Progress
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...) v=0 Content-Length: (...) V=0
c=IN IP4 192.0.2.4  c=IN IP4 192.0.2.4
m=audio 16511 RTP/AVP 97 98  m=audio 16511 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:97 telephone-event  a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
307、 SBC2接收到第一呼叫响应后, 分配去往核心网的 SBC2的媒体地址: IP4和端口 4, 发送第二呼叫响应给核心网。  307. After receiving the first call response, the SBC2 allocates the media address of the SBC2 to the core network: IP4 and port 4, and sends a second call response to the core network.
其中, 第二呼叫响应中携带 SDP answer消息体, SDP answer消息体中携带 分配的去往核心网的 SBC2的媒体地址: IP4和端口 4 (即将 IP4和端口 4替换掉 原第一呼叫响应中的终端 B的媒体地址: IP3和端口 3 ) , 同时通过对媒体级 a 行的扩展来携带终端 B的媒体地址: IP3和端口 3 , 此外, 还可以携带终端 B的 所属接入媒体域信息: R1信息。  The second call response carries the SDP answer message body, and the SDP answer message body carries the assigned media address of the SBC2 to the core network: IP4 and port 4 (ie, IP4 and port 4 are replaced by the original first call response) The media address of the terminal B: IP3 and port 3), and the media address of the terminal B is carried by the extension of the media level a: IP3 and port 3. In addition, the access media domain information of the terminal B can also be carried: R1 information.
例如, 若 IP4为 IP4 13.24.1.2, 端口 4为 16000, 则 SDP answer消息体的格式 具体可以如下:  For example, if IP4 is IP4 13.24.1.2 and port 4 is 16000, the format of the SDP answer message body can be as follows:
SDP answer(SBC2 to Core to SBC1)  SDP answer(SBC2 to Core to SBC1)
SIP/2.0 183 Session Progress  SIP/2.0 183 Session Progress
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 13.24.1.2  c=IN IP4 13.24.1.2
m=audio 16000 RTP/AVP 97 98  m=audio 16000 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:97 telephone-event  a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
a=nat-visited-realm: l Rl IN IP4 192.0.2.4 16511 其中, 划线部分即为扩展的媒体级 a行。 a=nat-visited-realm: l Rl IN IP4 192.0.2.4 16511 Among them, the underlined part is the extended media level a line.
308、核心网接收到第二呼叫响应后,将第二呼叫响应路由到 SBC1。 SBC1 接收到核心网路由过来的第二呼叫响应后, 分配去往终端 A的媒体地址: IP5 和端口 5; 由于发现 SDP answer中包含有扩展的媒体级 a行, 且终端 A和终 端 B所属的接入媒体域相同, 于是 SBC1确定可以旁路核心网承载, 即可以旁 路掉 SBC2, SBC1在内部建立媒体会话连接: IP5+端口 <—― >IP1+端口。  308. After receiving the second call response, the core network routes the second call response to SBC1. After receiving the second call response routed by the core network, the SBC1 allocates the media address to the terminal A: IP5 and port 5; since the SDP answer is found to contain the extended media level a line, and the terminal A and the terminal B belong to The access media domain is the same, so SBC1 determines that the core network bearer can be bypassed, that is, SBC2 can be bypassed, and SBC1 establishes a media session connection internally: IP5+port<-->IP1+ port.
309、 SBC1发送第三呼叫响应给终端 A。  309. SBC1 sends a third call response to terminal A.
其中, 该第三呼叫响应携带 SDP answer消息体, SDP answer消息体中包 含了去往终端 A的媒体地址: IP5和端口 5 , 即将 IP5和端口 5替换掉原第二 呼叫响应中的 IP4和端口 4。  The third call response carries an SDP answer message body, and the SDP answer message body includes a media address to the terminal A: IP5 and port 5, that is, IP5 and port 5 are replaced with the IP4 and port in the original second call response. 4.
例如, 如果 IP5为 192.0.2.5 , 端口 5为 16611 , 则 SDP answer消息体的格 式具体可以如下:  For example, if IP5 is 192.0.2.5 and port 5 is 16611, the format of the SDP answer message body can be as follows:
SDP answer(SBCl to Caller)  SDP answer (SBCl to Caller)
SIP/2.0 183 Session Progress  SIP/2.0 183 Session Progress
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.5  c=IN IP4 192.0.2.5
m=audio 16611 RTP/AVP 97 98  m=audio 16611 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:97 telephone-event  a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
至此, VoIP呼叫建立完毕, 此后, 终端 A和终端 B就可以进行媒体会话, 其间不需要经过核心网的承载。  At this point, the VoIP call is established, and thereafter, the terminal A and the terminal B can perform the media session without being carried by the core network.
由上可知, 本实施例采用在确定终端 A位于 NAT设备下时, 分配用于连 接终端 B的 SBC1的媒体地址, 并通过扩展的媒体级 a行来携带给 SBC2, 以 便 SBC2将该用于连接终端 B的 SBC1的媒体地址作为 SBC2的媒体地址传递 给终端 B,然后在后续由 SBC2通过扩展的媒体级 a行携带终端 B的媒体地址 给 SBC1 , 以建立起终端 A、 SBC1和终端 B三者之间的 VoIP呼叫连接, 从而 在传输媒体数据流时旁路掉 SBC2, 使得媒体数据流不经过核心网 (即旁路掉 核心网承载), 实现节约传输带宽的目的。 实施例四、 As can be seen from the above, in this embodiment, when determining that the terminal A is located under the NAT device, the media address of the SBC1 for connecting to the terminal B is allocated, and is carried to the SBC2 through the extended media level a line, so that the SBC2 will be used for the connection. The media address of SBC1 of terminal B is transmitted as the media address of SBC2. To the terminal B, and then carry the media address of the terminal B to the SBC1 through the extended media level a line by the SBC2 to establish a VoIP call connection between the terminal A, the SBC1 and the terminal B, thereby transmitting the media data stream. Bypassing SBC2, the media data stream does not pass through the core network (ie bypassing the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Embodiment 4
本发明实施例还提供另一种 VoIP呼叫建立方法。 以下将在实施例四、 五 和六中对该 VoIP呼叫建立方法进行详细说明。  Another embodiment of the present invention provides a VoIP call setup method. The VoIP call setup method will be described in detail in Embodiments 4, 5 and 6.
在本实施例中,将从主叫设备侧的 SBC, 即发起侧 SBC的角度进行描述。 一种 VoIP呼叫建立方法, 包括: 接收主叫设备发送的第一呼叫请求; 根 据第一呼叫请求发送第四呼叫请求给接收侧 SBC, 所述第四呼叫请求携带主 叫设备的媒体地址, 以便接收侧 SBC确定被叫设备位于 NAT设备下, 且第一 呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设 备所属接入媒体域相同时,分配用于连接主叫设备的接收侧 SBC的媒体地址; 接收接收侧 SBC返回的第四呼叫响应, 所述第四呼叫响应携带用于连接主叫 设备的接收侧 SBC的媒体地址; 确定第四呼叫响应携带用于连接主叫设备的 接收侧 SBC的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒 体域相同时, 将所述用于连接主叫设备的接收侧 SBC的媒体地址作为用于连 接主叫设备的发起侧 SBC的媒体地址, 发送第五呼叫响应给主叫设备, 以建 立接收侧 SBC和主叫设备之间的 VoIP呼叫连接。  In this embodiment, the description will be made from the perspective of the SBC on the calling device side, that is, the originating side SBC. A method for establishing a VoIP call, comprising: receiving a first call request sent by a calling device; sending a fourth call request to a receiving side SBC according to the first call request, where the fourth call request carries a media address of the calling device, so that The receiving side SBC determines that the called device is located under the NAT device, and the first call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. a media address of the receiving side SBC connected to the calling device; receiving a fourth call response returned by the receiving side SBC, the fourth call response carrying a media address for connecting the receiving side SBC of the calling device; determining the fourth call response When the media address of the receiving side SBC is used to connect to the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the receiving side SBC for connecting the calling device is used. The media address is used as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish reception. A VoIP call connection between the side SBC and the calling device.
参见图 4, 具体流程可以如下:  Referring to Figure 4, the specific process can be as follows:
401、 接收主叫设备发送的第一呼叫请求。  401. Receive a first call request sent by a calling device.
其中, 该第一呼叫请求中包含有主叫设备的媒体地址,指示该第一呼叫请 求来自主叫设备, 便于接收端后续可以返回相应的响应到该主叫设备。  The first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。  It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port.
402、 根据第一呼叫请求发送第四呼叫请求给接收侧 SBC, 其中, 该第四 呼叫请求携带主叫设备的媒体地址, 以便接收侧 SBC确定被叫设备位于 NAT 设备下,且第四呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入 媒体域与被叫设备所属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址。 402. Send a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT device, and the fourth call request When the media address of the calling device is carried in, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the receiving side for connecting the calling device is allocated. SBC's media address.
其中, 该第四呼叫请求通过 SDP中媒体级 a行的扩展来携带主叫设备的 媒体地址。  The fourth call request carries the media address of the calling device through the extension of the media level a line in the SDP.
此外, 该第四呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP 域信息), 用于指示主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取,比如通过 SIP注册过程来获知主叫设备的接 入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也可以通过 SIP注册过 程来获知, 在此不再赘述。  In addition, the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
403、 接收接收侧 SBC返回的第四呼叫响应, 其中, 该第四呼叫响应携带 用于连接主叫设备的接收侧 SBC的媒体地址。  403. Receive a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address used to connect the receiving side SBC of the calling device.
例如, 第四呼叫响应具体可以通过 SDP中媒体级 a行的扩展来携带该用 于连接主叫设备的接收侧 SBC的媒体地址。  For example, the fourth call response may specifically carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP.
此外, 该第四呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域。 当然,被叫设备所属接 入媒体域也可以通过 SIP注册过程来获知, 在此不再赘述。  In addition, the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs. Of course, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
404、 确定第四呼叫响应携带用于连接主叫设备的接收侧 SBC 的媒体地 址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 则确定可 以旁路掉接收侧 SBC, 于是将该用于连接主叫设备的接收侧 SBC的媒体地址 作为用于连接主叫设备的发起侧 SBC的媒体地址(即将该用于连接主叫设备 的接收侧 SBC的媒体地址替换掉分配的去往主叫设备的发起侧 SBC的媒体地 址), 发送第五呼叫响应给主叫设备, 当主叫设备接收到第五呼叫响应时, 接 收侧 SBC和主叫设备之间的 VoIP呼叫连接即以建成, 从而形成主叫设备、接 收侧 SBC和被叫设备三者之间的 VoIP呼叫连接(旁路掉发起侧 SBC )。  404. Determine that the fourth call response carries a media address used to connect the receiving side SBC of the calling device, and if the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, it is determined that the receiving may be bypassed. The side SBC, and then the media address for connecting the receiving side SBC of the calling device is used as the media address for connecting the originating side SBC of the calling device (that is, replacing the media address of the receiving side SBC for connecting the calling device) The assigned media address of the originating side SBC of the calling device is sent, and the fifth call response is sent to the calling device. When the calling device receives the fifth call response, the VoIP between the receiving side SBC and the calling device The call connection is built to form a VoIP call connection between the calling device, the receiving side SBC and the called device (bypassing the originating side SBC).
由上可知, 本实施例采用在确定被叫设备位于 NAT设备下, 且第四呼叫 请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设备所 属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址, 并 在后续接收到被叫设备返回的第一呼叫响应时,将该用于连接主叫设备的接收 侧 SBC的媒体地址传递给主叫设备, 以建立起主叫设备、 接收侧 SBC和被叫 设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时旁路掉发起侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的 目的。 实施例五、 As can be seen from the above, the embodiment is used to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs and the access media to which the called device belongs. When the domains are the same, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the media address of the receiving side SBC for connecting the calling device is allocated. Passed to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the originating side SBC when transmitting the media data stream, The media data stream is not passed through the core network (ie, bypassing the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Embodiment 5
本实施例为与实施例四相对应的 VoIP呼叫建立方法。  This embodiment is a VoIP call establishment method corresponding to the fourth embodiment.
本实施例将从被叫设备侧的 SBC, 即接收侧 SBC的角度进行描述。  This embodiment will be described from the perspective of the SBC on the called device side, that is, the reception side SBC.
一种 VoIP呼叫建立方法, 包括: 接收发起侧 SBC发送的第四呼叫请求, 该第四呼叫请求携带主叫设备的媒体地址; 确定被叫设备位于 NAT设备下, 且第一呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒体域与 被叫设备所属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒 体地址; 根据第四呼叫请求发送第五呼叫请求给被叫设备;接收被叫设备返回 的第一呼叫响应, 以建立接收侧 SBC和被叫设备之间的 VoIP呼叫连接; 根据 第一呼叫响应发送第四呼叫响应给发起侧 SBC, 该第四呼叫响应携带用于连 接主叫设备的接收侧 SBC的媒体地址, 以便发起侧 SBC确定第四呼叫响应携 带用于连接主叫设备的接收侧 SBC的媒体地址, 且主叫设备所属接入媒体域 与被叫设备所属接入媒体域相同时, 将该用于连接主叫设备的接收侧 SBC的 媒体地址作为用于连接主叫设备的发起侧 SBC的媒体地址, 发送第五呼叫响 应给主叫设备, 以建立接收侧 SBC和主叫设备之间的 VoIP呼叫连接。  A method for establishing a VoIP call, comprising: receiving a fourth call request sent by an initiating side SBC, where the fourth call request carries a media address of the calling device; determining that the called device is located under the NAT device, and the first call request is carried The media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, and the media address of the receiving side SBC for connecting the calling device is allocated; Receiving a call request to the called device; receiving a first call response returned by the called device to establish a VoIP call connection between the receiving side SBC and the called device; and transmitting a fourth call response to the originating side SBC according to the first call response, The fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the originating side SBC determines that the fourth call response carries a media address for connecting the receiving side SBC of the calling device, and the calling device belongs to When the incoming media domain is the same as the access media domain to which the called device belongs, the media area for connecting the receiving side SBC of the calling device is used. As the media address for initiating the calling side connection of the SBC device, the call sends a fifth response to the calling device to establish a VoIP call connection between the calling device and the reception side SBC.
如图 5所示, 具体流程可以如下:  As shown in Figure 5, the specific process can be as follows:
501、 接收发起侧 SBC发送的第四呼叫请求, 该第四呼叫请求由发起侧 SBC根据接收到的第一呼叫请求(即主叫设备发送的第一呼叫请求)发出。  501. Receive a fourth call request sent by the sending side SBC, where the fourth call request is sent by the sending side SBC according to the received first call request (ie, the first call request sent by the calling device).
其中, 该第四呼叫请求携带主叫设备的媒体地址; 例如, 具体可以通过 SDP中媒体级 a行的扩展来携带主叫设备的媒体地址。  The fourth call request carries the media address of the calling device. For example, the media address of the calling device may be carried by the extension of the media level a line in the SDP.
此外, 该第四呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP 域信息), 用于指示主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取,比如通过 SIP注册过程来获知主叫设备的接 入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也可以通过 SIP注册过 程来获知, 在此不再赘述。  In addition, the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。 502、确定被叫设备位于 NAT设备下, 且第四呼叫请求中携带了主叫设备 的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址。 例如, 具体可以如下: 接收侧 SBC在接收到该第四呼叫请求后,如果确定被叫设备位于 NAT设 备下,且第四呼叫请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒 体域与被叫设备所属接入媒体域相同, 则表明可以旁路掉发起侧 SBC, 于是 分配用于连接主叫设备的接收侧 SBC的媒体地址, 以便后续可以传递给主叫 设备, 以建立主叫设备和接收侧 SBC之间的 VoIP呼叫连接。 It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port. 502. Determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. The media address of the receiving side SBC of the calling device is connected. For example, the receiving side SBC, after receiving the fourth call request, determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the calling device belongs to If the inbound media domain is the same as the access media domain to which the called device belongs, it indicates that the originating side SBC can be bypassed, and then the media address of the receiving side SBC for connecting to the calling device is allocated, so that the media address can be subsequently transmitted to the calling device. Establish a VoIP call connection between the calling device and the receiving side SBC.
503、 根据第四呼叫请求发送第五呼叫请求给被叫设备。  503. Send a fifth call request to the called device according to the fourth call request.
504、接收被叫设备返回的第一呼叫响应, 以建立接收侧 SBC和被叫设备 之间的 VoIP呼叫连接。  504. Receive a first call response returned by the called device to establish a VoIP call connection between the receiving side SBC and the called device.
505、 根据第一呼叫响应发送第四呼叫响应给发起侧 SBC, 其中, 该第四 呼叫响应携带步骤 502中分配的 "用于连接主叫设备的接收侧 SBC的媒体地 址,,。  505. Send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries the “media address for connecting the receiving side SBC of the calling device” allocated in step 502.
其中, 第四呼叫响应具体可以通过 SDP中媒体级 a行的扩展来携带用于 连接主叫设备的接收侧 SBC的媒体地址。  The fourth call response may specifically carry a media address for connecting the receiving side SBC of the calling device by using an extension of the media level a line in the SDP.
发起侧 SBC在接收到第四呼叫响应后, 若确定第四呼叫响应中携带该用 于连接主叫设备的接收侧 SBC的媒体地址, 且主叫设备所属接入媒体域与被 叫设备所属接入媒体域相同时, 则认为可以旁路掉发起侧 SBC, 于是将该用 于连接主叫设备的接收侧 SBC 的媒体地址作为用于连接主叫设备的发起侧 SBC 的媒体地址, 发送第五呼叫响应给主叫设备, 即将该用于连接主叫设备 的接收侧 SBC的媒体地址替换掉分配的去往主叫设备的发起侧 SBC的媒体地 址,发送第五呼叫请求给主叫设备,以便主叫设备直接和接收侧 SBC建立 VoIP 呼叫连接, 而无需通过发起侧 SBC。  After receiving the fourth call response, the initiating side SBC determines that the fourth call response carries the media address of the receiving side SBC for connecting to the calling device, and the accessing media domain to which the calling device belongs is associated with the called device. When the media domain is the same, it is considered that the originating side SBC can be bypassed, and then the media address used to connect the receiving side SBC of the calling device is used as the media address for connecting the originating side SBC of the calling device, and the fifth is sent. The call response is sent to the calling device, that is, the media address of the receiving side SBC for connecting the calling device is replaced by the media address of the transmitting side SBC of the calling device, and the fifth call request is sent to the calling device, so that The calling device establishes a VoIP call connection directly with the receiving side SBC without passing through the originating side SBC.
此外, 该第四呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域。 当然,被叫设备所属接 入媒体域也可以通过 SIP注册过程来获知, 在此不再赘述。  In addition, the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs. Of course, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
由上可知, 本实施例采用在确定被叫设备位于 NAT设备下, 且第四呼叫 请求中携带了主叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设备所 属接入媒体域相同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址, 并 在后续接收到被叫设备返回的第一呼叫响应时,将该用于连接主叫设备的接收 侧 SBC的媒体地址传递给主叫设备, 以建立起主叫设备、 接收侧 SBC和被叫 设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时旁路掉发起侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的 目的。 实施例六、 As can be seen from the above, this embodiment is used to determine that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the accessed media domain and the called device. When the access media domain is the same, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the receiving side for connecting the calling device is used. The media address of the SBC is delivered to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby bypassing the originating side SBC when transmitting the media data stream, so that the media data The flow does not pass through the core network (that is, bypasses the core network bearer), achieving the purpose of saving transmission bandwidth. Embodiment 6
根据实施例四和五所描述的方法, 以下将举例作详细说明。  The methods described in the fourth and fifth embodiments will be exemplified in detail below.
参见图 6a, 该图为媒体数据流传输时旁路掉发起侧 SBC的场景示意图, 在 图 6a中, 主叫设备不位于 NAT下, 而被叫设备位于 NAT下, 其中, 虚线表示信 令的路径, 实现表示媒体数据流的路径。 以下将以该场景为例, 对本发明实施 例所提供的 VoIP呼叫建立方法进行详细说明。  Referring to FIG. 6a, the figure is a schematic diagram of bypassing the SBC of the originating side when the media data stream is transmitted. In FIG. 6a, the calling device is not located under the NAT, and the called device is located under the NAT, where the dotted line indicates signaling. Path, the path that represents the flow of media data. The VoIP call setup method provided by the embodiment of the present invention will be described in detail below by taking the scenario as an example.
为了描述方便, 在本实施例中, 将以主叫设备为终端 A, 被叫设备为终端 For the convenience of description, in this embodiment, the calling device will be the terminal A, and the called device will be the terminal.
B, 终端 B的 NAT为 NAT2, 发起侧 SBC为 SBC1 , 接收侧 SBC为 SBC2为例进行 说明。 B. The NAT of the terminal B is NAT2, the SBC of the initiating side is SBC1, and the SBC of the receiving side is SBC2.
如图 6b所示, 具体流程可以如下:  As shown in Figure 6b, the specific process can be as follows:
601、 终端 A通过 SIP信令发送第一呼叫请求。  601. Terminal A sends a first call request by using SIP signaling.
其中, 该第一呼叫请求携带 SDP offer消息体, 在 SDP offer消息体中, 包含 了终端 A的媒体地址: IP0和端口 0。  The first call request carries the SDP offer message body, and the SDP offer message body includes the media address of the terminal A: IP0 and port 0.
例如, 若 IP0为 IP4 192.0.2.1 , 端口 0为 49170, 则该 SDP offer消息体的格式 具体可以如下:  For example, if IP0 is IP4 192.0.2.1 and port 0 is 49170, the format of the SDP offer message body can be as follows:
SDP offer(UEl to SBCl)  SDP offer (UEl to SBCl)
INVITE SIP: user_B@operator_Y.net; SIP/2.0  INVITE SIP: user_B@operator_Y.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.1  c=IN IP4 192.0.2.1
m=audio 49170 RTP/AVP 96 97 a=rtpmap:97 AMR m=audio 49170 RTP/AVP 96 97 a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
602、 SBC1分配去往核心侧的 SBC1的媒体地址: IP2和端口 2。  602. SBC1 allocates the media address of SBC1 to the core side: IP2 and port 2.
603、 SBC1根据第一呼叫请求发送第四呼叫请求到核心网。  603. The SBC1 sends a fourth call request to the core network according to the first call request.
其中,第四呼叫请求携带 SDP offer消息体,该 SDP offer消息体中包含 SBC1 的媒体地址: IP2和端口 (即替换掉原第一呼叫请求中的 IP0和端口 0 ) , 同时 过对 SDP媒体级 a行的扩展来携带终端 A的媒体地址: IP0和端口 0, 此外, 还可 以携带终端 A的所属接入媒体域信息: R1信息。  The fourth call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC1: IP2 and the port (ie, replaces the IP0 and port 0 in the original first call request), and simultaneously passes the SDP media level. The extension of the a line carries the media address of the terminal A: IP0 and port 0, and may also carry the access media domain information of the terminal A: R1 information.
例如, 若 IP2为 13.24.1.1 , 端口 2为 62111 ; 则该 SDP offer消息体的格式具 体可以如下:  For example, if IP2 is 13.24.1.1 and port 2 is 62111; the format of the SDP offer message body can be as follows:
SDP offer(SBCl to Core to SBC2)  SDP offer (SBCl to Core to SBC2)
INVITE SIP: user_B@operator_Y.net; SIP/2.0  INVITE SIP: user_B@operator_Y.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 13.24.1.1  c=IN IP4 13.24.1.1
m=audio 62111 RTP/AVP 96 97  m=audio 62111 RTP/AVP 96 97
a=rtpmap:97 AMR  a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
a=visited-realm: l Rl IN IP4 192.0.2.1 49170  a=visited-realm: l Rl IN IP4 192.0.2.1 49170
其中, 划线部分为扩展的媒体级 a行。  The line portion is an extended media level a line.
604、 核心网接收到该第四呼叫请求后, 将该第四呼叫请求路由到 SBC2, 一方面, SBC2分配去往 NAT2下的终端 B的 SBC2的媒体地址: IP6和端口 6, 另 一方面, SBC2确定终端 B位于 NAT2下, 且该第四呼叫请求携带的 SDP offer中 包含了扩展的媒体级 a行, 于是获取其 R1信息, 以及获取终端 B所属接入媒体 域信息, 确定 R1信息和终端 B所属接入媒体域信息是否相同, 若是, 则认为可 以旁路核心网承载,于是分配用于连接终端 A的 SBC2的媒体地址: IP1和端口 1 , 以便旁路掉 SBC1 ; 若否, 则认为不可以旁路核心网承载, 于是按照现有的流 程进行操作。 604. After receiving the fourth call request, the core network routes the fourth call request to the SBC2. On the one hand, the SBC2 allocates the media address of the SBC2 to the terminal B under the NAT2: IP6 and port 6. On the other hand, SBC2 determines that terminal B is located under NAT2, and the SDP offer carried by the fourth call request is The extended media level a line is included, and the R1 information is obtained, and the access media domain information of the terminal B is obtained, and it is determined whether the R1 information and the access media domain information of the terminal B belong to the same. If yes, the core network is considered to be bypassed. Bearer, then allocates the media address of SBC2 for connecting terminal A: IP1 and port 1 to bypass SBC1; if not, it is considered that the core network bearer cannot be bypassed, and then operates according to the existing flow.
605、 SBC2发送第五呼叫请求给终端 B。  605. The SBC2 sends a fifth call request to the terminal B.
其中, 第五呼叫请求中携带 SDP offer消息体,该 SDP offer消息体中包含分 配的去往 NAT2下的终端 B的 SBC2的媒体地址: IP6和端口 6。  The fifth call request carries an SDP offer message body, where the SDP offer message body includes the media address of the SBC2 assigned to the terminal B under the NAT2: IP6 and port 6.
例如, 如果 IP6为 192.0.2.5 , 端口 6为 16611 , 则 SDP offer消息体的格式具 体可以如下:  For example, if IP6 is 192.0.2.5 and port 6 is 16611, the format of the SDP offer message body can be as follows:
SDP offer(SBC2 to Called)  SDP offer(SBC2 to Called)
INVITE SIP: sip:UE-B ©operatorX.net; SIP/2.0  INVITE SIP: sip:UE-B ©operatorX.net; SIP/2.0
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.5  c=IN IP4 192.0.2.5
m=audio 16611 RTP/AVP 96 97  m=audio 16611 RTP/AVP 96 97
a=rtpmap:97 AMR  a=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:96 telephone-event  a=rtpmap:96 telephone-event
a=maxptime:20  a=maxptime: 20
606、 终端 B返回第一呼叫响应给 SBC2。  606. Terminal B returns a first call response to SBC2.
其中, 该第一呼叫响应携带 SDP answer, SDP answer中包含终端 B的媒体 地址: IP3和端口 3; 还可以包含终端 B所述媒体域信息: R1信息。  The first call response carries the SDP answer, and the SDP answer includes the media address of the terminal B: IP3 and port 3. The media domain information of the terminal B may also be included: R1 information.
例如, 若 IP3为 192.0.2.4, 端口 3为 16511 , 则该 SDP answer消息体的格式具 体可以如下:  For example, if IP3 is 192.0.2.4 and port 3 is 16511, the format of the SDP answer message body can be as follows:
SDP answer(Called to SBC2)  SDP answer(Called to SBC2)
SIP/2.0 183 Session Progress SIP headers SIP/2.0 183 Session Progress SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 192.0.2.4  c=IN IP4 192.0.2.4
m=audio 16511 RTP/AVP 97 98  m=audio 16511 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:97 telephone-event  a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
607、 SBC2接收到第一呼叫响应后, 分配去往核心网的 SBC2的媒体地址: IP4和端口 4 , 发送第四呼叫响应给核心网。  607. After receiving the first call response, the SBC2 allocates the media addresses of the SBC2 to the core network: IP4 and port 4, and sends a fourth call response to the core network.
其中, 第四呼叫响应中携带 SDP answer消息体, SDP answer消息体中携带 分配的去往核心网的 SBC2的媒体地址: IP4和端口 4 (即将 IP4和端口 4替换掉 原第一呼叫响应中的终端 B的媒体地址: IP3和端口 3 ) , 同时通过对媒体级 a 行的扩展来携带用于连接终端 A的 SBC2的媒体地址: IP1和端口 1 , 此外, 还可 以携带终端 B的所属接入媒体域信息: R1信息。  The fourth call response carries the SDP answer message body, and the SDP answer message body carries the assigned media address of the SBC2 to the core network: IP4 and port 4 (ie, IP4 and port 4 are replaced by the original first call response) The media address of the terminal B: IP3 and port 3), and the media address of the SBC2 for connecting to the terminal A is carried by the extension of the media level a: IP1 and port 1, and the access of the terminal B can also be carried. Media domain information: R1 information.
例如,若 IP4为 IP4 13.24.1.2,端口 4为 16000, IP1为 192.0.2.2,端口 1为 49180, 则 SDP answer消息体的格式具体可以如下:  For example, if IP4 is IP4 13.24.1.2, port 4 is 16000, IP1 is 192.0.2.2, and port 1 is 49180, the format of the SDP answer message body can be as follows:
SDP answer(SBC2 to Core to SBC1)  SDP answer(SBC2 to Core to SBC1)
SIP/2.0 183 Session Progress  SIP/2.0 183 Session Progress
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0  V=0
c=IN IP4 13.24.1.2  c=IN IP4 13.24.1.2
m=audio 16000 RTP/AVP 97 98  m=audio 16000 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2 a=rtpmap:97 telephone-event a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2 a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
a= visited-realm: 1 Rl IN IP4 192.0.2.2 49180  a= visited-realm: 1 Rl IN IP4 192.0.2.2 49180
其中, 划线部分即为扩展的媒体级 a行。  Among them, the underlined part is the extended media level a line.
608、核心网接收到第四呼叫响应后,将第四呼叫响应路由到 SBC1。 SBC1 接收到核心网路由过来的第四呼叫响应后, 确定 SDP answer中包含了扩展的 媒体级 a行, 于是获取其 R1信息, 以及获取终端 A所属接入媒体域信息, 确 定终端 A所属接入媒体域信息和定 R1信息相同,于是确定可以旁路核心网承 载, 即可以旁路掉 SBC1。  608. After receiving the fourth call response, the core network routes the fourth call response to SBC1. After receiving the fourth call response routed by the core network, the SBC1 determines that the SDP answer includes the extended media level a line, and then obtains the R1 information, and obtains the access media domain information of the terminal A, and determines the access of the terminal A. The media domain information is the same as the fixed R1 information, so it is determined that the core network bearer can be bypassed, that is, SBC1 can be bypassed.
609、 SBC1将第四呼叫响应中携带的用于连接终端 A的 SBC2的媒体地 址 "IP1和端口 作为用于连接终端 A的 SBC1的媒体地址, 发送第五呼叫 响应给终端 A。  609. The SBC1 sends a fifth call response to the terminal A by using the media address "IP1" and the port of the SBC2 for connecting the terminal A in the fourth call response as the media address of the SBC1 for connecting to the terminal A.
其中, 第五呼叫响应携带 SDP answer消息体, 该 SDP answer消息体中包 含用于连接终端 A的 SBC2的媒体地址: IP1和端口 1。  The fifth call response carries an SDP answer message body, where the SDP answer message body includes a media address of the SBC2 for connecting to the terminal A: IP1 and port 1.
需说明的是, SBC1原本需要分配去往终端 A的 SBC1的媒体地址, 然后 携带在第五呼叫响应中发送给终端 A, 以指示该第五呼叫响应来自于 SBC1 , 而在本实施例中,将会把扩展的媒体级 a行中的 IP1地址和端口 1替换掉该原 本分配的去往终端 A的 SBC1 的媒体地址, 也就是说, 将该扩展的媒体级 a 行中的 IP1地址和端口 1作为去往终端 A的 SBC1的媒体地址,发送第五呼叫 响应给终端 A, 这样, 终端 A就可以得知 SBC2的媒体地址, 从而实现旁路掉 SBC1的目的。 该第五呼叫响应中不需要对媒体级 a行进行扩展。  It should be noted that the SBC1 originally needs to allocate the media address of the SBC1 to the terminal A, and then carries it to the terminal A in the fifth call response to indicate that the fifth call response is from SBC1, and in this embodiment, The IP1 address and port 1 in the extended media level a row will be replaced with the originally assigned media address of SBC1 destined for terminal A, that is, the IP1 address and port in the extended media level a row. 1 As the media address of the SBC1 to the terminal A, the fifth call response is sent to the terminal A, so that the terminal A can know the media address of the SBC2, thereby achieving the purpose of bypassing the SBC1. There is no need to extend the media level a line in the fifth call response.
例如, 如果 IP1为 192.0.2.2, 端口 1为 49180, 则该 SDP answer消息体的 具体格式可以如下:  For example, if IP1 is 192.0.2.2 and port 1 is 49180, the specific format of the SDP answer message body can be as follows:
SDP answer(SBCl to Caller)  SDP answer (SBCl to Caller)
SIP/2.0 183 Session Progress  SIP/2.0 183 Session Progress
SIP headers  SIP headers
Content- Type: application/sdp  Content- Type: application/sdp
Content-Length: (...)  Content-Length: (...)
v=0 c=IN IP4 192.0.2.2 V=0 c=IN IP4 192.0.2.2
m=audio 49180 RTP/AVP 97 98  m=audio 49180 RTP/AVP 97 98
a=rtpmap:98 AMR  a=rtpmap:98 AMR
a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2  a=fmtp:98 mode-set=0,2,5,7; mode-change-period=2
a=rtpmap:97 telephone-event  a=rtpmap:97 telephone-event
a=maxptime:20  a=maxptime: 20
由上可知, 本实施例采用在确定终端 B位于 NAT设备下, 且第四呼叫请 求中携带了终端 A的媒体地址, 且终端 A所属接入媒体域与终端 B所属接入 媒体域相同时, 由 SBC2多分配一份用于连接终端 A的 SBC2的媒体地址, 并在后续接收到终端 B返回的第一呼叫响应时,通过扩展的媒体级 a行携带给 SBC1 , 由 SBC1将该用于连接终端 A的 SBC2的媒体地址作为用于连接终端 A的 SBC1的媒体地址传递给终端 A, 以建立起终端 A、 SBC2和终端 B三者 之间的 VoIP呼叫连接, 从而在传输媒体数据流时旁路掉发起侧 SBC1 , 使得 媒体数据流不经过核心网(即旁路掉核心网承载 ), 实现节约传输带宽的目的。 实施例七、  It can be seen that, in this embodiment, when it is determined that the terminal B is located under the NAT device, and the fourth call request carries the media address of the terminal A, and the access media domain to which the terminal A belongs is the same as the access media domain to which the terminal B belongs, The SBC2 allocates a media address for connecting to the SBC2 of the terminal A, and when subsequently receiving the first call response returned by the terminal B, it is carried to the SBC1 through the extended media level a, and is used by the SBC1 for the connection. The media address of the SBC2 of the terminal A is transmitted to the terminal A as the media address of the SBC1 for connecting the terminal A, so as to establish a VoIP call connection between the terminal A, the SBC2 and the terminal B, thereby transmitting the media data stream. The SBC1 is off the originating side, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Example VII.
为了更好地实施实施例一至三的方法,本发明实施例还相应地提供一种网 络电话呼叫建立设备, 即 VoIP呼叫建立设备, 可作为发起侧 SBC, 如图 7a 所示, 该网络电话呼叫建立设备包括第一接收单元 701、 分配单元 702、 第一 发送单元 703、 第二接收单元 704和第二发送单元 705;  In order to better implement the methods of Embodiments 1 to 3, the embodiment of the present invention further provides a network telephone call setup device, that is, a VoIP call setup device, which can serve as an originating side SBC, as shown in FIG. 7a, the network telephone call. The establishing device includes a first receiving unit 701, an allocating unit 702, a first sending unit 703, a second receiving unit 704, and a second sending unit 705;
第一接收单元 701 , 用于接收主叫设备发送的第一呼叫请求;  The first receiving unit 701 is configured to receive a first call request sent by the calling device.
其中, 该第一呼叫请求中包含有主叫设备的媒体地址,指示该第一呼叫请 求来自主叫设备, 便于接收端后续可以返回相应的响应到该主叫设备。  The first call request includes a media address of the calling device, indicating that the first call request is from the calling device, so that the receiving end can subsequently return a corresponding response to the calling device.
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。  It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port.
分配单元 702, 用于根据第一接收单元 701接收到的第一呼叫请求确定主 叫设备位于 NAT下时, 分配用于连接被叫设备的发起侧 SBC的媒体地址; 其中, 具体可以通过主叫设备的 SIP过程来获知主叫设备是否位于 NAT 设备下, 例如, 发起侧 SBC在接收到第一呼叫请求后, 如果确定该第一呼叫 请求是来自终端 A的, 则可以通过终端 A此前的 SIP注册过程来确定主叫设 备是否位于 NAT设备下。 The allocating unit 702 is configured to allocate, according to the first call request received by the first receiving unit 701, that the calling device is located under the NAT, and allocate a media address for connecting the originating side SBC of the called device; The SIP process of the device is used to know whether the calling device is located under the NAT device. For example, after receiving the first call request, the originating SBC may pass the previous SIP of the terminal A if it is determined that the first call request is from the terminal A. Registration process to determine the calling setup Whether the device is under the NAT device.
第一发送单元 703 , 用于发送第二呼叫请求给接收侧 SBC, 其中, 第二呼 叫请求携带分配单元 702分配的用于连接被叫设备的发起侧 SBC的媒体地址, 以便接收侧 SBC确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相 同时, 将该用于连接被叫设备的发起侧 SBC的媒体地址传递给被叫设备; 第二接收单元 704, 用于接收接收侧 SBC发送的第二呼叫响应, 其中, 第二呼叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC和被叫设备之间 的网络电话呼叫连接;  The first sending unit 703 is configured to send a second call request to the receiving side SBC, where the second call request carries a media address allocated by the allocating unit 702 for connecting the originating side SBC of the called device, so that the receiving side SBC determines the main When the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the originating side SBC of the called device is transmitted to the called device; and the second receiving unit 704 is configured to receive and receive. a second call response sent by the side SBC, where the second call response carries the media address of the called device to establish a network telephone call connection between the originating side SBC and the called device;
第二发送单元 705 , 用于发送第三呼叫响应给主叫设备, 以建立发起侧 SBC和主叫设备之间的网络电话呼叫连接。  The second sending unit 705 is configured to send a third call response to the calling device to establish a network telephone call connection between the originating side SBC and the calling device.
其中, 第二呼叫请求具体可以通过 SDP中媒体级 a行的扩展来携带用于 连接被叫设备的发起侧 SBC的媒体地址。 即:  The second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. which is:
第一发送单元 701 , 具体用于发送第二呼叫请求给接收侧 SBC, 其中, 该 第二呼叫请求通过 SDP中媒体级 a行的扩展来携带用于连接被叫设备的发起 侧 SBC的媒体地址。  The first sending unit 701 is specifically configured to send a second call request to the receiving side SBC, where the second call request carries an media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. .
可选的,该第二呼叫请求中还可以携带主叫设备的接入媒体域信息(即 IP 域信息), 该主叫设备的接入媒体域信息指示主叫设备所属接入媒体域, 以便 接收侧 SBC可以获知主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体 域信息也可以通过其他途径来获取,比如根据第二呼叫请求通过 SIP注册过程 来获知主叫设备的接入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也 可以通过 SIP注册过程来获知, 在此不再赘述。  Optionally, the second call request may further include the access media domain information (ie, the IP domain information) of the calling device, where the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that The receiving side SBC can learn the access media domain to which the calling device belongs. Of course, the accessing media domain information of the calling device can also be obtained by other means, for example, the SIP calling process is used to learn the connection of the calling device according to the second call request. Enter media domain information, and more. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
同理, 第二呼叫响应具体也可以通过 SDP中媒体级 a行的扩展来携带被 叫设备的媒体地址。 即:  Similarly, the second call response may also carry the media address of the called device through the extension of the media level a line in the SDP. which is:
第二接收单元 704, 具体用于接收接收侧 SBC发送的第二呼叫响应, 其 中, 第二呼叫响应通过 SDP中媒体级 a行的扩展来携带被叫设备的媒体地址。  The second receiving unit 704 is specifically configured to receive a second call response sent by the receiving side SBC, where the second call response carries the media address of the called device by using an extension of the media level a line in the SDP.
可选的, 该第二呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被 叫设备的接入媒体域信息指示被叫设备所属接入媒体域, 以便发起侧 SBC可 以获知被叫设备所属接入媒体域, 当然,被叫设备的接入媒体域信息也可以通 过其他途径来获取, 比如在接收到第二呼叫响应后, 根据第二呼叫响应通过 SIP注册过程来获知被叫设备的接入媒体域信息, 等等。 Optionally, the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating side SBC can be informed The access media domain to which the device belongs is used. Of course, the access media domain information of the called device can also be obtained through other means, for example, after receiving the second call response, according to the second call response. The SIP registration process learns the access media domain information of the called device, and so on.
此外, 参见图 7b , 该网络电话呼叫建立设备还可以包括处理单元 706; 处理单元 706, 用于分配去往主叫设备的发起侧 SBC的媒体地址, 在确 定第二呼叫响应携带被叫设备的媒体地址,且主叫设备所属接入媒体域与被叫 设备所属接入媒体域相同时, 在内部建立所述去往主叫设备的发起侧 SBC的 媒体地址与用于连接被叫设备的发起侧 SBC 的媒体地址之间的媒体会话连 接。  In addition, referring to FIG. 7b, the network telephone call setup device may further include a processing unit 706. The processing unit 706 is configured to allocate a media address to the originating side SBC of the calling device, and determine that the second call response carries the called device. When the media address is the same, and the access media domain to which the called device belongs is the same as the access media domain to which the called device belongs, the media address of the originating side SBC to the calling device and the initiation of the connected device are established internally. Media session connection between media addresses of side SBCs.
则此时, 第二发送单元 705, 具体用于发送第三呼叫响应给主叫设备, 以 建立发起侧 SBC和主叫设备之间的网络电话呼叫连接, 其中, 第三呼叫响应 携带处理单元 706分配的去往主叫设备的发起侧 SBC的媒体地址。  At this time, the second sending unit 705 is specifically configured to send a third call response to the calling device to establish a network telephone call connection between the originating side SBC and the calling device, where the third call response carrying processing unit 706 The assigned media address to the originating side SBC of the calling device.
以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述, 需说明的是, 具体实施时, 以上各个单元可以作为独立的实体实现, 也可 以进行任意组合, 作为同一或若干个实体来实现, 在此不再赘述。  For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again. It should be noted that, in the specific implementation, the foregoing units may be implemented as independent entities, or may be any combination, as the same or several. The entity is implemented, and will not be described here.
由上可知, 本实施例的网络电话呼叫建立设备采用在确定主叫设备位于 NAT设备下时, 由分配单元 702分配用于连接被叫设备的发起侧 SBC的媒体 地址, 并由第一发送单元 703经接收侧 SBC传递给被叫设备, 并在后续由第 二接收单元 704接收返回的携带有被叫设备的媒体地址, 以建立起主叫设备、 发起侧 SBC和被叫设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时 旁路掉接收侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的目的。 实施例八、  As can be seen from the above, the VoIP call setup device of the embodiment uses the media address for connecting the originating side SBC of the called device by the allocating unit 702 when determining that the calling device is located under the NAT device, and is configured by the first sending unit. 703 is transmitted to the called device via the receiving side SBC, and is subsequently received by the second receiving unit 704, and the media address carrying the called device is received to establish a relationship between the calling device, the originating side SBC and the called device. The VoIP call is connected, so that the receiving side SBC is bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Example VIII.
与实施例七相应的, 本发明实施例还提供另一种网络电话呼叫建立设备, 即 VoIP呼叫建立设备, 可作为接收侧 SBC, 如图 8所示, 该网络电话呼叫建 立设备包括第一接收单元 801、 第一发送单元 802、 第二接收单元 803和第二 发送单元 804;  Corresponding to the seventh embodiment, the embodiment of the present invention further provides another VoIP call setup device, that is, a VoIP call setup device, which can serve as a receiving side SBC. As shown in FIG. 8, the VoIP call setup device includes a first receiving. The unit 801, the first sending unit 802, the second receiving unit 803, and the second sending unit 804;
第一接收单元 801 , 用于接收发起侧 SBC发送的第二呼叫请求, 其中, 该第二呼叫请求中携带用于连接被叫设备的发起侧 SBC的媒体地址;  The first receiving unit 801 is configured to receive a second call request sent by the initiating side SBC, where the second call request carries a media address used to connect the originating side SBC of the called device.
需说明的是,本发明实施例中的媒体地址可以包括 IP地址和端口等信息。 第一发送单元 802, 用于确定主叫设备所属接入媒体域与被叫设备所属接 入媒体域相同时, 将所述用于连接被叫设备的发起侧 SBC的媒体地址作为用 于连接被叫设备的接收侧 SBC的媒体地址, 发送第三呼叫请求给被叫设备; 第二接收单元 803, 用于接收被叫设备返回的第一呼叫响应; 其中, 该第 一呼叫响应携带被叫设备的媒体地址; It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port. The first sending unit 802 is configured to determine that the access media domain to which the calling device belongs is associated with the called device. When the media domain is the same, the media address of the originating side SBC for connecting to the called device is used as the media address of the receiving side SBC for connecting the called device, and the third call request is sent to the called device; The unit 803 is configured to receive a first call response returned by the called device, where the first call response carries a media address of the called device.
第二发送单元 804, 用于根据第一呼叫响应发送第二呼叫响应给发起侧 SBC, 其中, 该第二呼叫响应携带被叫设备的媒体地址, 以建立发起侧 SBC 和被叫设备之间的网络电话呼叫连接, 以及建立发起侧 SBC和主叫设备之间 的网络电话呼叫连接。  The second sending unit 804 is configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device to establish an between the originating side SBC and the called device. A VoIP call connection, and a VoIP call connection between the originating side SBC and the calling device.
其中, 第二呼叫请求具体可以通过 SDP中媒体级 a行的扩展来携带用于 连接被叫设备的发起侧 SBC的媒体地址。 即:  The second call request may specifically carry a media address for connecting the originating side SBC of the called device by using an extension of the media level a line in the SDP. which is:
第一接收单元 801 , 具体用于接收发起侧 SBC发送的第二呼叫请求, 其 中,第二呼叫请求通过会话描述协议中媒体级 a行的扩展来携带用于连接被叫 设备的发起侧 SBC的媒体地址。  The first receiving unit 801 is specifically configured to receive a second call request sent by the originating side SBC, where the second call request carries an extension of the media level a in the session description protocol to carry the originating side SBC for connecting the called device. Media address.
此外, 第二呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP域 信息), 该主叫设备的接入媒体域信息指示主叫设备所属接入媒体域, 以便接 收侧 SBC可以获知主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取, 比如在接收到第二呼叫请求后,根据第二呼 叫请求通过 SIP注册过程来获知主叫设备的接入媒体域信息, 等等。  In addition, the second call request may also carry the access media domain information of the calling device (ie, the IP domain information), and the access media domain information of the calling device indicates the access media domain to which the calling device belongs, so that the receiving side SBC The access media domain to which the calling device belongs can be obtained. Of course, the access media domain information of the calling device can also be obtained through other means, for example, after receiving the second call request, according to the second call request, the SIP registration process is used. Know the access media domain information of the calling device, and so on.
可选的, 第二呼叫响应具体可以通过 SDP中媒体级 a行的扩展来携带被 叫设备的媒体地址, 即:  Optionally, the second call response may specifically carry the media address of the called device by using an extension of the media level a line in the SDP, that is,
第二接收单元 803, 具体用于根据第一呼叫响应发送第二呼叫响应给发起 侧 SBC, 其中, 第二呼叫响应通过 SDP中媒体级 a行的扩展来携带被叫设备 的媒体地址。  The second receiving unit 803 is specifically configured to send a second call response to the originating side SBC according to the first call response, where the second call response carries the media address of the called device by using an extension of the media level a line in the SDP.
此外, 该第二呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域, 以便发起侧 SBC可以 获知被叫设备所属接入媒体域, 当然,被叫设备的接入媒体域信息也可以通过 其他途径来获取, 比如在接收到第二呼叫响应后, 根据第二呼叫响应通过 SIP 注册过程来获知被叫设备的接入媒体域信息, 等等。  In addition, the second call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs, so that the originating SBC can learn the called device. Accessing the media domain, of course, the access media domain information of the called device can also be obtained by other means, for example, after receiving the second call response, the called device is learned by the SIP registration process according to the second call response. Access media domain information, and more.
以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述, 需说明的是, 具体实施时, 以上各个单元可以作为独立的实体实现, 也可 以进行任意组合, 作为同一或若干个实体来实现, 在此不再赘述。 For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again. It should be noted that, in the specific implementation, each of the foregoing units may be implemented as an independent entity, or may be implemented in any combination, and implemented as the same entity or several entities, and details are not described herein again.
由上可知,本实施例的网络电话呼叫建立设备的第一接收单元 801可以接 收发起侧 SBC发送的携带有用于连接被叫设备的发起侧 SBC的媒体地址的第 二呼叫请求,然后在确定主叫设备所属接入媒体域与被叫设备所属接入媒体域 相同时, 由第一发送单元 802将该用于连接被叫设备的发起侧 SBC的媒体地 址作为用于连接被叫设备的接收侧 SBC的媒体地址传递给被叫设备, 并在后 续由第二发送单元 804将被叫设备的媒体地址传递给发起侧 SBC, 以建立起 主叫设备、 发起侧 SBC和被叫设备三者之间的 VoIP呼叫连接, 从而在传输媒 体数据流时旁路掉接收侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核 心网承载), 实现节约传输带宽的目的。 实施例九、  It can be seen that the first receiving unit 801 of the network telephone call setup device of this embodiment can receive the second call request that is sent by the originating side SBC and carries the media address of the originating side SBC for connecting the called device, and then determines the main When the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the first sending unit 802 uses the media address of the originating side SBC for connecting the called device as the receiving side for connecting the called device. The media address of the SBC is delivered to the called device, and the media address of the called device is subsequently transmitted by the second sending unit 804 to the originating side SBC to establish a relationship between the calling device, the originating side SBC and the called device. The VoIP call is connected, so that the receiving side SBC is bypassed when the media data stream is transmitted, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Example IX.
为了更好地实施实施例四至六的方法,本发明实施例还相应地提供一种网 络电话呼叫建立设备, 即 VoIP呼叫建立设备, 可作为发起侧 SBC, 如图 9所 示, 该网络电话呼叫建立设备包括第一接收单元 901、 第一发送单元 902、 第 二接收单元 903和第二发送单元 904;  In order to better implement the methods of the fourth to sixth embodiments, the embodiment of the present invention further provides a network telephone call setup device, that is, a VoIP call setup device, which can serve as an originating side SBC, as shown in FIG. 9, the network telephone call. The establishing device includes a first receiving unit 901, a first transmitting unit 902, a second receiving unit 903, and a second sending unit 904;
第一接收单元 901 , 用于接收主叫设备发送的第一呼叫请求; 其中, 该第 一呼叫请求中包含有主叫设备的媒体地址, 指示该第一呼叫请求来自主叫设 备, 便于接收端后续可以返回相应的响应到该主叫设备。  The first receiving unit 901 is configured to receive a first call request sent by the calling device, where the first call request includes a media address of the calling device, indicating that the first call request is from the calling device, and is convenient for the receiving end. Subsequent returns can be returned to the calling device.
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。  It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port.
第一发送单元 902, 用于根据第一呼叫请求发送第四呼叫请求给接收侧 SBC, 其中, 第四呼叫请求携带主叫设备的媒体地址, 以便接收侧 SBC确定 被叫设备位于 NAT下, 且第四呼叫请求中携带了主叫设备的媒体地址, 且主 叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,分配用于连接主叫 设备的接收侧 SBC的媒体地址;  The first sending unit 902 is configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth calling request carries the media address of the calling device, so that the receiving side SBC determines that the called device is located under the NAT, and When the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address for connecting the receiving side SBC of the calling device is allocated;
第二接收单元 903, 用于接收接收侧 SBC返回的第四呼叫响应, 其中, 第四呼叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址;  a second receiving unit 903, configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries a media address used to connect the receiving side SBC of the calling device;
第二发送单元 904, 用于确定第四呼叫响应携带用于连接主叫设备的接收 侧 SBC的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒体域 相同时, 将所述用于连接主叫设备的接收侧 SBC的媒体地址作为用于连接主 叫设备的发起侧 SBC的媒体地址, 发送第五呼叫响应给主叫设备, 以建立接 收侧 SBC和主叫设备之间的网络电话呼叫连接。 The second sending unit 904 is configured to determine that the fourth call response carries the connection for connecting the calling device. When the media address of the side SBC is the same as the access media domain to which the called device belongs, the media address of the receiving side SBC for connecting the calling device is used as the connection destination device. The media address of the originating side SBC sends a fifth call response to the calling device to establish a network telephone call connection between the receiving side SBC and the calling device.
其中, 该第四呼叫请求通过 SDP中媒体级 a行的扩展来携带主叫设备的 媒体地址。 即:  The fourth call request carries the media address of the calling device through the extension of the media level a line in the SDP. which is:
第一发送单元 902, 具体用于根据第一呼叫请求发送第四呼叫请求给接收 侧 SBC, 所述第四呼叫请求通过 SDP中媒体级 a行的扩展来携带主叫设备的 媒体地址。  The first sending unit 902 is specifically configured to send a fourth call request to the receiving side SBC according to the first call request, where the fourth call request carries the media address of the calling device by using the extension of the media level a line in the SDP.
可选的,该第四呼叫请求中还可以携带主叫设备的接入媒体域信息(即 IP 域信息), 用于指示主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取,比如通过 SIP注册过程来获知主叫设备的接 入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也可以通过 SIP注册过 程来获知, 在此不再赘述。  Optionally, the fourth call request may further include the access media domain information of the calling device, that is, the IP domain information, used to indicate the access media domain to which the calling device belongs, and of course, the access media of the calling device. The domain information can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
同理, 第四呼叫响应具体也可以通过 SDP中媒体级 a行的扩展来携带该 用于连接主叫设备的接收侧 SBC的媒体地址。 即:  Similarly, the fourth call response may also carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP. which is:
第二接收单元 903, 具体用于接收接收侧 SBC返回的第四呼叫响应, 其 中, 第四呼叫响应通过 SDP中媒体级 a行的扩展来携带用于连接主叫设备的 接收侧 SBC的媒体地址。  The second receiving unit 903 is specifically configured to receive a fourth call response returned by the receiving side SBC, where the fourth call response carries the media address used to connect the receiving side SBC of the calling device by using the extension of the media level a line in the SDP. .
可选的, 该第四呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被 叫设备的接入媒体域信息指示被叫设备所属接入媒体域。 当然,被叫设备所属 接入媒体域也可以通过 SIP注册过程来获知, 在此不再赘述。  Optionally, the fourth call response may further include the access media domain information of the called device, where the access media domain information of the called device indicates the access media domain to which the called device belongs. Of course, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述, 需说明的是, 具体实施时, 以上各个单元可以作为独立的实体实现, 也可 以进行任意组合, 作为同一或若干个实体来实现, 在此不再赘述。  For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again. It should be noted that, in the specific implementation, the foregoing units may be implemented as independent entities, or may be any combination, as the same or several. The entity is implemented, and will not be described here.
由上可知,本实施例的网络电话呼叫建立设备的第一接收单元 901在接收 到主叫设备发送的携带有主叫设备媒体地址的第一呼叫请求后 ,由第一发送单 元 902将主叫设备的媒体地址传递给接收侧 SBC, 由接收侧 SBC在确定被叫 设备位于 NAT设备下, 且第四呼叫请求中携带了主叫设备的媒体地址, 且主 叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,分配用于连接主叫 设备的接收侧 SBC的媒体地址, 以便接收侧 SBC在后续接收到被叫设备返回 的第一呼叫响应时, 将该用于连接主叫设备的接收侧 SBC的媒体地址传递给 主叫设备, 以建立起主叫设备、接收侧 SBC和被叫设备三者之间的 VoIP呼叫 连接, 从而在传输媒体数据流时旁路掉发起侧 SBC, 使得媒体数据流不经过 核心网 (即旁路掉核心网 ), 实现节约传输带宽的目的。 实施例十、 As can be seen from the above, the first receiving unit 901 of the VoIP call setup device of the present embodiment, after receiving the first call request that is sent by the calling device and carrying the media address of the calling device, is called by the first sending unit 902. The media address of the device is transmitted to the receiving side SBC, and the receiving side SBC determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the main When the access media domain to which the device belongs is the same as the access media domain to which the called device belongs, the media address of the receiving side SBC for connecting the calling device is allocated, so that the receiving side SBC subsequently receives the first call returned by the called device. In response, the media address for connecting the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby transmitting When the media data stream is bypassed, the originating side SBC is bypassed, so that the media data stream does not pass through the core network (ie, bypasses the core network), thereby achieving the purpose of saving transmission bandwidth. Embodiment 10
与实施例九相应的, 本发明实施例还提供另一种网络电话呼叫建立设备, 即 VoIP呼叫建立设备, 可作为接收侧 SBC, 如图 10所示, 该网络电话呼叫 建立设备包括第一接收单元 1001、 分配单元 1002、 第一发送单元 1003、 第二 接收单元 1004和第二发送单元 1005;  Corresponding to the ninth embodiment, the embodiment of the present invention further provides another VoIP call setup device, that is, a VoIP call setup device, which can be used as a receiving side SBC. As shown in FIG. 10, the VoIP call setup device includes a first receiving. a unit 1001, an allocating unit 1002, a first transmitting unit 1003, a second receiving unit 1004, and a second transmitting unit 1005;
第一接收单元 1001 , 用于接收发起侧 SBC发送的第四呼叫请求, 其中, 第四呼叫请求携带主叫设备的媒体地址;  The first receiving unit 1001 is configured to receive a fourth call request sent by the initiating side SBC, where the fourth call request carries a media address of the calling device;
需说明的是, 本发明实施例中的媒体地址, 可以包括 IP地址和端口等信 息。  It should be noted that the media address in the embodiment of the present invention may include information such as an IP address and a port.
分配单元 1002, 确定被叫设备位于 NAT下, 且第四呼叫请求中携带了主 叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相 同时, 分配用于连接主叫设备的接收侧 SBC的媒体地址;  The allocating unit 1002 determines that the called device is located under the NAT, and the fourth call request carries the media address of the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. a media address connected to the receiving side SBC of the calling device;
第一发送单元 1003 , 用于根据第四呼叫请求发送第五呼叫请求给被叫设 备;  The first sending unit 1003 is configured to send a fifth call request to the called device according to the fourth call request.
第二接收单元 1004, 用于接收被叫设备返回的第一呼叫响应, 以建立接 收侧 SBC和被叫设备之间的网络电话呼叫连接;  a second receiving unit 1004, configured to receive a first call response returned by the called device, to establish a network telephone call connection between the receiving side SBC and the called device;
第二发送单元 1005 , 用于根据第一呼叫响应发送第四呼叫响应给发起侧 SBC, 所述第四呼叫响应携带用于连接主叫设备的接收侧 SBC的媒体地址, 以便发起侧 SBC确定第四呼叫响应携带用于连接主叫设备的接收侧 SBC的媒 体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将该 用于连接主叫设备的接收侧 SBC的媒体地址作为用于连接主叫设备的发起侧 SBC的媒体地址, 发送第五呼叫响应给主叫设备, 以建立接收侧 SBC和主叫 设备之间的网络电话呼叫连接。 其中, 该第四呼叫请求具体可以通过 SDP中媒体级 a行的扩展来携带主 叫设备的媒体地址。 即: The second sending unit 1005 is configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries a media address for connecting the receiving side SBC of the calling device, so that the initiating side SBC determines The four-call response carries the media address of the receiving side SBC for connecting the calling device, and the accessing media domain to which the calling device belongs is the same as the accessing media domain to which the called device belongs. The media address of the SBC serves as a media address for connecting the originating side SBC of the calling device, and sends a fifth call response to the calling device to establish a network telephone call connection between the receiving side SBC and the calling device. The fourth call request may specifically carry the media address of the calling device by using an extension of the media level a line in the SDP. which is:
第一接收单元 1001 , 具体用于接收发起侧 SBC发送的第四呼叫请求, 其 中, 第四呼叫请求通过 SDP中媒体级 a行的扩展来携带主叫设备的媒体地址。  The first receiving unit 1001 is specifically configured to receive a fourth call request sent by the initiating side SBC, where the fourth call request carries the media address of the calling device by using an extension of the media level a line in the SDP.
此外, 该第四呼叫请求中还可以携带主叫设备的接入媒体域信息 (即 IP 域信息), 用于指示主叫设备所属接入媒体域, 当然, 主叫设备的接入媒体域 信息也可以通过其他途径来获取,比如通过 SIP注册过程来获知主叫设备的接 入媒体域信息, 等等。 另外, 被叫设备所属接入媒体域也可以通过 SIP注册过 程来获知, 在此不再赘述。  In addition, the fourth call request may further carry the access media domain information (ie, the IP domain information) of the calling device, and is used to indicate the access media domain to which the calling device belongs, and of course, the access media domain information of the calling device. It can also be obtained through other means, such as obtaining the access media domain information of the calling device through the SIP registration process, and the like. In addition, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
同理, 第四呼叫响应具体也可以通过 SDP中媒体级 a行的扩展来携带用 于连接主叫设备的接收侧 SBC的媒体地址。  Similarly, the fourth call response may also carry the media address of the receiving side SBC for connecting to the calling device through the extension of the media level a line in the SDP.
第二发送单元 1005 , 具体用于根据第一呼叫响应发送第四呼叫响应给发 起侧 SBC, 其中, 第四呼叫响应通过 SDP中媒体级 a行的扩展来携带用于连 接主叫设备的接收侧 SBC的媒体地址。  The second sending unit 1005 is specifically configured to send a fourth call response to the originating side SBC according to the first call response, where the fourth call response carries the receiving side for connecting the calling device by using the extension of the media level a line in the SDP. SBC's media address.
此外, 该第四呼叫响应中还可以携带被叫设备的接入媒体域信息, 该被叫 设备的接入媒体域信息指示被叫设备所属接入媒体域。 当然,被叫设备所属接 入媒体域也可以通过 SIP注册过程来获知, 在此不再赘述。  In addition, the fourth call response may further carry the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs. Of course, the access media domain to which the called device belongs can also be learned through the SIP registration process, and details are not described herein.
以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述, 需说明的是, 具体实施时, 以上各个单元可以作为独立的实体实现, 也可 以进行任意组合, 作为同一或若干个实体来实现, 在此不再赘述。  For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again. It should be noted that, in the specific implementation, the foregoing units may be implemented as independent entities, or may be any combination, as the same or several. The entity is implemented, and will not be described here.
由上可知, 本实施例的网络电话呼叫建立设备的分配单元 1002在确定被 叫设备位于 NAT设备下, 且第四呼叫请求中携带了主叫设备的媒体地址, 且 主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,分配用于连接主 叫设备的接收侧 SBC的媒体地址, 并在后续接收到被叫设备返回的第一呼叫 响应时, 由第二发送单元 1005将该用于连接主叫设备的接收侧 SBC的媒体地 址通过发起侧 SBC传递给主叫设备, 以建立起主叫设备、 接收侧 SBC和被叫 设备三者之间的 VoIP呼叫连接,从而在传输媒体数据流时旁路掉发起侧 SBC, 使得媒体数据流不经过核心网 (即旁路掉核心网承载), 实现节约传输带宽的 目的。 实施例十一、 It can be seen that the allocating unit 1002 of the VoIP call setup device in this embodiment determines that the called device is located under the NAT device, and the fourth call request carries the media address of the calling device, and the access device belongs to the access device. When the domain is the same as the access media domain to which the called device belongs, the media address of the receiving side SBC for connecting to the calling device is allocated, and when the first call response returned by the called device is subsequently received, the second sending unit 1005 Transmitting, by the originating side SBC, the media address of the receiving side SBC of the calling device to the calling device, to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby When the media data stream is transmitted, the originating side SBC is bypassed, so that the media data stream does not pass through the core network (ie, bypasses the core network bearer), thereby achieving the purpose of saving transmission bandwidth. Embodiment 11
相应的, 本发明实施例还提供一种通信系统, 包括本发明实施例提供的任 一种网络电话呼叫建立设备。  Correspondingly, the embodiment of the present invention further provides a communication system, which includes any network telephone call setup device provided by the embodiment of the present invention.
例如, 该通信系统具体可以包括发起侧 SBC和接收侧 SBC, 其中, 发起 侧 SBC 可以是实施例七所提供的任一种网络电话呼叫建立设备, 而接收侧 SBC则可以是实施例八所提供的任一种网络电话呼叫建立设备; 或者,  For example, the communication system may specifically include an initiating side SBC and a receiving side SBC, where the initiating side SBC may be any one of the network telephone call establishing devices provided in the seventh embodiment, and the receiving side SBC may be provided in the eighth embodiment. Any type of VoIP call setup device; or,
又例如, 该通信系统具体可以包括发起侧 SBC和接收侧 SBC, 其中, 发 起侧 SBC可以是实施例九所提供的任一种网络电话呼叫建立设备, 而接收侧 SBC则可以是实施例十所提供的任一种网络电话呼叫建立设备。  For example, the communication system may specifically include an initiating side SBC and a receiving side SBC, where the initiating side SBC may be any one of the network telephone call establishing devices provided in the ninth embodiment, and the receiving side SBC may be the tenth embodiment. Any of the provided VoIP call setup devices.
其中,各个网络电话呼叫建立设备的具体说明可参见前面的实施例,在此 不再赘述。  For a detailed description of each VoIP call setup device, refer to the previous embodiment, and details are not described herein again.
由上可知,本实施例的通信系统采用在确定主叫设备位于 NAT设备下时, 由发起侧 SBC提前分配用于连接被叫设备的发起侧 SBC的媒体地址, 并传递 给被叫设备, 以建立起主叫设备、发起侧 SBC和被叫设备三者之间的 VoIP呼 叫连接, 从而在传输媒体数据流时旁路掉接收侧 SBC, 使得媒体数据流不经 过核心网, 实现节约传输带宽的目的。  It can be seen that, when the communication system of the present embodiment determines that the calling device is located under the NAT device, the media address of the originating side SBC for connecting the called device is allocated in advance by the originating side SBC, and is transmitted to the called device. Establishing a VoIP call connection between the calling device, the originating side SBC, and the called device, thereby bypassing the receiving side SBC when transmitting the media data stream, so that the media data stream does not pass through the core network, thereby realizing saving transmission bandwidth. purpose.
同理,该通信系统还可以在确定被叫设备位于 NAT设备下,由接收侧 SBC 分配用于连接主叫设备的接收侧 SBC的媒体地址, 并在后续接收到被叫设备 返回的第一呼叫响应时, 将该用于连接主叫设备的接收侧 SBC的媒体地址传 递给主叫设备, 以建立起主叫设备、 接收侧 SBC和被叫设备三者之间的 VoIP 呼叫连接, 从而在传输媒体数据流时旁路掉发起侧 SBC, 使得媒体数据流不 经过核心网, 实现节约传输带宽的目的。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器(ROM, Read Only Memory )、 随机存取记忆体(RAM, Random Access Memory ) , 磁盘或光盘等。  Similarly, the communication system may further determine that the called device is located under the NAT device, and the receiving side SBC allocates a media address for connecting the receiving side SBC of the calling device, and subsequently receives the first call returned by the called device. In response, the media address for connecting the receiving side SBC of the calling device is transmitted to the calling device to establish a VoIP call connection between the calling device, the receiving side SBC and the called device, thereby transmitting When the media data stream is bypassed, the originating side SBC is bypassed, so that the media data stream does not pass through the core network, thereby achieving the purpose of saving transmission bandwidth. A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
以上对本发明实施例所提供的一种 VoIP呼叫建立方法、 装置和系统进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有 改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 The foregoing description of the method, apparatus, and system for establishing a VoIP call provided by an embodiment of the present invention is only for helping to understand the method and core idea of the present invention; A person skilled in the art will have a change in the specific embodiments and the scope of the application according to the idea of the present invention. In the above, the contents of the present specification should not be construed as limiting the present invention.

Claims

权 利 要 求 Rights request
1、 一种网络电话呼叫建立方法, 其特征在于, 包括:  A method for establishing a network telephone call, comprising:
接收主叫设备发送的第一呼叫请求;  Receiving a first call request sent by the calling device;
根据所述第一呼叫请求确定所述主叫设备位于网络地址交换设备下时,分 配用于连接被叫设备的第一边界会话控制器的媒体地址;  Determining, according to the first call request, that the calling device is located under the network address switching device, and assigning a media address of the first border session controller for connecting to the called device;
发送第二呼叫请求给第二边界会话控制器,所述第二呼叫请求携带用于连 接被叫设备的第一边界会话控制器的媒体地址,以便第二边界会话控制器确定 主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述用于连接 被叫设备的第一边界会话控制器的媒体地址传递给被叫设备;  Sending a second call request to the second border session controller, where the second call request carries a media address of the first border session controller for connecting to the called device, so that the second border session controller determines that the calling device belongs to When the media domain is the same as the access media domain to which the called device belongs, the media address of the first border session controller for connecting to the called device is delivered to the called device;
接收所述第二边界会话控制器发送的第二呼叫响应,所述第二呼叫响应携 带被叫设备的媒体地址,以建立所述第一边界会话控制器和所述被叫设备之间 的网络电话呼叫连接;  Receiving a second call response sent by the second border session controller, where the second call response carries a media address of the called device to establish a network between the first border session controller and the called device Telephone call connection;
发送第三呼叫响应给所述主叫设备,以建立所述第一边界会话控制器和所 述主叫设备之间的网络电话呼叫连接。  And transmitting a third call response to the calling device to establish a network telephone call connection between the first border session controller and the calling device.
2、 根据权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein
所述第二呼叫请求通过会话描述协议中媒体级 a行的扩展来携带用于连 接被叫设备的第一边界会话控制器的媒体地址。  The second call request carries a media address of a first border session controller for connecting to the called device through an extension of the media level a line in the session description protocol.
3、 根据权利要求 2所述的方法, 其特征在于,  3. The method of claim 2, wherein
所述第二呼叫响应通过会话描述协议中媒体级 a行的扩展来携带被叫设 备的媒体地址。  The second call response carries the media address of the called device through an extension of the media level a line in the session description protocol.
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述将第三 呼叫响应发送给主叫设备之前, 还包括:  The method according to any one of claims 1 to 3, wherein before the sending the third call response to the calling device, the method further includes:
分配去往主叫设备的第一边界会话控制器的媒体地址;  Allocating a media address to the first border session controller of the calling device;
在确定所述第二呼叫响应携带被叫设备的媒体地址,且主叫设备所属接入 媒体域与被叫设备所属接入媒体域相同时,在内部建立所述去往主叫设备的第 一边界会话控制器的媒体地址与用于连接被叫设备的第一边界会话控制器的 媒体地址之间的媒体会话连接。  After determining that the second call response carries the media address of the called device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the first to the calling device is internally established. A media session connection between the media address of the border session controller and the media address of the first border session controller used to connect to the called device.
5、 根据权利要求 1至 3中任一项所述的方法, 其特征在于,  The method according to any one of claims 1 to 3, characterized in that
所述第二呼叫请求中还携带主叫设备的接入媒体域信息,所述主叫设备的 接入媒体域信息指示主叫设备所属接入媒体域; The second call request further includes access media domain information of the calling device, where the calling device The access media domain information indicates an access media domain to which the calling device belongs;
所述第二呼叫响应中还携带被叫设备的接入媒体域信息,所述被叫设备的 接入媒体域信息指示被叫设备所属接入媒体域。  The second call response further includes the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
6、 一种网络电话呼叫建立方法, 其特征在于, 包括:  6. A method for establishing a network telephone call, comprising:
接收第一边界会话控制器发送的第二呼叫请求,所述第二呼叫请求中携带 用于连接被叫设备的第一边界会话控制器的媒体地址;  Receiving a second call request sent by the first border session controller, where the second call request carries a media address of a first border session controller for connecting to the called device;
确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时,将所述 用于连接被叫设备的第一边界会话控制器的媒体地址作为用于连接被叫设备 的第二边界会话控制器的媒体地址, 发送第三呼叫请求给被叫设备;  When the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address of the first border session controller for connecting to the called device is used as the second device for connecting the called device. a media address of the border session controller, sending a third call request to the called device;
接收所述被叫设备返回的第一呼叫响应;  Receiving a first call response returned by the called device;
根据所述第一呼叫响应发送第二呼叫响应给所述第一边界会话控制器,所 述第二呼叫响应携带被叫设备的媒体地址,以建立所述第一边界会话控制器和 所述被叫设备之间的网络电话呼叫连接,以及建立所述第一边界会话控制器和 所述主叫设备之间的网络电话呼叫连接。  Transmitting, according to the first call response, a second call response to the first border session controller, where the second call response carries a media address of the called device to establish the first border session controller and the A network telephone call connection between the devices is called, and a network telephone call connection between the first border session controller and the calling device is established.
7、 根据权利要求 6所述的方法, 其特征在于, 其特征在于,  7. The method of claim 6 wherein:
所述第二呼叫请求通过会话描述协议中媒体级 a行的扩展来携带用于连 接被叫设备的第一边界会话控制器的媒体地址。  The second call request carries a media address of a first border session controller for connecting to the called device through an extension of the media level a line in the session description protocol.
8、 根据权利要求 7所述的方法, 其特征在于,  8. The method of claim 7 wherein:
所述第二呼叫响应通过会话描述协议中媒体级 a行的扩展来携带被叫设 备的媒体地址。  The second call response carries the media address of the called device through an extension of the media level a line in the session description protocol.
9、 根据权利要求 6至 8中任一项所述的方法, 其特征在于,  9. A method according to any one of claims 6 to 8, characterized in that
所述第二呼叫请求中还携带主叫设备的接入媒体域信息,所述主叫设备的 接入媒体域信息指示主叫设备所属接入媒体域;  The second call request further includes the access media domain information of the calling device, and the access media domain information of the calling device indicates the access media domain to which the calling device belongs;
所述第二呼叫响应中还携带被叫设备的接入媒体域信息,所述被叫设备的 接入媒体域信息指示被叫设备所属接入媒体域。  The second call response further includes the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
10、 一种网络电话呼叫建立方法, 其特征在于, 包括:  A method for establishing a network telephone call, comprising:
接收主叫设备发送的第一呼叫请求;  Receiving a first call request sent by the calling device;
根据所述第一呼叫请求发送第四呼叫请求给第二边界会话控制器,所述第 四呼叫请求携带主叫设备的媒体地址,以便所述第二边界会话控制器确定被叫 设备位于网络地址交换设备下,且所述第四呼叫请求中携带了主叫设备的媒体 地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 分配用 于连接主叫设备的第二边界会话控制器的媒体地址; Sending a fourth call request to the second border session controller according to the first call request, where the fourth call request carries a media address of the calling device, so that the second border session controller determines the called party The device is located under the network address switching device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. The media address of the second border session controller of the calling device;
接收所述第二边界会话控制器返回的第四呼叫响应,所述第四呼叫响应携 带用于连接主叫设备的第二边界会话控制器的媒体地址;  Receiving a fourth call response returned by the second border session controller, the fourth call response carrying a media address of a second border session controller for connecting to the calling device;
确定所述第四呼叫响应携带用于连接主叫设备的第二边界会话控制器的 媒体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 将 所述用于连接主叫设备的第二边界会话控制器的媒体地址作为用于连接主叫 设备的第一边界会话控制器的媒体地址, 发送第五呼叫响应给所述主叫设备, 以建立所述第二边界会话控制器和所述主叫设备之间的网络电话呼叫连接。  Determining that the fourth call response carries a media address of a second border session controller for connecting to the calling device, and the access device belongs to the access media domain to which the called device belongs. Transmitting, by the media address of the second border session controller of the calling device, as a media address of the first border session controller for connecting the calling device, sending a fifth call response to the calling device, to establish the A network telephone call connection between the two border session controller and the calling device.
11、 根据权利要求 10所述的方法, 其特征在于,  11. The method of claim 10, wherein
所述第四呼叫请求通过会话描述协议中媒体级 a行的扩展来携带主叫设 备的媒体地址。  The fourth call request carries the media address of the calling device through an extension of the media level a line in the session description protocol.
12、 根据权利要求 11所述的方法, 其特征在于,  12. The method of claim 11 wherein:
所述第四呼叫响应通过会话描述协议中媒体级 a行的扩展来携带用于连 接主叫设备的第二边界会话控制器的媒体地址。  The fourth call response carries a media address of a second border session controller for connecting to the calling device through an extension of the media level a line in the session description protocol.
13、 根据权利要求 10至 12中任一项所述的方法, 其特征在于, 包括: 所述第四呼叫请求中还携带主叫设备的接入媒体域信息,所述主叫设备的 接入媒体域信息指示主叫设备所属接入媒体域;  The method according to any one of claims 10 to 12, further comprising: the fourth call request further carrying access media domain information of the calling device, and the access of the calling device The media domain information indicates an access media domain to which the calling device belongs;
所述第四呼叫响应中还携带被叫设备的接入媒体域信息,所述被叫设备的 接入媒体域信息指示被叫设备所属接入媒体域。  The fourth call response further includes the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
14、 一种 VoIP呼叫建立方法, 其特征在于, 包括:  14. A method for establishing a VoIP call, comprising:
接收第一边界会话控制器发送的第四呼叫请求,所述第四呼叫请求携带主 叫设备的媒体地址;  Receiving a fourth call request sent by the first border session controller, where the fourth call request carries a media address of the calling device;
确定被叫设备位于网络地址交换设备下,且所述第四呼叫请求中携带了主 叫设备的媒体地址,且所述主叫设备所属接入媒体域与被叫设备所属接入媒体 域相同时, 分配用于连接所述主叫设备的第二边界会话控制器的媒体地址; 根据所述第四呼叫请求发送第五呼叫请求给所述被叫设备;  Determining that the called device is located under the network address switching device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. Allocating a media address of a second border session controller for connecting to the calling device; sending a fifth call request to the called device according to the fourth call request;
接收所述被叫设备返回的第一呼叫响应,以建立所述第二边界会话控制器 和所述被叫设备之间的网络电话呼叫连接; Receiving a first call response returned by the called device to establish the second border session controller a network telephone call connection with the called device;
根据所述第一呼叫响应发送第四呼叫响应给所述第一边界会话控制器,所 述第四呼叫响应携带用于连接主叫设备的第二边界会话控制器的媒体地址,以 便所述第一边界会话控制器确定所述第四呼叫响应携带用于连接主叫设备的 第二边界会话控制器的媒体地址,且主叫设备所属接入媒体域与被叫设备所属 接入媒体域相同时,将所述用于连接主叫设备的第二边界会话控制器的媒体地 址作为用于连接主叫设备的第一边界会话控制器的媒体地址,发送第五呼叫响 应给所述主叫设备,以建立所述第二边界会话控制器和所述主叫设备之间的网 络电话呼叫连接。  Transmitting, according to the first call response, a fourth call response to the first border session controller, where the fourth call response carries a media address of a second border session controller for connecting to the calling device, so that the A border session controller determines that the fourth call response carries a media address of a second border session controller for connecting to the calling device, and the access device belongs to the same access media domain as the called device belongs to Transmitting, by using a media address of the second border session controller for connecting the calling device as a media address of the first border session controller for connecting the calling device, sending a fifth call response to the calling device, Establishing a network telephone call connection between the second border session controller and the calling device.
15、 根据权利要求 14所述的方法, 其特征在于,  15. The method of claim 14 wherein:
所述第四呼叫请求通过会话描述协议中媒体级 a行的扩展来携带主叫设 备的媒体地址。  The fourth call request carries the media address of the calling device through an extension of the media level a line in the session description protocol.
16、 根据权利要求 15所述的方法, 其特征在于,  16. The method of claim 15 wherein:
所述第四呼叫响应通过会话描述协议中媒体级 a行的扩展来携带用于连 接主叫设备的第二边界会话控制器的媒体地址。  The fourth call response carries a media address of a second border session controller for connecting to the calling device through an extension of the media level a line in the session description protocol.
17、 根据权利要求 14至 16中任一项所述的方法, 其特征在于, 包括: 所述第四呼叫请求中还携带主叫设备的接入媒体域信息,所述主叫设备的 接入媒体域信息指示主叫设备所属接入媒体域;  The method according to any one of claims 14 to 16, further comprising: the fourth call request further carrying access media domain information of the calling device, and the access of the calling device The media domain information indicates an access media domain to which the calling device belongs;
所述第四呼叫响应中还携带被叫设备的接入媒体域信息,所述被叫设备的 接入媒体域信息指示被叫设备所属接入媒体域。  The fourth call response further includes the access media domain information of the called device, and the access media domain information of the called device indicates the access media domain to which the called device belongs.
18、 一种网络电话呼叫建立设备, 其特征在于, 包括:  18. A network telephone call setup device, comprising:
第一接收单元, 用于接收主叫设备发送的第一呼叫请求;  a first receiving unit, configured to receive a first call request sent by the calling device;
分配单元,用于根据第一呼叫请求确定主叫设备位于网络地址交换设备下 时, 分配用于连接被叫设备的第一边界会话控制器的媒体地址;  An allocating unit, configured to allocate, according to the first call request, a media address of the first border session controller for connecting to the called device when the calling device is located under the network address switching device;
第一发送单元, 用于发送第二呼叫请求给第二边界会话控制器, 所述第二 呼叫请求携带用于连接被叫设备的第一边界会话控制器的媒体地址,以便第二 边界会话控制器确定主叫设备所属接入媒体域与被叫设备所属接入媒体域相 同时,将所述用于连接被叫设备的第一边界会话控制器的媒体地址传递给被叫 设备; 第二接收单元, 用于接收第二边界会话控制器发送的第二呼叫响应, 所述 第二呼叫响应携带被叫设备的媒体地址,以建立第一边界会话控制器和被叫设 备之间的网给电话呼叫连接; a first sending unit, configured to send a second call request to the second border session controller, where the second call request carries a media address used to connect the first border session controller of the called device, so that the second border session control When the device determines that the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address of the first border session controller for connecting the called device is transmitted to the called device; a second receiving unit, configured to receive a second call response sent by the second border session controller, where the second call response carries a media address of the called device to establish a relationship between the first border session controller and the called device The network gives a telephone call connection;
第二发送单元, 用于发送第三呼叫响应给主叫设备, 以建立第一边界会话 控制器和主叫设备之间的网络电话呼叫连接。  And a second sending unit, configured to send a third call response to the calling device, to establish a network telephone call connection between the first border session controller and the calling device.
19、 根据权利要求 18所述的网络电话呼叫建立设备, 其特征在于, 所述第一发送单元, 具体用于发送第二呼叫请求给第二边界会话控制器, 所述第二呼叫请求通过会话描述协议中媒体级 a行的扩展来携带用于连接被 叫设备的第一边界会话控制器的媒体地址。  The VoIP call setup device according to claim 18, wherein the first sending unit is configured to send a second call request to the second border session controller, where the second call request passes the session. An extension of the media level a line in the protocol is described to carry the media address of the first border session controller used to connect to the called device.
20、 根据权利要求 19所述的网络电话呼叫建立设备, 其特征在于, 所述第二接收单元,具体用于接收第二边界会话控制器发送的第二呼叫响 应,所述第二呼叫响应通过会话描述协议中媒体级 a行的扩展来携带被叫设备 的媒体地址。  The VoIP call setup device according to claim 19, wherein the second receiving unit is configured to receive a second call response sent by the second border session controller, where the second call response is passed The extension of the media level a line in the session description protocol carries the media address of the called device.
21、根据权利要求 18至 20中任一项所述的网络电话呼叫建立设备, 其特 征在于, 还包括处理单元;  The VoIP call setup device according to any one of claims 18 to 20, further comprising a processing unit;
处理单元, 用于分配去往主叫设备的第一边界会话控制器的媒体地址,在 确定所述第二呼叫响应携带被叫设备的媒体地址,且主叫设备所属接入媒体域 与被叫设备所属接入媒体域相同时,在内部建立所述去往主叫设备的第一边界 会话控制器的媒体地址与用于连接被叫设备的第一边界会话控制器的媒体地 址之间的媒体会话连接。  a processing unit, configured to allocate a media address of the first border session controller to the calling device, determine that the second call response carries the media address of the called device, and the access device belongs to the access media domain and the called party When the access media domain to which the device belongs is the same, the medium between the media address of the first border session controller destined for the calling device and the media address of the first border session controller for connecting the called device is internally established. Session connection.
22、 一种网络电话呼叫建立设备, 其特征在于, 包括:  22. A network telephone call setup device, comprising:
第一接收单元, 用于接收第一边界会话控制器发送的第二呼叫请求, 所述 第二呼叫请求中携带用于连接被叫设备的第一边界会话控制器的媒体地址; 第一发送单元,用于确定主叫设备所属接入媒体域与被叫设备所属接入媒 体域相同时,将所述用于连接被叫设备的第一边界会话控制器的媒体地址作为 用于连接被叫设备的第二边界会话控制器的媒体地址,发送第三呼叫请求给被 叫设备;  a first receiving unit, configured to receive a second call request sent by the first border session controller, where the second call request carries a media address of a first border session controller for connecting to the called device; When the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, the media address of the first border session controller for connecting the called device is used as a connection for the called device. a media address of the second border session controller, sending a third call request to the called device;
第二接收单元, 用于接收被叫设备返回的第一呼叫响应;  a second receiving unit, configured to receive a first call response returned by the called device;
第二发送单元,用于根据第一呼叫响应发送第二呼叫响应给第一边界会话 控制器, 所述第二呼叫响应携带被叫设备的媒体地址, 以建立第一边界会话控 制器和被叫设备之间的网络电话呼叫连接,以及建立第一边界会话控制器和主 叫设备之间的网络电话呼叫连接。 a second sending unit, configured to send a second call response to the first border session according to the first call response The controller, the second call response carries a media address of the called device, to establish a network telephone call connection between the first border session controller and the called device, and establish a first border session controller and a calling device. Inter-network phone call connection.
23、 根据权利要求 22所述的网络电话呼叫建立设备, 其特征在于, 所述第一接收单元,具体用于接收第一边界会话控制器发送的第二呼叫请 求,所述第二呼叫请求通过会话描述协议中媒体级 a行的扩展来携带用于连接 被叫设备的第一边界会话控制器的媒体地址。  The VoIP call setup device according to claim 22, wherein the first receiving unit is configured to receive a second call request sent by the first border session controller, where the second call request is passed The extension of the media level a line in the session description protocol carries the media address of the first border session controller for connecting to the called device.
24、 根据权利要求 23所述的网络电话呼叫建立设备, 其特征在于, 第二接收单元,具体用于根据第一呼叫响应发送第二呼叫响应给第一边界 会话控制器,所述第二呼叫响应通过会话描述协议中媒体级 a行的扩展来携带 被叫设备的媒体地址。  The VoIP call setup device according to claim 23, wherein the second receiving unit is configured to send a second call response to the first border session controller according to the first call response, the second call The media address of the called device is carried in response to an extension of the media level a line in the session description protocol.
25、 一种网络电话呼叫建立设备, 其特征在于, 包括:  25. A network telephone call setup device, comprising:
第一接收单元, 用于接收主叫设备发送的第一呼叫请求;  a first receiving unit, configured to receive a first call request sent by the calling device;
第一发送单元,用于根据第一呼叫请求发送第四呼叫请求给第二边界会话 控制器, 所述第四呼叫请求携带主叫设备的媒体地址, 以便第二边界会话控制 器确定被叫设备位于网络地址交换设备下,且第四呼叫请求中携带了主叫设备 的媒体地址, 且主叫设备所属接入媒体域与被叫设备所属接入媒体域相同时, 分配用于连接主叫设备的第二边界会话控制器的媒体地址;  a first sending unit, configured to send a fourth call request to the second border session controller according to the first call request, where the fourth call request carries a media address of the calling device, so that the second border session controller determines the called device The device is located in the network address switching device, and the fourth call request carries the media address of the calling device, and the access device belongs to the same as the access media domain to which the called device belongs. The media address of the second border session controller;
第二接收单元, 用于接收第二边界会话控制器返回的第四呼叫响应, 所述 第四呼叫响应携带用于连接主叫设备的第二边界会话控制器的媒体地址; 第二发送单元,用于确定第四呼叫响应携带用于连接主叫设备的第二边界 会话控制器的媒体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒体 域相同时,将所述用于连接主叫设备的第二边界会话控制器的媒体地址作为用 于连接主叫设备的第一边界会话控制器的媒体地址,发送第五呼叫响应给主叫 设备, 以建立第二边界会话控制器和主叫设备之间的网络电话呼叫连接。  a second receiving unit, configured to receive a fourth call response returned by the second border session controller, where the fourth call response carries a media address of a second border session controller for connecting to the calling device; And determining, when the fourth call response carries a media address of the second border session controller for connecting to the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs, Transmitting a fifth call response to the calling device to establish a second border session control by using a media address of the second border session controller connected to the calling device as a media address of the first border session controller for connecting to the calling device A VoIP call connection between the device and the calling device.
26、 根据权利要求 25所述的网络电话呼叫建立设备, 其特征在于, 所述第一发送单元,具体用于根据第一呼叫请求发送第四呼叫请求给第二 边界会话控制器,所述第四呼叫请求通过会话描述协议中媒体级 a行的扩展来 携带主叫设备的媒体地址。 The VoIP call setup device according to claim 25, wherein the first sending unit is configured to send a fourth call request to the second border session controller according to the first call request, where the The four call request carries the media address of the calling device through the extension of the media level a line in the session description protocol.
27、 根据权利要求 26所述的网络电话呼叫建立设备, 其特征在于, 所述第二接收单元,具体用于接收第二边界会话控制器返回的第四呼叫响 应,所述第四呼叫响应通过会话描述协议中媒体级 a行的扩展来携带用于连接 主叫设备的第二边界会话控制器的媒体地址。 The VoIP call setup device according to claim 26, wherein the second receiving unit is configured to receive a fourth call response returned by the second border session controller, where the fourth call response is passed The extension of the media level a line in the session description protocol carries the media address of the second border session controller for connecting to the calling device.
28、 一种网络电话呼叫建立设备, 其特征在于, 包括:  28. A network telephone call setup device, comprising:
第一接收单元, 用于接收第一边界会话控制器发送的第四呼叫请求, 所述 第四呼叫请求携带主叫设备的媒体地址;  a first receiving unit, configured to receive a fourth call request sent by the first border session controller, where the fourth call request carries a media address of the calling device;
分配单元,确定被叫设备位于网络地址交换设备下,且第四呼叫请求中携 带了主叫设备的媒体地址,且主叫设备所属接入媒体域与被叫设备所属接入媒 体域相同时, 分配用于连接主叫设备的第二边界会话控制器的媒体地址; 第一发送单元, 用于根据第四呼叫请求发送第五呼叫请求给被叫设备; 第二接收单元, 用于接收被叫设备返回的第一呼叫响应, 以建立第二边界 会话控制器和被叫设备之间的网络电话呼叫连接;  The allocating unit determines that the called device is located under the network address switching device, and the fourth call request carries the media address of the calling device, and the access media domain to which the calling device belongs is the same as the access media domain to which the called device belongs. And a second sending unit, configured to send a fifth call request to the called device according to the fourth call request, and a second receiving unit, configured to receive the called party The first call response returned by the device to establish a network telephone call connection between the second border session controller and the called device;
第二发送单元,用于根据第一呼叫响应发送第四呼叫响应给第一边界会话 控制器,所述第四呼叫响应携带用于连接主叫设备的第二边界会话控制器的媒 体地址,以便第一边界会话控制器确定第四呼叫响应携带用于连接主叫设备的 第二边界会话控制器的媒体地址,且主叫设备所属接入媒体域与被叫设备所属 接入媒体域相同时,将所述用于连接主叫设备的第二边界会话控制器的媒体地 址作为用于连接主叫设备的第一边界会话控制器的媒体地址,发送第五呼叫响 应给主叫设备,以建立第二边界会话控制器和主叫设备之间的网络电话呼叫连 接。  a second sending unit, configured to send a fourth call response to the first border session controller according to the first call response, where the fourth call response carries a media address of the second border session controller for connecting the calling device, so that The first border session controller determines that the fourth call response carries a media address of the second border session controller for connecting to the calling device, and the access device belongs to the access media domain to which the called device belongs. Transmitting, by using a media address of the second border session controller for connecting the calling device as a media address of the first border session controller for connecting the calling device, sending a fifth call response to the calling device, to establish a A VoIP call connection between the two border session controller and the calling device.
29、 根据权利要求 28所述的网络电话呼叫建立设备, 其特征在于, 所述第一接收单元,具体用于接收第一边界会话控制器发送的第四呼叫请 求,所述第四呼叫请求通过会话描述协议中媒体级 a行的扩展来携带主叫设备 的媒体地址。  The VoIP call setup device according to claim 28, wherein the first receiving unit is configured to receive a fourth call request sent by the first border session controller, where the fourth call request is passed The extension of the media level a line in the session description protocol carries the media address of the calling device.
30、 根据权利要求 29所述的网络电话呼叫建立设备, 其特征在于, 所述第二发送单元,具体用于根据第一呼叫响应发送第四呼叫响应给第一 边界会话控制器,所述第四呼叫响应通过会话描述协议中媒体级 a行的扩展来 携带用于连接主叫设备的第二边界会话控制器的媒体地址。 The VoIP call setup device according to claim 29, wherein the second sending unit is configured to send a fourth call response to the first border session controller according to the first call response, where the The four call response carries the media address of the second border session controller for connecting to the calling device through an extension of the media level a line in the session description protocol.
31、 一种通信系统, 其特征在于, 包括权利要求 18至 30所述的任一种网 络电话呼叫建立设备。 A communication system, comprising the network telephone call establishing apparatus of any one of claims 18 to 30.
PCT/CN2011/085205 2011-12-31 2011-12-31 Call establishment method, device and system for voice over internet protocol WO2013097250A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180002987.5A CN103548330B (en) 2011-12-31 2011-12-31 Call establishment method, device and system for voice over internet protocol
PCT/CN2011/085205 WO2013097250A1 (en) 2011-12-31 2011-12-31 Call establishment method, device and system for voice over internet protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/085205 WO2013097250A1 (en) 2011-12-31 2011-12-31 Call establishment method, device and system for voice over internet protocol

Publications (1)

Publication Number Publication Date
WO2013097250A1 true WO2013097250A1 (en) 2013-07-04

Family

ID=48696300

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/085205 WO2013097250A1 (en) 2011-12-31 2011-12-31 Call establishment method, device and system for voice over internet protocol

Country Status (2)

Country Link
CN (1) CN103548330B (en)
WO (1) WO2013097250A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809014B (en) * 2018-08-06 2023-03-03 中兴通讯股份有限公司 Service request, negotiation and response method, device, network equipment and system
CN113438220B (en) * 2021-06-22 2024-03-15 上海翰声信息技术有限公司 Method for converting IP address in soft switching communication system and soft switching communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064678A (en) * 2006-04-26 2007-10-31 华为技术有限公司 Data message routing method, apparatus and system of different networks
CN101401357A (en) * 2006-03-07 2009-04-01 思科技术公司 Managing traffic within and between virtual private networks when using a session border controller
CN101442480A (en) * 2007-11-20 2009-05-27 迈普(四川)通信技术有限公司 Network communication method based on STUN protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2391742B (en) * 2002-08-07 2004-07-07 Samsung Electronics Co Ltd Network adress translation router for voice over internet protocol system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101401357A (en) * 2006-03-07 2009-04-01 思科技术公司 Managing traffic within and between virtual private networks when using a session border controller
CN101064678A (en) * 2006-04-26 2007-10-31 华为技术有限公司 Data message routing method, apparatus and system of different networks
CN101442480A (en) * 2007-11-20 2009-05-27 迈普(四川)通信技术有限公司 Network communication method based on STUN protocol

Also Published As

Publication number Publication date
CN103548330A (en) 2014-01-29
CN103548330B (en) 2015-03-11

Similar Documents

Publication Publication Date Title
US6738390B1 (en) SIP-H.323 gateway implementation to integrate SIP agents into the H.323 system
KR100247721B1 (en) Gateway having connection to voice and data networks
US8804697B1 (en) Distributed call routing in a VoIP system
CN101257433B (en) Method and system for realizing network address convert traversing
US20030007497A1 (en) Changing media sessions
CN101420432B (en) A method, system and device for implementing IMS monitoring
WO2006108168A2 (en) Interworking qsig and h.323 signaling in a sip-based network
US7773580B2 (en) Apparatus and method for voice processing of voice over internet protocol (VoIP)
CN104040998A (en) Ice based nat traversal
WO2007025447A1 (en) Processing method for bearer control
US20130007291A1 (en) MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS
JP2007318343A (en) Gateway device and renegotiation method
US6804254B1 (en) System and method for maintaining a communication link
CN100403729C (en) The method of call control and media flow traversing private network in SIP softswitch system
CA2544154A1 (en) Method and apparatus for enabling dynamic protocol interworking resolution with diverse endpoints
CN101925053B (en) Method, system and server for controlling session of IP multimedia subsystem (IMS) domain
US8873374B2 (en) Accelerated recovery during negotiation between a media gateway and a media gateway controller
CN101873392B (en) VoIP-based calling method, system and device
WO2013097250A1 (en) Call establishment method, device and system for voice over internet protocol
CN101605313A (en) Service processing method and system, call session control function entity device and application server
WO2009001329A2 (en) An instant messaging - convergence telephony switch
CN101326793A (en) Methods used to transmit valid data
US7701927B2 (en) Method for transmitting communication data in a communication system
CN101110864B (en) Method for providing dial-in service using medium service apparatus
JP4621183B2 (en) IP communication network interconnection system and IP communication network interconnection method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11878341

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11878341

Country of ref document: EP

Kind code of ref document: A1