We have an 8 port FXO diguim card with 3 incoming lines. All 3 lines are directed to our receptionist’s extension. We are adding a new incoming line which we want to have ring only at our support department’s extension. In CLI the first 3 lines show up as zap/1-1. zap/2-1, and zap/3-1, so I’m assuming the new line will be zap/4-1.
What config files I do need to modify and how, so the new line will only ring at the one extension?
Dovid
January 4, 2008, 10:17am
2
Please paste what you have for /etc/asterisk/zapata.conf.
You need to set a separate group for zap 4 and have it go to a different context and there you set where the calls should go.
here is our zapaqta.conf
[trunkgroups]
;
; Trunk groups are used for NFAS or GR-303 connections.
[channels]
context=default
switchtype=national
signalling=fxo_ls
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=13.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
context=default
group=1
signalling = fxs_ks
; channel => 1,2,3,4,5,6,7,8
channel => 1
channel => 2
channel => 3
channel => 4
channel => 5
channel => 6
channel => 7
channel => 8
will setting up a new context such as follows do the job:
context=support
group=2
signalling =fxs_ks
channel => 4
and then change the group 1 to
channel => 1-3, 5-8
And then setting up a support context in extensions.conf to answer incoming calls?
Dovid
January 5, 2008, 5:22pm
4
Correct. As per the configuration that you have now you would want to remove channerl => 8 from the context=default part. You will want to add:
context=support
group=2
signalling =fxs_ks
channel => 4
and then just set up the support context to take all calls and send it to where ever you want.
Thank you Dovid! It works like a charm!