Appendix B. Examples of Diameter communication

Link copied to clipboard

Diameter Gy

Link copied to clipboard

Credit control request for session initiation (CCR-I)Session initiation (CCR-I)

Link copied to clipboard
Session-Id = 'ee136d75e131a122f558'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'INITIAL_REQUEST'
CC-Request-Number = '0'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Requested-Service-Unit = 'BEGIN-GROUP'
Requested-Service-Unit = 'END-GROUP'
Rating-Group = '100'
Multiple-Services-Credit-Control = 'END-GROUP'
Event-Timestamp = '1551426764'

Session initiation acknowledgement and resource allocation (CCA-I)

Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'Granted-Service-Unit = 'BEGIN-GROUP'
CC-Total-Octets = '1073741824'
Granted-Service-Unit = 'END-GROUP'
Rating-Group = '100'
Result-Code = '2001'
Validity-Time = '7189'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '1'
Session-Id = 'ee136d75e131a122f558'
CC-Request-Type = 'UPDATE_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Credit control request for session update (CCR-U)

Link copied to clipboard
Session-Id = 'ee136d75e131a122f558'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'UPDATE_REQUEST'
CC-Request-Number = '3'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Requested-Service-Unit = 'BEGIN-GROUP'
Requested-Service-Unit = 'END-GROUP'
Used-Service-Unit = 'BEGIN-GROUP'
CC-Input-Octets = '524288'
CC-Total-Octets = '1048576'
CC-Output-Octets = '524288'
Used-Service-Unit = 'END-GROUP'
Rating-Group = '100'
Multiple-Services-Credit-Control = 'END-GROUP'
Event-Timestamp = '1551426785'

Session update response with new resource allocation (CCA-U)

Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Granted-Service-Unit = 'BEGIN-GROUP'
CC-Total-Octets = '1073741824'
Granted-Service-Unit = 'END-GROUP'
Rating-Group = '100'
Result-Code = '2001'
Validity-Time = '7185'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '3'
Session-Id = 'ee136d75e131a122f558'
CC-Request-Type = 'UPDATE_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Credit control request for session termination (CCR-T)

Link copied to clipboard
Session-Id = 'ee136d75e131a122f558'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'TERMINATION_REQUEST'
CC-Request-Number = '5'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Used-Service-Unit = 'BEGIN-GROUP'
CC-Input-Octets = '524288'
CC-Total-Octets = '1048576'
CC-Output-Octets = '524288'
Used-Service-Unit = 'END-GROUP'
Rating-Group = '100'
Multiple-Services-Credit-Control = 'END-GROUP'
Event-Timestamp = '1551426810'

Session termination acknowledgment (CCA-T)

Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '5'
Session-Id = 'ee136d75e131a122f558'
CC-Request-Type = 'TERMINATION_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Failed authorization

Link copied to clipboard
Account blocked
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '72d0cce239ede1779394'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Final-Unit-Indication = 'BEGIN-GROUP'
Final-Unit-Action = 'TERMINATE'
Final-Unit-Indication = 'END-GROUP'
Origin-Host = 'ocs.portaone.com'
Result-Code = '4010'
Unknown account
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = 'd538ebc0dedcb587cf88'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '5030'
No available funds or credit resources
Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Final-Unit-Indication = 'BEGIN-GROUP'
Final-Unit-Action = 'TERMINATE'
Final-Unit-Indication = 'END-GROUP'
Rating-Group = '100'
Result-Code = '4012'
Validity-Time = '7200'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '454e357dcfc1fbaa154e'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Diameter Ro

Link copied to clipboard

Voice calls service

Link copied to clipboard

Credit control request for session initiation (CCR-I for an outgoing call)

Link copied to clipboard
Session-Id = '4cd227264ec1b227f786'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-ID = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'INITIAL_REQUEST'
CC-Request-Number = '0'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Service-Identifier = '35'
Requested-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Requested-Service-Unit = 'END-GROUP'
Multiple-Services-Credit-Control = 'END-GROUP'
Service-Information = 'BEGIN-GROUP'
IMS-Information = 'BEGIN-GROUP'
Node-Functionality = 'S-CSCF'
Calling-Party-Address = '380630000001'
Called-Party-Address = '380938508705'
Event-Type = 'BEGIN-GROUP'
Event = 'MO'
Event-Type = 'END-GROUP'
IMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310317'

