CN101014037B - Method, apparatus and equipment for obtaining additional session information based on SIP - Google Patents

Method, apparatus and equipment for obtaining additional session information based on SIP Download PDF

Info

Publication number
CN101014037B
CN101014037B CN2007100024345A CN200710002434A CN101014037B CN 101014037 B CN101014037 B CN 101014037B CN 2007100024345 A CN2007100024345 A CN 2007100024345A CN 200710002434 A CN200710002434 A CN 200710002434A CN 101014037 B CN101014037 B CN 101014037B
Authority
CN
China
Prior art keywords
information
additional session
call
trunk
indication
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
CN2007100024345A
Other languages
Chinese (zh)
Other versions
CN101014037A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100024345A priority Critical patent/CN101014037B/en
Publication of CN101014037A publication Critical patent/CN101014037A/en
Application granted granted Critical
Publication of CN101014037B publication Critical patent/CN101014037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses one method to add dialogue based on SIP get, which comprises the following steps: receiving message composed of call information section; extracting relay information or charge information added dialogue from call information sections. The invention makes the network side part get added dialogue information through call-info head zone to expand business. The invention also discloses one device based on Sip get added dialogue information.

Description

The method of obtaining additional session information, device and equipment based on SIP
Technical field
Session Initiation Protocol technical field in the present invention relates to communicate by letter is particularly based on a kind of method of obtaining additional session information, device and the equipment based on SIP of SIP.
Background technology
At dialogue-based initializtion protocol (SIP, Session Initiation Protocol) in the next generation network (Next Generation Network), soft switch (Sofl Switch, be acting server) be NGN server equipment, in NGN four layer architectures, Sofl Switch is positioned at network control layer, and it is mainly used in the calling of processing based on Session Initiation Protocol.(AS ApplicationServer), is the core network node in the NGN network to application server, mainly finishes Business Processing and service control function.
As everyone knows, soft switch and application server are the entity appellations in the NGN network, and in the non-NGN network that adopts Session Initiation Protocol, acting server is equivalent to soft switch, and back-to-back user agent (B2BUA) is equivalent to application server.Easy for narrating, below be that example describes only with the NGN network.
In Session Initiation Protocol, the call information in request message or the response message (call-info) header field provides relevant caller or called additional information.Comprise unified resource identifier (URI) and purposes (purpose) parameter among the call-info, URI is used to identify calling party or callee's identification information, and purpose is used to show the purposes of URI parameter.As follows with the call-info that expansion Backus normal form (BNF) grammer (ABNF, Augmented BNF) is expressed:
Call-Info=″Call-Info″HCOLON?info*(COMMA?info)
info =LAQUOT?absoluteURI?RAQUOT*(SEMI?info-param)
info-param =(″purpose″EQUAL(″icon″/″info″
/″card″/token))/generic-param
The implication that above-mentioned ABNF represents is comprise URI and purpose among the Call-Info, and purpose can comprise icon (icon), information (info), business card (card), explanation information such as (token).
In RFC3261 above-mentioned each parameter is all had clearly definition: Call-Info provides the additional information to calling party or callee, if in request, then be the information of calling party, if then be the callee in replying.Deposited design sketch URI in " purpose " parameter." icon " parameter has comprised a calling party or callee's icon." info " parametric description concise and to the point calling party or callee's information, for example, be introduced etc. by placing a webpage." card " parameter provides a business card, such as, based on vCard[36] or LDIF[37] form.
At present, the draft-ietf-iptel-trunk-group-09 that IPTEL working group draft is formulated has only defined soft switch and can transmit calling party's the trunk information of going into to AS, and this is gone into trunk information and transmits in contact (Contact) header field.
As seen, in the prior art, application server can only be known calling party's the trunk information of going into, and can not know such as additional session informations such as out-trunk information, charge informations, is that the trunk information of call distribution can't be informed upstream entity as the downstream entity.The present inventor finds that these additional session informations are very useful for AS in this problem of research, the charge information that can report according to soft switch such as, AS is as the charging reference, or determines to charge or the like according to going out, go into trunk information.And these additional session informations do not have approach and are sent to AS at present.
Summary of the invention
The embodiment of the invention provides a kind of method of obtaining additional session information, device and equipment based on SIP, so that network side entity can obtain the additional session information that comprises trunk information and/or charge information.
The technical scheme of the embodiment of the invention comprises:
A kind of method of obtaining additional session information based on Session Initiation Protocol comprises:
Reception comprises the message of call information field;
Extract in the described call information field additional session information that comprises trunk information and charge information or, in described call information field, extract the additional session information that comprises charge information; Described charge information is a charging frequency range value;
Described trunk information comprises out-trunk information and goes into trunk information.
A kind of device that obtains additional session information based on SIP comprises: information receiving unit and additional session information identification extraction unit;
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit, be used in described call information field, extracting the described additional session information that is used to represent trunk information and charge information, perhaps, extract the additional session information that comprises charge information in described call information field, described trunk information comprises out-trunk information and goes into trunk information; Described charge information is a charging frequency range value.
A kind of application server comprises: information receiving unit and additional session information identification extraction unit, wherein,
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit, be used in described call information field, extracting the additional session information that is used to comprise trunk information and charge information, perhaps, extract the additional session information that comprises charge information in described call information field, described trunk information comprises out-trunk information and goes into trunk information; Described charge information is a charging frequency range value.
A kind of soft switching server comprises: information receiving unit and additional session information identification extraction unit, wherein,
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit is used for extracting the additional session information that is used to represent charge information in described call information field; Described charge information is a charging frequency range value.
Use the embodiment of the invention,, make network side entity pass through the call-info header field and obtained additional session information, promptly known the additional session information of upstream and downstream entity by expansion call-info header field.This additional session information comprises trunk information and/or charge information, for subsequent applications provides the foundation, and feasible professional being extended to for possibility.The charge information that can report according to soft switch such as AS is as the charging reference, or determines to charge or the like according to going out, go into trunk information, or distributes/determine calling cost or the like according to going out, go into trunk information between different operators.The present invention realizes simply, and with prior art good compatibility is arranged.
Description of drawings
Fig. 1 is the schematic flow sheet that obtains additional session information according to an embodiment of the invention;
Fig. 2 is the apparatus structure schematic diagram that obtains additional session information according to an embodiment of the invention.
Embodiment
In embodiments of the present invention, be that the call-info header field is expanded to the call information field, make it can carry additional session information, like this, the method for obtaining additional session information may further comprise the steps:
Reception comprises the message of call information field; In described call information field, extract the additional session information that comprises trunk information and/or charge information.The additional session information indication that comprises in the above-mentioned call information field is by the carrying of the purposes in the call-info header field (purpose) parameter, and the additional session information in the call information field is by newly-increased parameter carrying in the call-info header field.Described trunk information comprises out-trunk information or goes into trunk information.
Have again, can further include the indication of carrying described additional session information in the above-mentioned call information field; Like this, receive described call information field after, extract the additional session information that is used to represent trunk information and/or charge information according to described indication.
For the NGN network, the entity that receives and extract described additional session information comprises application server and/or soft switch; For non-NGN network, the entity that receives and extract described additional session information comprises back-to-back user agent and/or acting server.
The embodiment of the invention is paid close attention to network side entity and how to be obtained described additional session information, does not do qualification for how using after obtaining.Below in conjunction with drawings and the specific embodiments the present invention being elaborated again, is example with the NGN network still.
At first expand call-info, be expressed as follows with ABNF through the call-info of expansion:
Call-Info=″Call-Info″HCOLON?info*(COMMA?info)
info=LAQUOT?absoluteURI?RAQUOT/LAQUOT?trunk-groupRAQUOT/LAQUOT?charge-band?RAQUOT/*(SEMI?info-param)
// * definition trunk information (trunk-group) field and charge information (charge-band) field * //
trunk-group =″tgrp=″trunk-group-label?trunk-context
trunk-context =″,trunk-context=″domainname
// * definition trunk-group comprises trunk information indication (trunk-group-label) and trunk information (trunk-context), and trunk-context comprise domain name (domainname) information * //
trunk-group-label =1*(unreserved/escaped/trunk-group-unreserved)
trunk-group-unreserved=″/″/″&″/″+″/″$″
domainname =*(domainlabel″.″)toplabel[″.″]
domainlabel =alphanum/alphanum*(alphanum/″-″)alphanum
reserved =″;″/″/″/″?″/″:″/″@″/″&″/″=″/″+″/″$″/″,″
unreserved =alphanum/mark
mark =″-″/″_″/″.″/″!″/″~″/″*″/″′″/″(″/″)″
escaped =″%″HEXDIG?HEXDIG
alphanum =ALPHA/DIGIT
Comprise reservations (unreserved), escape (escaped), trunk group reservation (trunk-group-unreserved) field among the // * definition trunk-group-label, and to each field be concrete definition * //
charge-band =″cband″EQUAL?charge-band-value
charge-band-value =quoted-string
// * definition cband frequency range the value (charge-band-value) that equals to charge, and charge-band-value be expressed as the character string * of demonstration //
info-param =(″purpose″EQUAL(″icon″/″info″
/″card″/″tgrp″/″cband″/token))/generic-param
// * expanded definition purpose parameter except that the icon of having supported (icon), information (info), business card (card) etc., increases trunk information (tgrp), charge information (cband).
Fig. 1 is that network side entity is known the schematic flow sheet of additional session information according to an embodiment of the invention.Be that example describes alternately with application server in the NGN network (AS) and soft switch in this example.
F1:AS receives the call request INVITE from the Calling Side soft switch, and the simplified summary of this INVITE is as follows:
INVITE?sip:66660002@example.com;user=phone?SIP/2.0
Call-Info:<sip:6666001@example.com>;trunk-context=example.com,
tgroup=TG1-1,purpose=tgrp
In this example, the received request of Calling Side soft switch is from relaying TG1-1.
If AS determines that the indicated purposes of purpose is trunk information (tgrp) in the call-info header field of this INVITE, then from call-Info, be extracted into trunk information; Concrete extracting method is: be extracted into trunk information TG1-1 in the tgroup parameter from Call-Info, know in the trunk-context parameter that this TG 1-1 is in the example.com territory.Above-mentioned<sip:6666001@example.com〉expression URI.
Certainly, if above-mentioned call-info header field does not comprise trunk-context=example.com, tgroup=TG1-1, purpose=tgrp, then the processing mode of itself and prior art is identical.
F2:AS is forwarded to the callee side soft switch with the INVITE that receives, and the particular content of the INVITE of this forwarding is as follows:
INVITE?sip:66660002@example.com;user=phone?SIP/2.0
Call-Info:<sip:6666001@example.com>;cband=25,purpose=cband
Content-Length:
The callee side soft switch receives the INVITE from AS, if the indicated purposes of purpose is charge information (cband) in the call-info header field of definite this INVITE, then extracts charge information from call-Info; Concrete extracting method is: the cband from Call-Info extracts charging frequency range value 25.
The callee side soft switch is sent to relaying TG1-3 with the message that receives, and receives response and finish message, carries out F3 afterwards.
F3: the callee side soft switch is returned confirmation 200OK to AS, and the particular content of this 200OK is:
SIP/2.0200OK
Call-Info:<sip:6666002@example.com>;trunk-context=example.com,
tgroup=TG3-1,purpose=tgrp;cband=25,purpose=cband
AS receives the 200OK message from the callee side soft switch, if confirm that the indicated purposes of purpose is tgrp and cband in the call-info header field of this 200OK, then extracts trunk information and charge information from call-Info; Concrete extracting method is: extract trunk information TG3-1 in the tgroup parameter from Call-Info, know that from the trunk-context parameter this TG3-1 is in the example.com territory; Cband from Call-Info extracts charging frequency range value 25.Above-mentioned<sip:6666001@example.com〉expression URI.
AS can be with the additional session information that gets access to, as go into, out-trunk information, charge information preserves, be used for subsequent operation according to its internal logic, such as, trunk information is kept at ticket (CDR, CallDetail Recording) in, to be used for the inter-network settlement between the operator or to supply user, operator's inquiry etc.; Have again, if be provided with corresponding strategy among the AS, can be that (hypothesis is configuration rate and the configuration of paying frequency range in soft switch herein, and synchronous with AS for this rate of current call request etc. according to charge information, the concrete problem of management that belongs to synchronously is not in this paper discusses scope).
Have again, also can include only charge information or out-trunk information in the practical application in this 200OK message.
F4: after calling was finished, AS received end (BYE) message from the callee side soft switch, and the particular content of this BYE is as follows:
BYE?sip:66660002@example.com;user=phone?SIP/2.0
Call-Info:<sip:+16305554554;tgrp=TG3-1;\
trunk-context=example.com>;purpose=tgrp,<25>;purpose=cband
AS receives the BYE message from the callee side soft switch, if confirm that the indicated purposes of purpose is tgrp and cband in the call-info header field of this BYE, then extracts trunk information and charge information from call-Info; Specifically operation is identical among mode and the F3, repeats no more herein.
So far, network side entity has obtained the additional session information of upstream and downstream entity by the call-info header field.
Illustrate a bit,, then can comprehend the additional session information that BYE message comprises if AS has obtained out-trunk information and charge information from 200OK message, identical because the two comprises that additional session information can be regarded as.That is to say that the additional session information that this moment, AS obtained can obtain, and also can obtain, and perhaps obtains simultaneously from both from BYE message from 200OK message.
Explanation a bit again: this paper only is illustrated the content relevant with the embodiment of the invention, and other ABNF about call-Info represents that mode is identical with the definition among the RFC3261, no longer explanation.
In addition, for the foregoing description, a kind of possible situation is: do not comprise the indication of additional information in the call-info header field, and include only additional session information that corresponding entity can directly extract additional session information and promptly went into trunk information this moment.
Be appreciated that acting server just is equivalent to soft switch for non-NGN network, B2BUA just is equivalent to application server, is appellation difference in different networks, and other processing modes are identical.
The embodiment of the invention also provides a kind of device that obtains additional session information based on SIP, referring to Fig. 2, comprising: information receiving unit 210 and additional session information identification extraction unit 220;
Information receiving unit 220 is used to receive the message that comprises the call information field;
Additional session information identification extraction unit 220 is used for extracting the described additional session information that is used to represent trunk information and/or charge information in described call information field.
If also comprise the indication of carrying described additional session information in the call information field; Also comprise indication information recognition unit 230 in the then described device, be used in described call information field, discerning described indication, notify described additional session information identification extraction unit to extract according to described indication.
The embodiment of the invention also provides a kind of application server, comprising: information receiving unit and additional session information identification extraction unit, wherein,
Information receiving unit is used to receive the message that comprises the call information field;
Additional session information identification extraction unit is used for extracting the additional session information that is used to comprise trunk information and/or charge information in described call information field.
This application server can also comprise: the additional session information that the additional information transmitting element is used for comprising charge information is sent to soft switch.
If further comprise the indication of carrying described additional session information in the call information field; Then application server comprises that also the indication information recognition unit is used for discerning described indication in described call information field, and notice additional session information identification extraction unit extracts according to described indication.
The embodiment of the invention also provides a kind of soft switch, comprising: information receiving unit and additional session information identification extraction unit, wherein,
Information receiving unit is used to receive the message that comprises the call information field;
Additional session information identification extraction unit is used for extracting the additional session information that is used to represent charge information in described call information field.
This soft switch also comprises: the additional information transmitting element, the additional session information that is used for comprising trunk information is sent to application server.
If further comprise the indication of carrying described additional session information in the call information field; Can also comprise the indication information recognition unit in the then described soft switch, be used in described call information field, discerning described indication, notify described additional session information identification extraction unit to extract according to described indication.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (12)

1. the method for obtaining additional session information based on Session Initiation Protocol is characterized in that, comprising:
Reception comprises the message of call information field;
In described call information field, extract the additional session information that comprises trunk information and charge information; Perhaps, in described call information field, extract the additional session information that comprises charge information; Described charge information is a charging frequency range value;
Described trunk information comprises out-trunk information and goes into trunk information.
2. method according to claim 1 is characterized in that, further comprises the indication of carrying described additional session information in the described call information field;
After receiving described call information field, extract the additional session information that is used to represent trunk information and charge information, perhaps, extract the additional session information that is used to represent charge information according to described indication according to described indication.
3. method according to claim 1 and 2 is characterized in that, the entity that receives and extract described additional session information comprises application server, soft switching server or back-to-back user agent, or above combination in any.
4. method according to claim 1 and 2 is characterized in that, the additional session information indication that comprises in the described call information field is carried by the purposes purpose parameter in the call-info header field; Additional session information in the described call information field is by newly-increased parameter carrying in the call-info header field.
5. the device that obtains additional session information based on SIP is characterized in that, comprising: information receiving unit and additional session information identification extraction unit;
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit, be used in described call information field, extracting the described additional session information that is used to represent trunk information and charge information, perhaps, extract the additional session information that comprises charge information in described call information field, described trunk information comprises out-trunk information and goes into trunk information; Described charge information is a charging frequency range value.
6. according to the described device of claim 5, it is characterized in that,
Further comprise the indication of carrying described additional session information in the described call information field; Described device also comprises the indication information recognition unit;
Described indication information recognition unit is used for discerning described indication in described call information field, notifies described additional session information identification extraction unit to extract according to described indication.
7. an application server is characterized in that, comprising: information receiving unit and additional session information identification extraction unit, wherein,
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit, be used in described call information field, extracting the additional session information that is used to comprise trunk information and charge information, perhaps, extract the additional session information that comprises charge information in described call information field, described trunk information comprises out-trunk information and goes into trunk information; Described charge information is a charging frequency range value.
8. according to the described application server of claim 7, it is characterized in that this application server also comprises: the additional information transmitting element, the additional session information that is used for comprising charge information is sent to soft switching server.
9. according to claim 7 or 8 described application servers, it is characterized in that,
Further comprise the indication of carrying described additional session information in the described call information field; Described application server also comprises the indication information recognition unit;
Described indication information recognition unit is used for discerning described indication in described call information field, notifies described additional session information identification extraction unit to extract according to described indication.
10. a soft switching server is characterized in that, comprising: information receiving unit and additional session information identification extraction unit, wherein,
Described information receiving unit is used to receive the message that comprises the call information field;
Described additional session information identification extraction unit is used for extracting the additional session information that is used to represent charge information in described call information field; Described charge information is a charging frequency range value.
11., it is characterized in that this soft switching server also comprises according to the described soft switching server of claim 10: the additional information transmitting element, the additional session information that is used for comprising trunk information and charge information is sent to application server.
12. according to claim 10 or 11 described soft switching servers, it is characterized in that,
Further comprise the indication of carrying described additional session information in the described call information field; Described soft switching server also comprises the indication information recognition unit;
Described indication information recognition unit is used for discerning described indication in described call information field, notifies described additional session information identification extraction unit to extract according to described indication.
CN2007100024345A 2007-01-17 2007-01-17 Method, apparatus and equipment for obtaining additional session information based on SIP Active CN101014037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100024345A CN101014037B (en) 2007-01-17 2007-01-17 Method, apparatus and equipment for obtaining additional session information based on SIP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100024345A CN101014037B (en) 2007-01-17 2007-01-17 Method, apparatus and equipment for obtaining additional session information based on SIP

Publications (2)

Publication Number Publication Date
CN101014037A CN101014037A (en) 2007-08-08
CN101014037B true CN101014037B (en) 2010-09-08

Family

ID=38701319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100024345A Active CN101014037B (en) 2007-01-17 2007-01-17 Method, apparatus and equipment for obtaining additional session information based on SIP

Country Status (1)

Country Link
CN (1) CN101014037B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100542268C (en) * 2007-08-23 2009-09-16 四川长虹电器股份有限公司 Network television broadcast charging method
CN102025693B (en) * 2009-09-21 2014-03-12 华为技术有限公司 Method and device for reminding session
CN101977201B (en) * 2010-11-05 2015-08-19 中国电信股份有限公司 The method of expanding Call-Info header carried service information in SIP information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
V.Gurbani.draft-ietf-iptel-trunk-group-09.IETF.2006,第6页第5点,第12页7.2节至第13页倒数第3段. *
W. Marshall,ect.RFC3603,Private Session Initiation Protocol (SIP) Proxy-to-ProxyExtensions for Supporting the PacketCable DistributedCallSignaling Architecture.IETF.2003,第7.1-7.6节. *

Also Published As

Publication number Publication date
CN101014037A (en) 2007-08-08

Similar Documents

Publication Publication Date Title
CN101185305B (en) Call forwarding in an IP multimedia subsystem (IMS)
US7206611B2 (en) Method for displaying special alerting icon
CN101420432B (en) Implementing method, system and apparatus for IMS listening
CN101681318B (en) Communication terminal, method for controlling communication terminal
CN105530389B (en) Voice leaving method and device based on IMS network
CN101127671A (en) A method and system for remote control of home electrical appliance devices
CN100446528C (en) Click-to dial service realizing method
CN101090567B (en) Calling service implementing method for voice calling continuous service
CN101529883B (en) System and method to provide combinational services to anonymous callers
US9497032B2 (en) Charging control in IP multimedia subsystem
CN105245493A (en) Capability query handling in communication network
CN101369906B (en) Conference service implementing method and apparatus
CN101014037B (en) Method, apparatus and equipment for obtaining additional session information based on SIP
CN101247440B (en) Method for implementing call switching service
CN101163022B (en) Point-to-point communication charging method and communication system and charging device
CN101217703A (en) A method realizing online CRBT and color image generation
CN105306758A (en) Method for transmitting enterprise network identifier when call is established, IBCF and IMS
CN101111003A (en) Multimedia color ring system and its play method
CN101212386A (en) System for interworking between circuit switching network and IP multimedia subsystem
WO2014166184A1 (en) Call service method and system, system terminal, and calling terminal
CN110312220A (en) A kind of communication means and communication system
CN102594804A (en) Method and system for playing by using narrow-band equipment in broadband service
CN103828321B (en) Extending sip p-served user header over ims interfaces
JP2011049687A (en) Communication network system, sip signal relay method therefor and sip application server
CN1905462B (en) Charge correlation method and system of application service

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