Version 7.0 537 Mediant 3000
User's Manual 27. Configuring Supplementary Services
27.8 Advice of Charge Services for Euro ISDN
Advice of charge (AOC) is a pre-billing function that tasks the rating engine with calculating
the cost of using a service and relaying that information back to the customer (caller). This
allows users to obtain call charging information during the call (AOC-D) or at the end of the
call (AOC-E).
The AOC messages are sent in the EURO ISDN Facility Information Element (IE)
message. The device interworks these ISDN messages with SIP by converting the AOC
messages into SIP INFO (during call) and BYE messages (end of call) using AudioCodes
proprietary SIP AOC header, and vice versa. The device supports both currency (monetary
units) and pulse (non-monetary units) AOC messages.
This feature can typically be implemented in the hotel industry, where external calls made
by guests can be billed accurately. In such a setup, the device is connected on one side to
a PBX through an ISDN line (Euro ISDN), and on the other side to a SIP trunk provided by
an ITSP. When a call is made by a guest, the device first sends an AOC-D Facility
message to the PBX indicating the connection charge unit, and then sends subsequent
AOC-D messages every user-defined interval to indicate the charge unit during the call.
When the call ends, the device sends an AOC-E Facility message to the PBX indicating the
total number of charged units.
The device supports various methods for AOC:
Tel-to-IP Direction: The device converts the AOC messages received in the EURO
ISDN Facility IE messages into SIP INFO and BYE messages using AudioCodes
proprietary SIP AOC header.
Device Generation of AOC to Tel: The device generates the metering tones
according to user-defined pulses and intervals, configured in the Charge Code table
(see ''Configuring Charge Codes'' on page
539). These include:
• 'Pulses On Answer' - number of charging units in the first generated AOC-D
Facility message.
• 'Pulse Interval' - time between every sent AOC-D Facility message.
• 'End Time' - time at which the charge code ends.
IP-to-Tel Direction:
• SIP-to-Tel interworking: The device uses the AOC header from the IP side and
sends to Tel in EURO ISDN Facility IE messages. Below shows the SIP AOC
header:
AOC: charged; <parameters>
Where parameters can be:
♦ state="active" or "terminated"
♦ charging-info="currency" or "pulse"
If "currency", the following parameters are available:
♦ currency=<string>
♦ currency-type="iso4217-a" or <string>
♦ amount=<number>
♦ multiplier=("0.001","0.01","0.1","1","10","100","1000")
If "pulse", the following parameter is available:
♦ recorded-units=<number>
• TELES proprietary method
• Cirpack proprietary methods
For more information on the proprietary methods, see the PayPhoneMeteringMode
parameter in ''Metering Tone Parameters'' on page 1009.