Multiple Carriers same Campaign

All installation and configuration problems and questions

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

Multiple Carriers same Campaign

Postby udfxrookie » Mon Nov 12, 2012 2:34 pm

I have a verification campaign that does verification for several companies. Each company we do verification with uses the same company for their TPV's and so the dialplan on a direct sip connect is similar. The only difference is the beginning part of the host address. Now I have two direct Sip Connects 1) Carrier A 2) Carrier B
Is there a way to put the dial prefix into presets so when the verifier clicks 'Trans-Conf', Presets and choose the preset they need it will automatically use the dialplan for the correct Carrier.
I'm trying to get all verifications to one campaign versus the verifier having to watch all RTD's and jump from verification campaign to verification campaign
Is this possible?
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Multiple Carriers same Campaign

Postby williamconley » Mon Nov 12, 2012 4:13 pm

Excellent job posting your specs.

The rest, however, is kinda jumbled.

What I'm getting is that you want to dial TPV through two different carrier's based on some criteria but all from within the same campaign.

I do not, however see what the criteria is that should be allowing us to make this decision. (the word "company" is not useful here ... I'll need a bit more to go on, as the "company" is not a listed field in campaign, list, or lead ... try to be specific and detailed. :) )
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Multiple Carriers same Campaign

Postby udfxrookie » Mon Nov 12, 2012 5:36 pm

Sorry lol.

Carrier setups for both direct sip connections:

Carrier A
Sip.conf:
Code: Select all
[plymouth]
host=voip-plymouth-e.ashergroup.com
type=peer
disallow=all
allow=ulaw
allow=alaw
qualify=no
context=trunkinbound


Dialplan:
Code: Select all
exten => _21NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _21NXXNXXXXXX,n,Dial(${DIAL2TRUNK}/${EXTEN:1},,To)
exten => _21NXXNXXXXXX,n,Hangup


Globals:
Code: Select all
DIAL2TRUNK=SIP/voip-plymouth-e.ashergroup.com


Carrier B (Direct Sip to TPV)
Sip.conf:
Code: Select all
[palmco]
host=voip-palmco.ashergroup.com
type=peer
disallow=all
allow=ulaw
allow=alaw
qualify=no
context=trunkinbound


Dialplan:
Code: Select all
exten => _31NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _31NXXNXXXXXX,n,Dial(${DIAL3TRUNK}/${EXTEN:1},,To)
exten => _31NXXNXXXXXX,n,Hangup


Globals:
Code: Select all
DIAL2TRUNK=SIP/voip-palmco.ashergroup.com


I currently have two verification campaigns setup
Verification 1 with dialplan 2(Carrier A);Verification 1 receives sales from Energy 1
and
Verification 2 with dialplan 3(Carrier B); Verification 2 receives sales from Energy 2

I want

1 Campaign : Verification
Presets:
PA TPV #1 777-555-1212 (used for transfers from Energy 1 Campaign) uses Carrier A
PA TPV #2 777-555-5422 (used for transfers from Energy 1 Campaign) uses Carrier B
CT TPV #3 658-555-2522 (used for transfers from Energy 2 Campaign) uses Carrier B

and keep both fronting campaigns seperate
Campaign : Energy 1
Campaign : Energy 2

The agent in verification still must click "Transf-Cong", "Presets", and choose the preset they need (TPV1, TPV2, TPV3) but you can only dial 1&2 using carrier A and dial 3 using carrier B, how can I get that to happen in 1 campaign?
Customer dialplan to recognize the number trying to be dialed?
If numdialed = '7775551212' use Carrier A or Dial2Trunk
if numdialed = '6585552522' use Carrier B or Dial3Trunk
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Multiple Carriers same Campaign

Postby williamconley » Mon Nov 12, 2012 7:25 pm

I have more questions to get more details ... but have you looked at the function of the "override" button?

You can also set the agents up with an 11 digit TPV number and create a dialplan for _319NXXNXXXXXX and _318NXXNXXXXXX so one goes through each carrier. 87775551212 97775551212.

You can also set up specific dialplans for each TVP number to hard-code the carrier for a specific number. Creating an extension instead of a "pattern". Lose the underscore and hard-code the actual extension:

Code: Select all
exten => 317775551212,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 317775551212,n,Dial(${DIAL3TRUNK}/${EXTEN:1},,To)
exten => 317775551212,n,Hangup

exten => 217775551212,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 217775551212,n,Dial(${DIAL3TRUNK}/${EXTEN:1},,To)
exten => 217775551212,n,Hangup

Note that both of these have DIAL3TRUNK ... forcing the call into dial3trunk regardless of which carrier it should have been.
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Multiple Carriers same Campaign

Postby udfxrookie » Tue Nov 13, 2012 11:03 am

Can you make a dialplan per phone number?
I have two direct sip connections one using dialplan prefix2 and one using prefix 3.... can I add the 3 to the two and have one dialplan for both direct sip conenctions.
But when the verifier attemps to dial say '2104188373' the dialplan skips the first carrier and uses the second.... basically I need the dilaplan to dial ALL numbers using exten => _21NXXNXXXXXX,n,Dial(${DIAL2TRUNK}/${EXTEN:1},,To) and if the number equals 2104188373 then use exten => _21NXXNXXXXXX,n,Dial(${DIAL3TRUNK}/${EXTEN:1},,To)
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Multiple Carriers same Campaign

Postby williamconley » Tue Nov 13, 2012 5:27 pm

That is precisely what the sample above shows. Change 217775551212 to 212104188373 on all three lines. The first two digits are discarded on purpose. But you will note that number goes through the dial3trunk even though the dial prefix started with 2. Yes, you may make as many of the "overrides" as you like as long as you never create two that are identical. Asterisk will take the "best match" first. So you have a precise extension, it will match that before matching the "pattern" with the Ns and Xs in it since it is a precise match.
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 45 guests