Page 1 of 1

Multiple ZAP channels usage in Outbound

PostPosted: Thu Aug 02, 2012 8:34 am
by Srinivasa Rao
Hi Everyone,

Need Help,

Following are my server details

1. Asterisk 1.4.42
2. vicidial 2.2.1
3. 4 Port Digium Card
4. Cent OS
5. Soft Phone Zoiper

Installation Method : Vicidialnow
$version = '2.2.1-259';
$build = '100510-2014';
Asterisk version: 1.4.42-vici

In my extensions.conf file i have assigned my zap channel to a variable and i am using that to do outbound. But my two agents are unable to do outbound at a time.

In my extension.conf
TRUNX=Zap/3

outbound pattern

exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,3,Dial(${TRUNKX}/${EXTEN:2},55,To)
exten => _91XXXXXXXXXX,4,Hangup

Now i want to use more zap channels to do outbound.
But i do not know, how to assign more channels to do outbound.

Please help me out in this issue.

Thanks & Regards
Srinivas

Re: Multiple ZAP channels usage in Outbound

PostPosted: Thu Aug 02, 2012 10:10 pm
by williamconley
You're on an old system. You should consider upgrading to Vicibox.com (3.1.15 present version).

Properly configured Zap channels are "grouped". Change TRUNX=Zap/3 to TRUNK=Zap/r1 or whichever group your configuration created (TRUNK=Zap/r0?). Then instead of using a specific channel, you'll grab the "first available channel in the group".

Re: Multiple ZAP channels usage in Outbound

PostPosted: Fri Aug 03, 2012 12:20 am
by Srinivasa Rao
Thank you Mr Williamconely,

Please tell me how to configure group.
Where do I need to configure this ?
If it is in zapata.conf, in my zapata.conf I have configured like this.


[trunkgroups]

[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

context=language
switchtype=euroisdn
signalling=pri_cpe
channel => 1-15, 17-31

If I want to assign any of four channels to do outbound then how to set them as group.

Please help me out.

Re: Multiple ZAP channels usage in Outbound

PostPosted: Fri Aug 03, 2012 12:22 am
by williamconley
Sorry, no time tonight (I'm already late ...), but it is a pure asterisk question and there are plenty of places where this zaptel configuration information is discussed. Not actually related to Vicidial, but asterisk. Asterisk has a MUCH larger base audience than Vicidial does. We're just a drop in the Asterisk bucket here. LOL (But Matt is making it grow!).

I will say that the default setup generated when you "autoconfigure" is g0 (or r0 if you want to start at the top and work down).