CN101616158B - Method and device for media consultation in third-party call control - Google Patents

Method and device for media consultation in third-party call control Download PDF

Info

Publication number
CN101616158B
CN101616158B CN 200910157784 CN200910157784A CN101616158B CN 101616158 B CN101616158 B CN 101616158B CN 200910157784 CN200910157784 CN 200910157784 CN 200910157784 A CN200910157784 A CN 200910157784A CN 101616158 B CN101616158 B CN 101616158B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
method
device
media
consultation
party
Prior art date
Application number
CN 200910157784
Other languages
Chinese (zh)
Other versions
CN101616158A (en )
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
Grant date

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Interconnection arrangements between switching centres
    • H04M7/0024Services and arrangements where telephone services are combined with data services
    • H04M7/003Click to dial services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/10Signalling, control or architecture
    • H04L65/1066Session control
    • H04L65/1069Setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/80QoS aspects

Abstract

本发明公开了一种第三方呼叫控制中媒体协商的方法和装置,属于通信领域。 The present invention discloses a method and apparatus for the third-party call control in the media negotiation, the field of communications. 该方法包括:与第一方进行媒体协商;向第二方发送提供Offer消息,所述Offer消息携带所述第一方的地址信息;接收所述第二方发送的应答Answer消息,所述Answer消息携带第二方的地址信息;将所述Answer消息转换成所述Offer消息后向所述第一方发送;接收所述第一方发送的所述Answer消息,所述Answer消息携带所述第一方变化的地址信息;将所述Answer消息转换成所述Offer消息后向所述第二方发送。 The method comprising: a media negotiation with a first party; Offer message sent to the second party to provide the Offer message carries address information of the first party; receiving the second response message sent by Answer, the Answer message carries address information of the second party; sending to the first party after the conversion into the Answer message Offer message; receiving the first message sent by the Answer, the Answer message carries the first one of the address information change; sending to the second party after the conversion into the Answer message Offer message. 该装置包括:协商模块、第一发送模块、第一接收模块、转换模块、第二发送模块和第二接收模块。 The apparatus comprising: a negotiation module, a first transmitting module, a first receiving module, a conversion module, a second sending module and a second receiving module. 本发明可以解决由于地址信息变化,导致第一方与第二方媒体面不通的问题。 The present invention can solve the problem since the address information is changed, resulting in the first and second parties nowhere media surface.

Description

第三方呼叫控制中媒体协商的方法和装置 Third party call control method and apparatus for media negotiation

技术领域 FIELD

[0001] 本发明涉及通信领域,特别涉及一种第三方呼叫控制中媒体协商的方法和装置。 [0001] The present invention relates to the field of communications, particularly to a method and an apparatus for the third-party call control in the media negotiation. 背景技术 Background technique

[0002]第三方呼叫控制(3PCC, the Third Party of Conversation Control)指的是由第三方控制者在另外两者之间建立一个会话,由控制者负责会话双方的媒体协商。 [0002] Third Party Call Control (3PCC, the Third Party of Conversation Control) refers to the controller by a third party in another set up a session between the two, is responsible for the control of both media negotiation session. 3PCC是一种非常灵活的控制方式,可以分为3PCC建立请求消息带会话描述协议(SDP,SessionDescription Protocol)消息的流程和3PCC建立请求消息不带SDP消息的流程。 3PCC control is a very flexible manner, the process can be divided into 3PCC setup request message with a Session Description Protocol (SDP, SessionDescription Protocol) message and the request message 3PCC establishment process with no SDP message. 其中,SDP消息包括提供(Offer)消息和应答(Answer)消息。 Wherein, SDP message comprising providing (Offer Penalty for) and reply message (Answer The) message.

[0003] 3PCC建立请求消息带SDP消息的流程在呼叫前转、自动台、呼叫转接等多种业务中都存在,具体流程如图1所示,包括: [0003] 3PCC establishment request message with the SDP message flow in call forwarding, automatic stage, call forwarding and other services are present, the specific procedure shown in Figure 1, comprising:

[0004] 101,第一方已经与应用服务器(AS, Application Server)进行了媒体协商。 [0004] 101, the first party has been in consultation with the media application server (AS, Application Server).

[0005] 102,AS向第二方发送Offer消息。 [0005] 102, AS Offer message sent to the second party.

