# $Id$ # # This file is part of ivam2. # # ivam2 is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # ivam2 is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with ivam2; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # The MSNs are matched with an extended POSIX shell glob matcher based # on fnmatch(3). The extension is: you may specifiy more than one glob # expression separated by commas ore semicolons. If you specify a # tilde as first character regular expression matching (see regexec(3) # for more information) is used instead. # The options defined are: # rings=n -> specify after how many rings a call should be accepted # pipehack -> enable the so-called "pipehack" for better latency # defaults -> all defaults # The action field should specify a program to launch for each line, two # special values are allowed: @ignore will ignore the call, @hangup will # hangup the call immediately. # The first line matching to the incoming call is used. # If no line matches, the call is ignored. # See msntab(5) for more information # local MSN remote MSN days times options action #* * * * rings=8,pipehack ivam-autobox # Some more examples #41264179 * * * rings=0,pipehack ivam-autobox #41264179 41264177 * * rings=0 ivam-dialup --pin=4711 ppp0 #* 41264179 * * rings=0 @hangup #41264179 * * * rings=2,shbuf ivam-voicebox --pin=4711 #46 36 * * defaults @hangup #46 36 * * rings=0 ivam-play /var/spool/ivam/welcome.ulaw #46 * * * defaults ivam-echo #47 * WORK 08:00-11:59,13:00-17:59 rings=6,pipehack ivam-voicebox --welcome-message=welcome-day #47 * WORK 12:00-12:59 rings=2,pipehack ivam-voicebox --welcome-message=welcome-noon #47 * WORK 18:00-23:59,00:00-07:59 rings=2,pipehack ivam-voicebox --welcome-message=welcome-night #47 * WEEKEND * rings=2,pipehack ivam-voicebox --welcome-message=welcome-weekend # $Id$