Skip Headers
Oracle® Communications Service Broker Online Mediation Controller Implementation Guide
Release 6.1

E29452-02
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

A Diameter Ro to BRM Opcode Mapping

This appendix contains reference information detailing the Diameter Ro to Oracle Communications Billing and Revenue Management (BRM) opcode mapping. When mediating charging related messages (CCRs and CCAs) between a Diameter node and Billing and Revenue Management, Oracle Communications Online Mediation Controller maps the referenced Diameter operations and their attribute-value pairs (AVPs) to the listed Billing and Revenue Management opcodes and Flists. PCP to Diameter Ro results codes are also provided.

CCR Operation to Billing and Revenue Management Opcode Mapping

Table A-1 contains the supported CCR operation and their respective Billing and Revenue Management opcode mapping. Each operation also includes the incoming AVP criteria used to map the opcode.

Table A-1 CCR Operations to BRM Opcode Mapping

CCR Operation BRM Opcode Incoming AVP Criteria

Balance Check

PCM_OP_TCF_AAA_QUERY_BALANCE

CC-Request-Type=EVENT_REQUEST

Requested-Action=CHECK_BALANCE

Service Price Enquiry

PCM_OP_TCF_AAA_SERVICE_PRICE_ENQUIRY

CC-Request-Type=EVENT_REQUEST

Requested-Action=PRICE_ENQUIRY

Direct Debit

PCM_OP_TCF_AAA_STOP_ACCOUNTING

CC-Request-Type=EVENT_REQUEST

Requested-Action=DIRECT_DEBIT

Refund Amount

PCM_OP_TCF_AAA_REFUND

CC-Request-Type=EVENT_REQUEST

Requested-Action=REFUND_ACCOUNT

Session Initiate

PCM_OP_TCF_AAA_AUTHORIZE

CC-Request-Type=INITIAL

Session Update

PCM_OP_TCF_AAA_UPDATE_AND_REAUTHORIZE

CC-Request-Type=UPDATE

Session Terminate

PCM_OP_TCF_AAA_STOP_ACCOUNTING

CC-Request-Type=TERMINATION

Session Terminate Request (STR)

PCM_OP_TCF_AAA_CANCEL_AUTHORIZATION

N/A


CCR Session Initial Request AVP to Opcode Flist Mapping

Table A-2 contains the CCR session initial request AVP to opcode input Flist mapping.

Table A-2 CCR Session Initial Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

N/A

PIN_FLD_OBJTYPE

Always mapped to gsm

Requested-Service-Unit.CC-Time

PIN_FLD_QUANTITY

Used for duration-based rating

Requested-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Requested-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_AMOUNT

N/A

Requested-Service-Unit.CC-Input-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Output-Octets

PIN_FLD_REQ_BYTES_UPLINK

Used for volume-based rating

Requested-Service-Unit.CC-Total-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Event-Timestamp

PIN_FLD_START_T

N/A

N/A

PIN_FLD_EXPIRATION_T

Used for the ConfiguredreservationExpirationTime value

Service-Information, MMTel-Information, Subscriber-Role

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

N/A

Service-Information, PS-Information, 3GPP-SGSN-MCC-MNC

EXTENDED_INFO.GSM_INFO.PIN_FLD_ORIGIN_SID or EXTENDED_INFO.GSM_INFO.PIN_FLD_DESTINATION_SID

Flist field depends on direction of communication

Service-Information, PS-Information, 3GPP-User-Location-Info

EXTENDED_INFO.GSM_INFO.PIN_FLD_LOC_AREA and PIN_FLD_CELL_ID

N/A

Service-Information, PS-Information, 3GPP2-Bsid

EXTENDED_INFO.GSM_INFO.PIN_FLD_CELL_ID

N/A

Calling-Station-Id

PIN_FLD_CALLING_NUMBER

N/A

Service-Information, IMS-Information, Calling-Party-Address

PIN_FLD_CALLING_NUMBER

N/A

Called-Station -Id

