[Asterisk-Users] seperating zap

Chris Clifton chris at netlabz.com
Wed Mar 24 20:30:54 MST 2004


Trying to seperate fxo (pstn) lines such that :

zap/1 is used only for outgoing calls
zap/2 is not used for outgoing calls
zap/1 should NOT answer to the ivr menu when an inbound call comes in.
zap/2 should answer to the ivr menu when an inbound call somes in

I've tried all sorts of variations in extensions.conf, but asterisk still
picks up incoming calls on zap/1 ...

Thanks,
Chris

---------------------
beginning of extensions.conf
---------------------
[incoming]

exten => s,1,Answer
exten => s,2,DigitTimeout(5)           ; Set Digit Timeout to 10 seconds
exten => s,3,ResponseTimeout(15)        ; Set Response Timeout to 20 seconds
exten => s,4,Background(/tmp/intro)     ; Ask them for the extension they
want


---------------------
zapata.conf
---------------------
[channels]


group=1
echotraining=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=5.0
txgain=-2.0
language=en
context=default
signalling=fxs_ls
usecallerid=yes
channel => 1


group=2
echotraining=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0
txgain=-0
language=en
context=incoming
signalling=fxs_ls
usecallerid=yes
channel => 2




More information about the asterisk-users mailing list