Q: How to run two or more channelgroups in one campaign?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Q: How to run two or more channelgroups in one campaign?

Postby Framercy » Fri Jun 22, 2007 7:16 am

Hello,

I´m running VD 2.0.3b5 on an Asterisk 1.2.17 with two E1 PRI lines, providing 30 channels each (2x Digium WC-TE120xp).
The target I want to reach is to use the whole 60 channels in one campaign!
How can I solve this? I createt two channelgroups in zaptel.conf and zapata.conf and defined it in my dialplan as followed:

Code: Select all
[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
TRUNK=Zap/g1                                    ; Trunk interface
TRUNKX=Zap/g2                                   ; 2nd Trunk interface

[default]
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Dial(${TRUNKX}/${EXTEN:1},,to)
exten => _9X.,n,Hangup


How do I have to customize my extensions.conf that VD uses all 60 channels or both channelgroups in one Campaign? I´m afraid that it is not enough to raise the 'Max VICIDIAL Trunks' to 60...

Thx
Fram
Framercy
 
Posts: 65
Joined: Fri Jun 22, 2007 6:46 am
Location: Duisburg, Germany

Postby gerski » Fri Jun 22, 2007 11:49 am

just make sure all 60 lines are in group 2 as stated in your extension conf

can you post your zapata.conf?
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Fri Jun 22, 2007 3:04 pm

You could also do this:

[default]
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Dial(${TRUNK}/${EXTEN:1},,to)
exten => _9X.,n,Dial(${TRUNKX}/${EXTEN:1},,to)
exten => _9X.,n,Hangup

Asterisk will failover if the first group has no available lines.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Framercy » Tue Jul 10, 2007 4:20 am

Easy eh - ?

Thnx a lot
Fram
Framercy
 
Posts: 65
Joined: Fri Jun 22, 2007 6:46 am
Location: Duisburg, Germany


Return to Support

Who is online

Users browsing this forum: AdsBot [Google] and 83 guests