PIN_FLD_CALLED_NUMBER

N/A

Service-Information, IMS-Information, Called-Party-Address

PIN_FLD_CALLED_NUMBER

N/A


CCR Session Update Request AVP to Opcode Flist Mapping

Table A-3 contains the CCR session update request AVP to opcode input Flist mapping.

Table A-3 CCR Session Update Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

N/A

PIN_FLD_OBJTYPE

Always mapped to gsm

Used-Service-Unit.CC-Time

PIN_FLD_QUANTITY

Used for duration-based rating

Event-Timestamp

PIN_FLD_END_T

Used when Used-Service-Unit.CC-Time is not present

Used-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Used-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_AMOUNT

N/A

Used-Service-Unit.CC-Input-Octets

PIN_FLD_BYTES_DOWNLINK

Used for volume-based rating

Used-Service-Unit.CC-Output-Octets

PIN_FLD_BYTES_UPLINK

Used for volume-based rating

Used-Service-Unit.CC-Total-Octets

PIN_FLD_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Time

PIN_FLD_REQ_QUANTITY

Used for duration-based rating

Requested-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Requested-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_REQ_AMOUNT

N/A

Requested-Service-Unit.CC-Input-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Output-Octets

PIN_FLD_REQ_BYTES_UPLINK

Used for volume-based rating

Requested-Service-Unit.CC-Total-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

N/A

PIN_FLD_REQ_MODE

Possible values:

  • Duration: 2

  • Duration and Volume: 6

  • Volume: 4

  • Amount: 1

N/A

PIN_FLD_EXPIRATION_T

Used for the ConfiguredreservationExpirationTime value

Service-Information, MMTel-Information, Subscriber-Role

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

N/A

Service-Information, PS-Information, 3GPP-SGSN-MCC-MNC

EXTENDED_INFO.GSM_INFO.PIN_FLD_ORIGIN_SID or EXTENDED_INFO.GSM_INFO.PIN_FLD_DESTINATION_SID

Flist field depends on direction of communication

Service-Information, PS-Information, 3GPP-User-Location-Info

EXTENDED_INFO.GSM_INFO.PIN_FLD_LOC_AREA and PIN_FLD_CELL_ID

N/A

Service-Information, PS-Information, 3GPP2-Bsid

EXTENDED_INFO.GSM_INFO.PIN_FLD_CELL_ID

N/A

Calling-Station-Id

PIN_FLD_CALLING_NUMBER

N/A

Service-Information, IMS-Information, Calling-Party-Address

PIN_FLD_CALLING_NUMBER

N/A

Called-Station-Id

PIN_FLD_CALLED_NUMBER

N/A

Service-Information, IMS-Information, Called-Party-Address

PIN_FLD_CALLED_NUMBER

N/A


CCR Session Termination Request AVP to Opcode Flist Mapping

Table A-4 contains the CCR session termination request AVP to opcode input Flist mapping.

Table A-4 CCR Session Termination Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

N/A

PIN_FLD_OBJTYPE

Always mapped to gsm

Event-Timestamp

PIN_FLD_END_T

N/A

Used-Service-Unit.CC-Time

PIN_FLD_QUANTITY

Used for duration-based rating

Used-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Used-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_AMOUNT

N/A

Used-Service-Unit.CC-Input-Octets

PIN_FLD_BYTES_DOWNLINK

Used for volume-based rating

Used-Service-Unit.CC-Output-Octets

PIN_FLD_BYTES_UPLINK

Used for volume-based rating

Used-Service-Unit.CC-Total-Octets

PIN_FLD_BYTES_DOWNLINK

Used for volume-based rating

N/A

PIN_FLD_EXPIRATION_T

Used for the ConfiguredreservationExpirationTime value

Service-Information, MMTel-Information, Subscriber-Role

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

N/A

Service-Information, PS-Information, 3GPP-SGSN-MCC-MNC

EXTENDED_INFO.GSM_INFO.PIN_FLD_ORIGIN_SID or EXTENDED_INFO.GSM_INFO.PIN_FLD_DESTINATION_SID