[0006] 其中,该Offer消息可以携带在呼叫建立请求中,该呼叫建立请求可以是但不限于邀请(INVITE)消息。 [0006] wherein Offer message may be carried in the call establishment request, the call establishment request may be, but is not limited to the invitation (INVITE) message. Offer消息包括:媒体类型、第一方的地址信息、传输协议和媒体格式等描述。 Offer message comprising: a media type, the address information of the first party, the transmission protocol and media format description. 其中,地址信息包括发送数据的端口、IP地址等。 Wherein the address information comprises a port, IP address and the like of transmission data.

[0007] 103,第二方接收到offer消息,并向AS发送Answer消息。 [0007] 103, the second party receiving the offer message, and sends the Answer message AS.

[0008] 其中,该Answer消息可以携带在可靠传输临时响应,该可靠传输临时响应包括但不限于180响应、181响应或183响应。 [0008] wherein, the Answer message may carry a temporary response to the reliable transmission, reliable transmission of the temporary response 180 response including but not limited to, 181, or 183 in response to the response.

[0009] 其中,Answer消息包括:媒体类型、第二方的地址信息、传输协议和媒体格式等描述。 [0009] wherein, Answer The message comprising: describing the media type, the address information of the second party, transport protocols and media formats.

[0010] 104, AS接收Answer消息,并向第一方发送Offer消息。 [0010] 104, AS receives the Answer message, and sends Offer message to the first party.

[0011] 其中,该Offer消息可以携带在更新请求中,其中,更新请求可以但不限于是更新(Update)消息或重新邀请(RE-1NVITE)消息。 [0011] wherein the Offer message may be carried in the update request, wherein the update request can be but is not limited update (the Update) message or a re-invitation (RE-1NVITE) message.

[0012] 具体地,AS接收到携带Answer消息的可靠传输临时响应后,提取出Answer消息,并将提取的Answer消息转换成Offer消息后携带在更新请求中发送给第一方, After the post-conversion [0012] Specifically, the AS receives a reliable provisional response carries Answer message transmission, the Answer message extracted, and the extracted Answer message to the Offer carried in the update request message sent to the first party,

[0013] 105,第一方接收到Offer消息,并向AS发送Answer消息。 [0013] 105, a first party receives the Offer message, and transmits Answer message AS.

[0014] 其中,该Answer消息可以携带在更新请求响应中,该更新请求响应可以但不限于2000K响应或183响应。 [0014] wherein, the Answer message may be carried in the update request response in response to the update request can be but is not limited to 183 responses or response to 2000K. 其中,Answer消息包括:媒体类型、第一方的地址信息、传输协议和媒体格式等描述。 Wherein, Answer The message comprising: a media type, the address information of the first party, the transmission protocol and media format description.

[0015] 发明人在实现本发明的过程中,发现现有技术至少存在如下问题: [0015] In the process of implementing the present invention finds that the prior art has at least the following problems:

[0016] 第二方在102中获取的第一方的地址信息为Offer消息中的地址信息,但在105中,第一方的地址信息如果发生改变,由于AS会对Answer消息进行拦截,第二方无法获取第一方变化的地址信息,从而导致媒体面不通。 [0016] The second party address information in the Offer message, in 105, if the address information of the first party changes the first party address information 102 acquired due Answer message AS will intercept of unable to get address information of the second party the first party of change, leading to the media surface barrier.

发明内容[0017] 本发明要解决的问题是提供了一种第三方呼叫控制中媒体协商的方法和装置,可以解决现有技术中由于地址信息变化,导致第一方与第二方媒体面不通的问题。 SUMMARY OF THE INVENTION [0017] The problem to be solved of the present invention is to provide a method and apparatus for a media negotiation third party call control in the prior art can be solved since the address information is changed, resulting in the first and second parties medium surface nowhere The problem.

[0018] 为了解决上述问题,本发明提供了一种第三方呼叫控制中媒体协商的方法和装置,所述技术方案如下: [0018] In order to solve the above problems, the present invention provides a method and apparatus for a media negotiation third party call control, the technical solutions are as follows:

[0019] 一种第三方呼叫控制中媒体协商的方法,所述方法包括: [0019] A third-party call control method in the media negotiation, the method comprising:

[0020] 步骤A:应用服务器与第一方进行媒体协商; [0020] Step A: The application server perform media negotiation with the first party;

[0021] 步骤B:所述应用服务器向第二方发送提供Offer消息,所述Offer消息携带所述第一方的地址信息; [0021] Step B: The application server sends a message to the second party provides Offer, the Offer message carries address information of the first party;

[0022] 步骤C:所述应用服务器接收所述第二方发送的应答Answer消息,所述Answer消息携带第二方的地址信息; [0022] Step C: The application server receives the response Answer message sent by the second party, the Answer message carries address information of the second party;

