7 Voice Calls

Overview

Introduction

This chapter defines the CCS EDRs for voice calls.

Successful National Call (EDR 1)

Mandatory EDR 1 fields

This list identifies the mandatory EDR record fields for a successful national call (CDR type 1):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES - use one of:
    • BALANCE_TYPES (account changed or created)
    • BALANCE_TYPES (account changed or created) - mid call rate changes
  • BALANCES - use one of:
    • BALANCES (pre-call or account creation)
    • BALANCES (pre-call or account creation) - mid call rate changes
  • CASCADE_ID - use one of:
    • CASCADE_ID (balance type cascade IDs)
    • CASCADE_ID (balance type cascade IDs) - mid call rate change
  • CLI - use one of:
    • CLI (initiating call number)
    • CLI (initiating call number) - mid call rate changes
  • COSTS - use one of:
    • COSTS (rated calls)
    • COSTS (rated calls) - mid call rate changes
  • DISCOUNTS - use one of
    • DISCOUNTS (rated calls)
    • DISCOUNTS (rated calls) - mid call rate changes
  • DURATION (call length)
  • DURATION_CHARGED
  • DURATION_DELTA
  • END_CALL_REASON (reasons for call termination)
  • FCA (final call address)
  • LAST_RECORD_DATE
  • LENGTHS - use one of:
    • LENGTHS (rate durations)
    • LENGTHS (rate durations) -1end duration
    • LENGTHS (rate durations) - mid call rate changes
  • MAX_CHARGE - use one of:
    • MAX_CHARGE (for this call)
    • MAX_CHARGE (for this call) - mid call rate changes
  • OGEO_ID (originating geo node id)
  • RATES - use one of:
    • RATES (rated calls)
    • RATES (rated calls) - mid call rate changes
  • SVC_ID (single tariff rated calls)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TGEO_ID (terminating geo node id)
  • TN (ccs called number)
  • WALLET_TYPE (ID of wallet changed)

Optional EDR 1 fields

This list identifies the optional EDR record fields for a successful national call (CDR type 1):

  • CUG_NAME (closed user group)
  • OVERRIDDEN_TARIFF_PLAN (ID)
  • RELC (inap release cause)
  • TARIFF_CODE (name)

Partial EDR additional fields

Enabling of Mid-Session EDRs production creates Partial EDRs. Either the Commit Volume Threshold or Mid-Session EDRs parameters are enabled (Rating Management > Reservation Config > New Reservation Config screen).

These additional tags are on all the partial EDRs, but not on the final, complete EDR:

  • MID_SESSION (partial EDR)
  • SESSION_SEQUENCE (partial EDR)

Timed-out reservation confirmation additional fields

If a confirmed reservation times out, these tags will be added to the EDR.

  • RNCF (Reservation Not Charged For)
  • TIMED_OUT (reservation confirmation)

Account Activated additional fields

If the account is activated, the following fields are generated:

  • NEW_ACCT_STATE (always active - A)
  • OLD_ACCT_STATE (P or D before update)

Cross balance type discount additional fields

If the cross balance type discounting has been applied during the call, the following fields will be present:

  • CBTD_BALANCE_TYPES (list to apply to discounts)
  • CBTD_BALANCE_TYPES (list to apply to discounts) - mid call rate changes
  • CBTD_BALANCES (value for each cross balance type)
  • CBTD_BALANCES (value for each cross balance type) - mid call rate change
  • CBTD_CASCADE_ID (used for this call)
  • CBTD_CASCADE_ID (used for this call) - mid call rate change
  • CBTD_COSTS (costs applied to each cross balance type)
  • CBTD_COSTS (costs applied to each cross balance type) - mid call rate changes
  • CBTD_DISCOUNTS (discounts applied to balance types)
  • CBTD_DISCOUNTS (discounts applied to balance types) - mid call rate changes

MSISDN additional fields

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

  • MSISDN (account calling number)

Mobile number portability additional fields

If the Mobile Number Portability (MNP) software is installed, the following fields will be present:

  • PORTED (name of porting carrier)

Bucket level costs additional field

If addBucketLevelCostsInEdr configuration is enabled, the following field will be present:

  • BUCKET_LEVEL_COSTS

Example EDR 1 for single tariff rated call

BILLING_ENGINE_ID=21|SCP_ID=366273322|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20070423190107|ACCT_ID=83| ACCT_REF_ID=83|CLI=01206233252|ACS_CUST_ID=1|BALANCE_TYPES=1|BALANCES=49880|COSTS=120|ACCOUNT_TYPE=22|CASCADE_ID=44|RATES=60|LENGTHS=2810.00|DISCOUNTS=0| MAX_CHARGE=500|DURATION=120.00|DURATION_CHARGED=120.00|TN=01473|TCS=20070423181310| TCE=20070423181510|CS=S|DISCOUNT_TYPE=S*W*R|WALLET_TYPE=1|FCA=01473254338|END_CALL_REASON=14

Example EDR 1 for multi tariff rated call

