Page 1 of 1
Second manual dial prefix
Posted:
Mon Mar 02, 2015 6:47 am
by florin198
Hello.
Guys, on the GoAutodial server that I manage I have a campaign which receives calls and makes calls outbound through a SIP trunk, the issue is that when I dial outbound manually I can only dial one phone numbers, the rest are disabled, sometimes agents need to calls to other phone numbers that the allowed one, I have other trunks which allow this, but how I can specify this in my campaign ?
I already created another campaign which allows calls to all the phone numbers, but this setup is not satisfactory to my boss because agents need to login /logout and they spend time doing this.
My question is, can a campaign use two different trunks , and if YES, how ?
Config
GoAutodial CE 2.1
VERSION: 2.4-309a
BUILD: 110430-1642
Asterisk 1.4.39.1-vici
CentOS release 5.6
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 7:38 am
by mflorell
First of all, the version of Vicidial you are using is over 3 years old, you should really upgrade to get all of the bug fixes and new features.
Second, what exactly do you mean by "I can only dial one phone numbers, the rest are disabled"?
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 7:53 am
by florin198
Hello Mat, thank you for your quick replay, Yes, I know it's old, but if it works......don't change it...
I have a client on this campaign which forwards calls to our agents, if the agent makes a sale he then transfers the customer to this phone number via a 3 way conference where the potential customer is processed by other agents, any other phone numbers are not reachable except this processing phone number, the problem is that sometimes a forwarded call can drop so our agents need to call back the client, but they cannot use the default SIP trunk for this client, they need to use our regular SIP provider.
My question is if I can setup this campaign to allow dialing phone numbers that are routed through 2 different SIP trunks ?
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 8:04 am
by florin198
Does it have any sense what I'm saying ?
I'm not an expert in asterisk/vicidial but if needed I can try to better explain ...
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 9:12 am
by mflorell
So the SIP trunk that campaign is using now is only capable of dialing one phone number?
If so, that's an easy fix, just set up a carrier entry with that one phone number as a separate entry before the dialstring for wildcard(like 91NXXNXXXXXX). Then only if it is that one phone number will it use that trunk, otherwise it will use the other trunk you have set up.
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 9:22 am
by florin198
Yes, Mat, the sip trunk is capable of dialing only one number.
Regarding the second part...monkey see monkey does, I need an example...
this how I have defined the sip trunk for this campaign...
exten => _76.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _76.,n,Dial(SIP/${EXTEN:3,10}@voip-clientscompany.com,,tToR)
exten => _76.,n,Hangup()
Where 76 is the the prefix I assigned so I can put it on the campaign setting on the Manual Dial prefix...
Where I input the change you suggested ? here or I define a new carrier ?
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 9:40 am
by mflorell
It would be something like this:
exten => _7619998887777,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _7619998887777,n,Dial(SIP/${EXTEN:3,10}@voip-clientscompany.com,,tToR)
exten => _7619998887777,n,Hangup()
exten => _76.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _76.,n,Dial(SIP/${EXTEN:3,10}@voip-normalcarrier.com,,tToR)
exten => _76.,n,Hangup()
That way, only the 9998887777 number will go to the client carrier, all other numbers use your normal carrier, and this is all using the same dial prefix.
Re: Second manual dial prefix
Posted:
Mon Mar 02, 2015 10:18 am
by florin198
thank you Mat, that did the job, after watching /var/log/asterisk/messages and grepping for my client special number ( the 7619998887777 from example) I see that the number is routed through @voip-clientscompany.com, If i grep for any other dialed number I see that is routed through @voip-normalcarrier.com
Thank you again,