Flist field depends on direction of communication

Service-Information, PS-Information, 3GPP-User-Location-Info

EXTENDED_INFO.GSM_INFO.PIN_FLD_LOC_AREA and PIN_FLD_CELL_ID

N/A

Service-Information, PS-Information, 3GPP2-Bsid

EXTENDED_INFO.GSM_INFO.PIN_FLD_CELL_ID

N/A

Calling-Station-Id

PIN_FLD_CALLING_NUMBER

N/A

Service-Information, IMS-Information, Calling-Party-Address

PIN_FLD_CALLING_NUMBER

N/A

Called-Station-Id

PIN_FLD_CALLED_NUMBER

N/A

Service-Information, IMS-Information, Called-Party-Address

PIN_FLD_CALLED_NUMBER

N/A


CCR Event DirectDebit Request AVP to Opcode Flist Mapping

Table A-5 contains the CCR event DirectDebit request AVP to opcode input Flist mapping.

Table A-5 CCR Event DirectDebit Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

N/A

PIN_FLD_OBJTYPE

Always mapped to gsm

Event-Timestamp

PIN_FLD_END_T

N/A

Requested-Service-Unit.CC-Time

PIN_FLD_QUANTITY

Used for duration-based rating

Requested-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Requested-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_AMOUNT

N/A

Requested-Service-Unit.CC-Input-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Output-Octets

PIN_FLD_REQ_BYTES_UPLINK

Used for volume-based rating

Requested-Service-Unit.CC-Total-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Service-Specific-Units

PIN_FLD_NUMBER_OF_UNITS

Used for occurrence-based rating

N/A

PIN_FLD_EXPIRATION_T

Used for the ConfiguredreservationExpirationTime value

N/A

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

Set as 1 for GSM

Termination-Cause

PIN_FLD_TERMINATE

N/A

N/A

PIN_FLD_AGGREGATE_MODE

Set as 1 to aggregate


CCR Event RefundAccount Request AVP to Opcode Flist Mapping

Table A-6 contains the CCR event RefundAccount request AVP to opcode input Flist mapping.

Table A-6 CCR Event RefundAccount Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

N/A

PIN_FLD_OBJTYPE

Always mapped to gsm

Requested-Service-Unit.CC-Time

PIN_FLD_QUANTITY

Used for duration-based rating

Requested-Service-Unit.CC-Money.Currency-Code

PIN_FLD_UNIT

N/A

Requested-Service-Unit.CC-Money.Unit-Value.Value-Digits/Exponent

PIN_FLD_AMOUNT

N/A

Requested-Service-Unit.CC-Input-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Output-Octets

PIN_FLD_REQ_BYTES_UPLINK

Used for volume-based rating

Requested-Service-Unit.CC-Total-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Service-Specific-Units

PIN_FLD_NUMBER_OF_UNITS

Used for occurrence-based rating

N/A

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

Set as 1 for GSM


CCR Event CheckBalance Request AVP to Opcode Flist Mapping

Table A-7 contains the CCR event CheckBalance request AVP to opcode input Flist mapping.

Table A-7 CCR Event CheckBalance Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164


CCR Event PriceEnquiry Request AVP to Opcode Flist Mapping

Table A-8 contains the CCR event PriceEnquiry request AVP to opcode input Flist mapping.

Table A-8 CCR Event PriceEnquiry Request AVP to Opcode Flist Mapping

CCR AVP Input Flist Field Notes

Session-Id

PIN_FLD_AUTHORIZATION_ID

N/A

Service-Identifier

PIN_FLD_POID

Used for service type POID only

Subscription-Id-Data

PIN_FLD_MSID

N/A

Subscription-Id-Data

TELCO_INFO.PIN_FLD_IMSI

Used if the Subscription-Id-Type is END_USER_IMSI

Subscription-Id-Data

TELCO_INFO.PIN_FLD_MSISDN

