Second manual dial prefix

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Second manual dial prefix

Postby florin198 » Mon Mar 02, 2015 6:47 am

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
florin198
 
Posts: 13
Joined: Tue Apr 16, 2013 7:08 am

Re: Second manual dial prefix

Postby mflorell » Mon Mar 02, 2015 7:38 am

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"?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Second manual dial prefix

Postby florin198 » Mon Mar 02, 2015 7:53 am

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 ?
Last edited by florin198 on Mon Mar 02, 2015 8:26 am, edited 2 times in total.
florin198
 
Posts: 13
Joined: Tue Apr 16, 2013 7:08 am

Re: Second manual dial prefix

Postby florin198 » Mon Mar 02, 2015 8:04 am

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 ...
florin198
 
Posts: 13
Joined: Tue Apr 16, 2013 7:08 am

Re: Second manual dial prefix

Postby mflorell » Mon Mar 02, 2015 9:12 am

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.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Second manual dial prefix

Postby florin198 » Mon Mar 02, 2015 9:22 am

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 ?
florin198
 
Posts: 13
Joined: Tue Apr 16, 2013 7:08 am

Re: Second manual dial prefix

Postby mflorell » Mon Mar 02, 2015 9:40 am

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.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Second manual dial prefix

Postby florin198 » Mon Mar 02, 2015 10:18 am

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,
florin198
 
Posts: 13
Joined: Tue Apr 16, 2013 7:08 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 53 guests