1、 ETSI TS 101 321 V4.1.1 (2003-11)Technical Specification Telecommunications and Internet ProtocolHarmonization Over Networks (TIPHON) Release 4;Open Settlement Protocol (OSP) forInter-Domain pricing, authorizationand usage exchangeETSI ETSI TS 101 321 V4.1.1 (2003-11) 2 Reference RTS/TIPHON-03004R43
2、 Keywords internet, network, interoperability, protocol, telephony, IP ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7
3、803/88 Important notice Individual copies of the present document can be downloaded from: http:/www.etsi.org The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference ve
4、rsion is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of s
5、tatus. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, send your comment to: editoretsi.org Copyright Notification No part may be reproduced except as authorized by written permi
6、ssion. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2003. All rights reserved. DECTTM, PLUGTESTSTM and UMTSTM are Trade Marks of ETSI registered for the benefit of its Members. TIPHONTMand the TIPHON logo are Trade M
7、arks currently being registered by ETSI for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI TS 101 321 V4.1.1 (2003-11) 3 Contents Intellectual Property Rights7 Foreword.7 1 Scope 8 2 References 8
8、 3 Abbreviations .10 4 Open settlement protocol architecture11 4.1 Communication protocols 11 4.1.1 Secure Sockets Layer (SSL)/Transport Layer Security (TLS)11 4.1.2 HyperText Transfer Protocol (HTTP).11 4.2 Message format 11 4.2.1 Multipurpose Internet Mail Extensions (MIME) 12 4.2.2 eXensible Mark
9、up Language (XML)12 4.2.3 Secure MIME12 5 Protocol profiles .13 5.1 Secure Sockets Layer (SSL)/Transport Layer Security (TLS) .13 5.1.1 Protocol version13 5.1.2 Client/server roles.13 5.1.3 CipherSuites13 5.2 Hypertext transfer protocol.13 5.2.1 Protocol version13 5.2.2 Client/server roles.13 5.2.3
10、TCP port .13 5.2.4 HTTP methods14 5.2.5 Uniform resource identifier.14 5.2.6 HTTP headers .14 5.2.7 HTTP entity body .14 6 XML content 14 6.1 Document Structure14 6.1.1 Multipurpose Internet Mail Extensions Conformance14 6.1.1.1 Content-type14 6.1.1.2 Content-length.14 6.1.1.3 Transfer encoding .15
11、6.1.2 XML conformance15 6.1.2.1 XML version.15 6.1.2.2 Well-formed constraint .15 6.1.2.3 Character encoding15 6.1.3 XML framework.15 6.1.3.1 Root entity.16 6.1.3.2 Random attribute.16 6.1.3.3 Identifier attribute .16 6.1.3.4 Critical attribute 16 6.1.3.5 Extensions .16 6.2 Components17 6.2.1 Pricin
12、gIndication.17 6.2.2 PricingConfirmation .17 6.2.3 AuthorizationRequest .18 6.2.4 AuthorizationResponse.19 6.2.5 AuthorizationIndication19 6.2.6 AuthorizationConfirmation.19 6.2.7 UsageIndication 19 6.2.8 UsageConfirmation.20 6.2.9 ReauthorizationRequest 20 ETSI ETSI TS 101 321 V4.1.1 (2003-11) 4 6.
13、2.10 ReauthorizationResponse20 6.2.11 SubscriberAuthenticationRequest.20 6.2.12 SubscriberAuthenticationResponse 20 6.2.13 CapabilitiesIndication .20 6.2.14 CapabilitiesConfirmation21 6.3 Elements.21 6.3.1 Amount .21 6.3.2 AuthorityURL.21 6.3.3 CallId 21 6.3.4 Code22 6.3.5 Currency .23 6.3.6 Descrip
14、tion23 6.3.7 Destination23 6.3.8 DestinationAlternate .23 6.3.9 DestinationInfo .23 6.3.10 DestinationSignalAddress.24 6.3.11 Increment 24 6.3.12 MaximumDestinations24 6.3.13 Role.25 6.3.14 Service 25 6.3.15 SourceAlternate 25 6.3.16 SourceInfo.26 6.3.17 SourceSignalAddress26 6.3.18 Status 26 6.3.19
15、 Timestamp 26 6.3.20 Token27 6.3.21 TransactionId 27 6.3.22 Unit .27 6.3.23 UsageDetail.27 6.3.24 ValidAfter.28 6.3.25 ValidUntil .28 6.3.26 EndTime .28 6.3.27 StartTime 28 6.3.28 TCCode.28 6.3.29 TerminationCause.30 6.3.30 Certificate .30 6.3.31 CertificateChain30 6.3.32 OSPCapability 30 6.3.33 OSP
16、Service.31 6.3.34 OSPServiceURL .31 6.3.35 OSPSignatureRequired .31 6.3.36 OSPVersion 31 6.3.37 SubscriberAuthenticationInfo.31 6.3.38 DeviceInfo 32 6.3.39 DeviceId32 6.3.40 Resources32 6.3.41 DataRate .32 6.3.42 NumberOfChannels 32 6.3.43 Bandwidth.32 6.3.44 AlmostOutOfResources 33 6.3.45 Destinati
17、onProtocol 33 6.3.46 QualityOfService 33 6.3.47 QoSClass 33 6.3.48 QoSParameters .33 6.3.49 Group34 6.3.50 GroupId.34 6.3.51 SessionId.34 6.3.52 MultiSessionId34 6.3.53 MSId .34 6.3.54 ContactId 35 6.3.55 ServiceType 35 ETSI ETSI TS 101 321 V4.1.1 (2003-11) 5 7 Signature format.35 7.1 Canonical form
18、.35 7.2 Signature algorithms.36 7.3 Transfer encoding.36 8 Protocol behaviour .36 8.1 Message sequencing.36 8.2 Exception handling.36 8.2.1 Transmission Control Protocol (TCP) 38 8.2.2 Secure Socket Layer (SSL)/Transport Layer Security (TLS) .38 8.2.3 Hypertext Transfer Protocol .38 8.2.4 Status ele
19、ment.39 8.3 Transaction types39 8.3.1 Group behaviour .40 8.3.2 Group identifiers.41 Annex A (normative): Document Type Definition (DTD) 43 Annex B (normative): Cryptographic Algorithms 46 B.1 SSL/TLS CipherSuites .46 B.2 S/MIME signatures 46 B.3 Tokens 46 Annex C (normative): Enhanced usage reports
20、.47 C.1 Enhanced usage elements.47 C.1.1 Statistics .47 C.1.2 LossSent .47 C.1.3 Packets47 C.1.4 Fraction 47 C.1.5 LossReceived .47 C.1.6 OneWayDelay 48 C.1.7 Minimum48 C.1.8 Mean.48 C.1.9 Variance .48 C.1.10 Samples 48 C.1.11 RoundTripDelay.48 C.1.12 Maximum .48 C.1.13 Delay 48 C.1.14 Jitter49 C.1.
21、15 PackLoss.49 Annex D (informative): Token formats 50 D.1 Cryptographic encoding .50 D.2 Token content.51 D.2.1 ASN.1 format .51 D.2.2 XML format .52 D.2.3 Binary XML format52 D.3 Token carriage52 D.4 Sample token54 Annex E (informative): Example messages55 E.1 Pricing exchange 55 E.2 Authorization
22、 exchange57 E.3 Usage exchange59 E.4 Subscriber authentication exchange .60 ETSI ETSI TS 101 321 V4.1.1 (2003-11) 6 E.5 Capabilities exchange.61 Annex F (informative): Billing format conversion 63 Annex G (informative): XML overview .67 G.1 Document definition.67 G.2 Element declaration67 G.3 Attrib
23、ute declaration.68 Annex H (informative): Binary XML content format for OSP69 H.1 Global extension tokens .69 H.2 Example application.71 H.2.1 Standard XML format (505 bytes) .71 H.2.2 Binary XML content format (160 bytes)72 Annex I (informative): PICS proforma for OSP (Reference).73 Annex J (inform
24、ative): OSP applications and implementations74 J.1 Call control protocols .74 J.1.1 Peer-to-Peer architecture 74 J.1.1.1 H.323 Gateways.74 J.1.1.1.1 Call routing and authorization.75 J.1.1.1.2 Usage reports.77 J.1.1.2 Session initiation protocol gateways.78 J.1.1.2.1 Call routing and authorization.7
25、9 J.1.1.2.2 Usage reports.81 J.1.2 Tightly controlled distributed architecture .82 J.1.2.1 H.323 Gatekeeper routed calls.83 J.1.2.1.1 Call routing and authorization.83 J.1.2.1.2 Usage reports.84 J.1.2.2 Session initiation protocol proxy servers 86 J.1.2.2.1 Call routing and authorization.86 J.1.2.2.
26、2 Usage reports.88 J.1.3 Loosely controlled distributed architecture 89 J.1.3.1 H.323 Direct routed calls (with Gatekeepers)90 J.1.3.1.1 Call routing and authorization.90 J.1.3.1.2 Usage reports.92 J.1.3.2 Session Initiation Protocol Redirect Servers.94 J.1.3.2.1 Call Routing and Authorization 95 J.
27、1.3.2.2 Usage reports.97 J.2 Prepaid calling card and roaming user support 100 J.2.1 Call routing and authorization101 J.2.2 Reauthorization 102 Annex K (informative): OSP token format for SIP headers 106 K.0 Design alternatives .106 K.1 Header field definition106 K.2 Protocol semantics106 K.2.1 Use
28、r agents .107 K.2.2 Proxies107 K.2.3 Example message .107 K.2.4 IANA considerations107 K.2.5 ISOC copyright notice for annex K108 Annex L (informative): Bibliography .109 History 110 ETSI ETSI TS 101 321 V4.1.1 (2003-11) 7 Intellectual Property Rights IPRs essential or potentially essential to the p
29、resent document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
30、 respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as t
31、o the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI Project Telecommunications and Internet Protocol Harmon
32、ization Over Networks (TIPHON). ETSI ETSI TS 101 321 V4.1.1 (2003-11) 8 1 Scope The present document shall be called the Open Settlement Protocol (OSP). The present document specifies a set of protocols and associated profiles to permit the exchange of inter-domain pricing, authorization, and settle
33、ment information between internet telephony operators. The protocols specified fulfil the essential requirements of such services, by providing appropriate functionality between multiple administrative domains in a secure manner. The specification also provides for non-standard extensions that permi
34、t co-operating parties to augment or replace the basic functionality. 2 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. References are either specific (identified by date of publication and/or edition number
35、or version number) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.etsi.org/Reference. 1 I
36、ETF RFC 1945 (1996): “Hypertext Transfer Protocol - HTTP/1.0.“, Berners Lee, T., R. Fielding, and H. Frystyk. 2 W3C: “Extensible Markup Language (XML) 1.0“, Bray, Tim, Jean Paoli, and C. M. Sperberg-McQueen,10 February 1998, http:/www.w3.org/TR/REC-xml. 3 IETF RFC 2068 (1997): “Hypertext Transfer Pr
37、otocol - HTTP/1.1“, Fielding R., J. Gettys, J. Mogul, H. Frystyk, and T. Berners-Lee. 4 IETF RFC 2045 (1996): “Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies“, Freed, N. and N. Borenstein. 5 Freier, Alan O., Philip Karlton, and Paul C. Kocher: “The SSL Proto
38、col Version 3.0, http:/ Netscape Communications Corporation: March 1996. As amended by SSL 3.0 Errata of August 26, 1996 http:/ 6 ISO 4217 (1995): “Codes for the representation of currencies and funds“. 7 ISO 8601 (1988): “Data elements and interchange formats - Information interchange - Representat
39、ion of dates and times“. 8 ITU-T Recommendation H.225.0 (1998): “Call signalling protocols and media stream packetization for packet-based multimedia communication systems“. 9 ITU-T Recommendation H.245 (1998): “Control protocol for multimedia communication“. 10 ITU-T Recommendation X.691 (1995): “I
40、nformation technology - ASN.1 encoding rules - Specification of Packed Encoding Rules (PER)“. 11 ITU-T Recommendation E.164 (1997): “The international public telecommunication numbering plan“. 12 ITU-T Recommendation H.323 (1998): “Packet-based multimedia communications systems“. 13 ITU-T Recommenda
41、tion H.235 (1998): “Security and encryption for H-Series (H.323 and other H.245-based) multimedia terminals“. ETSI ETSI TS 101 321 V4.1.1 (2003-11) 9 14 U.S. Department of Commerce NIST FIPS PUB 46-2 (January 1988): “Data Encryption Standard“. 15 U.S. Department of Commerce NIST FIPS PUB 186 (18 May
42、 1994): “Digital Signature Standard (DSS)“ . 16 U.S. Department of Commerce NIST FIPS PUB 180-1 (31 May 1994): “Secure Hash Standard“. 17 IETF RFC 2311 (1998): “S/MIME Version 2 Message Specification“,S. Dusse, P. Hoffman, B. Ramsdell, L. Lundblade, and L. Repka. 18 IETF RFC 2268 (1998): “Descriptio
43、n of the RC2 Encryption Algorithm“,R. Rivest. 19 IETF RFC 1321 (1992): “The MD5 Message-Digest Algorithm“, R. Rivest. 20 RSA Laboratories. PKCS #1: “RSA Encryption Standard. Version 1.5“, November 1993. 21 RSA Laboratories. PKCS #7: “Cryptographic Message Syntax Standard“, Version 1.5, November 1993
44、. 22 The Unicode Consortium: “The Unicode Standard“, Version 2.0. 23 IETF RFC 2246: “The TLS Protocol Version 1.0“, Dierks, Tim and Christopher Allen. 24 IETF RFC 2802: “Digital Signatures for the v1.0 Internet Open Trading Protocol (IOTP)“. 25 ISO/IEC 9646-7 (1995): “Information technology - Open S
45、ystems Interconnection - Conformance testing methodology and framework - Part 7: Implementation Conformance Statements“. 26 ISO/IEC 10646 (1993): “Information technology - Universal Multiple-Octet Coded Character Set (UCS)“. 27 IETF RFC 2630 (1999): “Cryptographic Message Syntax“, Housley, R. 28 WAP
46、-154: “Binary XML Content Format Specification“. 29 ISO/IEC 7812-1: “Identification cards -Identification of issuers - Part 1: Numbering system“. 30 ETSI TS 101 329-2: “ Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON) Release 3; End-to-end Quality of Service in TIPHON s
47、ystems; Part 2: Definition of speech Quality of Service (QoS) classes“. 31 IETF RFC 2327 (April 1998): “SDP: Session Description Protocol“, M. Handley and V. Jacobson. 32 IETF RFC 3261 (June 2002): “SIP: Session Initiation Protocol“, J. Rosenberg, et al. 33 RFC 3427 (December 2002): “Change Process
48、for the Session Initiation Protocol (SIP)“, A. Mankin, et al. 34 ETSI TS 101 336 (V1.1.1): “Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON); Protocol Implementation Conformance Statement (PICS) proforma specification for Open Settlement Protocol (OSP)“. ETSI ETSI TS 101
49、 321 V4.1.1 (2003-11) 103 Abbreviations For the purposes of the present document, the following abbreviations apply: ARQ Admission ReQuest CMS Cryptographic Message Syntax DCF Disengage ConFirm DRQ Disengage ReQuest DES Data Encryption Standard DSA Digital Signature Algorithm DTD Document Type Definition FIPS PUBS Federal Information Processing Standards Publications HTML HyperText Markup Language HTTP Hypertext
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1