18 PI Adds Service Charge

Overview

Introduction

This chapter defines the CCS EDRs for Provisioning Interface (PI) adds service charges.

PI Adds Service Charges Succeeds using PI (EDR 2,5)

Mandatory EDR 2 fields CCSSC1

This EDR is produced when CHARGE or REFUND is specified in the PI command but not EVENT.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 2):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (existing account)
  • BALANCES (pre-transaction account balances)
  • COSTS (rated calls)
  • NEW_ACCT_EXPIRY (date after update)
  • NEW_ACCT_STATE (after update)
  • NEW_BALANCE_EXPIRIES (date after balance update)
  • OLD_ACCT_EXPIRY (dates before update)
  • OLD_ACCT_STATE (before update)
  • OLD_BALANCE_EXPIRIES (dates before balance update)
  • PI (logon name and IP address)
  • WALLET_TYPE (ID of wallet recharged)

Optional EDR 2 fields CCSSC1

This list identifies the optional EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 2):

  • REFERENCE (from pi reference)

Mandatory EDR 5 fields CCSSC1

This EDR is produced when EVENT or CLASS is specified in the PI command but not CHARGE or REFUND.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 5):

  • ACCOUNT_TYPE (Product Type ID)
  • CS (call status, S or D) (call status, S or D)
  • TCS (ccs time call started)
  • WALLET_TYPE (ID of wallet changed)

Optional EDR 5 fields CCSSC1

This EDR is produced when EVENT or CLASS is specified in the PI command but not CHARGE or REFUND.

This list identifies the optional EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 5):

  • NEW_ACCT_STATE (after update)
  • OLD_ACCT_STATE (before update)
  • REFERENCE (from pi reference)
  • OVERDRAWN_AMOUNT (take Balance Negative)
  • REMAINING_CHARGE (partial Charge)

Mandatory EDR 5 fields CCSSC1

This EDR is produced when CHARGE or REFUND is specified, and also EVENT is specified in the PI command.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 5):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (existing account)
  • BALANCES (pre-transaction account balances)
  • CASCADE (always empty for pi)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNT (always zero for pi)
  • EVENT_CLASS (list of classes used)
  • EVENT_COST (for each named event)
  • EVENT_COUNT (for each named event)
  • EVENT_NAME (list used for this call)
  • NEW_ACCT_EXPIRY (date after update)
  • NEW_ACCT_STATE (after update)
  • NEW_BALANCE_EXPIRIES (date after balance update)
  • OLD_ACCT_EXPIRY (dates before update)
  • OLD_ACCT_STATE (before update)
  • OLD_BALANCE_EXPIRIES (dates before balance update)
  • PI (logon name and IP address)
  • TCS (ccs time call started)
  • WALLET_TYPE (ID of wallet recharged)

Optional EDR 5 fields CCSSC1

This EDR is produced when CHARGE or REFUND is specified, and also EVENT is specified in the PI command.

This list identifies the optional EDR record fields for a successful PI adds service charge using PI command CCSSC1 ADD (EDR type 5):

  • REFERENCE (from pi reference)
  • OVERDRAWN_AMOUNT (take Balance Negative)
  • REMAINING_CHARGE (partial Charge)

Mandatory EDR 2 fields CCSSC2

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CCSSC2 ADD (EDR type 2):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (account changed or created)
  • BALANCES (pre-call or account creation)
  • CASCADE_ID (balance type cascade IDs)
  • CLI (initiating call number)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNT_TYPE - one of:
    • DISCOUNT_TYPE (applied to this call)
    • DISCOUNT_TYPE (applied to this call) - R*W
  • DISCOUNTS (rated calls)
  • DURATION (call length)
  • FCA (final call address)
  • LENGTHS - one of:
    • LENGTHS (rate durations)
    • LENGTHS (rate durations) -1end duration
  • MAX_CHARGE (for this call)
  • RATES (rated calls)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TN (ccs called number)
  • WALLET_TYPE (ID of wallet changed)

Mandatory EDR 2 fields CTLSC1

This EDR is produced when CHARGE or REFUND is specified in the PI command but not EVENT.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CTLSC1 ADD (EDR type 2):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (existing account)
  • BALANCES (pre-transaction account balances)
  • COSTS (rated calls)
  • NEW_ACCT_EXPIRY (date after update)
  • NEW_ACCT_STATE (after update)
  • NEW_BALANCE_EXPIRIES (date after balance update)
  • OLD_ACCT_EXPIRY (dates before update)
  • OLD_ACCT_STATE (before update)
  • OLD_BALANCE_EXPIRIES (dates before balance update)
  • PI (logon name and IP address)
  • WALLET_TYPE (ID of wallet recharged)

Mandatory EDR 5 fields CTLSC1

This EDR is produced when EVENT or CLASS is specified in the PI command but not CHARGE or REFUND.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CTLSC1 ADD (EDR type 5):

  • ACCOUNT_TYPE (Product Type ID)
  • CS (call status, S or D) (call status, S or D)
  • TCS (ccs time call started)
  • WALLET_TYPE (ID of wallet changed)