BILLING_ENGINE_ID=42|SCP_ID=789955221|SEQUENCE_NUMBER=11775353|CDR_TYPE=
1|RECORD_DATE=20070430180652|
ACCT_ID=261|ACCT_REF_ID=255|CLI=6610|ACS_CUST_ID=1|BALANCE_TYPES=1,2|BALANCES=1
80,100|COSTS=60,45|ACCOUNT_TYPE=1|
CASCADE_ID=1,49|RATES=aa:10,10,10,20,20,30,30,30,bb:5,10,20,20,15,15,20,20| 
LENGTHS=aa:30.00,15.00,15.00,30.00,30.00,30.00,60.00,0.00,bb:30.00,15.00,15.00,
30.00,30.00,30.00,60.00,0.00|
DISCOUNTS=aa:0,0,0,0,0,0,0,0,bb:0,0,0,0,0,0,0,0|
MAX_CHARGE=-1|DURATION=180.00|DURATION_CHARGED=180.00|TN=6610|TCS=20070430180659|
TCE=20070430180959|CS=S|DISCOUNT_TYPE=BASIC|WALLET_TYPE=1|FCA=6610|END_CALL_REASON=16

Example Account Activated

BILLING_ENGINE_ID=21|SCP_ID=366273322|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20040803142342|ACCT_ID=83|ACCT_REF_ID=83|CLI=01206233252|ACS_CUST_ID=1|BALANCE_TYPES=1|BALANCES=1000|COSTS=1|ACCOUNT_TYPE=1|CASCADE_ID=1|RATES=50,25|LENGTHS=120.00,40.00|DISCOUNTS=0,0|MAX_CHARGE=1|DURATION=160|DURATION_CHARGED=160|TN=01473289900|TCS=20040803141934|TCE=20040803142034|CS=S|OLD_ACCT_STATE=P|NEW_ACCT_STATE=A|DISCOUNT_TYPE=S*W*R|WALLET_TYPE=1|END_CALL_REASON=14

Example Account Activated - MSISDN

BILLING_ENGINE_ID=21|SCP_ID=366273322|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20040803142342|ACCT_ID=83| ACCT_REF_ID=83|CLI=01206233252|ACS_CUST_ID=1|BALANCE_TYPES=1|BALANCES=1000|COSTS=28|ACCOUNT_TYPE=1|CASCADE_ID=1| RATES=50,25|LENGTHS=120.00,40.00|DISCOUNTS=450000,560000| MAX_CHARGE=500|DURATION=160|DURATION_CHARGED=160|TN=01473289900|TCS=20040803141934| TCE=20040803142034|CS=S|DISCOUNT_TYPE=S*W*R|WALLET_TYPE=1|MSISDN=01206233252|END_CALL_REASON=14

Note

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

Commit Reservation (EDR 1)

Mandatory EDR 1 fields

This list identifies the mandatory EDR record fields when a Commit Reservation has been performed (CDR type 1):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCE_TYPES - use one of:
    • BALANCE_TYPES (account changed or created)
    • BALANCE_TYPES (account changed or created) - mid call rate changes
  • BALANCES - use one of:
    • BALANCES (pre-call or account creation)
    • BALANCES (pre-call or account creation) - mid call rate changes
  • CASCADE_ID - use one of:
    • CASCADE_ID (balance type cascade IDs)
    • CASCADE_ID (balance type cascade IDs) - mid call rate change
  • CLI - use one of:
    • CLI (initiating call number)
    • CLI (initiating call number) - mid call rate changes
  • COSTS - use one of:
    • COSTS (rated calls)
    • COSTS (rated calls) - mid call rate changes
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNTS - use one of
    • DISCOUNTS (rated calls)
    • DISCOUNTS (rated calls) - mid call rate changes
  • DISCOUNT_TYPE (applied to this call) - R*W
  • DURATION (call length)
  • DURATION_CHARGED
  • END_CALL_REASON (reasons for call termination)
  • LENGTHS - use one of:
    • LENGTHS (rate durations)
    • LENGTHS (rate durations) -1end duration
    • LENGTHS (rate durations) - mid call rate changes
  • MAX_CHARGE - use one of:
    • MAX_CHARGE (for this call)
    • MAX_CHARGE (for this call) - mid call rate changes
  • MFILE (for rating data)
  • OPERATOR_RELEASED (commit/revoke reservation)
  • RATES - use one of:
    • RATES (rated calls)
    • RATES (rated calls) - mid call rate changes
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TERMINAL (Network ID)
  • TN (ccs called number)
  • USER (operator logon name)

Example EDR 1 for reservation commit

BILLING_ENGINE_ID=21|SCP_ID=366273322|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20070423190107|ACCT_ID=83| ACCT_REF_ID=83|CLI=49393520|BALANCE_TYPES=1|BALANCES=89140|COSTS=540|RATES=60|LENGTHS=-1|DISCOUNTS=0|MAX_CHARGE=2000|CASCADE_ID=1|ACS_CUST_ID=1|ACCOUNT_TYPE=21|DURATION=540.00|DURATION_CHARGED=540.00|TN=47777777|TCS=20100602225949|TCE=20100602230025|CS=S|DISCOUNT_TYPE=R*W|MFILE=20100602203530|USER=SU|TERMINAL=192.168.2.68|OPERATOR_RELEASED=1|END_CALL_REASON=15

