Switch2Voip dial plan

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Switch2Voip dial plan

Postby switch2voip » Wed Nov 13, 2013 3:34 pm

For the multiple persons that have requested the dial plan, this is what has been working for others.

Your USA dialplan should look something like this:
exten => _91.,1,Set(callerid(num)=+1XXXXXXXXXX)
exten => _91.,2,Set(callerid(ani)=Phone number)
exten => _91.,3,AGI(agi://127.0.0.1:4577/call_log)
exten => _91.,4,Dial(sip/${EXTEN:1}@Switch2Voip,55,o)
exten => _91,5,Hangup
switch2voip
 
Posts: 7
Joined: Tue Jul 02, 2013 4:42 pm

Re: Switch2Voip dial plan

Postby williamconley » Wed Nov 13, 2013 10:23 pm

I beg to differ. Two mistakes ...

1) "_91." is not a us dialplan. use "_91NXXNXXXXXX" instead (for all lines, of course).
2) line 5, you missed a "." after 91 so it is not the same "extension" as the others and will never be used.

Next: It is NOT advisable to set the callerid num or ani in the dialplan entry. In some versions of Vicidial this will break the call completely.

Why do you suggest setting the ANI? Is this expected to be for a single VOIP carrier? (IE: Yours! Instead of "universal"?). If so, it would be good to mention the specific carrier that this is meant for. Most do not require and may not accept the "+1" in front of the callerid number. And many users may not know to replace the X's with their phone number!

We usually suggest this as a universal dialplan entry:

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


And it should be accompanied by a Globals String:

Code: Select all
DIAL9TRUNK=SIP/carriername

DIAL9TRUNK is an example, you could also use DIAL8TRUNK and DIAL7TRUNK ... just be sure not to duplicate them across carriers unless you Know what you are Doing. Be sure the Globals String DIAL9TRUNK matches the variable used in line two of the dialplan entry ${DIAL9TRUNK}

Replace "carriername" with the value inside the brackets of the Account Entry. IE: [carriername] in account entry should match SIP/carriername of Globals String.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 67 guests