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 PDFInfo
- Publication number
- CN101616158B CN101616158B CN200910157784.8A CN200910157784A CN101616158B CN 101616158 B CN101616158 B CN 101616158B CN 200910157784 A CN200910157784 A CN 200910157784A CN 101616158 B CN101616158 B CN 101616158B
- Authority
- CN
- China
- Prior art keywords
- party
- message
- answer message
- module
- conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/0024—Services and arrangements where telephone services are combined with data services
- H04M7/003—Click to dial services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a device for media consultation in third-party call control and belongs to the field of communication. The method comprises the following steps: carrying out media consultation with a first party; sending an offer message which carries an address message of the first party to a second party; receiving an answer message which is sent by the second party and carries an address message of the second party; converting the answer message into an offer message and sending the offer message to the first party; receiving the answer message which is sent by the first party and carries a changed address message of the first party; and converting the answer message into an offer message and sending the offer message to the second party. The device comprises a consultation module, a first sending module, a first receiving module, a conversion module, a second sending module and a second receiving module. The method and the device can solve the problem that the media interfaces of the first party and the second party are not communicated caused by the change of the address message.
Description
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of media consultation in third-party call control.
Background technology
Third party call control (3PCC, the Third Party of Conversation Control) refers to by third party effector setting up in addition a session between the two, is responsible for session both sides' media negotiation by effector.3PCC is one control mode very flexibly, can be divided into flow process and the 3PCC that 3PCC sets up request message band Session Description Protocol (SDP, Session Description Protocol) message and set up the not flow process with SDP message of request message.Wherein, SDP message comprises provides (Offer) message and replys (Answer) message.
The flow process that 3PCC sets up request message band SDP message all exists in the multiple business such as Call Forwarding, automatic station, call diversion, and idiographic flow as shown in Figure 1, comprising:
101, first party has been carried out media negotiation with application server (AS, Application Server).
102, AS sends Offer message to second party.
Wherein, this Offer message can be carried in setup requests, and this setup requests can be but be not limited to invite (INVITE) message.Offer message comprises: the descriptions such as address information, host-host protocol and the media formats of medium type, first party.Wherein, address information comprises the port, the IP address etc. that send data.
103, second party receives offer message, and sends Answer message to AS.
Wherein, this Answer message can be carried at transmitting Temporary Response, and this transmitting Temporary Response includes but not limited to 180 responses, 181 responses or 183 responses.
Wherein, Answer message comprises: the descriptions such as address information, host-host protocol and the media formats of medium type, second party.
104, AS receives Answer message, and sends Offer message to first party.
Wherein, this Offer message can be carried in update request, and wherein, it is upgrade (Update) message or re-invite (RE-INVITE) message that update request can be, but not limited to.
Particularly, AS receives after the transmitting Temporary Response that carries Answer message, extracts Answer message, and the Answer message conversion of extraction is become to be carried at after Offer message in update request, sends to first party,
105, first party receives Offer message, and sends Answer message to AS.
Wherein, this Answer message can be carried in update request response, and this update request response can be, but not limited to 200OK response or 183 responses.Wherein, Answer message comprises: the descriptions such as address information, host-host protocol and the media formats of medium type, first party.
Inventor is realizing in process of the present invention, and at least there are the following problems to find prior art:
The address information of the first party that second party is obtained in 102 is the address information in Offer message, but in 105, if the address information of first party changes, because AS can tackle Answer message, second party cannot be obtained the address information that first party changes, thereby causes medium surface obstructed.
Summary of the invention
The problem to be solved in the present invention has been to provide a kind of method and apparatus of media consultation in third-party call control, can solve in prior art because address information changes, and causes the obstructed problem of first party and second party medium surface.
In order to address the above problem, the invention provides a kind of method and apparatus of media consultation in third-party call control, described technical scheme is as follows:
A method for media consultation in third-party call control, described method comprises:
Steps A: application server and first party are carried out media negotiation;
Step B: described application server sends Offer message is provided to second party, and described Offer message is carried the address information of described first party;
Step C: what described application server received that described second party sends replys Answer message, and described Answer message is carried the address information of second party;
Step D: described application server sends to described first party after described Answer message conversion is become to described Offer message;
Step e: described application server receives the described Answer message that described first party sends, described Answer message is carried the address information that described first party changes;
Step F: described application server sends to described second party after described Answer message conversion is become to described Offer message.
A device for media consultation in third-party call control, comprising:
Negotiation module, for carrying out media negotiation with first party;
The first sending module, for sending Offer message is provided to second party, described Offer message is carried the address information of described first party;
The first receiver module, replys Answer message for what receive that described second party sends, and described Answer message is carried the address information of second party;
Described modular converter, becomes Offer message for the Answer message conversion that described the first receiver module is received;
The second sending module, for sending the Offer message of described modular converter conversion to described first party;
The second receiver module, the Answer message sending for receiving described first party, described Answer message is carried the address information that described first party changes;
Described modular converter, also becomes described Offer message for the described Answer message conversion that described the second receiver module is received;
The second sending module, for sending the described Offer message of described modular converter conversion to described second party.
Technical scheme provided by the invention, by by the address information transparent transmission changing, can make the medium surface of first party and second party in third party call control connect, and is conducive to the development of business.
Accompanying drawing explanation
Fig. 1 is the flow chart that the 3PCC that provides in prior art sets up request message band SDP message;
Fig. 2 is the flow chart of the method for media negotiation in the 3PCC that provides of one embodiment of the present of invention;
Fig. 3 is the flow chart of the method for media negotiation in the another kind of 3PCC that provides of one embodiment of the present of invention;
Fig. 4 is the structure chart of the device of media negotiation in a kind of 3PCC of providing of one embodiment of the present of invention.
Embodiment
Core concept of the present invention is: by the address information of variation is carried out to transparent transmission, can make the medium surface of first party and second party connect, be conducive to the development of business.In addition, become the thresholding number of times of Offer message by Answer message conversion is set, when statistics Answer message conversion is become Offer message number of times reach the thresholding number of times of setting time, tackle this Answer message, can avoid media negotiation concussion, improve quality of service.
Below in conjunction with accompanying drawing and preferred implementation, technical solution of the present invention is elaborated.
One embodiment of the present of invention provide the method for media negotiation in a kind of 3PCC, as shown in Figure 2, comprising:
The content of 201-204 and 101-104 is similar, does not repeat them here.
205, first party receives Offer message, and sends Answer message to AS.
Wherein, this Answer message can be carried in update request response, and this update request response can be, but not limited to 200OK response or 183 responses.Answer message comprises: the descriptions such as address information, host-host protocol and media formats after the variation of medium type, first party.
206, AS receives Answer message, and sends Offer message to second party.
Now, because second party gets the address information that first party changes, therefore, the address information that second direction first party changes sends media data packet, and the address information that first party utilization changes receives the media data packet that second party sends, now, the medium surface between first party and second party is connected.
But in actual applications, likely there will be following situation, second party is in the time getting the address information of variation of first party, and variation has also occurred the address information of the second party of carrying in the Offer message of the update request response sending to AS, now, also have the following steps:
207, second party receives Offer message, and sends Answer message to AS.
Wherein, this Answer message can be carried in update request response.Answer message comprises: the descriptions such as address information, host-host protocol and the media formats of the variation of medium type, second party.
208, AS receives Answer message, and sends Offer message to first party, and this Offer message is carried the address information that second party changes.
Because first party is learnt the address information that second party changes, now, the medium surface of first party and second party is connected.
209, first party receives Offer message, and sends Answer message to AS.
This Answer message can be carried at confirmation (ACK) message.Wherein, Answer message comprises: the descriptions such as address information, host-host protocol and the media formats after the variation again of medium type, first party.Now, second party cannot be known the address information after first party changes again, causes second party and first party medium surface obstructed.
Repeating 205-209 can learn, due to first party and all modified address information in follow-up Answer message of second party, thereby cause media negotiation concussion, in order to overcome this problem, one embodiment of the present of invention arrange Answer message conversion and become the number of times thresholding of Offer message, wherein, direction from first party to second party, become Offer message to be designated as once Answer message conversion, direction from second party to first party, become Offer message to be also designated as once Answer message conversion, and add up or regressive, the value of initial conversion times can be 0 or other numerical value, embodiments of the invention are not restricted.When statistics become the number of times of Offer message not reach number of times thresholding Answer message conversion time, AS carries out transparent transmission to Answer message; When statistics become the number of times of Offer message to reach number of times thresholding Answer message conversion time, AS tackles Answer message, and after second party off-hook by cut-in without ball, by re-inviting (Re-INVITE) message to first party or second party transmission, make first party and second party carry out media negotiation end to end, guarantee medium surface connection.Referring to Fig. 2, wherein, from 203 to 204, Answer message conversion can be become Offer message be considered as for the first time, from 205 to 206, Answer message conversion can be become Offer message be considered as for the first time, or other become Offer message to be considered as for the first time Answer message conversion, the present invention does not do concrete restriction yet.Referring to Fig. 3, concrete grammar is as follows:
The content of 301-307 and the content of 201-207 are similar, different, and a counter is now set on AS, and Answer message conversion becomes the initial value of the number of times of Offer message to be set to 0, and conversion times thresholding is 3.Due in 301-307, it is 2 that Answer message conversion is become the number of times of Offer message by AS, and this hour counter adds up twice, and its value is 2.
308, AS receives Answer message, be Offer message by Answer message conversion, now counter is added up to 1, and judge now whether the conversion times of statistics has reached the thresholding number of times arranging, due to, the thresholding number of times arranging is 3, the conversion times of statistics is also 3, and now, AS is by Answer message block.
309, after second party off-hook, send update request response to AS and invite (200OK INV) message.
Wherein, update request response invitation message is the response to 302.
310, AS forwards update request response invitation message to first party.
311, first party receives update request response invitation message, and sends acknowledge message to AS.
312, AS forwards acknowledge message to second party.
313, AS sends and re-invites message to second party, makes first party and second party re-start media negotiation end to end.
Based on the inventive concept identical with method, one embodiment of the present of invention also provide the device of media negotiation in a kind of 3PCC, as shown in Figure 4, comprising:
Negotiation module, for carrying out media negotiation with first party;
The first sending module, for sending Offer message is provided to second party, this Offer message is carried the address information of described first party;
The first receiver module, replys Answer message for what receive that second party sends, and this Answer message is carried the address information of second party;
Described modular converter, becomes Offer message for the Answer message conversion that the first receiver module is received;
The second sending module, for sending the Offer message of modular converter conversion to first party;
The second receiver module, the Answer message sending for receiving first party, this Answer message is carried the address information that described first party changes;
Described modular converter, also becomes Offer message for the Answer message conversion that the second receiver module is received;
The second sending module, for sending the Offer message of modular converter conversion to second party.
Further, the second receiver module, the Answer message also sending for receiving second party, described Answer message is carried the address information that second party changes;
Modular converter, also becomes Offer message for the Answer message conversion that second party is sent;
Described the second sending module, also for sending to first party by the Offer message of conversion.
In the time repeating the second sending module, modular converter and the second receiver module, described device also comprises:
Module is set, becomes the number of times thresholding of Offer message for modular converter Answer message conversion is set;
Statistical module, becomes Answer message conversion for adding up modular converter the number of times of Offer message;
Judge module, arranges for judging whether the conversion times of statistical module counts reaches the thresholding number of times that module arranges;
Blocking module, for judge module judged result when being, interception Answer message;
Cut-in without ball module, for after second party off-hook, by re-inviting message, to carry out media negotiation end to end.
Further, cut-in without ball module is specifically for re-inviting message to second party or first party transmission, to carry out media negotiation end to end.
Technical scheme provided by the invention is by the address information of variation is carried out to transparent transmission, can first party and the medium surface of second party connect, be conducive to the development of business.In addition, become the thresholding number of times of Offer message by Answer message conversion is set, when statistics Answer message conversion is become Offer message number of times reach the thresholding number of times of setting time, tackle this Answer message, can avoid media negotiation concussion, improve quality of service.
Claims (4)
1. a method for media consultation in third-party call control, is characterized in that, described method comprises:
Steps A: application server and first party are carried out media negotiation;
Step B: described application server sends Offer message is provided to second party, and described Offer message is carried the address information of described first party;
Step C: what described application server received that described second party sends replys Answer message, and described Answer message is carried the address information of second party;
Step D: described application server sends to described first party after described Answer message conversion is become to described Offer message;
Step e: described application server receives the described Answer message that described first party sends, described Answer message is carried the address information that described first party changes;
Step F: described application server sends to described second party after described Answer message conversion is become to described Offer message;
Step G: described application server receives the Answer message that described second party sends, described Answer message is carried the address information that described second party changes;
Step H: described application server sends to described first party after described Answer message conversion is become to described Offer message;
In the time repeating described step e to step H, also comprise:
The number of times thresholding that described Answer message conversion becomes described Offer message is set on described application server;
The number of times of described Offer message added up described Answer message conversion and becomes by described application server;
Described application server, in the time that the conversion times of described statistics reaches described thresholding number of times, is tackled described Answer message;
After described second party off-hook, described application server is by re-inviting message, to carry out media negotiation end to end.
2. the method for claim 1, is characterized in that, described application server carries out media negotiation end to end by re-inviting message, comprising:
Described application server re-invites message to described second party or the transmission of described first party, to carry out media negotiation end to end.
3. a device for media consultation in third-party call control, is characterized in that, comprising:
Negotiation module, for carrying out media negotiation with first party;
The first sending module, for sending Offer message is provided to second party, described Offer message is carried the address information of described first party;
The first receiver module, replys Answer message for what receive that described second party sends, and described Answer message is carried the address information of second party;
Modular converter, becomes Offer message for the Answer message conversion that described the first receiver module is received;
The second sending module, for sending the Offer message of described modular converter conversion to described first party;
The second receiver module, the Answer message sending for receiving described first party, described Answer message is carried the address information that described first party changes; Described modular converter, also becomes described Offer message for the described Answer message conversion that described the second receiver module is received;
The second sending module, for sending the described Offer message of described modular converter conversion to described second party;
Described the second receiver module, the Answer message also sending for receiving described second party, described Answer message is carried the address information that described second party changes;
Described modular converter, also becomes described Offer message for the described Answer message conversion that described second party is sent;
Described the second sending module, also for sending to described first party by the Offer message of described conversion; In the time repeating described the second sending module, described modular converter and described the second receiver module, described device also comprises:
Module is set, for described modular converter is set, described Answer message conversion is become to the number of times thresholding of described Offer message;
Statistical module, becomes described Answer message conversion for adding up described modular converter the number of times of described Offer message;
Judge module, for judging whether the conversion times of described statistical module counts reaches the described thresholding number of times that module arranges that arranges;
Blocking module, when being, tackles described Answer message for described judge module judged result;
Cut-in without ball module, for after described second party off-hook, by re-inviting message, to carry out media negotiation end to end.
4. device as claimed in claim 3, is characterized in that, described cut-in without ball module is specifically for re-invite message described in described second party or the transmission of described first party, to carry out media negotiation end to end.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910157784.8A 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 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910157784.8A CN101616158B (en) | 2009-07-27 | 2009-07-27 | Method and device for media consultation in third-party call control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101616158A 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 |
---|---|---|---|
CN200910157784.8A Active 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)
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI20011962A0 (en) * | 2001-10-09 | 2001-10-09 | Nokia Corp | Kodkonverteringsarrangemang |
CN101616158B (en) * | 2009-07-27 | 2014-07-02 | 中兴通讯股份有限公司 | Method and device for media consultation in third-party call control |
-
2009
- 2009-07-27 CN CN200910157784.8A patent/CN101616158B/en active Active
-
2010
- 2010-05-25 WO PCT/CN2010/073223 patent/WO2011012013A1/en active Application Filing
Patent Citations (2)
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 |
---|---|
CN101616158A (en) | 2009-12-30 |
WO2011012013A1 (en) | 2011-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101577884B (en) | Media negotiation method for IP multimedia link | |
CN102843784B (en) | Call access method, equipment and system | |
CN103188300A (en) | Method, device and system for achieving voice over internet phone (VOIP) call in cloud computing environment | |
CN101110868A (en) | Method and system for multi-person voice communication based on PC and telephony | |
CN104620611A (en) | Messaging service active device | |
CN101114952A (en) | Data flow redirection based VOIP/NGN monitoring, inspecting method and system | |
CN101854703B (en) | Method, server and system for acquiring status information | |
CN105227418A (en) | Data channel establishing method and communication equipment | |
CN103384247B (en) | A kind of Video Multicast implementation method based on SIP supervisory control system | |
CN101631084B (en) | Method and system for passing medial control flow message through network address translator | |
CN100407669C (en) | Network monitoring processing method and system | |
CN102244687B (en) | Method, device and system for acquiring multi-address message | |
CN100527865C (en) | Method and system for sharing medium information in coutent server | |
CN103684970A (en) | Transmission method and thin terminals for media data streams | |
CN101616158B (en) | Method and device for media consultation in third-party call control | |
CN108347408A (en) | Management method, device and the mostly logical terminal of multi-party call | |
CN105072301B (en) | Telephone signal switching system and method | |
CN100518075C (en) | Method for setting up a conference call in telecommunications network using the sip protocol | |
CN101577883B (en) | Method, device and system for talking connection | |
CN101453429A (en) | Multi-part communication system and method | |
CN101267458A (en) | A data transmission method for storage system under network environment | |
CN101197888B (en) | Method and system for implementing hang-up selection when non-intelligent SIP terminal call waiting | |
CN101325630A (en) | Network telephone system and operation method thereof | |
CN109818963B (en) | Auxiliary stream sharing method applied to telephone | |
CN101753740A (en) | Communication method and gateway equipment based on SIP telephone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |