zapata.conf
# So, some complete examples are:
# e&m=1-12
# nethdlc=13-24
fxsks=1-2
fxoks=3-4
zaptel.conf
;
; Zapata telephony interface
;
; Configuration file
[channels]
;
; Default language
;
;language=en
;
; Default context
;
context=incoming
signalling=fxs_ks
language=en
context=inbound
echocancel=yes
echocancelwhenbridged=yes
;
; In some cases, the echo canceller doesn't train quickly enough and there
; is echo at the beginning of the call. Enabling echo training will cause
; asterisk to briefly mute the channel, send an impulse, and use the impulse
; response to pre-train the echo canceller so it can start out with a much
; closer idea of the actual echo. Value may be "yes", "no", or a number of
; milliseconds to delay before training (default = 400)
;
;echotraining=yes
;echotraining=800
;
; You may also set the default receive and transmit gains (in dB)
;
rxgain=0.0
txgain=0.0
channel => 1
signalling=fxs_ks
language=en
context=incoming
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
channel => 2
signalling=fxo_ks
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
context=outbound
language=en
callerid="Office" <100>
channel => 3
signalling=fxo_ks
language=en
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0s
callerid=="Steve" <1000>
channel => 4