[0023] 步骤D:所述应用服务器将所述Answer消息转换成所述Offer消息后向所述第一方发送; [0023] Step D: The application server sends to the first party of the message is converted into the Answer Offer message;

[0024] 步骤E:所述应用服务器接收所述第一方发送的所述Answer消息,所述Answer消息携带所述第一方变化的地址信息; [0024] Step E: The application server receives the Answer message sent by the first party, the Answer message carries address information of the first party changes;

[0025] 步骤F:所述应用服务器将所述Answer消息转换成所述Offer消息后向所述第二方发送。 [0025] Step F: The application server sends the converted second party the Answer message to the Offer message.

[0026] 一种第三方呼叫控制中媒体协商的装置,包括: It means media negotiation [0026] A third-party call control, comprising:

[0027] 协商模块,用于与第一方进行媒体协商; [0027] The negotiation module, for performing the media negotiation with the first party;

[0028] 第一发送模块,用于向第二方发送提供Offer消息,所述Offer消息携带所述第一方的地址信息; [0028] The first sending module, configured to send a second message provided by Offer, the Offer message carries address information of the first party;

[0029] 第一接收模块,用于接收所述第二方发送的应答Answer消息,所述Answer消息携带第二方的地址信息; [0029] a first receiving module, for receiving the second reply Answer message sent by the Answer message carries address information of the second party;

[0030] 所述转换模块,用于将所述第一接收模块接收的Answer消息转换成Offer消息; [0030] The conversion module for converting Answer message received by the first receiving module into Offer message;

[0031] 第二发送模块,用于将所述转换模块转换的Offer消息向所述第一方发送; [0031] The second sending module, configured to send the conversion module converting Offer message to the first party;

[0032] 第二接收模块,用于接收所述第一方发送的Answer消息,所述Answer消息携带所述第一方变化的地址信息; [0032] a second receiving module configured to receive the Answer message sent by the first party, the first party Answer message carries the address information of the change;

[0033] 所述转换模块,还用于将所述第二接收模块接收的所述Answer消息转换成所述Offer消息; [0033] The conversion module is further for converting the Answer message received by the second receiving module to the Offer message;

[0034] 第二发送模块,用于将所述转换模块转换的所述Offer消息向所述第二方发送。 [0034] a second transmitting module, the converting module converts the Offer message for sending to the second party.

[0035] 本发明提供的技术方案通过将变化的地址信息透传,可以使第三方呼叫控制中第一方和第二方的媒体面接通,有利于业务的发展。 [0035] The present invention provides a technical solution by changing the address information of the transparent transmission media can be made in the surface of third party call control of the first and second parties turned conducive to the development of business.

附图说明 BRIEF DESCRIPTION

[0036] 图1是现有技术中提供的3PCC建立请求消息带SDP消息的流程图; [0036] FIG. 1 is a flow request message with the SDP message in the prior art to provide 3PCC established;

[0037] 图2是本发明的一个实施例提供的3PCC中媒体协商的方法的流程图; [0037] FIG 2 is a flowchart of a method provided by 3PCC media negotiation embodiment of the present invention;

[0038] 图3是本发明的一个实施例提供的另一种3PCC中媒体协商的方法的流程图; [0038] FIG. 3 is a flowchart illustrating another method 3PCC media negotiation according to an embodiment of the present invention;

[0039] 图4是本发明的一个实施例提供的一种3PCC中媒体协商的装置的结构图。 [0039] FIG 4 is a configuration diagram of an apparatus for 3PCC media negotiation according to an embodiment of the present invention.

具体实施方式[0040] 本发明的核心思想在于:通过将变化的地址信息进行透传,可以使第一方与第二方的媒体面接通,有利于业务的发展。 DETAILED DESCRIPTION [0040] The core idea of ​​the present invention is: transparently transmits the address information changes can be made to the media plane of the first and second parties is turned on, conducive to the development of business. 此外,通过设置Answer消息转换成Offer消息的门限次数,当统计的将Answer消息转换成Offer消息次数达到设置的门限次数时,拦截该Answer消息,可以避免媒体协商震荡,提高业务质量。 In addition, the message is converted to Offer Answer message by setting the number of times the threshold, when the conversion statistics of the number of times the message Answer message to Offer door number reaches the set limit, the Answer to intercept messages, media negotiation to avoid shocks, improve service quality.

[0041] 下面结合附图及优选实施方式对本发明技术方案进行详细说明。 [0041] Next, the technical solution of the present invention is described in detail in conjunction with the accompanying drawings and preferred embodiments.