Optional EDR 5 fields CTLSC1

This EDR is produced when EVENT or CLASS is specified in the PI command but not CHARGE or REFUND.

This list identifies the optional EDR record fields for a successful PI adds service charge using PI command CTLSC1 ADD (EDR type 5):

  • NEW_ACCT_STATE (after update)
  • OLD_ACCT_STATE (before update)
  • OVERDRAWN_AMOUNT (take Balance Negative)
  • REMAINING_CHARGE (partial Charge)

Mandatory EDR 5 fields CTLSC1

This EDR is produced when CHARGE or REFUND is specified, and also EVENT is specified in the PI command.

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CTLSC1 ADD (EDR type 5):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (existing account)
  • BALANCES (pre-transaction account balances)
  • CASCADE (always empty for pi)
  • COSTS (rated calls)
  • CS (call status, always S)
  • DISCOUNT (always zero for pi)
  • EVENT_CLASS (list of classes used)
  • EVENT_COST (for each named event)
  • EVENT_COUNT (for each named event)
  • EVENT_NAME (list used for this call)
  • NEW_ACCT_EXPIRY (date after update)
  • NEW_ACCT_STATE (after update)
  • NEW_BALANCE_EXPIRIES (date after balance update)
  • OLD_ACCT_EXPIRY (dates before update)
  • OLD_ACCT_STATE (before update)
  • OLD_BALANCE_EXPIRIES (dates before balance update)
  • PI (logon name and IP address)
  • TCS (ccs time call started)
  • WALLET_TYPE (ID of wallet recharged)

Optional EDR 5 fields CTLSC1

This EDR is produced when CHARGE or REFUND is specified, and also EVENT is specified in the PI command.

This list identifies the optional EDR record fields for a successful PI adds service charge using PI command CTLSC1 ADD (EDR type 5):

  • OVERDRAWN_AMOUNT (take Balance Negative)
  • REMAINING_CHARGE (partial Charge)

Mandatory EDR 2 fields CTLSC2

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CTLSC2 ADD (EDR type 2):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (account changed or created)
  • BALANCES (pre-call or account creation)
  • CASCADE_ID (balance type cascade IDs)
  • CLI (initiating call number)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNT_TYPE - one of:
    • DISCOUNT_TYPE (applied to this call)
    • DISCOUNT_TYPE (applied to this call) - R*W
  • DISCOUNTS (rated calls)
  • DURATION (call length)
  • FCA (final call address)
  • LENGTHS - one of:
    • LENGTHS (rate durations)
    • LENGTHS (rate durations) -1end duration
  • MAX_CHARGE (for this call)
  • RATES (rated calls)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TN (ccs called number)
  • WALLET_TYPE (ID of wallet changed)

Mandatory EDR 2 fields CTLSC2

This list identifies the mandatory EDR record fields for a successful PI adds service charge using PI command CTLSC2 ADD (EDR type 2):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES (account changed or created)
  • BALANCES (pre-call or account creation)
  • CASCADE_ID (balance type cascade IDs)
  • CLI (initiating call number)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNT_TYPE - one of:
    • DISCOUNT_TYPE (applied to this call)
    • DISCOUNT_TYPE (applied to this call) - R*W
    • DISCOUNTS (rated calls)
  • DURATION (call length)
  • FCA (final call address)
  • LENGTHS - one of:
    • LENGTHS (rate durations)
    • LENGTHS (rate durations) -1end duration
  • MAX_CHARGE (for this call)
  • RATES (rated calls)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TN (ccs called number)
  • WALLET_TYPE (ID of wallet changed)

MSISDN additional fields

If the MSISDN ccsCDRLoader plug-in is installed on the SMS, the following field will be present:

  • MSISDN (account calling number)

MSISDN example

BILLING_ENGINE_ID=21|SCP_ID=110537566|SEQUENCE_NUMBER=139450184|CDR_TYPE=2|RECORD_DATE=20040803122626|ACCT_ID=83|ACCT_REF_ID=83|USER=SU||ACCOUNT_TYPE=1|PI=adminAT192.168.25.106|OLD_ACCT_EXPIRY=0|NEW_ACCT_EXPIRY=0|MAX_CONCURRENT=1|COMMENT=|BALANCE_TYPES=1|BALANCES=0|COSTS=10|OLD_BALANCE_EXPIRIES=20050310143044|NEW_BALANCE_EXPIRIES=20050310143044| ACS_CUST_ID=1|WALLET_TYPE=1|EVENT_CLASS=ProductType| EVENT_NAME=ProductTypeSwap|EVENT_COST=100|EVENT_COUNT=1|DISCOUNT=0|CASCADE=0|MSISDN=1394111111

Note

The sequence of all fields output in an EDR is not guaranteed.