Diameter Charging Enabling
Diameter Charging Enabling
Patricia Krenz
Mch/M
05th November 2009
• IP Charging - Overview
• IP Use Cases
– at Corba-Interface: event charging (mainly pre-rated)
– at Diameter-Interface: charging of session and events
▪ Events like MMS and SMS
▪ Sessions based on PDP context or dedicated service sessions
– IP service configuration
▪ IT-configuration (Web-TPD)
▪ Service configuration (SMAF)
– Rating parameter configuration (TariffTool)
• IP service ticketing
– Corba-service based tickets
– Diameter-service based tickets
For internal use
2 © Nokia Siemens Networks Presentation / Author / Date
Before we start…
There will be
much information
presented (even
in one slide) but
don´t worry it´s
just for providing
you an overall
look of the IP-
Charging World…
• IP Charging - Overview
– Session and Event charging
– Network embedding
– NSN Charging approach
– Diameter based IP data online charging
On-Net Services
MNO/Partner
Services
Off-net Services
(Premium)
(Premium)
Messages
Download
Internet
Content
Use Cases Model
IP Event IP sessions
Online IF proprietary)
(propr.)
Ro Diameter
(3GPP, VF-propr.,
Radius
NSN-FISN-based)
GTP´
(GPRS Tunnel
Protocol)
Note: GTP´ will be not released anymore from c@o select v1.6
For internal use onwards
7 © Nokia Siemens Networks Presentation / Author / Date
IP-Charging – Overview
Network-Embedding - charge@once select IP-environment
Management Service/User
SMAP Application Management
GUI
Corba Corba, http http
FTAM, (S)FTP
User
Repository LDAP @Commander
SNMP, Corba,
charge@once select FTP, UDP
proprietary B&R
AAA Networker IF
Server Radius
Online IF
Ro/
GTP´ Diameter Ro/ Payment
Diameter PlugIn
Voucher eGGSN
Manageme Packet Appl. Server as
Inspector (IPS, Flexi ISN), MMSC, e.g. SMSC,
nt System PoC Server SMSC
(VoMS) (CSG) MMSC
IP IP
Session Event
For internal use
8 © Nokia Siemens Networks Presentation / Author / Date
IP-Interfaces
• Application Server:
• 3GPP standardized:
Support of Ro/Diameter based event charging via Multimedia Messaging
Service Center (MMSC) or Short Message Service Center (SMSC)
• Proprietary:
- Support of event charging based on the Payment PlugIn for application
servers as e.g. Short Message Service Center (SMSC), Multimedia
Messaging Service Center (MMSC)
- Support of VoMS-based recharging via Online-Interface
• IP Traffic Analyzer:
• Support of Ro/Diameter based session and event charging via a packet
inspector as enhanced Gateway GPRS Support Node (eGGSN)
• Support of GTP' based session and event charging via a packet inspector as
Content Services Gateway (CSG)
Application Layer
• Single point of charging
Application specific charging (e.g. for each service
mobile TV, Games, PoC…)
Applic. Content-based • Suppress charging in
Server 3rd party
other network elements:
by APN, IP addresses,
IMS Session Layer
static or dynamic
Charging for IMS-controlled sessions charging rules
(e.g. rich voice call)
Time-based IMS session or event • Example: Charging at
CSCF QoS based for media components
PoC-Server instead of
bearer charging and
Transport Layer IMS session charging
Charging of data traffic at access
network (e.g. Internet access)
Volume- or time-based or a
eGGSN combination of it
PoC: Push-to-Talk Over Cellular
Service
OCS OAM
Administration
Diameter Diameter
Flow-Based Charging (FBC) acc. TS 32.251 (V6.3.0) (aka as 3GPP DCCA PS), session charging
IMS Charging acc. TS 32.260 (V6.5.0), event/session charging
MMS Charging acc. TS 32.270 (V6.6.0), event charging
PoC Charging acc. TS 32.272 (V6.3.0). event & session charging
SMS Charging acc. TS 32.274 (V8.0.1), event charging (support from c@o select v1.6 onwards)
based on:
IETF Diameter Credit Control Application (DCCA) (RFC 4006)
Diameter charging applications acc. TS 32.299 (V6.6.0)
For internal use
12 © Nokia Siemens Networks Presentation / Author / Date
3GPP Online Charging architecture (TS 32.240)
charge@once as OCS
3GPP network
consists of
CN OCS OCF, ABMF and RF
Domain Rc and Re are not
Rc ABMF relevant
C O CAP is not relevant
Service
T Ro
element C
CAP
F F
Sub-
RF
system Re
Available
since
IMS MMS SMS PoC PS/
VF CLCI c@o V1.1
FBC (V7.6.1)
(E2005)
[GPRS Available
TS TS TS TS TS
session since
32. 260 32.270 32.274 32.272 32.251 c@o V1.2
charging –
(V7.6.2)
IPS2.0
Available
3GPP Diameter extension (TS 32.299) Inter- since
working] c@o V1.6
[3GPP specific mapping of IETF AVPs; new optional AVPs
including the grouped Service-Information AVP;
adapted message flows]
Credit-Control-Request/- CCR/CCA CCR is only sent by CTF; is sent to inquire quota 272
Answer CCA is sent by the OCS
• IP Charging - Overview
• IP Use Cases
– at Corba-Interface: event charging (mainly pre-rated)
– at Diameter-Interface: charging of session and events
▪ Sessions based on PDP context or dedicated service sessions
▪ Events like MMS and SMS
• IP service configuration
– IT-configuration (Web-TPD)
– Service configuration (SMAF)
• IP service ticketing
– Corba-service based tickets
– Diameter-service based tickets
Use Cases
Name Operation
Immediate Charging chargeAmount
Payment in Parts/deferred payment authorizeAmount / captureAmount
Transfer transferAmount
Advice of Charge adviceOfCharge
Refund refundTA
Recharge rechargeAmount
The 3GPP TS 32.251 for FBC V6.3.0 defines for FBC charging the following Use
Case:
Session Charging with Unit Reservation (SCUR).
This is used for
Charging Data related to PDP contexts;
Charging Data related to service data flows.
= QCT
Time envelope
Teardown:
Under certain conditions an operator may want to terminate a running PDP context.
User Interaction:
An SMS may be sent when a balance falls below some threshold or a specific category
is used or some other condition is met.
Additional AVPs:
The operator may desire to send additional AVPs, which are provided for in the
standards (or not), which can be added to the response object. Typical examples are
QHT and QCT.
Redirection:
Redirection is supported by setting the Result-Code on category level and adding
certain AVPs. The client has to take the appropriate action (e.g. Advice-of-charge).
Flexi ISN.
The following slides describe the different use cases provided at the
Diameter Interface according to the standards referenced in the slides
above.
User-Session:
A CCR Initial begins and a CCR Termination ends a User-Session.
Ambiguous request/response parameters pertaining to the user-session are called Command-level.
c@o QS internally: A User-Session has its own CAF-context.
Service-Session:
A Service-Session corresponds to a sub-dialog within a User-Session.
It is initiated the first time with an MSCC for a dedicated Category-Id (Rating-Group) and ends when
an MSCC is received with a termination reason (e.g. Reporting-Reason FINAL or QHT)
Ambiguous request/response parameters pertaining to the service-session are called Category-
level.
c@o QS internally: A Service-Session has its own CAF-context.
Note:
Be aware that usage of MSCCs does not necessarily imply usage of service-sessions;
the POC application for instance does not use service-sessions.
charge@once
HLR
AAA Server
Authorization of Online
Customer,
Gr
2. Subscription data
4. CCR(I) 5. CCA(I) Quota Handling (session)
6./8. CCR(U) 7./9. CCA(U)
3. Authorization Radius 10. CCR(F) 11. CCA(F)
of GPRS Session
Diameter / Ro
1. Create PDP
Context Request
6. Authentication Req.
7. Authentication Resp.
may contain the Charging Profile (*) it is configurable in ISN which Charging Profile to be used
IBC
3. Credit Control Answer (RC=Success, Validity Time)
this AVP is empty and it is used to let the 7. Rating & Quota
Configurable option: server know that quota is needed; will be Reservation
ignored by c@o
- Using a default quota to grant
the service after receiving the 8. Credit Control Answer (MSCC (RG1, GSU (Octets), Validity
Time, QHT))
message 5
10. Service Request (RG2) 11. Credit Control Request (Update Request, Session 1, User
ID, MSCC (RG2, RSU ( )))
21. Credit Control Request (Update Request, Session 1, User ID, MSCC
(*) Flexi-ISN needs to perform (RG2, USU (time/volume), RSU ( )))
an interim report for RG2
33. “PDP Context Deactivation Request” 34. CCR (Termination Request, Session1, User ID,
MSCC (RG1, USU (Time/Volume)),
MSCC (RG2, USU (Time/Volume)))
Reporting-Reason is expected
Either inside USU or outside USU expected
For internal use
47 © Nokia Siemens Networks Presentation / Author / Date
FBC online charging – rating criteria
• IP Charging – Introduction
• Session Charging based on TS 32.251
• Event Charging based on
– TS 32.260 - IMS Charging
– TS 32.270 - MMS Charging
– TS 32.272 - PoC Charging
– TS 32.274 - SMS Charging (new with c@o select v1.5)
Online charging
PoC IM
Diameter
SIP applications IMS standardized platform for
SIP-based services in
CSCF MRCF wireless and fixed networks
IMS
Mobile Fixed
GSM, UMTS, WLAN xDSL, WLAN
CSCF Call Session Control Function
MRCF Media Resource Control Function
S-CSCF charge@once
Use Case:
IMS-Registration
The duration of the SIP
session can be controlled by
CCR initial
a dedicated rating group.
Session setup begin
(SIP INVITE)
CCA initial
Granting and consumption of
Session established
Time Quota will be performed
(SIP 200 OK to INVITE) Budgeting by using the CC-Time AVP.
CCR update
CCA update
IMS-Session established
Use Case:
IMS-Session established
Session end
(SIP BYE) CCR terminate
CCA terminate
IMS-Session is released
S-CSCF charge@once
IMS-Session established
Budgeting
Session end
(SIP BYE)
CCR terminate
CCA terminate
IMS-Session is released
Reservation Control
The granting and consumption
CCA inital
Service delivery
(GSU = 1) of Quota (Service specific
(SIP Message) CCR terminate
(USU = 1)
units) is handled in this
Rating Control scenario.
Service execution Account Control
If the control of payload is
(SIP 200 OK) CCA terminate
required, then the OCS will
grant Quota for the specific
IMS-Session is released
Rating Group within the CCAi.
The CC-Service-Specific-Units
AVP (within MSCC / Granted-
Service-Units) is used for this
purpose.
For internal use
56 © Nokia Siemens Networks Presentation / Author / Date
Use Cases
at Diameter-Interface: charging of session and events
• IP Charging – Introduction
• Session Charging based on TS 32.251
• Event Charging based on
– TS 32.260 - IMS Charging
– TS 32.270 - MMS Charging
– TS 32.272 - PoC Charging
– TS 32.274 - SMS Charging (new with c@o select v1.5)
c@o
charge
Amount
charge
Amount
HLR
Conf
refund refund
Conf
PayPlugIn
SGSN MSC/VLR
MSC/VLR SGSN MMS MMSC MMS
d ed in ff c@o
u .2
Incl lect 1
o se Credit Credit
c@ Control
Request
Control
Answer
HLR
Diam Client
c@o
d ed in ff
u .2
Incl lect 1
o se Reserve Reserve
c@ Unit Unit
HLR
Request Response
Debit Debit
Unit Unit
Request Response
B-Party (PPS)
Restriction:
for 1): Bonus handling based on multiple recipients is not possible.
for 2): if subscribers account balance is not sufficient to charge for all recipient,
then request will be denied.
The following rating criteria resp. steps are applied for MMS charging in charge@once
select:
1. Message-Type:
in order to distinguish between mobile-originating and mobile-terminating MMS
handling.
2. MMS recipients’ roaming zones:
The roaming zone is decoded from
Recipient-Address.Address-Domain.3GPP-IMSI-MCC-MNC.
Note: originator (sender) roaming zone is not considered !
3. MMS size:
This size is quantified into equal-size blocks, e.g. 0-10, 10-20, 20-30, >30. The
number of such blocks (e.g. num_blocks = 3) and the quantified size (e.g. qsize =
10) are configurable.
4. Resulting Price:
The pair (roaming zone, block) is mapped onto a price via a table, which may be
administrated with the Tariff-tool.
In case no entry is found, a default price is chosen.
The following AVPs are mandatory for rating of an MMS event (sent within CCR):
AVPs Description
Service-Context-Id Used to identify the service: here MMS
RSU:
CC-Service-Specific-Units Always “1”
Service Information Contains a request for quota in CCR init,
in CCR Term/Event this is the delivery report
PS-Info:
3GPP-User-Location-Info relevant for rating
MMS-Info:
Message-Size relevant for rating
Message-Type relevant for rating
Submission-Time Tickets only
Recipient-Address may be present multiple times, but at least once
3GPP-IMSI-MCC-MNC Relevant for rating
1. MM1_submit_REQ
2.CCRe(RSU = SSU 1)
3. CCAe(GSU=SSU 1,
Result =success)
4. MM1_submit.RES
1.MMS Transfer
2a.MM1_notify.REQ
2b. MM1_notify.RES
3. MM1_retrieve_REQ
4.CCRi(RSU = SSU 1)
5.CCAi(GSU=SSU 1,
Result =success)
6. MM1_retrieve.RES
7. MM1_retrieve_ACK
8.CCRt(RSU = SSU 1)
9.CCAt(GSU=SSU 1,
Result =success)
• IP Charging – Introduction
• Session Charging based on TS 32.251
• Event Charging based on
– TS 32.260 - IMS Charging
– TS 32.270 - MMS Charging
– TS 32.272 - PoC Charging
– TS 32.274 - SMS Charging (new with c@o select v1.5)
The 3GPP TS 32.272 for PoC V6.6.0 defines for PoC charging
Session Charging with Unit Reservation (SCUR).
Examples:
Charging of Talk bursts (sent or received)
Charging of PoC session participation
AVPs Description
Service-Context-Id Used to identify the service: here PoC
Service-Identifier e.g.:
11 - Talk burst sending with 2 active participants
12 - Talk burst sending with >2 active participants
20 - Talk burst receiving
30 - Instant Personal Alert (IPA)
As result the PoC server gets the G-S-U-Pool-Identifier with info about the type of units to be
considered (CC-Unit-Type: “4” = service-specific-units ) and the value of it for each rating-
group.
For internal use
71 © Nokia Siemens Networks Presentation / Author / Date
PoC Quota Service
PoC 3GPP (TS 32.272) message flow (SCUR): Session Participation
Controlling Particip.
UE-1 S-CSCF 1 PoC Server c@o S-CSCF 2 PoC Server UE-2
SIP based IMS Registration
Start PoC Session Charging
S1
SIP INVITE for User 1 and User 2
SIP INVITE
CCR (initial, UE-1,(Service-Id=Session)(Service-Id=TalkBurst))
S1
CCA (UE-1,(Service-Id=Session,GSU=10min),(Service-Id=TalkBurst,GSU=5MB))
CCR (initial, UE-2,(Service-Id=Session)(Service-Id=TalkBurst))
CCA (UE-2,(Service-Id=Session,GSU=5min),(Service-Id=TalkBurst,GSU=3MB))
SIP INVITE
SIP INVITE SIP INVITE
SIP INVITE
200 OK
200 OK
200 OK
200 OK
Start Budget Control
for UE-1 and UE-2
200 OK 200 OK
ACK
ACK
ACK ACK
ACK
ACK
PoC Session Successfully Established / Talk Bursts can be exchanged
For internal use
72 © Nokia Siemens Networks Presentation / Author / Date
PoC Quota Service
PoC 3GPP (TS 32.272) message flow (SCUR): Talk Burst Exchange
Controlling Particip.
UE-1 S-CSCF 1 PoC Server c@o S-CSCF 2 PoC Server UE-2
PoC Session Successfully Established / Talk Burst exchange
CCA (UE-1,Service-Id=TalkBurst,GSU=5MB)
Legend:
Budget Control
New units are received SIP Signalling
• IP Charging – Introduction
• Session Charging based on TS 32.251
• Event Charging based on
– TS 32.260 - IMS Charging
– TS 32.270 - MMS Charging
– TS 32.272 - PoC Charging
– TS 32.274 - SMS Charging (new with c@o select v1.6; alternative
options)
Pre-rated Events:
• SMS MO via Payment Plug-In (esp. for roaming)
• SMS MT via Payment Plug-In (esp. for content charging)
Un-rated Events:
• SMS MO/MT via Diameter (TS 32.274)
• SMS MO/MT via Diameter based on VF Ro SMS V1.1.0 -
based on 3GPP MMS standard (TS 32.270)
(not considered in this slide-set)
For internal use
75 © Nokia Siemens Networks Presentation / Author / Date
SMS Charging
SMS MO / MT charging via Payment Plug-In (PPI)
c@o
refund refund
Conf
PayPlugIn
w ith c@o
d
rte t 1.6
p o
Sup selec
o Debit Debit
c@ Unit
Request
Unit
Response
(CCRe) (CCAe)
Debit Debit
Unit Unit
Request Response
(Refund (Refund
Account: Account:
CCRe*1) CCAe*1 )
*1
– Refund is supported by an IEC with AVP Requested_Action set to „Refund“. Additionally the Message-ID AVP shall be used for
correlation purpose.
For internal use
77 © Nokia Siemens Networks Presentation / Author / Date
SMS Charging
SMS MT charging via Diameter (3GPP 32.274 V8.0.1)
• Event Charging with Unit Reservation (ECUR) of SMS
• Refund dialogue implicitly - only in negative case
w ith c@o
d
rte t 1.6
po c
Sup o sele Reserve Reserve
c@ Unit
Request
Unit
Response
(CCRi) (CCAi)
Debit Debit
Unit Unit
Request Response
(Refund (Refund
Account:
HLR/
Account:
CCRt) CCAt) VLR
Diam Client Neg. confirmation
MSC/ SSP
HLR/ MSC/ SSP
SMS
SMSC SGSN
VLR SGSN SMS MT
Premium SMS
• IP Charging – Introduction
• Session Charging based on TS 32.251
• Event Charging based on
– TS 32.260 - IMS Charging
– TS 32.270 - MMS Charging
– TS 32.272 - PoC Charging
– TS 32.274 - SMS Charging (new with c@o select v1.5)
Restrictions:
No dedicated Event-request (AVP „CC-Request-Type“ (416)) but AVP CC-
Service-specific-Units (417) is used.
Support of interoperability with Flexi-ISN (>=V3.2) functionality to charge
simple events.
charge@once
HLR
AAA Server
Authorization of Online
Customer,
Gr
2. Subscription data
4. CCR(I) 5. CCA(I) Quota Handling (session)
6./8. CCR(U) 7./9. CCA(U)
3. Authorization Radius 10. CCR(F) 11. CCA(F)
of GPRS Session
Diameter / Ro
w ith c@o
o rted 1.6
p t
Sup o selec SGSN
c@
Reserve
Unit
Reserve
Unit VLR
Request Response
Server
MMS MT
A-Party (PPS)
General Hint:
Payment Corba requests can either be handled by the PaymentCore or by SLEE-
based application (SLEE = Service Logic Execution Environment).
PaymentCore is only needed if a transactional context storage for more than 24
hours is needed (in case of long-lasting transactions) and a separation of charging
and call&control platform is given (e.g. in case of charging@vantage and
IN@vantage platform). Note: normally not required by operators.
For IP-based charging tickets created by PaymentCore the following ticket types
can be used:
• 0x22/0x21 IP based charging tickets
• 0x24 payment and logging tickets.
The setting of TPD-parameter „UsePaymentTicketFormat“ is mandatory:
• True = 0x24 payment and logging tickets
• False = 0x22/0x21 IP based charging call and confirmation tickets
The Payment Transaction Administration (PTA) detects all transactions with the
states surely inconsistent or possibly inconsistent during charging operations and
indicates the failures or recovery results. These failures or recovery results are
written into a PTA files (tickets).
via Web-TPD
- Related to their IP-configuration (client/server):
- server/client IP address configuration
- interface security insurance (SSL, IPSec, MAC)
- Related to Corba-application specific IT-configuration
(like client traffic handling/load)
- Related to platform functionality like ticketing:
- Ticket type, dimensioning, ticket directory assignment
- Ticket suppression
via SMAF
- Service related configuration like session service based configuration of
thresholds, validity timer, service specific default quota portions, initialization
of special handlings like IBC (Initial balance check)
Additionally the dedicated traffic limits for each logical client can be configured using the
following config-parameters resp. tables:
ETC_ClientTraffic:
table which consists of all logical clients and their corresponding maximum allowed IP
traffic:
• logicalclientID
• Traffic_limit
• Extendedtrafficcontrol_status (on/off/block): on=traffic limit is active, off=traffic is not
limited, block=client is disabled temporarily
ETC_ClientIdentific:
Assignment of one or more physical client IDs to each logical client:
• physical_clientID: either the first 4 digits of the TransactionID for the Corba interface or
the IP
address for the GTP´/ Diameter interface
• logical_clientID: name of the client defined in the table ETC_ClientTraffic.
For payment Corba based tickets the GOB-relevance is configurable at the so-
called Decision Matrix.
For each completed and closed GoB ticket file an additional file with the GoB
ticket file's check sum is generated by the Ticket Manager in order to fulfill the
Journal-Function.
Logging Tickets written for administrative tasks or to log failures are generally
not GoB relevant.
For charge@once all written call- and payments tickets are basically of GoB
relevance and therefore not limited to mCommerce scenarios any more
If the productID is not present (e.g. transferAmount, rechargeAmount) the DEFAULT-DECISION entry (default productID
in the decision matrix) defines the values of “GoB” and “WritePrepaid”. These entries are Class D parameters and the
default setting is: GoB = “1”; WritePrepaid = “TRUE”
If the DEFAULT-DECISION entry is deleted “GoB” is internally set to “1” and “WritePrepaid” is set to “TRUE” for
transferAmount and rechargeAmount.
In order to suppress a PrepaidTicket for “transferAmount” or “rechargeAmount” the values for “GoB” and “WritePrepaid”
of the DEFAULT-DECISION entry have to be changed !
If one of the involved accounts of a “transferAmount” operation owns a postpaid consumer it is not possible to suppress
this ticket !
For internal use
93 © Nokia Siemens Networks Presentation / Author / Date
Ticketing – session based
Pre-condition:
• For each user one session context for session specific data is established.
• For each service activated by the user, one service context with service
specific data is established.
of
Category related: for each incoming CCR Initial Request (may
have more than one category)
request per category
CCR Initial (only with pre-emptive
quota), Write Call Ticket
per Category
CCR Update,
CCR Final.
CCR Initial Response (may
have more than one category)
Reference: A50020-A3294-K-1-76D6
Internet
Credit control
Credit control
Threshold 1 Threshold 2
(80%) (100%)
Redirect
ro
d
te
file
an
gr
is
PDP context has been activated S1
Gn
SGSN
Content Document-Identifier
Ticketing
IF-Description
Service Specification
Microsoft Excel
Worksheet