[0042] 本发明的一个实施例提供了一种3PCC中媒体协商的方法,如图2所示,包括: [0042] Figure 2 provides an embodiment of a method of 3PCC media negotiation, as the present invention, comprising:

[0043] 201-204与101-104的内容类似,在此不再赘述。 [0043] 201-204 and 101-104 is similar to the content, which is not repeated herein.

[0044] 205,第一方接收Offer消息,并向AS发送Answer消息。 [0044] 205, a first party receives Offer message, and transmits Answer message AS.

[0045] 其中,该Answer消息可以携带在更新请求响应中,该更新请求响应可以但不限于2000K响应或183响应。 [0045] wherein, the Answer message may be carried in the update request response in response to the update request can be but is not limited to 183 responses or response to 2000K. Answer消息包括:媒体类型、第一方的变化后的地址信息、传输协议和媒体格式等描述。 Answer message comprising: a media type, the address information of the change of the first party, transport protocols and media formats described.

[0046] 206, AS接收Answer消息,并向第二方发送Offer消息。 [0046] 206, AS receives the Answer message sent Offer message to the second party.

[0047] 此时,由于第二方获取到第一方变化的地址信息,因此,第二方向第一方变化的地址信息发送媒体数据包,而第一方利用变化的地址信息接收第二方发送的媒体数据包,此时,第一方和第二方之间的媒体面接通。 [0047] At this time, since the address information of the second party the first party to obtain the change, therefore, the first party changes a second direction address information sending media packets, the first party using a change in the received address information of the second party media packets sent, at this time, between the first and second parties medium surface turned.

[0048] 但在实际应用中,有可能会出现以下情况,即第二方在获取到第一方的变化的地址信息时,向AS发送的更新请求响应的Offer消息中携带的第二方的地址信息也发生了变化,此时,还有如下步骤: [0048] However, in practical applications, there may be the following cases, i.e., the second party Offer message to the second party when obtaining the address information is changed first party, a response to the update request sent by the AS carried address information has changed, this time, there are the following steps:

[0049] 207,第二方接收Offer消息,并向AS发送Answer消息。 [0049] 207, the second party receives the Offer message, and transmits Answer message AS.

[0050] 其中,该Answer消息可以携带在更新请求响应中。 [0050] wherein, the Answer message may be carried in the update request response. Answer消息包括:媒体类型、第二方的变化的地址信息、传输协议和媒体格式等描述。 Answer message comprising: a media type change of the second party address information, transport protocols and media formats described.

[0051] 208, AS接收Answer消息,并向第一方发送Offer消息,该Offer消息携带第二方变化的地址信息。 [0051] 208, AS receives the Answer message, and sends a message to the first party Offer, the Offer message carries the address information of the second party changes.

[0052] 由于第一方得知第二方变化的地址信息,此时,第一方和第二方的媒体面接通。 [0052] Since the first party that the second party changes the address information, in which case the first party and the second party is turned on the media plane.

[0053] 209,第一方接收Offer消息,并向AS发送Answer消息。 [0053] 209, a first party receives Offer message, and transmits Answer message AS.

[0054] 该Answer消息可以携带在确认(ACK)消息。 [0054] Answer message may be carried in the acknowledgment (ACK) message. 其中,Answer消息包括:媒体类型、第一方的再次变化后的地址信息、传输协议和媒体格式等描述。 Wherein, Answer The message comprising: a media type, the address information of the first party is changed again, transport protocols and media formats described. 此时,第二方无法获知第一方再次变化后的地址信息,导致第二方和第一方媒体面不通。 At this time, the second party can not know the address information of the first party changes again, causing the second party and the first party media surface barrier.

