Certain extensions goes to specific trunk ?

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Certain extensions goes to specific trunk ?

Postby scenarist » Tue Jul 02, 2013 12:39 pm

I have a two sip trunks with the following dialplan:
TRUNK A:
exten => _0004XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0004XX.,2,Dial(SIP/${EXTEN:1}@AAAA,,tTo)
exten => _0004XX.,3,Hangup

TRUNK B:
exten => _0004XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0004XX.,2,Dial(SIP/${EXTEN:1}@BBBB,,tTo)
exten => _0004XX.,3,Hangup

When I load leads I load it with the following format : phone_code: 0004X
in campaign dial prefix is : X

How can I setup for certain extensions to goes to trunk A and certain extensions to goes to trunk B ?
Goautodial CE 2.1||Asterisk 1.4.39.1-vici||VERSION: 2.4-309a
BUILD: 110430-1642
Kernel Version: 2.6.18-238.9.1.el5.goPAE (SMP)
SIP trunk:15xsiptrunks|80 agents|7xserver
Model:7xIntel(R) Xeon(R) CPU E5520 @ 2.27GHz x16
CPU:2.27GHz|HDD:3*80GB|RAID 1|RAM:8GB
scenarist
 
Posts: 102
Joined: Mon May 23, 2011 2:53 am

Re: Certain extensions goes to specific trunk ?

Postby williamconley » Wed Jul 03, 2013 6:28 pm

With that setup, you can't. The extensions you loaded conflict with one another and only one of them will actually load. There must be a difference in the extension to have two different call paths.

Start here: HOW do you want to decide which calls go to A and which calls go to B? Random luck? Phone numbers that will result in a sale should go to A and phone numbers of deadbeats should go to B?

The system isn't psychic, there must be a way to differentiate between them ... if you tell us in English, we can tell you in "Asterisk Dialplan" how to make it happen!
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Certain extensions goes to specific trunk ?

Postby scenarist » Fri Jul 05, 2013 12:42 am

I want to extensions 8001 and 8002 go to trunk A and extensions from 8005 to 8020 go to trunk B ?
All phone numbers will be dial from lists which is load with phone code 0004X
Goautodial CE 2.1||Asterisk 1.4.39.1-vici||VERSION: 2.4-309a
BUILD: 110430-1642
Kernel Version: 2.6.18-238.9.1.el5.goPAE (SMP)
SIP trunk:15xsiptrunks|80 agents|7xserver
Model:7xIntel(R) Xeon(R) CPU E5520 @ 2.27GHz x16
CPU:2.27GHz|HDD:3*80GB|RAID 1|RAM:8GB
scenarist
 
Posts: 102
Joined: Mon May 23, 2011 2:53 am

Re: Certain extensions goes to specific trunk ?

Postby williamconley » Fri Jul 05, 2013 1:41 pm

Extensions don't initiate calls in Vicidial. Calls are generated by Campaigns or users in campaigns. The campaign dial prefix determines the carrier in use if properly configured.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 133 guests