CN104836813B - Realize the method and system of sip terminal CSC - Google Patents

Realize the method and system of sip terminal CSC Download PDF

Info

Publication number
CN104836813B
CN104836813B CN201510275467.1A CN201510275467A CN104836813B CN 104836813 B CN104836813 B CN 104836813B CN 201510275467 A CN201510275467 A CN 201510275467A CN 104836813 B CN104836813 B CN 104836813B
Authority
CN
China
Prior art keywords
csc
terminal
called terminal
sip
session initiation
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
Application number
CN201510275467.1A
Other languages
Chinese (zh)
Other versions
CN104836813A (en
Inventor
吴晓东
颜君志
薛刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG TELEPOWER COMMUNICATION CO Ltd
Original Assignee
GUANGDONG TELEPOWER COMMUNICATION CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG TELEPOWER COMMUNICATION CO Ltd filed Critical GUANGDONG TELEPOWER COMMUNICATION CO Ltd
Priority to CN201510275467.1A priority Critical patent/CN104836813B/en
Publication of CN104836813A publication Critical patent/CN104836813A/en
Application granted granted Critical
Publication of CN104836813B publication Critical patent/CN104836813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42229Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location
    • H04M3/42263Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location where the same subscriber uses different terminals, i.e. nomadism

Abstract

The invention discloses a kind of method and system for realizing sip terminal CSC, and this method comprises the following steps:Media services module parses user configuration information, obtains the configuration parameter of user, configuration parameter includes CSC priority orders;Media services module carries out Session Initiation Protocol encapsulation according to the CSC priority orders to called terminal, and the type information of called terminal is added in extending Session Initiation Protocol head;Proxy service module parses the extension Session Initiation Protocol head, reads the type information of called terminal;The IP address of called terminal is obtained according to the type information of reading, and initiates to call to corresponding called terminal according to the IP address.The present invention is extended by the inside to sip server, realize the sip terminal CSC function based on the more logon modes of SIP, using scheme provided by the invention, it only needs that sip terminal can be realized according to CSC priority orders progress CSC to the relevant upgrading of sip server progress, and telephone number resource will not be wasted.

Description

Realize the method and system of sip terminal CSC
【Technical field】
The present invention relates to field of communication technology, more particularly to a kind of method and system for realizing sip terminal CSC.
【Background technology】
SIP (Session Initiation Protocol, session initiation protocol) is by IETF (Internet Engineering Task Force, internet engineering task group) formulate multimedia communication protocol.It is one and is based on text Application layer control protocol, the session for creating, changing and discharging one or more participants.It is widely used in CS (Circuit Switched, circuit switching), NGN (Next Generation Network, next generation network) and IMS (IP Multimedia Subsystem, IP multimedia subsystem) network in, can support and applied to voice, video, data etc. Multimedia service, while the characteristics industry such as Presence (presentation), Instant Message (instant message) can also be applied to Business.It can be said that there is the presence that just there is Session Initiation Protocol in the place of IP network.
Session Initiation Protocol support a number correspond to multiple sip terminals and while be registered to server, as shown in Figure 1,8002 this A number corresponds to three sip terminal types, and one is desktop IP telephone machine, and one is pc client, and there are one be mobile phone visitor Family end, cell-phone customer terminal can initiate SIP callings by WI-FI network or 4G networks.Three terminals are registered to SIP clothes simultaneously Business device, at the same it is online, and any one sip terminal can use 8002 this number to initiate calling.When 8002 this number are made When being called, three sip terminal rings simultaneously (i.e. same to shake), the sip terminal and opposite end listened before is conversed.Flow such as Fig. 2 It is shown, after sip server receives call request first, while call requests are initiated to 8002 corresponding three sip terminals, 8002 Three sip terminals start simultaneously at ring.After cell-phone customer terminal has listened before call, 8001 and 8002 cell-phone customer terminal is built Call is stood, sip server will cancel the ring of IP telephone machine and pc client.
The above method can realize the same function of shaking of multiple terminals, i.e. three sip terminal type rings simultaneously.This is SIP Agreement acquiescence is supported, is described in RFC3261 agreements.But this method cannot achieve multiple sip terminals according to specific Priority grade sequence realizes the function of CSC, can only the ring simultaneously of multiple sip terminals.
" one number service " technology is had also appeared in the communications field at present, " one number service " is also known as " commercial one number service ", " commercial affairs electricity Words ", after operator opens this business, user can be by oneself common various communicating number (mobile phone, pager, offices Phone, voice mail, Home Telephone) as soon as being unified for a new phone number, anyone only need to dial the number and can find later User.And when using this business, user can be arranged by surfing the Internet, or be carried according to voice by any fixed-line telephone, mobile phone Show at any time adjustment call contextual model, also can set period of time, festivals or holidays pattern, freely set each incoming call switchology and Answering mode connects setting number on any house or company's fixed-line telephone and exempts from call rate, therefore, " one number service " user The inconvenience generated when receiving calls can be saved.
As shown in figure 3, three SIP numbers 8002,8003 and 8004 are bound into a virtual one number service number 8000, By initiating the CSC that 8002,8003,8004 these three numbers may be implemented in calling to 8000 this virtual one number service number (ring in order).But " one number service " function is that the number binding of multiple physical presence is realized together, is then matched again A unified virtual number is set, or selects the number of one of terminal as unified number.Different terminals will account for With different telephone numbers, the waste of telephone number resource is caused.
【Invention content】
Based on this, the present invention provides a kind of method and system for realizing sip terminal CSC, by sip server Portion is extended, and is realized CSC function, is i.e. is realized according to priority orders between the corresponding multiple and different sip terminals of a number Carry out CSC.
Content in the embodiment of the present invention is as follows:
A method of it realizing sip terminal CSC, includes the following steps:
Media services module parses user configuration information, obtains the configuration parameter of user, the configuration parameter includes CSC Priority orders;
The media services module carries out Session Initiation Protocol encapsulation according to the CSC priority orders to called terminal, is expanding Open up the type information that called terminal is added in Session Initiation Protocol head;
Proxy service module parses the extension Session Initiation Protocol head, reads the type information of called terminal;
The proxy service module obtains the IP address of called terminal according to the type information of reading, and according to the IP It initiates to call to corresponding called terminal in location.
Correspondingly, also providing a kind of system for realizing sip terminal CSC, including media services module in the embodiment of the present invention And proxy service module, the media services module include:
Calling selecting module obtains the configuration parameter of user, the configuration parameter includes for parsing user configuration information CSC priority orders;
Protocol encapsulation module is expanding for carrying out Session Initiation Protocol encapsulation to called terminal according to the CSC priority orders Open up the type information that called terminal is added in Session Initiation Protocol head;
The proxy service module includes:
Protocol resolution module reads the type information of called terminal for parsing the extension Session Initiation Protocol head;
Call initiation module, the IP address for obtaining called terminal according to the type information of reading, and according to the IP It initiates to call to corresponding called terminal in address.
The present invention is extended by the inside to sip server, realizes that the sip terminal based on the more logon modes of SIP is suitable It shakes function, is i.e. realizes the function of carrying out CSC according to priority orders between the corresponding multiple and different sip terminal of a number, Sip terminal need not perceive the extension to Session Initiation Protocol, therefore use technical solution provided by the invention, and existing sip terminal is not necessarily to Upgraded, it is only necessary to relevant upgrading be carried out to sip server, sip terminal can be realized according to the progress of CSC priority orders CSC, and effectively save telephone number resource.
【Description of the drawings】
Fig. 1 is the schematic diagram that SIP is registered more;
Fig. 2 is multiple sip terminals with the flow diagram to shake;
Fig. 3 is that the SIP based on " one number service " technology registers schematic diagram more;
Fig. 4 is a kind of flow diagram of method that realizing sip terminal CSC in the embodiment of the present invention;
Fig. 5 is the flow diagram of another method for realizing sip terminal CSC in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of system that realizing sip terminal CSC in the embodiment of the present invention;
Fig. 7 is a kind of sequence diagram of sip terminal CSC in the embodiment of the present invention;
Fig. 8 is the sequence diagram of another sip terminal CSC in the embodiment of the present invention.
【Specific implementation mode】
Present disclosure is further described below in conjunction with the accompanying drawings.
As shown in figure 4, the present embodiment provides a kind of method for realizing sip terminal CSC, include the following steps:
S11 media services modules parse user configuration information, obtain the configuration parameter of user, the configuration parameter includes suitable It shakes priority orders;
Media services module described in S12 carries out Session Initiation Protocol encapsulation according to the CSC priority orders to called terminal, Extend the type information that called terminal is added in Session Initiation Protocol head;
S13 proxy service modules parse the extension Session Initiation Protocol head, read the type information of called terminal;
Proxy service module described in S14 obtains the IP address of called terminal according to the type information of reading, and according to described IP address is initiated to call to corresponding called terminal.
Specifically, sip server, when receiving call request, the media services module in sip server is according to user The mode of configuration information selection calling.User configuration information is parsed first, obtains the configuration parameter of user.If user configuration It is to shake together, then need not carries out specially treated, calling problem can be solved using method of calling in the prior art.If user Configuration is CSC, then it includes CSC priority orders, i.e., the ring order of various called terminal types to configure in parameter.Then Session Initiation Protocol encapsulation, and newly-increased extension Session Initiation Protocol head are carried out to different called terminals according to CSC priority orders, The type information of called terminal is added in the extension Session Initiation Protocol head.
In a specific embodiment, the type information of called terminal is the coding of called terminal, the number with it is called Terminal is one-to-one, such as IP telephone machine is encoded to 0, and pc client is encoded to 1, and cell-phone customer terminal is encoded to 2.
In a specific embodiment, when carrying out Session Initiation Protocol encapsulation, there are following three kinds encapsulation situations:
(1) user configuration is shaken to be same, does not encapsulate extension Session Initiation Protocol head;
(2) include a terminal type (including 1 coding) in extension Session Initiation Protocol head Tt;
(3) include multiple terminal types (including multiple codings) in extension Session Initiation Protocol head Tt.
Assuming that called terminal is IP telephone machine (it is encoded to 0), then Session Initiation Protocol message example is as follows:
INVITE sip:bob@biloxi.com SIP/2.0
Via:SIP/2.0/UDP pc33.atlanta.com;Branch=z9hG4bKkjshdyff
To:Bob<sip:bob@biloxi.com>
From:Alice<sip:alice@atlanta.com>;Tag=88sja8x
Max-Forwards:70
Call-ID:987asjd97y7atg
CSeq:986759INVITE
Tt:0
Proxy service module in sip server extends Session Initiation Protocol head by parsing, you can reads this called terminal Type information when in Session Initiation Protocol message without extension Session Initiation Protocol head, illustrates user configuration in a specific embodiment Be that can initiate concurrent call simultaneously to all terminals at this time with shaking;
In a specific embodiment, when in the extension Session Initiation Protocol head in Session Initiation Protocol message include a terminal type When (i.e. one coding), the IP address of called terminal is obtained according to the type information of reading, and according to IP address to corresponding quilt It is terminal originated calls;
In another embodiment specific implementation mode, when in the extension Session Initiation Protocol head in Session Initiation Protocol message include multiple terminal classes When type (i.e. multiple codings), then the IP address of corresponding multiple called terminals is obtained according to the coding of reading, and according to multiple IP Initiate calling (being same shake between multiple called terminal) simultaneously to corresponding multiple called terminals in address.
By the above process as can be seen that extension Session Initiation Protocol head encapsulation and parsing only the inside of sip server into Row, sip terminal do not perceive Session Initiation Protocol extension, therefore only need in sip server upgrade that sip terminal CSC can be realized Function, without upgrading sip terminal.
Preferably, when obtaining the configuration parameter of user by parsing user configuration information, further include in the configuration parameter Ring duration specifically can realize sip terminal CSC function by method shown in Fig. 5.
As shown in figure 5, realizing sip terminal CSC by the following method:
S21 media services modules parse user configuration information, obtain the configuration parameter of user, the configuration parameter includes suitable Priority orders of shaking and ring duration;Into S22;
Media services module described in S22 carries out Session Initiation Protocol encapsulation according to the CSC priority orders to called terminal, Extend the type information that called terminal is added in Session Initiation Protocol head;Into S23;
S23 proxy service modules parse the extension Session Initiation Protocol head, read the type information of called terminal;Into S24;
S24 proxy service modules obtain the IP address of called terminal according to the type information of reading, and according to the IP Location initiates to call to corresponding called terminal, and when judging whether call time is greater than or equal to the corresponding ring of the called terminal It is long;If then entering S25;
The quilt that S25 media services module crosses next priority and non-called according to the CSC priority orders Terminal is made to carry out Session Initiation Protocol encapsulation, added in extending Session Initiation Protocol head next priority and called end for crossing of non-called The type information at end.
Tell about the flow of sip terminal CSC shown in fig. 5 in detail with reference to two concrete cases.
Case one
Assuming that the configuration parameter of user is as follows:CSC priority orders are IP telephone machine, pc client, cell-phone customer terminal; The ring of IP telephone machine elder generation, when ring, are 15 seconds a length of;Then pc client ring, 15 seconds a length of, last cell-phone customer terminal when ring Ring, ring duration also not 15 seconds.
When there is call request, the media services module in sip server parses the configuration information of user first, in acquisition Then the configuration parameter stated carries out protocol encapsulation to the IP telephone machine of CSC highest priority, is added in extending Session Initiation Protocol head The type information (assuming that IP telephone machine is encoded to 0) of IP telephone machine, then the proxy service module parsing in sip server are expanded Session Initiation Protocol head is opened up, identifies the type information of this called terminal, then searches the IP address of IP telephone machine, and according to the IP Address initiates to call to corresponding IP telephone machine, if call time is greater than or equal to 15 seconds (i.e. the ring unanswered in 15 seconds), Media services module in sip server carries out Session Initiation Protocol encapsulation to pc client, and PC visitors are added in extending Session Initiation Protocol head The type information at family end, and by the above process from proxy service module to pc client initiate call, if in 15 seconds still nobody It answers, then continues to initiate calling to next called terminal-cell-phone customer terminal as stated above, so realize the suitable of sip terminal It shakes.
Case two
Assuming that the configuration parameter of user is as follows:IP telephone machine CSC highest priority, pc client and cell-phone customer terminal CSC priority is identical;That is IP telephone machine elder generation ring, ring duration are set as 15 seconds;Then pc client and cell-phone customer terminal be simultaneously Ring, ring duration are set as 30 seconds.
When there is call request, the media services module in sip server parses the configuration information of user first, in acquisition The configuration parameter stated, then protocol encapsulation is carried out to the IP telephone machine of CSC highest priority, add IP in extending Session Initiation Protocol head The type information (assuming that IP telephone machine is encoded to 0) of telephone set, then the proxy service module parsing extension in sip server Session Initiation Protocol head identifies the type information of this called terminal, then searches the IP address of IP telephone machine, and according to the IP Location initiates to call to corresponding IP telephone machine, if call time is greater than or equal to 15 seconds (i.e. the ring unanswered in 15 seconds), SIP Media services module in server carries out Session Initiation Protocol encapsulation to pc client and cell-phone customer terminal, in extending Session Initiation Protocol head Add the type information of pc client and cell-phone customer terminal, and by the above process from proxy service module simultaneously to pc client and Cell-phone customer terminal initiates calling, and when ring is 30 seconds a length of, if still ring unanswered in 30 seconds, terminates to call.In above process, The ring relationship of pc client and cell-phone customer terminal is shaken to be same, and IP telephone machine and pc client, IP telephone machine and cell phone customer The ring relationship at end is CSC.
In conclusion the present invention is based on the more logon modes of SIP to realize sip terminal CSC, telephone number can be effectively saved Resource, and sip terminal CSC may be implemented and with the flexible combination shaken, make that several SIP can also be made when sip terminal CSC Terminal is same to shake.Further, according to it is provided by the invention realize sip terminal CSC method, all protocol extensions be all Carry out in sip server, sip terminal need not carry out upgrading and CSC function can be realized, effectively reduce sip terminal CSC at This, is with a wide range of applications.
Correspondingly, the present invention also provides a kind of system for realizing sip terminal CSC, it is suitable that the realization sip terminal is given below The embodiment for the system shaken.
As shown in fig. 6, the system of the realization sip terminal CSC in the present embodiment includes media services module 1000 and agency Service module 2000, wherein media services module 1000 include:
Calling selecting module 1 obtains the configuration parameter of user, the configuration parameter packet for parsing user configuration information Include CSC priority orders;
Protocol encapsulation module 2, for carrying out Session Initiation Protocol encapsulation to called terminal according to the CSC priority orders, Extend the type information that called terminal is added in Session Initiation Protocol head;
Proxy service module 2000 includes:
Protocol resolution module 3 reads the type information of called terminal for parsing the extension Session Initiation Protocol head;
Call initiation module 4, the IP address for obtaining called terminal according to the type information of reading, and according to the IP It initiates to call to corresponding called terminal in address.
For sip server when receiving call request, calling selecting module 1 selects the side of calling according to user configuration information Formula.User configuration information is parsed first, obtains the configuration parameter of user.If user configuration is to shake together, need not carry out Specially treated can be solved calling problem using method of calling in the prior art.If user configuration is CSC, configure Include CSC priority orders, i.e., the ring order of various called terminal types in parameter.Selecting module 1 is called according to called end The CSC priority orders notification protocol package module 2 at end is handled, and protocol encapsulation module 2 is according to CSC priority orders pair Different called terminals carries out Session Initiation Protocol encapsulation, and newly-increased extension Session Initiation Protocol head, is added in the extension Session Initiation Protocol head The type information of called terminal.
In a specific embodiment, the type information of called terminal is the coding of called terminal, the number with it is called Terminal is one-to-one, such as IP telephone machine is encoded to 0, and pc client is encoded to 1, and cell-phone customer terminal is encoded to 2.
In a specific embodiment, when protocol encapsulation module 2 carries out Session Initiation Protocol encapsulation, there are following three kinds encapsulation Situation:
(1) user configuration is shaken to be same, does not encapsulate extension Session Initiation Protocol head;
(2) include a terminal type (including 1 coding) in extension Session Initiation Protocol head Tt;
(3) include multiple terminal types (including multiple codings) in extension Session Initiation Protocol head Tt.
Protocol resolution module 3 parses extension Session Initiation Protocol head, you can reads the type information of this called terminal.
Call initiation module 4 obtains the IP address of called terminal according to the type information of reading, and according to IP address to right The called terminal answered initiates calling.
In a specific embodiment, when in Session Initiation Protocol message without extension Session Initiation Protocol head, illustrate user configuration Be that can initiate concurrent call simultaneously to all terminals at this time with shaking;
In a specific embodiment, when in the extension Session Initiation Protocol head in Session Initiation Protocol message include a terminal type When (i.e. one coding), call initiation module 4 obtains the IP address of called terminal according to the coding that protocol resolution module 3 is read, And it initiates to call to corresponding called terminal according to IP address;
In another embodiment specific implementation mode, when in the extension Session Initiation Protocol head in Session Initiation Protocol message include multiple terminal classes When type (i.e. multiple codings), then call initiation module 4 obtains corresponding multiple called according to the coding that protocol resolution module 3 is read The IP address of terminal, and initiate calling (multiple called terminal simultaneously to corresponding multiple called terminals according to multiple IP address Between ring relationship be with shaking).
Preferably, further including ring duration in above-mentioned configuration parameter, the calling parsing user's of selecting module 1 matches confidence Breath obtains CSC priority orders and ring duration;Protocol encapsulation module 2 carries out called terminal according to CSC priority orders Session Initiation Protocol encapsulates, and the type information of called terminal is added in extending Session Initiation Protocol head;The parsing extension of protocol resolution module 3 SIP Protocol header reads the type information of called terminal;Call initiation module 4 obtains the IP of called terminal according to the type information of reading Address, and initiate to call to corresponding called terminal according to IP address, and judge whether call time is called more than or equal to this The corresponding ring duration of terminal;If protocol encapsulation module 2 according to CSC priority orders to next priority and not by The called terminal called carries out Session Initiation Protocol encapsulation, and the type letter of next called terminal is added in extending Session Initiation Protocol head Breath so realizes the CSC function of sip terminal.
Currently, media services module 1000 and proxy service module 2000 are deployed on same physical server, it is service Two modules of device in logic, it is a sip server, media services module 1000 and proxy service module 2000 externally to embody Between information exchange need the agreement SIP based on standard universal.It certainly, in a specific embodiment, can also be by matchmaker Body service module 1000 and proxy service module 2000 do distributed deployment, that is, are deployed on different physical servers, can Significantly improve user capacity performance.For example, the system of above-mentioned realization sip terminal CSC, calling selecting module 1 and agreement are sealed It is deployed in server A for die-filling piece 2, protocol resolution module 3 and call initiation module 4 is deployed in server B, server A With server B the type information of called terminal is transmitted by extending Session Initiation Protocol head.
To tell about the system of the realization sip terminal CSC in the embodiment of the present invention in detail with reference to two concrete cases.
Case one
The sequence diagram of sip terminal CSC is as shown in Figure 7 in present case one.Assuming that the configuration parameter of user is as follows:CSC is excellent First grade sequence is IP telephone machine, pc client, cell-phone customer terminal;The ring of IP telephone machine elder generation, when ring, are 15 seconds a length of;Then PC visitors The ring of family end, 15 seconds a length of, last cell-phone customer terminal ring when ring, ring duration also not 15 seconds.
When there is call request, the calling selecting module 1 inside SIP media servers first parses the configuration information of user, Above-mentioned configuration parameter is obtained, and is handled by CSC priority orders notification protocol package module 2.Protocol encapsulation module 2 Protocol encapsulation first is carried out to the IP telephone machine of CSC highest priority, the type of IP telephone machine is added in extending Session Initiation Protocol head Information (assuming that IP telephone machine is encoded to 0), then sends data to sip proxy server, inside sip proxy server The parsing extension Session Initiation Protocol head of protocol resolution module 3, identifies the type information of this called terminal, then call initiation module 4 Search IP telephone machine IP address, and according to the IP address to corresponding IP telephone machine initiate call, if call time be more than or Equal to 15 seconds (i.e. the ring unanswered in 15 seconds), then notification protocol package module 2 to pc client carry out Session Initiation Protocol encapsulation, Extend the type information that pc client is added in Session Initiation Protocol head, and by the above process by call initiation module 4 to pc client Calling is initiated, if the still ring unanswered in 15 seconds, continues to send out to next called terminal-cell-phone customer terminal by the above process Calling is played, so realizes the CSC of sip terminal.
Case two
The sequence diagram of sip terminal CSC is as shown in Figure 8 in present case two.Assuming that the configuration parameter of user is as follows:IP phone The CSC priority of machine CSC highest priority, pc client and cell-phone customer terminal is identical;That is IP telephone machine elder generation ring, when ring Length is set as 15 seconds;Then pc client and cell-phone customer terminal ring simultaneously, ring duration are set as 30 seconds.
Calling selecting module 1 when there is call request inside SIP media servers first parses the configuration information of user, obtains Above-mentioned configuration parameter is taken, and is handled by CSC priority orders notification protocol package module 2.Protocol encapsulation module 2 is first Protocol encapsulation is carried out to the IP telephone machine of CSC highest priority, the type letter of IP telephone machine is added in extending Session Initiation Protocol head It ceases (assuming that IP telephone machine is encoded to 0), the protocol resolution module 3 being then transmit in sip proxy server.Protocol analysis mould The parsing extension Session Initiation Protocol head of block 3, identifies the type information of this called terminal, then call initiation module 4 searches IP phone The IP address of machine, and initiate to call to corresponding IP telephone machine according to the IP address, if call time is greater than or equal to 15 seconds (i.e. The ring unanswered in 15 seconds), then the protocol encapsulation module 2 in SIP media servers is notified, to pc client and cell-phone customer terminal Session Initiation Protocol encapsulation is carried out, the type information of pc client and cell-phone customer terminal is added in extending Session Initiation Protocol head, and by above-mentioned Process initiates calling to pc client and cell-phone customer terminal simultaneously by call initiation module 4, and when ring is 30 seconds a length of, if 30 seconds Inside still ring unanswered, then terminate to call.In above process, the ring relationship of pc client and cell-phone customer terminal is shaken to be same, and IP telephone machine and the ring relationship of pc client, IP telephone machine and cell-phone customer terminal are CSC.
In conclusion the system of the realization sip terminal CSC of the present invention, is based on the more logon modes of SIP, for same SIP numbers realize CSC function according to different terminal types, can effectively save telephone number resource, and may be implemented Sip terminal CSC and the same flexible combination shaken.Further, according to the system provided by the invention for realizing sip terminal CSC, institute Protocol extension all carried out in sip server, sip terminal need not carry out upgrading CSC function can be realized, have Effect reduces sip terminal CSC cost, is with a wide range of applications.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (6)

1. a kind of method for realizing sip terminal CSC, which is characterized in that include the following steps:
Media services module parses user configuration information, obtains the configuration parameter of user, the configuration parameter includes that CSC is preferential Grade sequence;
The media services module carries out Session Initiation Protocol encapsulation according to the CSC priority orders to called terminal, in extension SIP The type information of called terminal is added in protocol header;
Proxy service module parses the extension Session Initiation Protocol head, reads the type information of called terminal;
The proxy service module according to the type information of reading obtain called terminal IP address, and according to the IP address to Corresponding called terminal initiates calling;
The type information of the called terminal is the coding of called terminal, and the extension SIP is parsed in the proxy service module Protocol header, read called terminal coding when, if extension Session Initiation Protocol head in comprising several coding, the agency service mould Root tuber obtains the IP address of several corresponding called terminals according to the coding of reading, and if according to several IP address to corresponding Dry called terminal initiates to call simultaneously.
2. the method according to claim 1 for realizing sip terminal CSC, which is characterized in that the configuration parameter further includes Ring duration, when the proxy service module is initiated to call according to the IP address to corresponding called terminal, if when calling Between be greater than or equal to the corresponding ring duration of the called terminal, then the media services module is according to the CSC priority orders Session Initiation Protocol encapsulation is carried out to the called terminal that next priority and non-called is crossed.
3. the method according to claim 1 for realizing sip terminal CSC, which is characterized in that the coding is called with described Terminal corresponds.
4. a kind of system for realizing sip terminal CSC, including media services module and proxy service module, which is characterized in that institute Stating media services module includes:
Calling selecting module obtains the configuration parameter of user, the configuration parameter includes CSC for parsing user configuration information Priority orders;
Protocol encapsulation module is being extended for carrying out Session Initiation Protocol encapsulation to called terminal according to the CSC priority orders The type information of called terminal is added in Session Initiation Protocol head;
The proxy service module includes:
Protocol resolution module reads the type information of called terminal for parsing the extension Session Initiation Protocol head;
Call initiation module, the IP address for obtaining called terminal according to the type information of reading, and according to the IP address It initiates to call to corresponding called terminal;
The type information of the called terminal is the coding of called terminal, and the extension SIP is parsed in the protocol resolution module Protocol header and when reading the coding of called terminal, if including several codings, the calling initiation mould in extension Session Initiation Protocol head Root tuber obtains the IP address of several corresponding called terminals according to the coding of reading, and if according to several IP address to corresponding Dry called terminal initiates to call simultaneously.
5. the system according to claim 4 for realizing sip terminal CSC, which is characterized in that the configuration parameter further includes Ring duration, when the call initiation module is initiated to call according to the IP address to corresponding called terminal, if when calling Between be greater than or equal to the corresponding ring duration of the called terminal, then the protocol encapsulation module is according to the CSC priority orders Session Initiation Protocol encapsulation is carried out to the called terminal that next priority and non-called is crossed.
6. the system according to claim 4 for realizing sip terminal CSC, which is characterized in that the coding is called with described Terminal corresponds.
CN201510275467.1A 2015-05-26 2015-05-26 Realize the method and system of sip terminal CSC Active CN104836813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510275467.1A CN104836813B (en) 2015-05-26 2015-05-26 Realize the method and system of sip terminal CSC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275467.1A CN104836813B (en) 2015-05-26 2015-05-26 Realize the method and system of sip terminal CSC

Publications (2)

Publication Number Publication Date
CN104836813A CN104836813A (en) 2015-08-12
CN104836813B true CN104836813B (en) 2018-08-14

Family

ID=53814449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510275467.1A Active CN104836813B (en) 2015-05-26 2015-05-26 Realize the method and system of sip terminal CSC

Country Status (1)

Country Link
CN (1) CN104836813B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10681209B2 (en) * 2018-11-06 2020-06-09 Microsoft Technology Licensing, Llc Sequenced device alerting

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163340A (en) * 2007-11-08 2008-04-16 中兴通讯股份有限公司 Method and system of implementing universal personal telecommunication service
CN101534356A (en) * 2008-03-14 2009-09-16 中兴通讯股份有限公司 Method for converting co-vibration numbers of Little Smart
WO2010026748A1 (en) * 2008-09-04 2010-03-11 株式会社エヌ・ティ・ティ・ドコモ Communication system and communication method
CN101697619A (en) * 2009-09-30 2010-04-21 华为技术有限公司 Method, device and system for realizing addressing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163340A (en) * 2007-11-08 2008-04-16 中兴通讯股份有限公司 Method and system of implementing universal personal telecommunication service
CN101534356A (en) * 2008-03-14 2009-09-16 中兴通讯股份有限公司 Method for converting co-vibration numbers of Little Smart
WO2010026748A1 (en) * 2008-09-04 2010-03-11 株式会社エヌ・ティ・ティ・ドコモ Communication system and communication method
CN101697619A (en) * 2009-09-30 2010-04-21 华为技术有限公司 Method, device and system for realizing addressing

Also Published As

Publication number Publication date
CN104836813A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
EP1652359B1 (en) Method and system for suppressing early media in a communications network
US8873548B1 (en) Method and system for providing call-forwarding status indications in a packet-switched network
EP2150013B1 (en) System, equipment and method for implementing special calling services
CA2721062C (en) Differentiated message delivery notification
US11297187B2 (en) Providing E911 service to landline phones using a VoIP adapter
WO2009115048A1 (en) Method, system and equipment for shifting call based on a mobile terminal with the same number and a soft terminal
US9246955B2 (en) Capability query handling in a communication network
CN101459735B (en) Implementing method and system for customized ring back tone and color image service
US20080137644A1 (en) METHODS AND APPARATUS TO PROVIDE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES
RU2332804C2 (en) Processing initial multimedia data ii
EP3457810B1 (en) Methods to route a bearer via circuit switching to an internet protocol multimedia system node using session initiation protocol contact header
CN1921482B (en) Method and device for business processing based on conversation initiating protocol
US9071690B2 (en) Call transfer processing in SIP mode
WO2006112024A1 (en) Signaling method in ip telephone system, ip telephone system, and ip telephone device
CN104836813B (en) Realize the method and system of sip terminal CSC
CA2697968C (en) System and method for managing a circuit switched call using alternative signaling at the establishment of a successful session set-up
CN103139156A (en) Implement method and implement device of media stream by-path
CN101594623B (en) Method and equipment for monitoring call made via voice over Internet protocol
EP2649784B1 (en) Method and apparatus for processing multiple incoming calls in a single device
KR100963010B1 (en) System and method for video communication service based on sip using smart card
KR20090088832A (en) System and method for video communication service based on sip using smart card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant