Documente Academic
Documente Profesional
Documente Cultură
7retpahC
+ Overview
+ Diameter Architecture
+ Diameter Network Deployment
+ Diameter Converged Network
+ Product Implementation: Protocol Compliance
+ Product Solution Implementation: Diameter Messages and Parameter Mapping
+ Sequence Diagrams
Revision 02 108
----------------------------------------------------------------
Overview
The Diameter protocol is a popular AAA (Authentication, Authorization and Accounting) protocol for
next-generation services in IP networks. The Diameter base protocol (RFC 3588) and Diameter
applications, which build on the basic standard to enable services such as IP mobility, SIP
authentication, and online charging, were developed by the IETF (Internet Engineering Task Force) to
overcome several limitations of the legacy RADIUS protocol. Diameter has better failover mechanisms,
better processor efficiency through alignment, and support for vendor-specific commands and
attributes than RADIUS.
Diameter has been selected by 3GPP (3rd Generation Partnership Project) as the standard for AAA
functions and SIP for session management and service control. 3GPP has added several extensions to
support AAA functions in the IMS (IP Multimedia Subsystem), which defines a set of reference points
between different IMS entities that can use Diameter to exchange subscription-, presence-, and billing-
related messages. Diameter provides a flexible, reliable, scalable AAA framework that addresses major
security concerns for next-generation networks and complements SIP and SS7 signaling protocols.
With Product 11.0, support for Diameter is limited to supporting access for and providing real-time
credit control and charging for data services, such as GPRS and SMS, in IP networks (Phase 1). The
Credit Control Application (CCA) utilizes mechanisms provided by Diameter to provide online and
offline charging support for event-based and session-based services, with and without credit
reservations.
Revision 02 109
----------------------------------------------------------------
Diameter Architecture
Diameter is defined in terms of a base protocol and a set of applications. This design allows the
protocol to be extended to new access technologies. The Diameter base protocol must be used in
conjunction with a Diameter application - for example, MIP (Mobile IPv4), NASREQ, or CCA as
shown in the following figure.
Revision 02 110
----------------------------------------------------------------
Revision 02 111
----------------------------------------------------------------
Glossary of Terms
Term Definition
Client A Diameter Client is a device at the edge of the network that performs access
control. Examples of Diameter Clients are Network Access Servers (NAS),
mobility agents (foreign agents), and credit control client applications.
Relay Agent A relay agent routes Diameter messages based on information found in the
messages. This routing decision is performed using a list of supported realms
and known peers. Relay agents are largely transparent. A relay agent can
modify Diameter messages only by inserting and/or removing routing
information, but cannot modify any other portion of a message.
Proxy Agent A proxy agent also routes Diameter messages. However, a proxy agent may
modify messages to implement policy decisions, such as controlling resource
usage, providing admission control, and provisioning.
Revision 02 112
----------------------------------------------------------------
Term Definition
Redirect Agent A redirect agent also provides a routing function, generally acting as a
centralized source of Realm/Server address mappings for members of a
roaming consortium. Unlike the other agents that relay requests, a redirect
agent returns a special type of answer message to the peer that sent the
request. This answer message contains routing information that allows the
peer to send the request again, directly to the correct destination server. The
redirect agent is then out of the routing path; a redirect agent does not relay
requests.
Translation Agent A translation agent translates between two protocols, such as RADIUS and
Diameter. In this case, the translation agent supports a RADIUS to Diameter
migration, allowing server conversions to Diameter, for example, while
permitting the NAS to be converted at a slower pace.
Revision 02 113
----------------------------------------------------------------
RFC 3588
Requirement Category: Mandatory
The application is compliant to the RFC 3588 IETF Diameter Base Protocol specifications. This
specification, being driven by the IETF AAA Working Group, is intended to provide an AAA
framework for applications dealing with network access, data charging, IP mobility, etc.
Features Supported
+ TCP/IP Transport Mechanism
+ Interactions with external Diameter Clients
+ Accounting Functionality for offline charging and accounting functionality
+ Accounting Request (ACR)
+ Accounting Answer (ACA)
+ Capabilities Exchange with Diameter Clients only
+ Capabilities Exchange Request (CER)
+ Capabilities Exchange Answer (CEA)
+ Disconnecting Peer Connections
+ Disconnect Peer Request (DPR)
+ Disconnect Peer Answer (DPA)
+ Transport Failure Detection
+ Device Watchdog Request (DWR)
+ Device Watchdog Answer (DWA)
+ Duplicate Detection (Vide T Flag support)
Features Not Supported
+ Interactions with Diameter Agents (Relay, Proxy, Redirect, Translation)
+ Authorization and Authentication Functionality
Revision 02 114
----------------------------------------------------------------
Features Supported
+ Credit Control Messages for online charging functionality
+ Credit Control Request (CCR)
+ Credit Control Answer (CCA)
+ Session-Based Credit Control
+ One-Time Event
Features Not Supported
+ Server Initiated Credit Reauthorization.
+ Failover procedures
+ Multiple Services (within a sub-session) Credit Control
+ Tariff Change Mechanism
Features Supported
+ Basic Online Charging Scenarios
+ Immediate Event Charging for online data services:
– Direct Debiting
– Balance Check
Revision 02 115
----------------------------------------------------------------
Revision 02 116
----------------------------------------------------------------
Successful Processing
The CER message is completely processed by the Diameter Interface Server EPA component. The
processing is not propagated to the Gateway and IPA components. On successful processing of the
CER message and validation of received and required AVPs:
+ TCER timer is stopped.
Revision 02 117
----------------------------------------------------------------
Revision 02 118
----------------------------------------------------------------
Successful Processing
The DWR message is completely processed by the Diameter Interface Server EPA component. The
processing is not propagated to the Gateway and IPA components. On successful processing of the
DWR message, the DWA message is sent to the Diameter peer.
Unsuccessful Processing
Unsuccessful processing may result from missing AVPs, unsupported values in AVPs, and unknown
hosts and / or realms. On unsuccessful processing of the DWR message:
+ DWA message (with appropriate error code) is sent to the Diameter peer.
+ DWA is not sent in case of bad state and unknown hosts / realms.
Revision 02 119
----------------------------------------------------------------
Successful Processing
The DPR message is completely processed by the Diameter Interface Server EPA component. The
presence of mandatory AVPs as well as appropriate values is validated. On successful processing of the
DPR message:
+ DPA message is sent to the Diameter peer.
+ Invocation is sent downstream to Gateway and IPA components to clean up internal resources and
resolve outstanding GCE reservations, if any.
Unsuccessful Processing
Unsuccessful processing may result from missing AVPs, unsupported values in AVPs, and unknown
hosts and / or realms. On unsuccessful processing of the DPR message:
Revision 02 120
----------------------------------------------------------------
+ DPA message (with appropriate error code) is sent to the Diameter peer.
+ Invocation is sent downstream to Gateway and IPA components to clean up internal resources and
resolve outstanding GCE reservations, if any.
Online Charging
The Diameter Interface Server application supports Credit Control Request (CCR) messages. The
system responds to received requests with the Credit Control Answer (CCA) message.
Revision 02 121
----------------------------------------------------------------
The table below encapsulates the parameter mapping between CCR and Rating Invoke messages:
Attribute-Value-Pair Used Description
(AVP)
Session ID Yes Used in Session Id parameter of Rating Invoke msg.
Origin-Host Yes This parameter provides the location information.
Origin-Realm Yes This parameter provides the network element id.
The network element id may also be configurable.
Destination-Realm Yes Used for validations only.
Auth-Application-Id No
Destination-Host No
Vendor-Specific- No
Application-Id
User-Name No
Acct-Multi-Session-Id No
Origin-State-Id No
Event-Timestamp Yes This parameter provides the Invoke time for the
service.
Proxy-Info No
Route-Record No
Termination-Cause No
AVP No
CC-Request-Type Yes This is the service determination parameter, i.e.
whether session based or event based.
CC-Request-Number Yes Used in transaction tables. Also used in generating
the transaction id values in rating invoke messages.
CC-Sub-Session-Id No
Subscription-Id Yes Provides the IMSI / MDN values.
Requested-Action Yes Used for service determination in event based
charging.
Requested-Service-Unit Yes Populated into Usage units parameter of rating
invoke message for Create Operations.
Used-Service-Unit Yes Populated into Usage units parameter of rating
invoke message for Resolve operations.
Service-Parameter-Info Yes Provides the service Id parameter in rating invoke
message.
CC-Correlation-Id No
Service-Identifier No
Multiple-Services- No
Credit-Control
User-Equipment-Info No
Service-Information No
Successful Processing
The CCR message is validated for all mandatory and required AVPs. On successful processing:
+ Rating Invoke message is constructed.
+ The Rating Invoke message is sent to the GCE Rater process.
+ Inbound Transaction table entry recorded for timeout and duplicate detection.
Revision 02 122
----------------------------------------------------------------
Unsuccessful Processing
Unsuccessful processing may result from missing AVPs, unsupported values in AVPs, etc. The
processing is similar in the case of timeouts by the Diameter Interface Server while waiting for a
response from the GCE rater process. On unsuccessful processing:
+ CCA message is sent to the Diameter peer with the appropriate error code.
+ Transaction table entries are deleted in the case of timeouts.
Duplicate Detection
Duplicate detection is performed on the basis of the retransmitted flag present in the CCR header and
the existence of the Session ID and CC Request Number AVP values in the inbound transaction table.
Duplicates will be silently ignored.
Revision 02 123
----------------------------------------------------------------
The Diameter Interface Server application supports Accounting Request (ACR) messages. The system
responds to received requests with the Accounting Answer (ACA) messages.
Revision 02 124
----------------------------------------------------------------
The following table encapsulates the parameter mapping between ACR and Rating Invoke messages:
b
Revision 02 125
----------------------------------------------------------------
Successful Processing
The ACR message is validated for all mandatory and required AVPs. On successful processing:
+ Rating Invoke message is constructed.
+ The Rating Invoke message is sent to the GCE Rater process.
+ Inbound Transaction table entry recorded for timeout and duplicate detection.
Unsuccessful Processing
Unsuccessful processing may result from missing AVPs, unsupported values in AVPs, etc. The
processing is similar in the case of timeouts by the Diameter Interface Server while waiting for a
response from the GCE rater process. On unsuccessful processing:
+ ACA message is sent to the Diameter peer with the appropriate error code.
+ Transaction table entries are deleted in the case of timeouts.
Duplicate Detection
Duplicate detection is performed on the basis of the retransmitted flag present in the ACR header and
the existence of the Session ID and Accounting Record Number AVP values in the inbound transaction
table. Duplicates will be silently ignored.
Revision 02 126
----------------------------------------------------------------
Revision 02 127
----------------------------------------------------------------
Sequence Diagrams
Capabilities Exchange
Brief Description
Diameter capabilities negotiation (Capabilities Exchange Request [CER]/Capabilities Exchanging
Answer [CEA]) MUST be carried out in order to determine what Diameter applications are supported
by the AAA server. These messages allow the discovery of a peer's identity and its capabilities (protocol
version number, supported Diameter applications, security mechanisms, etc.). Possible service
scenarios include:
+ Session-based Charging
+ GPRS Data Download/Web Access, etc. (Reservation based)
+ Mobile TV
+ Event-based Charging
+ SMS
+ Balance Inquiry
+ Direct Debit/Credit
+ Rate only services
Actors
Pre-Conditions
The Diameter AAA server is up and running and a TCP/IP socket connection has been established
with the Diameter Client. The Diameter Interface Server starts a timer TCER and waits for a message
from the Diameter client. If this timer expires, then the socket connection is dropped.
Revision 02 128
----------------------------------------------------------------
Flow of Events
Alternative Flows
If the AAA server does not have any applications in common with the Client, then it MUST return a
CEA with the Result-Code AVP set to Diameter_NO_COMMON_APPLICATION, and SHOULD
disconnect the transport layer connection.
If the AAA server does not have any security mechanisms in common with the Client MUST return a
CEA with the Result-Code AVP set to Diameter_NO_COMMON_SECURITY, and SHOULD
disconnect the transport layer connection.
CERs received from unknown peers MAY be silently discarded, or a CEA MAY be issued with the
Result-Code AVP set to Diameter_UNKNOWN_PEER. In both cases, the transport connection is
closed.
If the local policy permits receiving CERs from unknown hosts, a successful CEA MAY be returned.
If a CER from an unknown peer is answered with a successful CEA, the lifetime of the peer entry is
equal to the lifetime of the transport connection. In case of a transport failure, all the pending
transactions destined to the unknown peer can be discarded.
Revision 02 129
----------------------------------------------------------------
Pre-Conditions
The Diameter AAA server is up and running and a TCP/IP socket connection has been established
with the Diameter Client. The Diameter Interface Server starts a timer TCER and waits for a message
from the Diameter client. If this timer expires, then the socket connection is dropped.
Flow of Events
Revision 02 130
----------------------------------------------------------------
b. In Response, the server sends a CEA message back to the client which MUST contain one
Host-IP-Address AVP for each potential IP address that MAY be locally used when
transmitting Diameter messages.
c. The Diameter Client sends an Accounting-Request (ACR) with Accounting-Record-Type
AVP set to START_RECORD to the Diameter Interface Server. The Diameter Interface
Server updates the CDR in question.
d. The Diameter Interface Server returns Accounting-Answer (ACA) message with Accounting-
Record-Type set to START_RECORD to the Diameter Client and possibly Acct-Interim-
Interval AVP (AII) set to non-zero value indicating the desired intermediate charging interval.
e. When AII timer (at the Diameter Client end) elapses the Diameter Client sends an ACR with
Accounting-Record-Type AVP set to INTERIM_RECORD to the Diameter Interface
Server. The Diameter Interface Server updates the CDR in question.
f. The Diameter Interface Server returns an ACA message with Accounting-Record-Type set to
INTERIM_RECORD to the Diameter Client.
g. The service is terminated. The Diameter Client sends an ACR with Accounting-Record-Type
AVP set to STOP_RECORD to the Diameter Interface Server. The Diameter Interface
Server stops the TAST timer.
h. The Diameter Interface Server returns an ACA message with Accounting-Record-Type set to
STOP_RECORD to the Diameter Client.
i. The Disconnect-Peer-Request message is used by a Diameter node to inform its peer of its
intent to disconnect the transport layer, and that the peer shouldn't reconnect unless it has a
valid reason to do so (e.g., message to be forwarded). Diameter node MUST include the
Disconnect-Cause AVP (REBOOTING 0, BUSY 1,
DO_NOT_WANT_TO_TALK_TO_YOU 2) in the Disconnect-Peer-Request message to
inform the peer of the reason for its intention to shutdown the transport connection.
j. Disconnect-Peer-Answer is returned, which SHOULD contain an error if messages have
recently been forwarded, and are likely in flight, which would otherwise cause a race
condition. The receiver of the Disconnect-Peer-Answer initiates the disconnection of the
transport.
Revision 02 131
----------------------------------------------------------------
Actors
Pre-Conditions
a. The Diameter AAA server is up and running and a TCP connection has been established with
the Diameter Client. The Diameter Interface Server starts a timer TSCE and waits for a
message from the Diameter client. If this timer expires, then the socket connection is
dropped.
b. Diameter capabilities negotiation (CER/CEA) MUST be carried out in order to determine
what Diameter applications are supported by the AAA server. These messages allow the
discovery of a peer's identity and its capabilities (protocol version number, supported
Diameter applications, security mechanisms, etc.)
Post-Conditions
The Credit-Control-Answer message has to be checked by the Diameter client accordingly and the
requested service is controlled concurrently with service delivery.
Revision 02 132
----------------------------------------------------------------
Flow of Events
Direct Debiting
The Service-Identifier AVP always indicates the concerned service. Additional service event
information to be rated MAY be sent as service specific AVPs or MAY be sent within the
Service-Parameter-Info AVP. Having transmitted the Credit-Control-Request message the
Diameter client starts the communication supervision timer 'Tx'. Upon receipt of the Credit-
Control- Answer (CCA) message the Diameter client shall stop timer Tx.
b. The Diameter Interface Server determines the relevant service charging parameters. It creates
a Rating Invoke message with Operation set to CHARGE, and Usage Units or Monetary
Amount set according to value of Requested-Service-Unit AVP in CCR message. It then
sends it to the GCE for Rating.
Revision 02 133
----------------------------------------------------------------
c. GCE sends back a Rating Invoke response to the Diameter Interface Server with the final
balance after debiting.
d. The Diameter Interface Server returns Credit-Control-Answer message with CC-Request-
Type AVP set to EVENT_REQUEST to the Diameter client in order to authorize the
service execution (Granted-Service-Unit AVP [GSU] and possibly Cost-Information AVP
[CI]) indicating the cost of the service are included in the CCA message). If the credit-control
server determines that no credit-control is needed for the service, it can include the result
code indicating that the credit-control is not applicable (e.g., the service is free of charge).
Alternative Flows
Price Inquiry
It is possible to perform also PRICE_ENQUIRY, CHECK_BALANCE, and REFUND_ACCOUNT
using the above described mechanism by setting the Requested-Action AVP (RA) in the CCR message.
The message flows are as given below.
a. A Diameter credit-control client requesting the cost information MUST set the CC-Request-
Type AVP equal to EVENT_REQUEST, include the Requested-Action AVP set to
PRICE_ENQUIRY, and set the requested service event information into the Service-
Identifier AVP in the Credit-Control-Request message. Additional service event information
may be sent as service-specific AVPs or may be sent within the Service-Parameter-Info AVP.
The Service-Context-Id AVP indicates the service-specific document applicable to the
request.
b. The Diameter Interface Server determines the relevant service charging parameters. This is a
case of Centralized Unit Determination and Centralized Rating. It creates a Rating Invoke
message with Operation set to RATE, and NodeServiceId set to the Service information
from the Service-Parameter-Info AVP and sends it to the GCE for Rating.
c. GCE sends back a Rating Invoke response to the Diameter Interface Server with the cost of
the service and balance.
Revision 02 134
----------------------------------------------------------------
d. The estimated cost of the requested service event is returned to the credit-control client in the
Cost-Information AVP in the Credit-Control-Answer message.
Check Balance
a. A Diameter credit-control client requesting the balance check MUST set the CC-Request-
Type AVP equal to EVENT_REQUEST, include Requested-Action AVP set to
CHECK_BALANCE, and include the Subscription-Id AVP to identify the End-User in the
credit-control server. The Service-Context-Id AVP indicates the service-specific document
applicable to the request.
b. The Diameter Interface Server determines the relevant service charging parameters. It creates
a Rating Invoke message with Operation set to RATE, Default Usage Units set to FALSE ,
and sends it to the GCE for Rating.
c. GCE sends back a Rating Invoke response to the Diameter Interface Server with the cost of
the service and balance.
d. The result of balance check (ENOUGH_CREDIT/NO_CREDIT) is returned to the credit-
control client in the Check-Balance-Result AVP in the Credit-Control-Answer message.
Revision 02 135
----------------------------------------------------------------
Refund
Revision 02 136
----------------------------------------------------------------
Actors
Pre-Conditions
a. The Diameter AAA server is up and running and a TCP connection has been established with
the Diameter Client. The Diameter Interface Server starts a timer TSCE and waits for a
message from the Diameter client. If this timer expires, then the socket connection is
dropped.
b. Diameter capabilities negotiation (CER/CEA) MUST be carried out in order to determine
what Diameter applications are supported by the AAA server. These messages allow the
discovery of a peer's identity and its capabilities (protocol version number, supported
Diameter applications, security mechanisms, etc.)
c. The service has been delivered to the subscriber and the Diameter client receives the
acknowledgement (shown in figure below).
Post-Conditions
The Credit-Control-Answer message has to be checked by the Diameter client accordingly and the
requested service is controlled concurrently with service delivery.
Revision 02 137
----------------------------------------------------------------
Flow of Events
Actors
Revision 02 138
----------------------------------------------------------------
Pre-Conditions
a. The Diameter AAA server is up and running and a TCP connection has been established with
the Diameter Client. The Diameter Interface Server starts a timer TCER and waits for a
message from the Diameter client. If this timer expires, then the socket connection is
dropped.
b. Diameter capabilities negotiation (CER/CEA) MUST be carried out in order to determine
what Diameter applications are supported by the AAA server. These messages allow the
discovery of a peer's identity and its capabilities (protocol version number, supported
Diameter applications, security mechanisms, etc.)
c. The service has been delivered to the subscriber and the Diameter client receives the
acknowledgement (as shown in figure below).
Post-Conditions
The Credit-Control-Answer message has to be checked by the Diameter client accordingly and the
requested service is controlled concurrently with service delivery.
Revision 02 139
----------------------------------------------------------------
Flow of Events
a. In order to start an accounting session, the Diameter Client sends Accounting-Request (ACR)
with Accounting-Record-Type AVP set to START_RECORD to the Diameter Interface
Server.
b. The Diameter Interface Server receives the relevant service charging parameters and starts a
timer TAST. The Diameter Interface Server determines the relevant service charging
Revision 02 140
----------------------------------------------------------------
parameters. It creates a Rating Invoke message and sends it to the GCE for Rating. The
Diameter Interface Server opens a CDR for current session.
c. GCE sends back a Rating Invoke response to the Diameter Interface Server with the cost of
the service and balance.
d. The Diameter Interface Server returns Accounting-Answer (ACA) message with Accounting-
Record-Type set to START_RECORD to the Diameter Client and possibly Acct-Interim-
Interval AVP (AII) set to non-zero value indicating the desired intermediate charging interval.
e. When AII timer (at the Diameter Client end) elapses the Diameter Client sends an
Accounting-Request (ACR) with Accounting-Record-Type AVP set to
INTERIM_RECORD to the Diameter Interface Server. The Diameter Interface Server
updates the CDR in question.
f. The Diameter Interface Server resets the TAST timer. It determines the relevant service
charging parameters. It creates a Rating Invoke message and sends it to the GCE for Rating.
Then it updates the CDR for current session.
g. GCE sends back a Rating Invoke response to the Diameter Interface Server with the cost of
the service and balance.
h. The Diameter Interface Server returns an ACA message with Accounting-Record-Type set to
INTERIM_RECORD to the Diameter Client.
i. The service is terminated. The Diameter Client sends an ACR with Accounting-Record-Type
AVP set to STOP_RECORD to the Diameter Interface Server.
j. The Diameter Interface Server stops the TAST timer. It determines the relevant service
charging parameters. It creates a Rating Invoke message and sends it to the GCE for Rating.
k. GCE updates the CDR accordingly and closes the CDR and send back a Rating Invoke
response to the Diameter Interface Server with the cost of the service and balance.
l. The Diameter Interface Server returns an ACA message with Accounting-Record-Type set to
STOP_RECORD to the Diameter Client.
Revision 02 141
----------------------------------------------------------------
Actors
Pre-Conditions
a. The Diameter AAA server is up and running and a TCP connection has been established with
the Diameter Client.
b. Diameter capabilities negotiation (CER/CEA) MUST be carried out in order to determine
what Diameter applications are supported by the AAA server. These messages allow the
discovery of a peer's identity and its capabilities (protocol version number, supported
Diameter applications, security mechanisms, etc.)
c. The Diameter Client receives a service request. The service request may be initiated either by
the user or the other Diameter Client.
Post-Conditions
The Credit-Control-Answer message has to be checked by the Diameter client accordingly and the
requested service is controlled concurrently with service delivery.
Revision 02 142
----------------------------------------------------------------
Flow of Events
Revision 02 143
----------------------------------------------------------------
AVP monetary or non monetary units and Acc-Interim-Interval (AII) AVP in the request
message.
b. The Diameter Interface Server creates a Rating Invoke request and sends to GCE for rating.
The Operation is RATE_CHARGE and the reservation parameters
(ReservationId=<internally generated> and ReservationOp=CREATE) are set. If the cost of
the service is included in the request, then it is placed in the UsageUnits parameter in the
Rating Invoke request.
c. If the service cost information is not received by the Diameter Interface Server, GCE
determines the price of the desired service according to the service specific information
received by issuing a rating request to the Rating Function. This is the Centralized rating
approach. If the credit balance is sufficient, the Diameter Interface Server reserves the
corresponding amount from the user's account.
d. Once the reservation has been made by GCE, the Diameter Interface Server returns Credit-
Control-Answer (CCA) message with CC-Request-Type AVP set to INITIAL-REQUEST to
the AS/MRFC in order to authorize the service execution (Granted-Service-Unit and
possibly Cost-Information indicating the cost of the service are included in the CC A
message). If requested, the Diameter Interface Server returns the Acc-Interim-Interval (AII)
AVP with the value field set to a non-zero value. Content/service delivery starts and the
reserved units are concurrently controlled.
Revision 02 144
----------------------------------------------------------------
h. The Diameter Interface Server returns a CCA message with CC-Request-Type set to
UPDATE-REQUEST to the client in order to allow the content/service delivery to continue
(new Granted-Service-Unit [GSU] AVP and possibly Cost-Information [CI] AVP indicating
the cumulative cost of the service are included in the CCA message). The Diameter Interface
Server may include in the CCA message the Final-Unit-Indication (FUI) AVP to indicate the
final granted units. Content/service delivery continues and the reserved units are
concurrently controlled.
Actors
Revision 02 145
----------------------------------------------------------------
Pre-Conditions
a. The Diameter AAA server is up and running and a TCP connection has been established with
the Diameter Client.
b. Diameter capabilities negotiation (CER/CEA) MUST be carried out in order to determine
what Diameter applications are supported by the AAA server. These messages allow the
discovery of a peer's identity and its capabilities (protocol version number, supported
Diameter applications, security mechanisms, etc.)
c. The network element receives a session initiation. The session initiation may be done either
by the user or the other network element.
Post-Conditions
The Credit-Control-Answer message has to be checked by the Diameter client accordingly and the
requested service is controlled concurrently with service delivery.
Revision 02 146
----------------------------------------------------------------
Flow of Events
Revision 02 147
----------------------------------------------------------------
monetary) are to be rated by the Diameter Interface Server, then this is the Centralized rating
approach.
b. The Diameter Interface Server creates a Rating Invoke request and sends to GCE for rating.
The Operation is RATE_CHARGE and the reservation parameters
(ReservationId=<internally generated> and ReservationOp=CREATE) are set. If the cost of
the service is included in the request, then it is placed in the UsageUnits parameter in the
Rating Invoke request.
c. If the service cost information is not received by the Diameter Interface Server, GCE
determines the price of the desired service according to the service specific information
received by issuing a rating request to the Rating Function. If the credit balance is sufficient,
the Diameter Interface Server reserves the corresponding amount from the users account.
d. Once the reservation has been made by GCE, the Diameter Interface Server returns the
Credit-Control-Answer (CCA) message with CC-Request-Type set to INITIAL-REQUEST
to the AS/MRFC in order to authorize the service execution (Granted-Service-Unit and
possibly Cost-Information indicating the cost of the service are included in the CCA
message). If requested, the Diameter Interface Server returns the Acc-Interim-Interval (AII)
AVP with value field set to a non-zero value. Content/service delivery starts and the reserved
units are concurrently controlled.
Revision 02 148
----------------------------------------------------------------
h. The Diameter Interface Server returns a CCA message with CC-Request-Type set to
UPDATE-REQUEST to the client in order to allow the content/service delivery to continue
(new Granted-Service-Unit [GSU] AVP and possibly Cost-Information [CI] AVP indicating
the cumulative cost of the service are included in the CCA message). The Diameter Interface
Server may include in the CCA message the Final-Unit-Indication (FUI) AVP to indicate the
final granted units. Content/service delivery continues and the reserved units are
concurrently controlled.
Revision 02 149