[0055] 重复执行205-209可以得知,由于第一方和第二方都在后续的Answer消息中修改地址信息,从而导致媒体协商震荡,为了克服这个问题,本发明的一个实施例设置Answer消息转换成Offer消息的次数门限,其中,从第一方到第二方的方向,将Answer消息转换成Offer消息记为一次,从第二方到第一方的方向,将Answer消息转换成Offer消息也记为一次,并进行累加或累减,初始的转换次数的取值可以为O或其他的数值,本发明的实施例并不作限制。 [0055] 205-209 is repeatedly executed can be known, since the first and second parties have modified the address information in the subsequent Answer message, resulting in a media negotiation shock, in order to overcome this problem, one case of embodiment of the present invention is provided Answer Offer message into the message times threshold, wherein the direction from the first party to the second party, converted into Offer Answer message referred to as a message, a direction from the second party to the first party, the Answer message into Offer also referred to as a message, and additive or regressive, the initial value of the number of conversions may be O or other values, the embodiment is not limited in the present invention. 当统计的将Answer消息转换成Offer消息的次数未达到次数门限时,AS对Answer消息进行透传;当统计的将Answer消息转换成Offer消息的次数达到次数门限时,AS对Answer消息进行拦截,并在第二方摘机后通过空切,即通过向第一方或第二方发送重新邀请(Re-1NVITE)消息,使第一方和第二方进行端到端的媒体协商,保证媒体面接通。 When converted into statistical Answer message number Offer message does not reach the number of threshold, the AS for Answer message transmitted transparently; when converting statistical Answer message to the Offer message count reaches the number of threshold, the AS for Answer message intercept, and the second party via the air cut off-hook, i.e. re-invitation (re-1NVITE) message by sending to the first party or the second party, the first and second parties end the media negotiation to ensure that the media contact surface through. 参见图2,其中,从203到204中,可以将Answer消息转换成Offer消息视为第一次,从205到206中,也可以将Answer消息转换成Offer消息视为第一次,或是其他将Answer消息转换成Offer消息视为第一次,本发明不作具体限定。 Referring to Figure 2, wherein from 203 to 204, Answer message may be converted into a first considered Offer message, from 205 to 206, Answer message may be converted into a first considered Offer message, or other converting Offer message Answer message to the first considered, the present invention is not particularly limited. 参见图3,具体方法如下: Referring to Figure 3, as follows:

[0056] 301-307的内容与201-207的内容类似,不同的是,此时AS上设置一个计数器,将Answer消息转换成Offer消息的次数的初始值设置为0,转换次数门限为3。 Initial value Content [0056] 301-307 201-207 is similar to the content, except that this time a counter is provided on the AS, the Answer message converted into Offer message number is set to 0, the conversion was 3 times threshold. 由于在301-307中,AS将Answer消息转换成Offer消息的次数为2,此时计数器累加两次,其值为2。 Since the 301-307, AS conversions into the Answer message Offer message is 2, then two accumulated counter, a value of 2.

[0057] 308, AS接收Answer消息,将Answer消息转换为Offer消息,此时将计数器累加1,并判断此时统计的转换次数是否达到了设置的门限次数,由于,设置的门限次数为3,统计的转换次数也为3,此时,AS将Answer消息拦截。 [0057] 308, AS receives the Answer message, converts Answer message Offer message, this time counter incremented by 1, and determines conversions case statistics has reached the threshold setting number, because the number of threshold is set to 3, conversions statistics also for 3, this time, aS the Answer message interception.

[0058] 309,第二方摘机后,向AS发送更新请求响应邀请(2000K INV)消息。 [0058] 309, the second party off-hook, sending an update (2000K INV) in response to the invitation request message to the AS.

[0059] 其中,更新请求响应邀请消息是对302的响应。 [0059] wherein, in response to the update request is a response to the invitation message 302.

[0060] 310, AS向第一方转发更新请求响应邀请消息。 [0060] 310, AS forwards the invitation message update request in response to the first party.

[0061] 311,第一方接收更新请求响应邀请消息,并向AS发送确认消息。 [0061] 311, a first side receiving the update request in response to the invitation message, and sends an acknowledgment message AS.

[0062] 312,AS向第二方转发确认消息。 [0062] 312, AS forwards the acknowledgment message to the second party.

[0063] 313,AS向第二方发送重新邀请消息,使第一方和第二方重新进行端到端的媒体协商。 [0063] 313, AS transmits re-INVITE message to the second party, the first and second parties re-end media negotiation.

[0064] 基于与方法相同的发明构思,本发明的一个实施例还提供了一种3PCC中媒体协商的装置,如图4所示,包括: [0064] The method based on the same inventive concept, an embodiment of the present invention also provides an apparatus for 3PCC media negotiation, shown in Figure 4, comprising:

[0065] 协商模块,用于与第一方进行媒体协商; [0065] The negotiation module, for performing the media negotiation with the first party;

[0066] 第一发送模块,用于向第二方发送提供Offer消息,该Offer消息携带所述第一方的地址信息; [0066] The first sending module, configured to send a second message provided by Offer, the Offer message carries address information of the first party;

[0067] 第一接收模块,用于接收第二方发送的应答Answer消息,该Answer消息携带第二方的地址信息; [0067] a first receiving module, configured to receive a second message sent by a response Answer, the Answer message carries the address information of the second party;

