rendered paste body*******zapata.conf
;# Flash Operator Panel will parse this file for zap trunk buttons
;# AMPLABEL will be used for the display labels on the buttons
;# %c Zap Channel number
;# %n Line number
;# %N Line number, but restart counter
;# Example:
;# ;AMPLABEL:Channel %c - Button %n
;# For Zap/* buttons use the following
;# (where x=number of buttons to dislpay)
;# ;AMPWILDCARDLABEL(x):MyLabel
[channels]
language=en
; include zap extensions defined in AMP
#include zapata_additional.conf
#include zapata-channels.conf
; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-4
*********zapata-channels.conf
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
; Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
signalling=fxo_ks
callerid="Channel 1"
mailbox=2000
channel => 1
signalling=fxo_ks
callerid="Channel 2"
mailbox=2001
channel => 2
signalling=fxo_ks
callerid="Channel 3"
mailbox=2002
channel => 3
signalling=fxo_ks
callerid="Channel 4"
mailbox=2003
channel => 4
*********zapata_additional.conf
;;;;;;[2000]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
mailbox=2000
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Marco" <2000>
busydetect=no
busycount=7
channel=>1
;;;;;;[2001]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
mailbox=2001
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Linus" <2001>
busydetect=no
busycount=7
channel=>2
;;;;;;[2002]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
mailbox=2002
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Lehel" <2002>
busydetect=no
busycount=7
channel=>3
;;;;;;[2003]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
mailbox=2003
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Debian" <2003>
busydetect=no
busycount=7
channel=>4