Revoke Reservation (EDR 1)

Mandatory EDR 1 fields

This list identifies the mandatory EDR record fields when a Revoke Reservation has been performed (CDR type 1):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • CLI - use one of:
    • CLI (initiating call number)
    • CLI (initiating call number) - mid call rate changes
  • CS (call status, S or D) (call status, S or D)
  • DISCOUNT_TYPE (applied to this call) - R*W
  • DURATION (call length)
  • DURATION_CHARGED
  • END_CALL_REASON (reasons for call termination)
  • MFILE (for rating data)
  • OPERATOR_RELEASED (commit/revoke reservation)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TERMINAL (Network ID)
  • TN (ccs called number)
  • USER (operator logon name)

Example EDR 1 for single tariff rated call

BILLING_ENGINE_ID=21|SCP_ID=366273322|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20070423190107|ACCT_ID=83| ACCT_REF_ID=83|ACS_CUST_ID=1|ACCOUNT_TYPE=21|DURATION=0.00|DURATION_CHARGED=60|TN=47777777|TCS=20100602034410|TCE=20100602034432|CS=S|DISCOUNT_TYPE=R*W|MFILE=20100602032245|OPERATOR_RELEASED=1|USER=SU|TERMINAL=192.168.2.68|CLI=49393520

Declined National Call

Mandatory EDR 1 fields

This list identifies the mandatory EDR record fields for a declined national call (EDR type 1):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • CLI (initiating call number)
  • NACK (long list of codes)
  • TCS (ccs time call started)
  • TN (ccs called number)
  • WALLET_TYPE (ID of wallet changed)

Optional EDR 1 fields

This list identifies the optional EDR record fields for a declined national call (EDR type 1):

  • CUG_NAME (closed user group)

Account Activated additional fields

If the account is activated, the following fields are generated:

  • NEW_ACCT_STATE (always active - A)
  • OLD_ACCT_STATE (P or D before update)

MSISDN additional fields

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

  • MSISDN (account calling number)

Mobile number portability additional fields

If the Mobile Number Portability (MNP) software is installed, the following fields will be present:

  • PORTED (name of porting carrier)

Example EDR 1 for declined national call

BILLING_ENGINE_ID=21|SCP_ID=230612530|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20070703121758|ACCT_ID=83|ACCT_REF_ID=83|CLI=01206233252|TN=01473289900|TCS=20070725124332|CS=D|ACCOUNT_TYPE=15| NACK=INSF|WALLET_TYPE=1|ACS_CUST_ID=1END_CALL_REASON=13

Example Account Activated

BILLING_ENGINE_ID=21|SCP_ID=230612530|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20040803121758|ACCT_ID=83|ACCT_REF_ID=83|CLI=01206233252|TN=01473289900|TCS=20040625124332|CS=D|ACCOUNT_TYPE=15|NACK=INSF|WALLET_TYPE=1|ACS_CUST_ID=1|OLD_ACCT_STATE=P|NEW_ACCT_STATE=A|END_CALL_REASON=14

Example MSISDN

BILLING_ENGINE_ID=21|SCP_ID=230612530|SEQUENCE_NUMBER=487291|CDR_TYPE=1|RECORD_DATE=20040803121758|ACCT_ID=83|ACCT_REF_ID=83|CLI=01206233252|TN=01473289900|TCS=20040625124332|CS=D|ACCOUNT_TYPE=15| NACK=INSF|WALLET_TYPE=1|ACS_CUST_ID=1|OLD_ACCT_STATE=P|NEW_ACCT_STATE=A|MSISDN=01206233252|END_CALL_REASON=14

Note

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

Direct Amount Charge (EDR 6)

Mandatory EDR 23 fields

This list identifies the mandatory EDR record fields for a direct amount charge (EDR type 6):

  • ACCOUNT_TYPE (Product Type ID)
  • APPLICATION_DESC (application freeform)
  • BALANCE_TYPES (account changed or created)
  • BALANCES (pre-call or account creation)
  • CASCADE_ID (balance type cascade IDs)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • NEW_ACCT_EXPIRY (date after update)
  • NEW_ACCT_STATE (after update)
  • NEW_BALANCE_EXPIRIES (date after balance update)
  • OGEO_ID (originating geo node id)
  • OLD_ACCT_STATE (before update)
  • OLD_ACCT_EXPIRY (dates before update)
  • OLD_BALANCE_EXPIRIES (dates before voucher recharge)
  • REFERENCE (OSA bonus)
  • TCE (ccs time call ended)
  • TCS (ccs time call started)
  • TGEO_ID (terminating geo node id)
  • WALLET_TYPE (ID of wallet recharged)

Note: See EDR header fields for a list of fields common to every EDR.

Note

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