tAcuSSAocSpecific

If advice of charge - start of call (AOC-S) is activated for a call, this structure returns a specific charge value to the served user. The structure is referenced in the AcuSSAocSInform structure, which is referenced in the AcuSSAocInformInvoke structure returned in an AOC_INFORM operation.

Structure

typedef struct tAcuSSAocSpecific
{
  struct op_byte_field multiplier;       /* From ACU_SS_AOC_MULTIPLIER_  */
                                         /* constants                    */
  struct op_long_field currency_amount;  /* No. of currency units charged*/
  struct op_byte_field charge_code;      /* 10                           */
  struct op_byte_field currency_id_size; /* No. of bytes from currency_id*/
  uchar  currency_id[MAX_CURRENCY_SIZE]; /* Currency ID string           */
  uchar  rate_type;                      /* From ACU_SS_AOC_RATE_TYPE_   */
  pad3                                   /* constants                    */
};

Fields

Field

Included

Description

multiplier

Mandatory

Yes when rate_type is FLAT_RATE. This value plus currency_amount indicates the currency amount. From ACU_SS_AOC_MULTIPLIER constants.

currency_amount

Mandatory

Yes when rate_type is FLAT_RATE. This value plus multiplier indicates the currency amount. Raw numeric value.

charge_code

Mandatory

Yes when rate_type is SPECIAL_CHARGING. Integer value from 1 to 10. Identifies special charge arrangement for the NAI.

currency_id_size

Mandatory

Number of bytes from currency_id.

currency_id[MAX_CURRENCY_SIZE]

Mandatory

Character array identifying the currency.

rate_type

Mandatory

Free of charge, flat rate (a fixed currency value per event), special charging code, or not available. From ACU_SS_AOC_RATE_TYPE constants.