[0068] 所述转换模块,用于将第一接收模块接收的Answer消息转换成Offer消息; [0068] The conversion module for converting a first receiving module receives the Answer message into an Offer message;

[0069] 第二发送模块,用于将转换模块转换的Offer消息向第一方发送; [0069] The second sending module, the converting module for converting Offer message is transmitted to the first party;

[0070] 第二接收模块,用于接收第一方发送的Answer消息,该Answer消息携带所述第一方变化的地址信息; [0070] a second receiving module configured to receive a first Answer message sent by the Answer message carries address information of the first party changes;

[0071] 所述转换模块,还用于将第二接收模块接收的Answer消息转换成Offer消息; [0071] The conversion module is further for converting the Answer message to the second receiving module receives the Offer message;

[0072] 第二发送模块,用于将转换模块转换的Offer消息向第二方发送。 [0072] The second sending module, the converting module for converting Offer message is transmitted to the second party.

[0073] 进一步地,第二接收模块,还用于接收第二方发送的Answer消息,所述Answer消息携带第二方变化的地址信息; [0073] Further, the second receiving module is further configured to receive a second message sent by Answer, the Answer message carries address information of the second party changes;

[0074] 转换模块,还用于将第二方发送的Answer消息转换成Offer消息; [0074] The conversion module is further for converting the Answer message sent by the second party to the Offer message;

[0075] 所述第二发送模块,还用于将转换的Offer消息发送给第一方。 [0075] The second sending module is further for converting the Offer message to the first party.

[0076]当重复执行第二发送模块、转换模块和第二接收模块时,所述装置还包括: [0076] When repeatedly performed a second sending module, conversion module and a second receiving module, the apparatus further comprising:

[0077] 设置模块,用于设置转换模块Answer消息转换成Offer消息的次数门限; [0077] setting means for setting the conversion module converting Offer message Answer message to a threshold number;

[0078] 统计模块,用于统计转换模块将Answer消息转换成Offer消息的次数; [0078] Statistics module, a conversion module for counting Answer message into a number Offer message;

[0079] 判断模块,用于判断统计模块统计的转换次数是否达到设置模块设置的门限次数; [0079] determination means for determining statistical conversions statistics module has reached a threshold setting module number;

[0080] 拦截模块,用于判断模块判断结果为是时,拦截Answer消息; [0080] interception module, a determining module determines the result is YES, the Answer message interception;

[0081] 空切模块,用于在第二方摘机后,通过重新邀请消息,以进行端到端的媒体协商。 [0081] The air-cut means for off-hook after the second party, re-invitation negotiation message to the media end to end. [0082] 进一步地,空切模块具体用于向第二方或第一方发送重新邀请消息,以进行端到端的媒体协商。 [0082] Further, the air-cut module is configured to send a re-INVITE message to the first party or the second party to end the media negotiation.

[0083] 本发明提供的技术方案通过将变化的地址信息进行透传,可以第一方与第二方的媒体面接通,有利于业务的发展。 [0083] The present invention provides a technical solution for the change of address information pass-through, may be the first party and the second party is turned on the media plane, conducive to the development of business. 此外,通过设置Answer消息转换成Offer消息的门限次数,当统计的将Answer消息转换成Offer消息次数达到设置的门限次数时,拦截该Answer消息,可以避免媒体协商震荡,提高业务质量。 In addition, the message is converted to Offer Answer message by setting the number of times the threshold, when the conversion statistics of the number of times the message Answer message to Offer door number reaches the set limit, the Answer to intercept messages, media negotiation to avoid shocks, improve service quality.