Session acknowledgement and resource allocation (CCA-I for an outgoing call)

Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Granted-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Granted-Service-Unit = 'END-GROUP'
Result-Code = '2001'
Service-Identifier = '35'
Validity-Time = '10800'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '4cd227264ec1b227f786'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Credit control request for session update (CCR-U)

Link copied to clipboard
Session-Id = '4cd227264ec1b227f786'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'UPDATE_REQUEST'
CC-Request-Number = '1'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Service-Identifier = '35'
Requested-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Requested-Service-Unit = 'END-GROUP'
Used-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Used-Service-Unit = 'END-GROUP'
Multiple-Services-Credit-Control = 'END-GROUP'
Service-Information = 'BEGIN-GROUP'
IMS-Information = 'BEGIN-GROUP'
Node-Functionality = 'S-CSCF'
Calling-Party-Address = '380630000001'
Called-Party-Address = '380938508705'
Event-Type = 'BEGIN-GROUP'
Event = 'MO'
Event-Type = 'END-GROUP'
IMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310318'

Session update with new resource allocation (CCA-U)

Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Granted-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Granted-Service-Unit = 'END-GROUP'
Result-Code = '2001'
Service-Identifier = '35'
Validity-Time = '10800'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '1'
Session-Id = '4cd227264ec1b227f7861'
CC-Request-Type = 'UPDATE_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Credit control request for session termination (CCR-T)

Link copied to clipboard
Session-Id = '4cd227264ec1b227f786'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'TERMINATION_REQUEST'
CC-Request-Number = '3'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Service-Identifier = '35'
Requested-Service-Unit = 'BEGIN-GROUP'
CC-Time = '0'
Requested-Service-Unit = 'END-GROUP'
Used-Service-Unit = 'BEGIN-GROUP'
CC-Time = '30'
Used-Service-Unit = 'END-GROUP'
Multiple-Services-Credit-Control = 'END-GROUP'
Service-Information = 'BEGIN-GROUP'
IMS-Information = 'BEGIN-GROUP'
Node-Functionality = 'S-CSCF'
Calling-Party-Address = '380630000001'
Called-Party-Address = '380938508705'
Event-Type = 'BEGIN-GROUP'
Event = 'MO'
Event-Type = 'END-GROUP'
IMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310318'

Session termination acknowledgement (CCA-T)

Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '3'
Session-Id = '4cd227264ec1b227f786'
CC-Request-Type = 'TERMINATION_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Failed authorization

Link copied to clipboard
Account blocked
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = 'fc2eba82f6e34253251a'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '4010'
Unknown account
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = 'b24e93c9c6e1c54819b8'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '5030'
No available funds
Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Final-Unit-Indication = 'BEGIN-GROUP'
Final-Unit-Action = 'TERMINATE'
Final-Unit-Indication = 'END-GROUP'
Result-Code = '4012'
Service-Identifier = '35'
Validity-Time = '10800'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '60b2d94b127899c80b96'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

SMS service (credit control with unit reservation)

Link copied to clipboard

Credit control request for session initiation

Link copied to clipboard
Session-Id = 'e547923f71a129d71027'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'INITIAL_REQUEST'
CC-Request-Number = '0'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Service-Identifier = '30'
Requested-Service-Unit = 'BEGIN-GROUP'
CC-Service-Specific-Units = '1'
Requested-Service-Unit = 'END-GROUP'
Multiple-Services-Credit-Control = 'END-GROUP'
Service-Information = 'BEGIN-GROUP'
SMS-Information = 'BEGIN-GROUP'
Recipient-Info = 'BEGIN-GROUP'
Recipient-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380938508705'
Recipient-Address = 'END-GROUP'
Recipient-Info = 'END-GROUP'
SMS-Node = 'SMS-SC'
Originator-Received-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380630000001'
Originator-Received-Address = 'END-GROUP'
SMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310313'

Session acknowledgement

Link copied to clipboard
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Granted-Service-Unit = 'BEGIN-GROUP'
CC-Service-Specific-Units = '1'
Granted-Service-Unit = 'END-GROUP'
Result-Code = '2001'
Service-Identifier = '30'
Validity-Time = '259200'
Multiple-Services-Credit-Control = 'END-GROUP'
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = 'e547923f71a129d71027'
CC-Request-Type = 'INITIAL_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Credit control request with the resource usage reporting

