Page 1 of 1

Carrier

PostPosted: Wed Mar 27, 2013 11:07 am
by richardroi
Support,

We have two campaigns and I want to use two carriers. How can I set it up the way that one carrier directs to Campaign A and another to Campaign B for billing purposes?

Thank you!

Re: Carrier

PostPosted: Wed Mar 27, 2013 12:36 pm
by richardroi
Is it possible through " Dial Prefix"?

Re: Carrier

PostPosted: Wed Mar 27, 2013 12:47 pm
by williamconley
In fact that is the primary purpose of dial prefix.

If you set one carrier up as dial9 and one as dial8 ... you change the prefix to change the carriers. Just be sure your "EXTEN" variable in the dial line has "EXTEN:1" to remove the dial prefix before sending the call to the carrier (after all, the carrier will not know what to do with a "9" in front of the phone number! LOL). 8-)

Samples: (be sure to place each in the appropriate carrier, and be sure to use the appropriate "DIALXTRUNK" variable in each one)

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

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

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

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

exten=>_0NXXNXXXXXXNXXNXXXXXX,1,Set(CALLERID(num)=${EXTEN:11})
exten=>_0NXXNXXXXXXNXXNXXXXXX,n,AGI(agi://127.0.0.1:4577/call_log)
exten=>_0NXXNXXXXXXNXXNXXXXXX,n,Dial(${DIAL8TRUNK}/1${EXTEN:1:10},,To)
exten=>_0NXXNXXXXXXNXXNXXXXXX,n,Hangup

These do require (obviously) using an appropriate globals string to define the DIALxTRUNK for each carrier.

I'll let you mull over the usage on that last one. It's a personal favorite of mine. LOL Requires X-Lite, though, to get that many digits dialed. 8-)

Re: Carrier

PostPosted: Wed Mar 27, 2013 1:23 pm
by richardroi
Thank you Sir...
Was thinking about the same thing...I got it, but your right I am lost with the last one.

Re: Carrier

PostPosted: Wed Mar 27, 2013 1:48 pm
by williamconley
It allows dialing Zero ... then the number of the person you are CALLING and the CID you want to use while calling them. For instance: You want to call your Mom but use your Dad's Cell Phone CID: Because she's really pissed at you right now and won't answer the phone for YOU, but will answer the phone for DAD. So she sees Dad's cell phone and answers, and you now have about 4 seconds to apologize before she realizes she's been duped.

I'm pretty sure you can come up with other uses, but in my case it is generally used to call back numbers I do not recognize to avoid a call center getting my real number and adding me to a list. 8-)

I hate having my cell or office line on a robodial ... and in this business it happens far too often. This avoids that eventuality. And anybody who "autodials" me back forever on 50 different sales lists, may get an unpleasant surprise. Nuff said. ;)

Re: Carrier

PostPosted: Thu Mar 28, 2013 5:11 am
by richardroi
Sir This is "GREAT"!
Thank you so much!!!

Re: Carrier

PostPosted: Thu Mar 28, 2013 7:50 pm
by williamconley
We aim to please 8-) Now: Thank me by staying and helping newbies. :) It's fun!