Used if Subscription-Id-Type is END_USER_E164

Origin-Realm

PIN_FLD_ORIGIN_NETWORK

N/A

Destination-Realm

PIN_FLD_DESTINATION_NETWORK

N/A

Event-Timestamp

PIN_FLD_START_T

N/A

N/A

PIN_FLD_END_T

Current time is used

Requested-Service-Unit.CC-Input-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Output-Octets

PIN_FLD_REQ_BYTES_UPLINK

Used for volume-based rating

Requested-Service-Unit.CC-Total-Octets

PIN_FLD_REQ_BYTES_DOWNLINK

Used for volume-based rating

Requested-Service-Unit.CC-Service-Specific-Units

PIN_FLD_NUMBER_OF_UNITS

Used for occurrence-based rating

N/A

EXTENDED_INFO.GSM_INFO.PIN_FLD_DIRECTION

Set as 1 for GSM


Opcode Output Flist to CCA Session Response Mapping

Table A-9 contains the BRM output opcode input Flist to CCA session response mapping.

Table A-9 BRM Output Opcode Flist to CCA Session Response Mapping

Output Flist Field CCA AVP Notes

PIN_FLD_RATING_STATUSPIN_FLD_RESULTPIN_FLD_REASON

Result-Code

N/A

PIN_FLD_AVAILABLE_RESOURCE_LIMIT

Final-Unit-Indication

If available resource == 0

PIN_FLD_RUM_MAP

Granted-Service-Unit

N/A

PIN_FLD_EXPIRATION_T

Validity-Time

N/A


Diameter Ro to Billing and Revenue Management Result Codes Mapping

Table A-10 contains the Diameter Ro to Billing and Revenue Management result codes mapping.

Table A-10 Diameter Ro to BRM Result Codes Mapping

Diameter Result Code Description BRM PIN_FLD_RESULT, PIN_FLD_REASON, PIN_FLD_RATING_STATUS Values (respectively) Error Code

3002

DIAMETER_UNABLE_TO_DELIVER

N/A

code=ERR_TIMEOUT (108)

5004

DIAMETER_INVALID_AVP_VALUE

N/A

code=ERR_BAD_ARG (4)

3004

DIAMETER_TOO_BUSY

N/A

code=ERR_PERF_LIMIT_REACHED (118)

5030

DIAMETER_USER_UNKNOWN

N/A

code=ERR_BAD_ARG (4), errField=EBUF_PIN_FLD_MSID (MSID)

2001

DIAMETER_SUCCESS

1,-, -

N/A

5003

DIAMETER_AUTHORIZATION_REJECTED

0, NULL, -

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 0, 0 or 0, 4, 0

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 0, 1 or 0, 4, 1

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 0, 13 or 0, 4, 13

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 10 or 0, 4, 10

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 11 or 0, 4, 11

N/A

4010

DIAMETER_END_USER_SERVICE_DENIED

0, 0, 12 or 0, 4, 12

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 14 or 0, 4, 14

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 15 or 0, 4, 15

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 16 or 0, 4, 16

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 18 or 0, 4, 18

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 19 or 0, 4, 19

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 20 or 0, 4, 20

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 21 or 0, 4, 21

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 22 or 0, 4, 22

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 23 or 0, 4, 23

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 24 or 0, 4, 24

N/A

5031

DIAMETER_RATING_FAILED

0, 0, 25 or 0, 4, 25

N/A

4012

DIAMETER_CREDIT_LIMIT_REACHED

0, 0, 26 or 0, 4, 26 or NULL, NULL, 26

N/A

4010

DIAMETER_END_USER_SERVICE_DENIED

0, 0, 17 or 0, 4, 17

N/A

4010

DIAMETER_END_USER_SERVICE_DENIED

0, 1, -

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 2, -

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 3, -

N/A

4012

DIAMETER_CREDIT_LIMIT_REACHED

0, 5, -

N/A

5012

DIAMETER_UNABLE_TO_COMPLY

0, 6, -

N/A