Link copied to clipboard
Session-Id = 'e547923f71a129d71027'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32251@3gpp.org'
CC-Request-Type = 'TERMINATION_REQUEST'
CC-Request-Number = '1'
Origin-State-Id = '0'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'SUPPORTED'
Multiple-Services-Credit-Control = 'BEGIN-GROUP'
Service-Identifier = '30'
Requested-Service-Unit = 'BEGIN-GROUP'
CC-Service-Specific-Units = '0'
Requested-Service-Unit = 'END-GROUP'
Used-Service-Unit = 'BEGIN-GROUP'
CC-Service-Specific-Units = '1'
Used-Service-Unit = 'END-GROUP'
Multiple-Services-Credit-Control = 'END-GROUP'
Service-Information = 'BEGIN-GROUP'
SMS-Information = 'BEGIN-GROUP'
Recipient-Info = 'BEGIN-GROUP'
Recipient-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380938508705'
Recipient-Address = 'END-GROUP'
Recipient-Info = 'END-GROUP'
SMS-Node = 'SMS-SC'
Originator-Received-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380630000001'
Originator-Received-Address = 'END-GROUP'
SMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310316'

Credit control answer

Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '1'
Session-Id = 'e547923f71a129d71027'
CC-Request-Type = 'TERMINATION_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Failed authorization

Link copied to clipboard

The authorization responses are the same as those for voice calls service.

SMS service (credit control with direct debiting)

Link copied to clipboard

Event based credit control request

Link copied to clipboard
Session-ID = '88d257fa04e1e90e07b3'
Origin-Host = 'bec-pgw.portaone.com'
Origin-Realm = 'portaone.com'
Destination-Host = 'ocs.portaone.com'
Destination-Realm = 'portaone.com'
Auth-Application-Id = '4'
Service-Context-Id = '32274@3gpp.org'
CC-Request-Type = 'EVENT_REQUEST'
CC-Request-Number = '0'
Requested-Action = 'DIRECT_DEBITING'
Subscription-Id = 'BEGIN-GROUP'
Subscription-Id-Data = '380630000001'
Subscription-Id-Type = 'END_USER_E164'
Subscription-Id = 'END-GROUP'
Multiple-Services-Indicator = 'NOT_SUPPORTED'
Service-Information = 'BEGIN-GROUP'
SMS-Information = 'BEGIN-GROUP'
Originator-SCCP-Address = 'tel:380630000001'
Destination-Interface = 'BEGIN-GROUP'
Interface-Type = 'MOBILE_TERMINATING'
Destination-Interface = 'END-GROUP'
Originator-Interface = 'BEGIN-GROUP'
Interface-Type = 'MOBILE_ORIGINATING'
Originator-Interface = 'END-GROUP'
SMS-Node = 'SMS_ROUTER'
SMSC-Address = 'afn:13360:333830393338353038373035'
SM-Message-Type = 'SUBMISSION'
Recipient-Info = 'BEGIN-GROUP'
Recipient-Received-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380938508705'
Recipient-Received-Address = 'END-GROUP'
Recipient-Address = 'BEGIN-GROUP'
Address-Type = 'MSISDN'
Address-Data = '380938508705'
Recipient-Address = 'END-GROUP'
Recipient-Info = 'END-GROUP'
SMS-Information = 'END-GROUP'
Service-Information = 'END-GROUP'
Event-Timestamp = '1552310322'

Event-based credit control answer

Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '88d257fa04e1e90e07b3'
CC-Request-Type = 'EVENT_REQUEST'
Granted-Service-Unit = 'BEGIN-GROUP'
CC-Service-Specific-Units = '1'
Granted-Service-Unit = 'END-GROUP'
Auth-Application-Id = '4'
Validity-Time = '259200'
Origin-Host = 'ocs.portaone.com'
Result-Code = '2001'

Failed authorization

Link copied to clipboard
Account blocked
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '77aca35cbb83fa5341f6'
CC-Request-Type = 'EVENT_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '4010'
Unknown account
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = '1e11f4bc69098133f1a0@136.49.189.126'
CC-Request-Type = 'EVENT_REQUEST'
Auth-Application-Id = '4'
Origin-Host = 'ocs.portaone.com'
Result-Code = '5030'
No available funds
Link copied to clipboard
Origin-Realm = 'portaone.com'
CC-Request-Number = '0'
Session-Id = 'e33cba12a2c4174ba19b'
CC-Request-Type = 'EVENT_REQUEST'
Validity-Time = '259200'
Auth-Application-Id = '4'
Final-Unit-Indication = 'BEGIN-GROUP'
Final-Unit-Action = 'TERMINATE'
Final-Unit-Indication = 'END-GROUP'
Origin-Host = 'ocs.portaone.com'
Result-Code = '4012'

On this page