Technical data
4. Packages
ISDN_CIRC_x_CHARGEINT Set charge interval in seconds which will be used for calculat-
ing online costs.
Most providers charge by minute intervals. In this case use the value ’60’. For providers
that charge in seconds set ISDN_CIRC_x_CHARGEINT to ’1’.
Addition for ISDN_CIRC_x_CHARGEINT = 60 seconds:
If no traffic was detected for ISDN_CIRC_x_HUP_TIMEOUT seconds the connection will be
terminated approx. 2 seconds before reaching the chargint timespan. Charged time is
used nearly complete this way. A really neat feature of fli4l.
With charging intervals of under a minute this does not make sense so this feature is
only used for charging intervals of more than 60 seconds.
ISDN_CIRC_x_TIMES Specify here when and at what charge the circuit should be active.
This makes it possible to use different circuits as default routes at different daytimes
(least-cost-routing).The imond daemon controls route-allocation.
Composition of the variable:
ISDN_CIRC_x_TIMES='times-1-info [times-2-info] ...'
Each times-?-info field consists of 4 subfields separated by colons (’:’).
1. Field: W1-W2
Weekday-timespan, for example Mo-Fr or Sa-Su. English and german notation are
possible. If a single weekday should be specified write W1-W1, for example Su-Su.
2. Field: hh-hh
Daytime-timespan, for example 09-18 or also 18-09. 18-09 is equal to 18-24 plus
00-09. 00-24 means the whole day.
3. Field: Charge
Costs per minute in currency units, for example 0.032 for 3.2 Cent per minute.
The real costs are calculated in consideration of charging intervals and displayed in
imon-client then.
4. Field: LC-default-route
May be Y or N. Meaning:
• Y: The timespan specified will be used as default route for LC-routing. Impor-
tant: in this case ISDN_CIRC_x_ROUTE=’0.0.0.0/0’ must be set in addition!
• N: The timespan specified only serves for calculating online costs but won’t be
used for LC-Routing.
Example:
ISDN_CIRC_1_TIMES='Mo-Fr:09-18:0.049:N Mo-Fr:18-09:0.044:Y Sa-Su:00-24:0.044:Y'
ISDN_CIRC_2_TIMES='Mo-Fr:09-18:0.019:Y Mo-Fr:18-09:0.044:N Sa-Su:00-24:0.044:N'
Read as follows: Circuit 1 should be used on labour days evenings/nights and on the
complete weekends, Circuit 2 is used on labour days from 9 AM to 6 PM.
157