Claims (4)

  1. 1.一种第三方呼叫控制中媒体协商的方法,其特征在于,所述方法包括: 步骤A:应用服务器与第一方进行媒体协商; 步骤B:所述应用服务器向第二方发送提供Offer消息,所述Offer消息携带所述第一方的地址信息; 步骤C:所述应用服务器接收所述第二方发送的应答Answer消息,所述Answer消息携带第二方的地址信息; 步骤D:所述应用服务器将所述Answer消息转换成所述Offer消息后向所述第一方发送; 步骤E:所述应用服务器接收所述第一方发送的所述Answer消息,所述Answer消息携带所述第一方变化的地址信息; 步骤F:所述应用服务器将所述Answer消息转换成所述Offer消息后向所述第二方发送; 步骤G:所述应用服务器接收所述第二方发送的Answer消息,所述Answer消息携带所述第二方变化的地址信息; 步骤H:所述应用服务器将所述Answer消息转换成所述Offer消息后向所述第一方发送 1. A method for media negotiation third-party call control, wherein the method comprises: Step A: The application server performs media negotiation with the first party; Step B: The application server sends the second party provides Offer message, the Offer message carries address information of the first party; step C: the application server receives a reply answer message sent by the second party, the answer message carries address information of the second party; step D: the application server transmits to the said first direction is converted into the Answer message Offer message; step E: the application server receives the Answer message sent by the first party, the message carries the Answer said first party address information changes; step F: the application server transmits the converted message to the Offer Answer message to the second party; step G: the application server receives the second party sends the Answer message, the Answer message carries the address information of the second party changes; step H: after the application server, the Answer message into the Offer message to the first party ; 当重复执行所述步骤E至步骤H时,还包括: 在所述应用服务器上设置所述Answer消息转换成所述Offer消息的次数门限; 所述应用服务器统计所述Answer消息转换成所述Offer消息的次数; 所述应用服务器当所述统计的转换次数达到所述门限次数时,拦截所述Answer消息; 在所述第二方摘机后,所述应用服务器通过重新邀请消息,以进行端到端的媒体协商。 ; Repeatedly performed when the step E to step H, further comprising: converting the Answer message provided to the Offer message times threshold on the application server; the application server statistics the Answer message into the Offer message number; the application server when the number of conversions to the door when the count reaches a threshold number of times, the Answer message interception; second party after said off-hook, the application server by re-invite message, for to-end media negotiation.
  2. 2.如权利要求1所述的方法,其特征在于,所述应用服务器通过重新邀请消息进行端到端的媒体协商,包括: 所述应用服务器向所述第二方或所述第一方发送重新邀请消息,以进行端到端的媒体协商。 2. The method according to claim 1, characterized in that, the media negotiation application server by re-invite message end to end, comprising: the application server sends to the first party or the second party re invitation message to media negotiation end to end.
  3. 3.—种第三方呼叫控制中媒体协商的装置,其特征在于,包括: 协商模块,用于与第一方进行媒体协商; 第一发送模块,用于向第二方发送提供Offer消息,所述Offer消息携带所述第一方的地址信息; 第一接收模块,用于接收所述第二方发送的应答Answer消息,所述Answer消息携带第二方的地址信息; 转换模块,用于将所述第一接收模块接收的Answer消息转换成Offer消息; 第二发送模块,用于将所述转换模块转换的Offer消息向所述第一方发送; 第二接收模块,用于接收所述第一方发送的Answer消息,所述Answer消息携带所述第一方变化的地址信息;所述转换模块,还用于将所述第二接收模块接收的所述Answer消息转换成所述Offer消息; 第二发送模块,用于将所述转换模块转换的所述Offer消息向所述第二方发送;所述第二接收模块,还用于接收所述第二方发送的Answer消 3.- Third Party Call Control means seed media negotiation, wherein, comprising: a negotiation module, for performing media negotiation with a first party; a first transmitting module for providing Offer message is sent to the second party, the said Offer message carries address information of the first party; a first receiving module, for receiving the second reply answer message sent by the answer message carries address information of a second party; converting module, configured to the first receiving module receives the Answer message into an Offer message; and a second sending module, configured to send the conversion module converting Offer message to the first party; a second receiving module, for receiving said first Answer message sent by the party, the Answer message carries address information of the first party changes; the conversion module is further for converting the Answer message received by the second receiving module to the Offer message; a second sending module, configured to send the conversion module converting the Offer message to the second party; the second receiving module is further configured to receive the second extinction Answer sent by ,所述Answer消息携带所述第二方变化的地址信息;所述转换模块,还用于将所述第二方发送的所述Answer消息转换成所述Offer消息;所述第二发送模块,还用于将所述转换的Offer消息发送给所述第一方;当重复执行所述第二发送模块、所述转换模块和所述第二接收模块时,所述装置还包括: 设置模块,用于设置所述转换模块将所述Answer消息转换成所述Offer消息的次数门限; 统计模块,用于统计所述转换模块将所述Answer消息转换成所述Offer消息的次数;判断模块,用于判断所述统计模块统计的转换次数是否达到所述设置模块设置的门限次数; 拦截模块,用于所述判断模块判断结果为是时,拦截所述Answer消息; 空切模块,用于在所述第二方摘机后,通过重新邀请消息,以进行端到端的媒体协商。 The Answer message carries the address information of the second party changes; the conversion module is further for converting the Answer message sent by the second party to the Offer message; transmitting the second module, further configured to send the converted message to the first party Offer; repeatedly performed when the second transmitting module, the converting module and the second receiving module, the apparatus further comprising: a setting module, number counting module, for counting a conversion module to convert the Answer message to the Offer message;; times threshold for setting said conversion module to convert the Answer message to the Offer message determining module, with determining in the statistic module statistics conversions reaches the times threshold setting module; intercept module, the judging module for judging result is yes, the intercepting Answer message; air cut module for the the second side hook later, re-invitation negotiation message to the media end to end.
  4. 4.如权利要求3所述的装置,其特征在于,所述空切模块具体用于向所述第二方或所述第一方发送所述重新邀请消息,以进行端到端的媒体协商。 4. The apparatus according to claim 3, wherein said air-cut module is specifically configured to send the re-Invite message to the first party or the second party to end the media negotiation.
