CN101110870B - Method for implementing switch hook in conversation initialized protocol - Google Patents
Method for implementing switch hook in conversation initialized protocol Download PDFInfo
- Publication number
- CN101110870B CN101110870B CN2007100766097A CN200710076609A CN101110870B CN 101110870 B CN101110870 B CN 101110870B CN 2007100766097 A CN2007100766097 A CN 2007100766097A CN 200710076609 A CN200710076609 A CN 200710076609A CN 101110870 B CN101110870 B CN 101110870B
- Authority
- CN
- China
- Prior art keywords
- media gateway
- message
- loopback
- initialized protocol
- conversation initialized
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Abstract
The present invention discloses a method for realizing switching hook in a session initiation protocol, which comprises the following steps: a calling subscriber sends an invitation message inviting a called subscriber to call to the calling media gateway; after the calling media gateway receives and processes the invitation message, the calling subscriber and the called subscriber enter into a call state; after the calling subscriber switches hook, the calling media gateway directly sends a dialing tone to the calling subscriber, to suggest that the calling subscriber dial again, and prepare to receive the number dialed by a third party subscriber. Compared with the prior art, the method of the present invention can realize the subscriber switching hook function in the SIP protocol, through only modifying MG and MGC message processing processes, without modifying SIP protocol and performing a corresponding expanding and a private defining to the SIP protocol.
Description
Technical field
The present invention relates to the next generation network communication field, relate in particular to a kind of method that in conversation initialized protocol, realizes hooking.
Background technology
In recent years,, on based on packet data network, provide abundant voice, data, image and multimedia service, will bring revolutionary variation to traditional communication network along with the breakthrough of science and technology and the develop rapidly of Internet business.Next generation network (NGN) is exactly to unify to provide telecommunication services such as voice, data, image and multimedia in the IP network with QoS assurance.
The basic speech business of NGN network mainly is made up of Media Gateway Controller (MGC) and media gateway network elements such as (MG), as shown in Figure 1.Media gateway (MG) is mainly finished the change-over circuit switched voice and the conversion of voice medium based on bag, and media getaway controller (MGC) is mainly realized the call flow control of basic speech business.H.248 signaling protocol between MGC and MG has, MGCP and Session Initiation Protocol, and wherein Session Initiation Protocol is widely adopted.
Conversation initialized protocol (SIP) is a kind of application layer control protocol, and it can be used to create, revises or stops Multimedia session, as Internet phone call.The flexibly simple characteristic of Session Initiation Protocol with and the function of powerful flexibly calling control attracted increasing manufacturer and operator.The formulation original intention of Session Initiation Protocol is to provide speech business in order to solve at the Internet net, when in carrier class network equipment, adopting the SIP signaling protocol, Session Initiation Protocol is also clearly being stipulated aspect the support user hooking, so can't provide the supplementary service that needs hooking to the user at present, as Call Waiting, Three-Way Calling etc.
Media gateway can detect the exercises on the subscriber's line, and as off-hook, on-hook, dialing etc., these incidents need report MGC and carry out that call flow is handled and indicating media gateway carries out corresponding actions.The ordinary telephone set keyboard has a R key, and the hooking incident on the subscriber's line is exactly that R key or hooking trigger.
Having the Session Initiation Protocol of easy understanding and realization simple and flexible characteristics, nowadays more and more paid attention in the telecommunications industry, is most important signaling protocol in the NGN of IMS framework network.Session Initiation Protocol itself does not have to report claps the spring signal capabilities, makes its range of application be subjected to certain restriction.
Summary of the invention
It is a kind of by revising the Message Processing flow process of MG and MGC that technical problem to be solved of the present invention is to provide, and needing in the Session Initiation Protocol to realize the method for the speech business of user's hooking.
In order to solve the problems of the technologies described above, the invention provides a kind of method that in conversation initialized protocol, realizes hooking, comprise the steps:
A, calling subscriber send the invitation message of inviting called subscriber's conversation to the caller media gateway;
After B, described caller media gateway received and handle this invitation message, described calling subscriber and described called subscriber entered talking state
Behind C, the described calling subscriber's hooking, described caller media gateway is directly to this calling subscriber's Sending dialled number sound, and this calling subscriber of prompting dials once more, and carries out the preparation of the number that receives the third party user that the calling subscriber dials in.
Wherein, comprise the steps: among the described step B
B1, described caller media gateway send invitation message to Media Gateway Controller;
B2, described Media Gateway Controller receive and handle this invitation message, afterwards to described caller media gateway loopback conversation initialized protocol response message;
B3, described caller media gateway receive described conversation initialized protocol response message, afterwards to described Media Gateway Controller loopback conversation initialized protocol success response message, described Media Gateway Controller receives and handles the back to called media gateway loopback conversation initialized protocol success response message, and described calling subscriber and described called subscriber enter talking state.
Wherein, comprise the steps: among the described step B2
B21, described Media Gateway Controller be to the described caller media gateway loopback message of trying, and send invitation message to called media gateway;
B22, described called media gateway receive and handle this invitation message, afterwards to described Media Gateway Controller loopback conversation initialized protocol response message.
Wherein, among the described step C, after described calling subscriber dials once more, comprise following processing:
C1, described caller media gateway send the invitation message of inviting described third party's conversation to Media Gateway Controller;
C2, described Media Gateway Controller receive and handle this invitation message, afterwards to described caller media gateway loopback conversation initialized protocol response message;
C3, described caller media gateway receive described conversation initialized protocol response message, afterwards to described Media Gateway Controller loopback conversation initialized protocol success response message, described Media Gateway Controller receives and handles the back to third party's media gateway loopback conversation initialized protocol success response message, and described calling subscriber and described third party user enter talking state.
Wherein, comprise the steps: among the described step C2
C21, described Media Gateway Controller be to the described caller media gateway loopback message of trying, and send invitation message to third party's media gateway;
C22, described third party's media gateway receive and handle this invitation message, afterwards to described Media Gateway Controller loopback conversation initialized protocol response message.
Wherein, in the described method, described conversation initialized protocol response message comprises the message of trying, ALERTING message and acknowledge message.
Wherein, when needs passed through hooking time realization Three-Way Calling in conversation initialized protocol, described method also comprised the steps:
When D, described calling subscriber and described third party's talking state, after described calling subscriber's hooking is heard dialing tone, dial the preset function key again, described afterwards caller media gateway sends the invitation message of inviting called subscriber's conversation once more;
E, Media Gateway Controller receive and handle this invitation message, subsequently to described caller media gateway loopback conversation initialized protocol acknowledge message;
F, described caller media gateway are received described acknowledge message, to described Media Gateway Controller loopback conversation initialized protocol success response message, realize described calling subscriber, called subscriber and third party's user's communication afterwards.
Compared with prior art, method of the present invention need not to revise Session Initiation Protocol itself, do not need Session Initiation Protocol itself is done respective extension and privately owned definition, only need to revise the handling process of MG and MGC, just can be implemented in user's hooking function in the Session Initiation Protocol, strengthened the butt joint compatibility of MG and MGC.
Description of drawings
Fig. 1 is existing NGN network architecture schematic diagram;
Fig. 2 is the three party service schematic diagram of the inventive method;
Fig. 3 is the Three Party Communication Session Initiation Protocol flow chart of the inventive method.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in further detail.
The invention provides a kind of method that realizes hooking in conversation initialized protocol, three party service is the basis in the present embodiment, is described in detail in the method that realizes hooking in the conversation initialized protocol.
Three users are arranged below a media gateway, be respectively phone A, phone B and phone C.The structural representation of three party service, as shown in Figure 2, described phone B is connected with described phone A by described media gateway with phone C, in the communication process of described phone A and phone B, when described if desired phone C participated in conversation, described phone A clapped hook switch (or by " R " key) and dials and be described phone C when hearing dialing tone, realize described phone A and phone C conversation, and described phone C listens stand by tone; Then, described phone A claps after hook switch is heard dialing tone again, by after " 3 ", just can realize described phone A, phone B and phone C Three-Way Calling again.
See also accompanying drawing 3, the method that in conversation initialization (SIP) agreement, realizes hooking of the present invention, it realizes that process step is as follows:
1, phone A off-hook is dialed the telephone number of B, and the media gateway (MG) at phone A place can send to Media Gateway Controller (MGC) and invite (INVITE) message, and expression phone A will converse with phone B;
2, MGC sends INVITE to the MG at phone B place, and notice phone B has phone A to converse with it, this MG and to phone B ring;
3, phone B tries (100) to the MGC loopback successively, and sip response messages such as (200) is confirmed in ring (180);
4, MGC successively to phone A MG send 180,200 sip response messages such as grade;
5, the MG at phone A place can confirm oneself to have received the response of INVITE to MGC loopback success (ACK) response message;
6, MGC is to the MG loopback ACK at phone B place message;
7, phone A and phone B enter talking state;
8, in the talking state of phone A and phone B, phone A hooking is dialled phone C number after hearing dialing tone, and the MG at phone A place can send INVITE to MGC, expression phone A will with the phone C words that work;
9, MGC to phone C MG send INVITE, notice phone C, and this MG is to phone C ring;
10, phone C is successively to MGC loopback 100,180,200 sip response messages such as grade;
11, MGC sends 180,200 response messages such as grade to the MG at phone A place successively;
12, the MG at phone A place can confirm oneself to have received the response of INVITE to MGC loopback ACK message;
13, MGC is to the MG loopback ACK at phone C place message;
14, phone A and phone C enter talking state, and phone C waits for conversation;
15, in the talking state of phone A and phone C, after phone A hooking is heard dialing tone, dial the preset function key again, as numerical key " 3 ", the MG at phone A place sends INVITE to MGC;
16, MGC is to phone A loopback 200 message;
17, the MG of phone A represents to confirm to MGC loopback ACK again;
18, realize phone A, phone B and phone C Three-Way Calling.
In sum, need hear dialing tone after the phone user in the normal telephone service claps spring, the prompting user dials once more; And method of the present invention be user's hooking incident in the MG finalization process, do not report to MGC, MG is directly to user's loopback dialing tone, the prompting user dials once more, and carries out the preparation of receiving number.
Simultaneously, adopt method of the present invention, need not to revise SIP itself, need not Session Initiation Protocol itself is done respective extension and privately owned definition, only need to revise the handling process of MG and MGC, just can be implemented in user's hooking function in the Session Initiation Protocol, and strengthen the butt joint compatibility of MG and MGC.
In a word, the present invention is not limited to above-mentioned execution mode, anyly is familiar with this operator, without departing from the spirit and scope of the present invention, all should drop within protection scope of the present invention.
Claims (7)
1. method that realizes hooking in conversation initialized protocol, this method comprises the steps:
A, calling subscriber send the invitation message of inviting called subscriber's conversation to the caller media gateway;
After B, described caller media gateway received and handle this invitation message, described calling subscriber and described called subscriber entered talking state;
Behind C, the described calling subscriber's hooking, described caller media gateway is directly to this calling subscriber's Sending dialled number sound, and this calling subscriber of prompting dials once more, and carries out the preparation of the number that receives the third party user that the calling subscriber dials in.
2. method according to claim 1 is characterized in that, comprises the steps: among the described step B
B1, described caller media gateway send invitation message to Media Gateway Controller;
B2, described Media Gateway Controller receive and handle this invitation message, afterwards to described caller media gateway loopback conversation initialized protocol response message;
B3, described caller media gateway receive described conversation initialized protocol response message, afterwards to described Media Gateway Controller loopback conversation initialized protocol success response message, described Media Gateway Controller receives and handles the back to called media gateway loopback conversation initialized protocol success response message, and described calling subscriber and described called subscriber enter talking state.
3. method according to claim 2 is characterized in that, comprises the steps: among the described step B2
B21, described Media Gateway Controller be to the described caller media gateway loopback message of trying, and send invitation message to called media gateway;
B22, described called media gateway receive and handle this invitation message, afterwards to described Media Gateway Controller loopback conversation initialized protocol response message.
4. method according to claim 1 is characterized in that, among the described step C, after described calling subscriber dials once more, comprises following processing:
C1, described caller media gateway send the invitation message of inviting described third party's conversation to Media Gateway Controller;
C2, described Media Gateway Controller receive and handle this invitation message, afterwards to described caller media gateway loopback conversation initialized protocol response message;
C3, described caller media gateway receive described conversation initialized protocol response message, afterwards to described Media Gateway Controller loopback conversation initialized protocol success response message, described Media Gateway Controller receives and handles the back to third party's media gateway loopback conversation initialized protocol success response message, and described calling subscriber and described third party user enter talking state.
5. method according to claim 4 is characterized in that, comprises the steps: among the described step C2
C21, described Media Gateway Controller be to the described caller media gateway loopback message of trying, and send invitation message to third party's media gateway;
C22, described third party's media gateway receive and handle this invitation message, afterwards to described Media Gateway Controller loopback conversation initialized protocol response message.
6. according to the arbitrary described method of claim 1 to 6, it is characterized in that described conversation initialized protocol response message comprises the message of trying, ALERTING message and acknowledge message.
7. method according to claim 1 is characterized in that, when needs passed through hooking time realization Three-Way Calling in conversation initialized protocol, described method also comprised the steps:
When D, described calling subscriber and described third party's talking state, after described calling subscriber's hooking is heard dialing tone, dial the preset function key again, described afterwards caller media gateway sends the invitation message of inviting called subscriber's conversation once more;
E, Media Gateway Controller receive and handle this invitation message, subsequently to described caller media gateway loopback conversation initialized protocol acknowledge message;
F, described caller media gateway are received described acknowledge message, to described Media Gateway Controller loopback conversation initialized protocol success response message, realize described calling subscriber, called subscriber and third party's user's communication afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100766097A CN101110870B (en) | 2007-08-27 | 2007-08-27 | Method for implementing switch hook in conversation initialized protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100766097A CN101110870B (en) | 2007-08-27 | 2007-08-27 | Method for implementing switch hook in conversation initialized protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101110870A CN101110870A (en) | 2008-01-23 |
CN101110870B true CN101110870B (en) | 2011-05-25 |
Family
ID=39042754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100766097A Expired - Fee Related CN101110870B (en) | 2007-08-27 | 2007-08-27 | Method for implementing switch hook in conversation initialized protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101110870B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500042B (en) * | 2008-02-02 | 2012-02-22 | 中兴通讯股份有限公司 | Method and system for compatibility of multi-kind multi-party voice service |
JP5477056B2 (en) * | 2010-03-04 | 2014-04-23 | ヤマハ株式会社 | Electronic device and electronic device operation setting method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5263084A (en) * | 1991-07-22 | 1993-11-16 | Northern Telecom Limited | Spontaneous caller identification with call-waiting |
CN1874380A (en) * | 2005-11-09 | 2006-12-06 | 华为技术有限公司 | Method for realizing a call |
-
2007
- 2007-08-27 CN CN2007100766097A patent/CN101110870B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5263084A (en) * | 1991-07-22 | 1993-11-16 | Northern Telecom Limited | Spontaneous caller identification with call-waiting |
CN1874380A (en) * | 2005-11-09 | 2006-12-06 | 华为技术有限公司 | Method for realizing a call |
Also Published As
Publication number | Publication date |
---|---|
CN101110870A (en) | 2008-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100531267C (en) | Method for realizing echo in communication system | |
CN100563282C (en) | The method of listening dailed signal sound at dail line terminal during network interworking | |
CN102123211B (en) | Realizing method and system of multi-party calling service | |
JP2006191578A (en) | System and method for conference telephone call using voip terminal | |
CA2561217A1 (en) | Method and apparatus for providing endpoint and access independent virtual numbers | |
CN104506523A (en) | Call forwarding method under VoIP (voice over Internet protocol) of intelligent terminal | |
WO2008037199A1 (en) | A communicating method of unifying communication service, a unifying communication service system and corresponding apparatus | |
CN109889534B (en) | VoIP (Voice over Internet protocol) communication method fusing IP (Internet protocol) network and LTE (Long term evolution) network | |
CN101291373A (en) | Method and system realizing multi-party communication | |
CN101317432A (en) | Method, system and application server for preventing overhearing of multi-media ring | |
JP2006174477A (en) | Method and apparatus for providing many simultaneous voip call session with respect to single directory number | |
CN1859517B (en) | Click-to-call system of network telephone and its control method | |
US20100061365A1 (en) | Method and apparatus for providing extension management in voice over internet protocol customer premises | |
CN101110870B (en) | Method for implementing switch hook in conversation initialized protocol | |
CN100463404C (en) | Method for implementing telephone conference service by using media resource server | |
CN100518219C (en) | Method for realizing color ring back tone service on terminal | |
CN102158613B (en) | Call transfer method and equipment | |
CN103152494A (en) | Telephone operator call forwarding method and switchboard business application server | |
WO2012151799A1 (en) | Method and system for implementing simultaneous ringing group call in click to dial service | |
CN102664863B (en) | Method, device, and system for realizing call waiting by user equipment | |
CN103139055B (en) | Voice home gateway side realizes method and the device of internal call transfer | |
CN102523233B (en) | Paging method based on session initiation protocol (SIP) and system thereof | |
US8094799B2 (en) | Enabling and disabling terminating features of a terminating switch | |
TWI412247B (en) | Method for dialing from internet extension to conventional extension | |
CN100397924C (en) | Method for realizing Speed key service in IP cluster network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110525 Termination date: 20200827 |