Technical data
7. Client/Server interface imond
4 AOL yes ippp1 0.0190 180
5 AOL no ippp1 0.0490 180
6 AOL no ippp1 0.0190 180
7 AOL no ippp1 0.0490 180
8 Firma no isdn2 0.0800 90
9 Firma no isdn2 0.0300 90
10 Firma no isdn2 0.0300 90
For circuit 1 (Addcom) there are three time ranges (1-3) defined. For circuit 2 (AOL) there
are four time ranges (4-7) and for the last one there are three time ranges (8-10).
In the time table, the indices are printed that are valid in the corresponding hour. Only the
indices 2-4 show up here, as the others are not default routes.
If there are zeros in the table, there are gaps in the values of the ISDN_CIRC_X_TIMES variables.
At this point there is no default route, no internet access is possible!
On program start, imond checks for the weekday and the hour. Then, the index from the
time table is picked out and the corresponding circuit. The default route is then set to this
circuit.
If the status of a channel changes (e.g. offline – online) or at least after one minute, this
procedure is repeated: check time, lookup in table, pick default route circuit.
If the used circuit changes, e.g. on mondays, 18:00, the default route is deleted, existing
connections are terminated (sorry. . . ) and after that the default route is set to the new circuit.
Imond may notice this up to 60 seconds too late – so at least at 18:00:59 the route is changed.
If a circuit does not have a default route, nothing will change. The value of ISDN_CIRC_x_-
TIMES is only used to calculate the fee. This can be important if the LC routing is disabled
temporarily, e.g. using the client imonc, and a circuit is dialed manually.
But you can have a look at the tables for other time-range-indices (in our example 1 to 10),
also at the ones of the “Non-LC-Default-Route-Circuits”.
Command:
timetable index
Example:
telnet fli4l 5000
timetable 5
quit
The output will look like:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
--------------------------------------------------------------------------
Su 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mo 5 5 5 5 5 5 5 5 5 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5
Tu 5 5 5 5 5 5 5 5 5 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5
We 5 5 5 5 5 5 5 5 5 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5
Th 5 5 5 5 5 5 5 5 5 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5
Fr 5 5 5 5 5 5 5 5 5 0 0 0 0 0 0 0 0 0 5 5 5 5 5 5
Sa 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
No. Name DefRoute Device Ch/Min ChInt
5 AOL no ippp1 0.0490 180
269










