msntab is the phone call routing table for ivam2. For each
incoming call the first matching line in the file is used, all
others are ignored. Each line consists of six fields: an
expression for matching the local phone number, an expression
for matching the remote phone number, a day specification,
a time specification, an option list and an
action filed, specifying an executable file with its arguments
which is run for a matching call. If no line matches a call, the
call is ignored.

The phone numbers are matched by the following way: if the
first character of the matching expression is not a tilde, the
whole expression is matched using an extended version of POSIX
shell globbing based on :
you may specify more than one glob expression seperated by
commas or semicolons. If the first character of the matching
expression is a tilde the expression from its second character
to the end is taken es regular expression and matched with
.

The day specification is a comma separated list of the week
days "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT". It
also may be specified as "WORK" or "WEEKEND" to match work
days or weekend days, respectively.

The time specification is a comma separated list of time
ranges in the format "HH:MM".

The option field consists of a comma separated list of
options. The following options are defined: "rings=n" specifies
after how many rings a call is accepted. "pipehack" enables the
so-called pipe hack. This may improve latency for clients that
support it. This option will pass the output side of the STDOUT
pipe back to the client process as file descriptor 255. The
client may flush this pipe by reading from it. This is hack, but
a useful hack. "defaults" is a NOOP, use it if you don't want to
set any special options.

The action field should be the executable file name of the
telephony application to run for an incoming call. Two special
values are allowed: @ignore will ignore the call, @hangup will
hangup the call immediately after accepting it.

ivam2 comes with four ready-to-use telephony applications:
, , ,

Have a look on the default msntab file for configuration
examples.

ivam2 was written by Lennart Poettering
<mzvinzgjb (at) 0pointer (dot) de>. ivam2 is available
at