User`s manual
MediaPack
SIP User's Manual 88 Document #: LTRT-65408
5.5.2.3.1 Charge Codes Table
The Charge Codes table is used to configure the metering tones (and their time interval)
that the FXS gateway generates to the Tel side. To associate a charge code to an outgoing
Tel to IP call, use the Tel to IP Routing table.
¾
To configure the Charge Codes table, take these 6 steps:
1. Access the ‘Metering Tones’ screen (Protocol Management menu > Advanced
Parameters submenu > Metering Tones option); the ‘Metering Tones’ screen is
displayed (Figure 5-11).
2. Open the ‘Charge Codes Table’ screen by clicking the arrow sign (-->) to the right of
the Charge Codes Table label; the Charge Codes Table is displayed.
Figure 5-12: Charge Codes Table Screen
3. Use the table to define up to 25 different charge codes (each charge code is defined in
a single row). Each code can include from a single and up to four different time
periods in a day (24 hours). Each time period is composed of:
• The end (in a 24 rounded-hour’s format) of the time period.
• The time interval between pulses (in seconds).
• The number of pulses sent on answer.
4. The first time period always starts at midnight (00). It's mandatory that the last time
period per rule ends at midnight (00). This prevents undefined time frames in a day.
The gateway selects the time period by comparing the gateway’s current time to the
end time of each time period of the selected Charge Code. The gateway generates
the Number of Pulses on Answer once the call is connected and from that point on, it
generates a pulse each Pulse Interval. If a call starts at a certain time period and
crosses to the next, the information of the next time period is used.
5. Click the Submit button to save your changes.
6. To save the changes so they are available after a power fail, refer to Section 5.10.2 on
page 205.
Table 5-11: Charge Codes Table ini File Parameter
Parameter Name in ini File Parameter Format
ChargeCode
ChargeCode_<Charge Code ID> =
<1
st
period end time>,<1
st
period pulse interval>,<1
st
period pulses on
answer>,
<2
nd
period end time>,<2
nd
period pulse interval>,<2
nd
period pulses on
answer>,
<3
rd
period end time>,<3
rd
period pulse interval>,<3
rd
period pulses on answer>,
<4
th
period end time>,<4
th
period pulse interval>,<4
th
period pulses on answer>
For example:
ChargeCode_1 = 07,30,1,14,20,2,20,15,1,00,60,1
ChargeCode_2 = 05,60,1,14,20,1,00,60,1
ChargeCode_3 = 00,60,1
Note: Up to 25 different metering rules can be defined by repeating the
parameter 25 times.