CN 200910157784 2009-07-27 2009-07-27 Method and device for media consultation in third-party call control CN101616158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910157784 CN101616158B (en) 2009-07-27 2009-07-27 Method and device for media consultation in third-party call control

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200910157784 CN101616158B (en) 2009-07-27 2009-07-27 Method and device for media consultation in third-party call control
PCT/CN2010/073223 WO2011012013A1 (en) 2009-07-27 2010-05-25 Method and device for media negotiation in third party call control

Publications (2)

Publication Number Publication Date
CN101616158A true CN101616158A (en) 2009-12-30
CN101616158B true CN101616158B (en) 2014-07-02

Family

ID=41495562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910157784 CN101616158B (en) 2009-07-27 2009-07-27 Method and device for media consultation in third-party call control

Country Status (2)

Country Link
CN (1) CN101616158B (en)
WO (1) WO2011012013A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616158B (en) * 2009-07-27 2014-07-02 中兴通讯股份有限公司 Method and device for media consultation in third-party call control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968218A (en) 2006-04-24 2007-05-23 华为技术有限公司 System and method for implementing dialup by clicking
CN101159519A (en) 2007-10-22 2008-04-09 中兴通讯股份有限公司 The third party call control method of session inceptive protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20011962A0 (en) * 2001-10-09 2001-10-09 Nokia Corp The code converter arrangement
CN101616158B (en) * 2009-07-27 2014-07-02 中兴通讯股份有限公司 Method and device for media consultation in third-party call control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968218A (en) 2006-04-24 2007-05-23 华为技术有限公司 System and method for implementing dialup by clicking
CN101159519A (en) 2007-10-22 2008-04-09 中兴通讯股份有限公司 The third party call control method of session inceptive protocol

Also Published As

Publication number Publication date Type
WO2011012013A1 (en) 2011-02-03 application
CN101616158A (en) 2009-12-30 application

Similar Documents

Publication Publication Date Title
US7978686B2 (en) System and method for feature-based services control using SIP
US20070253418A1 (en) Routing path optimization between sip endpoints
US20110249079A1 (en) Transitioning between circuit switched calls and video calls
US20070201448A1 (en) System and method for consolidating media signaling to facilitate Internet protocol (IP) telephony
US20030149772A1 (en) Method and apparatus for session release in a communication system
US20070067496A1 (en) Bidirectional asynchronous data communication
US20050066038A1 (en) Session control system, communication terminal and servers
US20060149811A1 (en) Method for remotely controlling media devices via a communication network
US20080259909A1 (en) Signaling of Early Media Capabilities in IMS Terminals
US20080123687A1 (en) Terminal capabilities set exchange between heterogeneous endpoints
US20100208726A1 (en) Systems and Methods for the Reliable Transmission of Facsimiles over Packet Networks
US7792065B2 (en) Securely establishing sessions over secure paths
US20060203749A1 (en) Multimedia conference system and method which enables communication between private network and Internet
CN1516409A (en) Method for making medium stream pass through network address converter
US20110153809A1 (en) Legal Intercept
US20050100047A1 (en) Method of reducing media relay of a network address translation apparatus
US20070153775A1 (en) Method for generating and sending signaling messages
WO2003032585A1 (en) Transcoding arrangement in a session initiation
US20060146805A1 (en) Systems and methods of providing voice communications over packet networks
US20130097333A1 (en) Methods and apparatuses for unified streaming communication
CN1604589A (en) SIP crossing supported firewall implementing method
CN1929600A (en) System and method for realizing remote monitoring control by using IP videophone
US20120110152A1 (en) Real time protocol packet tunneling
US20120099529A1 (en) Arrangement and Method for Session Control in a Wireless Communication Network
US20080317004A1 (en) SIP ENDPOINT CONFIGURATION IN VoIP NETWORKS

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted