Page 1 of 1

Multiple carrier for multiple campaigns

PostPosted: Sat Nov 08, 2014 2:14 pm
by mabbas
Hi,
I wanna know can I use multiple carriers ( Voip Accounts) for each campaign? Like a dedicated carrier for each campaign.

Re: Multiple carrier for multiple campaigns

PostPosted: Sat Nov 08, 2014 4:15 pm
by covarrubiasgg
Sure, it is quite simple.

In your dialplan define different prefix for each carrier, for example:


Code: Select all
exten => _7XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7XXXXXXXXXX,2,Dial(${CARRIER1}${EXTEN:1},,To)
exten => _7XXXXXXXXXX,3,Hangup

exten => _8XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8XXXXXXXXXX,2,Dial(${CARRIER2}/${EXTEN:1},,To)
exten => _8XXXXXXXXXX,3,Hangup


In your campaigns, you will have to set Dial Prefix 7 for one campaign and Dial Prefix 8 for the other, that way you can separate multiple carrier for campaigns,,,