Method, apparatus and application server for associating one-number two-terminal call
09736299 · 2017-08-15
Assignee
Inventors
Cpc classification
H04M1/03
ELECTRICITY
H04M7/006
ELECTRICITY
H04M1/0202
ELECTRICITY
International classification
H04M3/42
ELECTRICITY
Abstract
A method, an apparatus and an application server for associating one-number two-terminal call are provided. The method is used on the application server and includes: the application server receives a call request sent by a calling terminal for calling one-number two-terminal terminals, and sends the call request to the one-number two-terminal terminals; the application server receives first response information sent by a first terminal in the one-number two-terminal terminals for the call request, and determines whether the first response information meets an associated call condition; and if the determine result indicates that the first response information meets the associated call condition, the application server associates the call request of the calling terminal to a second terminal in the one-number two-terminal terminals.
Claims
1. A method for associating one-number two-terminal call, and the method is applicable to an application server, wherein the method comprises: receiving a call request sent by a calling terminal for calling one-number two-terminal terminals; sending the call request to the one-number two-terminal terminals; receiving first response information sent by a first terminal in the one-number two-terminal terminals in responsive to the call request; determining whether the first response information meets an associated call condition; and when the determining result indicates that the first response information meets the associated call condition, associating the call request from the calling terminal to a second terminal in the one-number two-terminal terminals, wherein the associated call condition comprises that: the first response information is a call failure event which is not caused by on-hook; and the application server does not receive an idle event returned by the one-number two-terminal terminals.
2. The method according to claim 1, wherein the method further comprises: sending information acknowledging the reception of the first response information to the first terminal.
3. The method according to claim 1, wherein the first terminal is a fixed telephone; and the second terminal is a mobile phone.
4. The method according to claim 1, wherein associating the call request of the calling terminal to a second terminal in the one-number two-terminal terminals is: receiving second response information sent by the second terminal in response to the call request; transparently transmitting the second response information to the calling terminal; receiving an update media request sent by the calling terminal after receiving the second response information of the second terminal; and assisting a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal according to the update media request.
5. The method according to claim 4, wherein assisting a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal according to the update media request is: sending the update media request carrying a calling media to the second terminal; receiving third response information from the second terminal in response to the update media request, wherein media information of the media server is carried in the third response information; and generating a call progress message according to the third response information and sending the call progress message to the calling terminal, wherein the media information of the media server is carried in the call progress message.
6. An apparatus for associating one-number two-terminal call, and the apparatus is used on an application server, wherein the apparatus comprises: a first receiving module configured to receive a call request sent by a calling terminal for calling one-number two-terminal terminals; a first sending module configured to send the call request to the one-number two-terminal terminals; a second receiving module configured to receive first response information sent by a first terminal in the one-number two-terminal terminals in response to the call request; a determination module configured to determine whether the first response information meets an associated call condition; and an associated call module configured to associate the call request of the calling terminal to a second terminal in the one-number two-terminal terminals if a determining result indicates that the first response information meets the associated call condition, wherein the associated call condition comprises that: the first response information is a call failure event which is not caused by on-hook; and the application server does not receive an idle event returned by the one-number two-terminal terminals.
7. The apparatus according to claim 6, wherein the apparatus further comprises: an acknowledgement information sending module configured to send information acknowledging the reception of the first response information to the first terminal.
8. The apparatus according to claim 6, wherein the first terminal is a fixed telephone; and the second terminal is a mobile phone.
9. The apparatus according to claim 6, wherein the associated call module comprises: a third receiving module configured to receive second response information sent by the second terminal for the call request; a transmission module configured to transparently transmit the second response information to the calling terminal; a fourth receiving module configured to receive an update media request sent by the calling terminal after receiving the second response information of the second terminal; and a media negotiation module configured to help a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal according to the update media request.
10. The apparatus according to claim 9, wherein the media negotiation module comprises: a second sending module configured to send the update media request and carry a calling media to the second terminal; a fifth receiving module configured to receive third response information from the second terminal in responsive to the update request, wherein media information of the media server is carried in the third response information; and a call progress message sending module configured to generate a call progress message according to the third response information and send the call progress message to the calling terminal, wherein the media information of the media server is carried in the call progress message.
11. An application server, comprising an apparatus for associating one-number two-terminal call, and the apparatus is used on an application server, wherein the apparatus comprises: a first receiving module configured to receive a call request sent by a calling terminal for calling one-number two-terminal terminals; a first sending module configured to send the call request to the one-number two-terminal terminals; a second receiving module configured to receive first response information sent by a first terminal in the one-number two-terminal terminals in response to the call request; a determination module configured to determine whether the first response information meets an associated call condition; and an associated call module configured to associate the call request of the calling terminal to a second terminal in the one-number two-terminal terminals if a determining result indicates that the first response information meets the associated call condition, wherein the associated call condition comprises that: the first response information is a call failure event which is not caused by on-hook; and the application server does not receive an idle event returned by the one-number two-terminal terminals.
12. The application server according to claim 11, wherein the apparatus further comprises: an acknowledgement information sending module configured to send information acknowledging the reception of the first response information to the first terminal.
13. The application server according to claim 11, wherein the first terminal is a fixed telephone; and the second terminal is a mobile phone.
14. The application server according to claim 11, wherein the associated call module comprises: a third receiving module configured to receive second response information sent by the second terminal for the call request; a transmission module configured to transparently transmit the second response information to the calling terminal; a fourth receiving module configured to receive an update media request sent by the calling terminal after receiving the second response information of the second terminal; and a media negotiation module configured to help a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal according to the update media request.
15. The application server according to claim 14, wherein the media negotiation module comprises: a second sending module configured to send the update media request and carry a calling media to the second terminal; a fifth receiving module configured to receive third response information from the second terminal in responsive to the update request, wherein media information of the media server is carried in the third response information; and a call progress message sending module configured to generate a call progress message according to the third response information and send the call progress message to the calling terminal, wherein the media information of the media server is carried in the call progress message.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(8) Before further explanation of the embodiments of the present invention, network element functions involved in the present invention are described first, as shown in
(9) 1. User Terminal (UE)
(10) A device for a user to make a call, answer a call and perform other call operations, such as CDMA or GSM cellphone, PSTN terminal, IMS terminal, etc.
(11) 2. Application Server (AS)
(12) providing underlying service capability, such as call control, status report, bill generation, and other functions.
(13) 3. Media Resource Server (MRS)
(14) providing voice media capability, usually a media server (MS), such as playing a ring back tone to the calling party when the called party is idle.
(15) In particular, the protocols used by network elements are as follows:
(16) 1. AS performs call media negotiation with MRS or UE: AS and UE communicate with each other via a core network using the SIP protocol, and AS and MRS usually use the SIP protocol or the MGCP protocol, specifically depending on the type of protocol supported by MRS.
(17) 2. What are transmitted between UE and MRS are media streams: the encoding and decoding formats of specific media packs of UE and MRS, the receiving and sending ports, and the bandwidth transmission rate, etc. are transmitted via media streams according to the media negotiation result between the terminal and MRS during a call.
(18) The embodiments of the present invention provide a method for associating one-number two-terminal call, and the method is applicable to an application server, as shown in
(19) step 41, receiving a call request sent by a calling terminal for calling one-number two-terminal terminals;
(20) step 42, sending the call request to the one-number two-terminal terminals;
(21) step 43, receiving first response information sent by a first terminal in the one-number two-terminal terminals for the call request;
(22) step 44, determining whether the first response information meets an associated call condition; and
(23) step 45, if a determining result indicates that the first response information meets the associated call condition, associating the call request of the calling terminal to a second terminal in the one-number two-terminal terminals.
(24) When the application server sends a call request of the calling terminal to the one-number two-terminal terminals simultaneously, the application server will first receive the first response information sent by the first terminal for the call request, and will directly associate the call request of the calling terminal to the second terminal in the one-number two-terminal terminals when the first response information meets the associated call condition, equivalent to the case where the calling terminal directly calls the second terminal. Further, after associating the call request of the calling terminal to the second terminal, the application server will help a media server corresponding to a core network where the second terminal resides to implement media negotiation with the calling terminal and perform media stream transmission according to the result of the media negotiation. The embodiments of the present invention can implement a one-number two-terminal associated call, and furthermore, can learn about status of a called terminal accurately and quickly without requiring a core network to support reporting of message 183 that carries a standard reason value.
Below are Examples
Example 1
(25) In the one-number two-terminal terminals, the first terminal is A and the second terminal is B, and calling terminal C calls the one-number two-terminal terminal; the application server sends a call request of calling terminal C to terminal A and B simultaneously, and receives first response information sent by first terminal A for the call request; at this moment, the application server needs to determine whether the first response information meets an associated call condition, and if yes, the application server will directly associate the call request of calling terminal C to second terminal B.
(26) After assisting calling terminal C and second terminal B implement media negotiation, the application server performs media stream transmission according to the result of the media negotiation; assuming that second terminal B subscribes services like ring back tone, call progress prompt, etc., calling terminal C can learn about status of second terminal B accurately and quickly via a service prompt received.
(27) In the above-mentioned one-number two-terminal associated call method, the associated call condition specifically includes:
(28) the first response information is a call failure event which is not caused by on-hook; and
(29) the application server does not receive an idle event returned by the one-number two-terminal terminals.
(30) Preferentially, the above-mentioned one-number two-terminal associated call method further includes:
(31) sending acknowledgement information acknowledging the reception of the first response information to the first terminal.
(32) After associating the call request of the calling terminal to the second terminal, the application server sends acknowledgement information to the first terminal, and at this moment, the call link from the calling terminal to the first terminal does not exist any more, which is as well equivalent to the case where the calling terminal directly calls the second terminal, thereby being able to learn about status of the called terminal accurately and quickly.
(33) In the above-mentioned method for associating one-number two-terminal call, the first terminal is a fixed telephone; and the second terminal is a mobile phone.
(34) As a fixed telephone responds faster to call requests, the application server will receive first response information of the first terminal (i.e., fixed telephone) in the first place; at the same time, the fixed telephone will immediately return a 486 message when “busy”, and the application server will not take this message as idle or other instructions and misjudge; therefore, the first terminal is preferentially a fixed telephone; and the second terminal is preferentially a mobile phone.
(35) In the above-mentioned one-number two-terminal associated call method, step 45 further includes:
(36) step 451, receiving second response information for the call request sent by the second terminal;
(37) step 452, transmitting the second response information to the calling terminal;
(38) step 453, receiving an update media request sent by the calling terminal after receiving the second response information of the second terminal;
(39) step 454, assisting a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal according to the update media request.
(40) As the second terminal is a mobile phone and responds slower, after breaking the link to the first terminal, the application server receives the second response information sent by the second terminal for the call request, and at this moment directly transmits the second response information to the calling terminal, and sends an update media request to the second terminal at the same time, and helps a media server corresponding to a core network where the second terminal resides to perform media negotiation with the calling terminal and perform media stream transmission according to the media negotiation result.
(41) Step 454 further includes:
(42) sending the update request to the second terminal;
(43) receiving third response information of the second terminal for the update request, in which media information of the media server is carried; and
(44) generating a call progress message and sending same to the calling terminal according to the third response information, the call progress message carrying the media information of the media server.
(45) Below is an overall description of the above-mentioned method in combination with the reality.
Example 2
(46) As shown in
(47) Step 501, the calling terminal C sends a INVITE request to the application server (AS), and the number requested thereby is a one-number two-terminal terminal, in which the first terminal is A and the second terminal is B, and the call request carries media information of calling terminal C, and the direction is “sendrecv”.
(48) Step 502, the AS sends a INVITE request to first terminal A, which carries media information of calling terminal C, and the direction is “sendonly”.
(49) Step 503, the AS sends a INVITE request to second terminal B, which carries media information of calling terminal C, and the direction is “sendonly”.
(50) Step 504, first terminal A returns a 486 busy response to INVITE to application server AS, and associates second terminal B to calling terminal C.
(51) Step 505, the AS sends ACK acknowledgement information that does not carry media information to first terminal A. Since then, the link for calling first terminal A does not exist any more.
(52) Step 506, second terminal B returns a 183+ sdp response to INVITE to the AS, which carries media information of MS, and the direction is “sendrecv”.
(53) Step 507, the AS transmits a 183 message that does not carry media information to calling terminal C.
(54) Step 508, the AS sends an Update request that carries media information of calling terminal C to second terminal B, and the direction is “sendrecv”.
(55) Step 509, second terminal B returns a 200ok+ sdp response to Update to the AS, which carries media information of MS, and the direction is “sendrecv”.
(56) Step 510, the AS sends a 183+ sdp message to C, which carries media information of MS, and the direction is “sendrecv”. At this moment, the media negotiation of calling terminal C and MS has completed, and MS plays a “the called party is busy” prompt tone to calling terminal C. At this moment, the associated call has achieved its aim, and furthermore, the “busy” status of the called terminal can been known accurately and quickly without requiring a core network to support reporting of message 183 that carries a standard reason value.
(57) Step 511, calling terminal C hears the prompt tone and hangs up immediately. Calling terminal C sends a CANCEL message to the AS without carrying media.
(58) Step 512, the AS sends a CANCEL message to second terminal B without carrying media.
(59) Step 513, the AS sends a 200OK response to CANCEL to calling terminal C without carrying media information.
(60) Step 514, second terminal B sends a 200OK response to CANCEL to the AS without carrying media information.
(61) Step 515, the AS sends the final response “487 Request Cancelled” to the INVITE request to calling terminal C without carrying media.
(62) Step 516, second terminal B sends the final response “487 Request Cancelled” to the INVITE request to the AS without carrying media.
(63) Step 517, calling terminal C sends ACK to the AS to respond 487.
(64) Step 518, the AS sends ACK to second terminal B to respond 487, and the call ends completely.
(65) The signalling flow in the above example is implemented step by step, as shown in
(66) Step 1, user A is a service subscriber, the primary number bundled to him is first terminal fixed telephone A, and the auxiliary number is second terminal PHS (or cellphone) B, user C is any user who calls primary number A, and at this moment A and B are in a conversation;
(67) step 2, first terminal A returns response information, i.e., 486 message, the AS judges the current call information, and the judgement indicates that the received response information is a call failure event which is not caused by on-hook, and the AS does not receive an idle 180 event and immediately associates calling terminal C to second terminal B at this moment;
(68) step 3, second terminal B returns a 183+ sdp event, and AS transmits the 183 message that does not carry media to calling terminal C according to the fact that C and B are already an associated call and according to existing signals;
(69) step 4, AS assists B and C implement media negotiation according to the fact that they are an associated call;
(70) step 5, the core network side where second terminal B resides plays the prompt tone indicating that the called number is “busy” to calling number C;
(71) step 6, calling number C hears the prompt tone indicating that the called number is “busy” and hangs up initiatively.
(72) The embodiments of the present invention also provide a one-number two-terminal associated call apparatus used on an application server, as shown in
(73) a first receiving module configured to receive a call request sent by a calling terminal for calling one-number two-terminal terminals;
(74) a first sending module configured to send the call request to the one-number two-terminal terminals;
(75) a second receiving module configured to receive first response information sent by a first terminal in the one-number two-terminal terminals for the call request;
(76) a determination module configured to determine whether the first response information meets an associated call condition; and
(77) an associated call module configured to associate the call request of the calling terminal to a second terminal in the one-number two-terminal terminals if a determining result indicates that the first response information meets the associated call condition.
(78) The associated call condition specifically includes:
(79) the first response information is a call failure event which is not caused by on-hook; and
(80) the application server does not receive an idle event returned by the one-number two-terminal terminals.
(81) The one-number two-terminal associated call apparatus further includes:
(82) an acknowledgement information sending module configured to send acknowledgement information acknowledging the reception of the first response information to the first terminal.
(83) The first terminal is a fixed telephone; and the second terminal is a mobile phone.
(84) The associated call module further includes:
(85) a third receiving module configured to receive second response information sent by the second terminal for the call request;
(86) a transmission module configured to transmit the second response information to the calling terminal;
(87) a fourth receiving module configured to receive an update media request sent by the calling terminal after receiving the second response information of the second terminal; and
(88) a media negotiation module configured to help the second terminal to perform media negotiation with the calling terminal according to the update request.
(89) The media negotiation module specifically includes:
(90) a second sending module configured to send the update media request and carry a calling media to the second terminal;
(91) a fifth receiving module configured to receive third response information for the update media request of the second terminal, in which media information of the media server is carried; and
(92) a call progress message sending module configured to generate a call progress message and send same to the calling terminal according to the third response information, the call progress message carrying the media information of the media server.
(93) The embodiments of the present invention also provide an application server including the above described apparatus for associating one-number two-terminal call.
(94) What is described above is just preferred implementation of the present invention, and it should be noted that for a technical person skilled in the art, several improvements and embellishments can be made without departing from the principle of the present invention, which should also be regarded as being in the scope of protection of the present invention.