Package ISDN
OPT_ISDN ISDN-Circuits OPT_TELMOND
:::[ OPT_TELMOND ][ TELMOND_PORT ][ TELMOND_LOG ][ TELMOND_LOGDIR ][ TELMOND_MSN_N ][ TELMOND_MSN_x ][ TELMOND_CMD_N ][ TELMOND_CMD_x ]:::

OPT_TELMOND

Setting OPT_TELMOND will allow you, to select if telmond server shall be activated. This server is listening to incoming telephone calls via /dev/isdnctrl0 and gives via port 5001 the calling and the called telephone numbers. This information can be displayed by the Windows- and Unix/Linux client imonc.

Main preposition for this is the installation of an ISDN adaptor and the configuration of OPT_ISDN with all its configuration variables.

During operation this might be checked under Linux/Unix/Windows with:

telnet fli4l 5001
    

After having entered this command, the last call should be displayed and the telnet connection should be immediately closed afterwards.

Port 5001 is only reachable from the LAN. An access from remote will be blocked by the firewall configuration by default. If you also want to regulate the access rights inside the LAN, you may do these settings by using additional telmond configuration variables.

Default setting: OPT_TELMOND='yes'

top

TELMOND_PORT

TCP/IP-Port which is used by telmond for listening for connections. The default value '5001'should only be changed if really necessary.

top

TELMOND_LOG

All incoming telephone calls will be stored in file /var/log/telmond.log when the following is set:
Bei TELMOND_LOG='yes'
Contents of this file can be investigated with the imond client imonc under Unix/Linux and Windows.

Default setting: TELMOND_LOG='no'

top

TELMOND_LOGDIR

If protocol is switched on, an alternative directory (instead of: /var/log) may be given via TELMOND_LOGDIR; ex.: '/mnt'. After having done so, the log file telmond.log will be stored to floppy disk. That means: the floppy disk has to be mounted read/write-able.

top

TELMOND_MSN_N

If special calls shall only be viewable on some PC clients in imonc, a filter can be installed, which will create protocols for calls to special MSNs for these PC clients only.

If this is necessary under spec. circumstances, variable TELMOND_MSN_N must be set to the number of MSN filters.

Default setting: TELMOND_MSN_N='0'

top

TELMOND_MSN_x

For each MSN filter a list of IP addresses, for which calls to specified MSNs shall be viewable, must be given.

Variable TELMOND_MSN_N specifies the number of these configurations.

Construction of the variable is as follows:

TELMOND_MSN_x='MSN IP-ADDR-1 IP-ADDR-2 ...'
    

A simple example:

TELMOND_MSN_1='123456789 192.168.6.2'
    

If a call to a specific MSN shall be viewable for several computers, ex. Fax, the IP addresses must be entered one after the other; ex.:

TELMOND_MSN_1='123456789 192.168.6.2 192.168.6.3'
    
top

TELMOND_CMD_N

As soon as there is an incoming telephone call (voice) to a specific MSN, optional commands can be executed on the FLI4L router. By using variable TELMOND_CMD_N you are able to define the number of configured commands.

top

TELMOND_CMD_x

By using variables TELMOND_CMD_1 to TELMOND_CMD_n you are able to enter commands, which will be executed if there is an incoming telephone call.

Syntax of variable:

MSN CALLER-NUMBER COMMAND ...
    

MSN must be entered without area code. CALLER-NUMBER is the complete telephone number - including area code. If you would enter an asterisk '*' as CALLER_NUMBER, the telephone number of the caller will not be analyzed.

Now an example:

TELMOND_CMD_1='1234567 0987654321 sleep 5; imonc dial'
TELMOND_CMD_2='1234568 * switch-on-coffee-machine'
    

In the first example the commands: "sleep 5; imonc dial" will be executed, if the caller with telephone number 0987654321 calls MSN 1234567. That means: TWO commands will be executed. First command will wait five seconds to wait for the ISDN channel, on which the call came in, to be free again. After this the FLI4L client imonc will be started with argument "dial". Imonc will transmit this command unchanged to the server imond. Imond will then establish a connection on the default circuit; ex.: to the internet. A description of allowed commands for transmission from imonc client to imond server is given in chapter 6.

The second command "switch-on-coffee-machine" will be executed, if there will be an incoming call on MSN 1234568 - no matter where this call came from. Sorry, but in the moment the command "switch-on-coffee-machine" is not available for FLI4L :-)

When calling commands you may use the following placeholders:

%d      date        Date
%t      time        Time
%p      phone       Telephone number of caller
%m      msn         Own MSN
%%      percent     the percent sign/character itself
    

These date may be used by the called programs; ex. for sending via mail.

top
» To documentation «