Professional Documents
Culture Documents
DCC
Reference(Multimedia
Charging Process)
Issue
01
Date
2013-03-05
Interface
Message
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Contents
Contents
1 Multimedia Message Charging Process...........................................1
1.1 Interaction Process.............................................................................................................................................1
1.2 Parameter Description........................................................................................................................................2
1.2.1 Parameters Description of First CCR{Event}..........................................................................................3
1.2.2 Parameters Description of First CCA{Event}..........................................................................................4
1.2.3 Parameters Description of Second CCR{Event}.....................................................................................5
1.2.4 Parameters Description of Second CCA{Event}.....................................................................................6
1.3 AVP Description.................................................................................................................................................7
1.3.1 3GPP-MS-TimeZone AVP........................................................................................................................7
1.3.2 Event-Timestamp AVP.............................................................................................................................8
1.3.3 Auth-Application-Id AVP.........................................................................................................................8
1.3.4 Session-Id AVP.........................................................................................................................................9
1.3.5 Origin-Host AVP.......................................................................................................................................9
1.3.6 Result-Code AVP....................................................................................................................................10
1.3.7 Destination-Realm AVP..........................................................................................................................10
1.3.8 Destination-Host AVP.............................................................................................................................11
1.3.9 Origin-Realm AVP..................................................................................................................................11
1.3.10 CC-Request-Number AVP....................................................................................................................11
1.3.11 CC-Request-Type AVP.........................................................................................................................12
1.3.12 CC-Service-Specific-Units AVP...........................................................................................................12
1.3.13 Requested-Action AVP.........................................................................................................................13
1.3.14 Service-Identifier AVP..........................................................................................................................14
1.3.15 Subscription-Id AVP.............................................................................................................................14
1.3.16 Subscription-Id-Data AVP....................................................................................................................15
1.3.17 Used-Service-Unit AVP........................................................................................................................15
1.3.18 Subscription-Id-Type AVP....................................................................................................................16
1.3.19 Service-Context-Id AVP.......................................................................................................................17
1.3.20 Service-Information AVP.....................................................................................................................17
1.3.21 PS-Information AVP.............................................................................................................................18
1.3.22 MMS-Information AVP........................................................................................................................19
1.3.23 Originator-Address AVP.......................................................................................................................20
1.3.24 Address-Data AVP................................................................................................................................20
Issue 01 (2013-03-05)
ii
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Contents
Issue 01 (2013-03-05)
iii
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
2.
The CBP processes the charging request and sends a CCA{Event} message containing
the processing result to the MMSC.
3.
The MMSC returns the processing result to the subscriber. Then the normal process of
charging for the MMS service online through DCC is complete.
4.
If the MMSC fails to send the multimedia message, the multimedia message fee needs to
be refunded. Then the operations in the dotted black box in Figure 1-1 are performed, the
MMSC sends a CCR{Event} message to the CBP for refund.
5.
The CBP processes the refund request and sends a CCA{Event} message containing the
processing result to the MMSC. Then the process of charging for the MMS service
through DCC is complete.
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Data Type
Instance
AVP Name
<Session-Id>
263
UTF8String
host1.com;1876543210;5
23
{Origin-Host}
264
DiameterIdentity
host1.com
{Origin-Realm}
296
DiameterIdentity
www.xyz.com
[Destination-Host]
293
DiameterIdentity
OCSService.com
{Destination-Realm}
283
DiameterIdentity
www.huawei.com
{Auth-Application-Id}
258
Unsigned32
{Service-Context-Id}
461
UTF8String
32270@3gpp.org
{CC-Request-Type}
416
Enumerated
{CC-Request-Number}
415
Unsigned32
[Event-Timestamp]
55
Time
*[Subscription-Id]
443
Grouped
{Subscription-Id-Type}
450
Enumerated
{Subscription-Id-Data}
444
UTF8String
66890622255
[Service-Identifier]
439
Unsigned32
[Requested-Action]
436
Enumerated
[Service-Information]
873
Grouped
874
Grouped
[3GPP-MSTimeZone]
23
UTF8String
[MMS-Information]
877
Grouped
886
Grouped
899
Enumerated
1: MSISDN
[PS-Information]
[Originator-Address]
[Address-Type]
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP
Code
Data Type
Instance
897
UTF8String
1201
Grouped
[Address-Type]
899
Enumerated
1: MSISDN
[Address-Data]
897
UTF8String
[RN-Prefix]
30808
UTF8String
[Recipient_Type]
30809
Enumerated
1: MM3(e-mail)
[Priority]
1209
Enumerated
1: Normal
[Message-ID]
1210
UTF8String
123456
[Message-Type]
1211
Enumerated
1: m-send-req
[Message-Size]
1212
Unsigned32
[VASP-Id]
1101
UTF8String
[VAS-Id]
1102
UTF8String
[Service-Id]
20506
OctetString
[MO_msc_addr]
20404
UTF8String
[MT_msc_addr]
20405
UTF8String
[MSG-Seq]
20802
UTF8String
[Calling-CellID-OrSAI]
20303
UTF8String
[Called-CellID-OrSAI]
20306
UTF8String
AVP Name
[Address-Data]
[Recipient-Address]
Data Type
Instance
AVP Name
<Session-Id>
263
UTF8String
host1.com;1876543210
;523
{Result-Code}
268
Unsigned32
2001
{Origin-Host}
264
DiameterIdentity
host1.com
{Origin-Realm}
296
DiameterIdentity
www.xyz.com
{Auth-Application-Id}
258
Unsigned32
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP Name
AVP
Code
Data Type
Instance
{CC-Request-Type}
416
Enumerated
{CC-Request-Number}
415
Unsigned32
[Service-Information]
873
Grouped
877
Grouped
[MSG-Seq]
20802
UTF8String
[need-cnfm]
20606
Integer32
20300
Grouped
20355
Unsigned32
[MMS-Information]
[IN-Information]
[Subscriber-PayType]
Data Type
Instance
AVP Name
<Session-Id>
263
UTF8String
host1.com;1876543210;52
3
{Origin-Host}
264
DiameterIdentity
host1.com
{Origin-Realm}
296
DiameterIdentity
www.xyz.com
[Destination-Host]
293
DiameterIdentity
OCSService.com
{Destination-Realm}
283
DiameterIdentity
www.huawei.com
{Auth-Application-Id}
258
Unsigned32
{Service-Context-Id}
461
UTF8String
32270@3gpp.org
{CC-Request-Type}
416
Enumerated
{CC-Request-Number}
415
Unsigned32
[Event-Timestamp]
55
Time
*[Subscription-Id]
443
Grouped
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP
Code
Data Type
Instance
{Subscription-Id-Type}
450
Enumerated
{Subscription-Id-Data}
444
UTF8String
66890622255
[Service-Identifier]
439
Unsigned32
*[Used-Service-Unit]
446
Grouped
417
Unsigned64
[Requested-Action]
436
Enumerated
[Service-Information]
873
Grouped
877
Grouped
886
Grouped
[Address-Type]
899
Enumerated
1: MSISDN
[Address-Data]
897
UTF8String
1201
Grouped
[Address-Type]
899
Enumerated
1: MSISDN
[Address-Data]
897
UTF8String
[Message-ID]
1210
UTF8String
123456
[MSG-Seq]
20802
UTF8String
[MSG-Send-Result]
20803
Enumerated
AVP Name
[CC-Service-SpecificUnits]
[MMS-Information]
[Originator-Address]
[Recipient-Address]
AVP
Code
Data Type
Instance
<Session-Id>
263
UTF8String
host1.com;1876543210;52
3
{Result-Code}
268
Unsigned32
2001
{Origin-Host}
264
DiameterIdentity
host1.com
{Origin-Realm}
296
DiameterIdentity
www.xyz.com
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP Name
AVP
Code
Data Type
Instance
{Auth-Application-Id}
258
Unsigned32
{CC-Request-Type}
416
Enumerated
{CC-Request-Number}
415
Unsigned32
[Service-Information]
873
Grouped
877
Grouped
[MSG-Seq]
20802
UTF8String
[need-cnfm]
20606
Integer32
20300
Grouped
20355
Unsigned32
[MMS-Information]
[IN-Information]
[Subscriber-PayType]
3GPP-MS-TimeZone
AVP Code
23
AVP Data
Type
UTF8String
Description
Indicate the offset between universal time and local time in steps of
15 minutes of where the MS currently resides.
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Event-Timestamp
AVP Code
55
Time
Description
Auth-Application-Id
AVP Code
258
Unsigned32
Description
1: Indicates NASREQ
2: Indicates Mobile-IP
The IP address used for the mobile phone to connect to the
internet.
NOTE
DCCA: Diameter Credit Control Application
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Session-Id
AVP Code
263
UTF8String
Length Range: [0,127)
Description
Origin-Host
AVP Code
264
DiameterIdentity
Description
Issue 01 (2013-03-05)
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Result-Code
AVP Code
268
Unsigned32
Description
1xxx: informational
2xxx: success
An error type that cannot be identified, that is, the first digit of an
error type is not in the preceding definition, is regarded as a
permanent failure.
Destination-Realm
AVP Code
283
DiameterIdentity
Description
Issue 01 (2013-03-05)
10
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Destination-Host
AVP Code
293
DiameterIdentity
Description
Origin-Realm
AVP Code
296
DiameterIdentity
Description
Indicates the home realm of the device that initiates DCC messages.
For example: www.xyz.com
CC-Request-Number
AVP Code
415
Unsigned32
Description
Issue 01 (2013-03-05)
11
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
CC-Request-Type
AVP Code
416
Enumerated
Description
Indicates the reason for sending a CCR message. This AVP must be
contained in the CCR message.
The CC-Request-Type AVP contains the following values:
1: INITIAL_REQUEST
Indicates that the initial CCR is used to initiate a credit control
session. The session contains the credit control information
about initiating a session.
2: UPDATE_REQUEST
Indicates that the update CCR contains the credit control
information about the sessions of which credit control is set up.
When the re-authorization needs to be initiated, an update CCR
needs to be initiated.
3: TERMINATION_REQUEST
Indicates to interrupt a credit control session by terminating a
credit request.
4: EVENT_REQUEST
Indicates to use EVENT_REQUEST when the session status
need not be maintained by the DCC server. This request contains
all the information about the concerned service. In addition, this
request is the unique request of this service. When CC-RequestType of a CCR message is set to EVENT_REQUEST,
Requested-Action must be contained in the CCR message.
CC-Service-Specific-Units
AVP Code
417
Unsigned64
Description
Issue 01 (2013-03-05)
12
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Requested-Action
AVP Code
436
Enumerated
Description
0: DIRECT_DEBITING
Indicates to deduct the fee directly. To deduct the fee directly is
to deduct the mapping service units from the subscriber account
based on the information about the Requested-Service-Unit
AVP. The Granted-Service-Unit AVP in the CCA contains the
service units that need to be deducted. The service-related AVPs
can contain additional rating information.
1: REFUND_ACCOUNT
Indicates to refund. To refund is to add the mapping service units
to the subscriber account based on the information about the
Requested-Service-Unit AVP. The Granted-Service-Unit AVP
in the CCA contains the service units that need to be added. The
service-related AVPs can contain additional rating information.
2: CHECK_BALANCE
Indicates to check the balance. In this case, check only the
balance of the subscriber account. Do not perform any
operations about account credit reservation. In a CCA command,
the result of balance check is returned through the BalanceResult AVP.
3: PRICE_ENQUIRY
Indicates to query for the price. In this case, neither check the
account balance nor reserve the fee in an account. Instead, return
the price of the requested service through the Cost-Information
AVP in the CCA.
Issue 01 (2013-03-05)
13
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Service-Identifier
AVP Code
439
Unsigned32
Description
1: MO(P2A)
2: MT(A2P)
4: MMS(MT)
151: fullTrackOnlinePlay
152: fullTrackDownload
153: colorRing
154: ringToneDownload
155: download
156: OnlinePlay
Subscription-Id
AVP Code
443
Grouped
Description
Indicates the information used to identify the end user of the service
subscription party.
The Subscription-Id AVP is an AVP group. The detailed ABNF
syntax is as follows:
*Subscription-Id ::= <AVP Header: 443>
{Subscription-Id-Type}
{Subscription-Id-Data}
The Diameter proxy or agent must route based on this field. In the
case of more than one Subscription-Id, the system handles only the
first Subscription-Id.
Issue 01 (2013-03-05)
14
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Subscription-Id-Data
AVP Code
444
UTF8String
Length Range: [0,64)
Description
CC + MSISDN
MSISDN
Used-Service-Unit
AVP Code
446
Grouped
Description
Issue 01 (2013-03-05)
15
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Subscription-Id-Type
AVP Code
450
Enumerated
Description
0: END_USER_E164
Indicates that the terminal identity is of the international E.164
format defined according to the ITU-T E.164 number scheme.
1: END_USER_IMSI
Indicates that the terminal ID is of the international IMSI format
defined according to the ITU-T E.212 number scheme.
2: END_USER_SIP_URI
Indicates that the terminal ID is the value defined by the SIP
URI AVP.
3: END_USER_NAI
Indicates that the terminal ID is a network access ID.
4: END_USER_PRIVATE
Indicates that the terminal ID is a private ID of a DCC server.
NOTE
IMSI: International Mobile Subscriber Identity
Issue 01 (2013-03-05)
16
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Service-Context-Id
AVP Code
461
UTF8String
Length Range: [0, 63)
Description
Service-Information
AVP Code
873
Grouped
Description
Issue 01 (2013-03-05)
17
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
PS-Information
AVP Code
874
Grouped
Description
Issue 01 (2013-03-05)
18
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
MMS-Information
AVP Code
877
Grouped
Description
Issue 01 (2013-03-05)
19
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Originator-Address
AVP Code
886
Grouped
Description
NOTE
In the MMS MO flow, this AVP is set to the subscription ID.
Address-Data
AVP Code
897
UTF8String
Length Range: [0,256)
Description
Address-Type
AVP Code
899
Enumerated
Description
Issue 01 (2013-03-05)
0: E-mail address
1: MSISDN
2: IPv4 Address
3: IPv6 Address
4: Numeric Shortcode
5: Alphanumeric Shortcode
6: Other
20
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
VASP-Id
AVP Code
1101
UTF8String
Length Range: [0,21)
Description
VAS-Id
AVP Code
1102
UTF8String
Length Range: [0,21)
Description
Recipient-Address
AVP Code
1201
Grouped
Description
NOTE
In the MMS MT flow, this AVP is set to the subscription ID.
Issue 01 (2013-03-05)
21
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Priority
AVP Code
1209
AVP Data
Type
Enumerated
Description
0: Low
1: Normal
2: High
Message-ID
AVP Code
1210
UTF8String
Length Range: [0,264)
Description
Issue 01 (2013-03-05)
22
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Issue 01 (2013-03-05)
23
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP Name
Message-Type
AVP Code
1211
Enumerated
Description
1: m-send-req
2: m-send-conf
3: m-notification-ind
4: m-notifyresp-ind
5: m-retrieve-conf
6: m-acknowledge-ind
7: m-delivery-ind
8: m-read-rec-ind
9: m-read-orig-ind
10: m-forward-req
11: m-forward-conf
12: m-mbox-store-conf
13: m-mbox-view-conf
14: m-mbox-upload-conf
15: m-mbox-delete-conf
101: MOAT
102: AOMT
Indicates the message that is sent from the application server of
a carrier or SP to a mobile terminal.
103: P2PMO
Indicates the point-to-point multimedia message in the calling
flow.
104: MOET
Indicates the message that is sent from a mobile terminal to an
email address.
105: EOMT
Indicates the message that is sent from an email address to a
mobile terminal.
106: DlvRpt
Indicates the report that is sent from the MMS or SMS center to
the mobile-terminal sender.
107: RdRpt
Indicates the report that is forwarded from the MMS or SMS
center to the mobile-terminal sender after the mobile-terminal
receiver reads a message and sends a report to the MMS or SMS
center.
Issue 01 (2013-03-05)
108: Reply
24
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
109: P2PMT
Indicates the point-to-point multimedia message in the called
flow.
110~: Reserved
Message-Size
AVP Code
1212
Unsigned32
Description
MO_msc_addr
AVP Code
20404
UTF8String
Length Range: [0,32)
Description
MT_msc_addr
AVP Code
20405
UTF8String
Length Range: [0,32)
Description
Issue 01 (2013-03-05)
25
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Service-Id
AVP Code
20506
OctetString
Length Range: [0,32)
Description
need-cnfm
AVP Code
20606
AVP Data
Type
Integer32
Description
MSG-Seq
AVP Code
20802
UTF8String
Length Range: [0,32)
Description
Issue 01 (2013-03-05)
26
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
MSG-Send-Result
AVP Code
20803
Enumerated
Description
RN-Prefix
AVP Code
30808
UTF8String
Length Range: [0,256)
Description
Recipient_Type
AVP Code
30809
Enumerated
Description
Issue 01 (2013-03-05)
0: MM1 (mobile)
1: MM3 (e-mail)
27
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
CC-Money
AVP Code
413
Grouped
Description
Exponent
AVP Code
429
Integer32
Description
Issue 01 (2013-03-05)
28
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Unit-Value
AVP Code
445
Grouped
Description
Unit-Value = 2.3
Value-Digits = 23
Exponent = -1
Value-Digits
AVP Code
447
AVP Data
Type
Integer64
Description
Issue 01 (2013-03-05)
29
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Calling-CellID-Or-SAI
AVP Code
20303
UTF8String
Length Range: [0,32)
Description
Issue 01 (2013-03-05)
30
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Issue 01 (2013-03-05)
31
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
AVP Name
IN-Information
AVP Code
20300
Grouped
Description
Issue 01 (2013-03-05)
32
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Subscriber-Pay-Type
AVP Code
20355
AVP Data
Type
Unsigned32
Description
Issue 01 (2013-03-05)
33
OCS
DCC Interface Reference(Multimedia Message Charging
Process)
Called-CellID-Or-SAI
AVP Code
20306
UTF8String
Length Range: [0,32)
Description
Access-Network-Type
AVP Code
20804
Unsigned32
Description
100: PSTN
101: PBX
102: PHS
200: GSM
201: GPRS
202: EDGE
300: CDMA
400: WCDMA
500: TD-SCDMA
600: IP/IMS
601: WIFI
602: WIMAX
Issue 01 (2013-03-05)
34