DIALPLAN AND SIP SETTINGS BASICS HELP

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

DIALPLAN AND SIP SETTINGS BASICS HELP

Postby JOHN HASTINGS » Tue Dec 03, 2013 7:25 am

Hello friends,
Kindly help us newbies in this field with the explanation of each term used in the dial plan so that we can sort the problems out with enough understanding of what and why are we doing
exten => _91XXXXXXXXXX,2(SIP/{EXTEN:some number}@[SIP ACCOUNT NAME],55,tTo
can any one explain each term being used here like why _ is used? then significance of 91 and whatever is in the brackets.

THANKS
JOHN HASTINGS
 
Posts: 1
Joined: Tue Dec 03, 2013 6:42 am

Re: DIALPLAN AND SIP SETTINGS BASICS HELP

Postby geoff3dmg » Wed Dec 04, 2013 9:57 am

Dialplan stuff is basic to asterisk rather than something Vicidial has introduced. Even more so carrier dialplan configurations. There are some very good articles on the Asterisk wiki that cover these and more concepts.

https://wiki.asterisk.org/wiki/display/ ... ndamentals

In particular read the section on extensions and the Dial application.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: DIALPLAN AND SIP SETTINGS BASICS HELP

Postby williamconley » Wed Dec 04, 2013 8:28 pm

1) you missed the asterisk command "dial" which is expected to be part of that line.

2) viewtopic.php?f=7&t=8916&hilit=+91NXXNXXXXXX
viewtopic.php?f=4&t=10397&hilit=+91NXXNXXXXXX
viewtopic.php?f=4&t=16419&hilit=+91NXXNXXXXXX

3)
Code: Select all
exten => _91NXXNXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,To)

exten => This is required to define any extension in extensions.conf
_91NXXNXXXXXX
_ = this is a "pattern" not a literal number. Thus any special characters (such as "X" or "N" will be interpreted as pattern definitions)
1 = US dial code (domestic long distance indicator). This number is supplied by the "dial code" of each lead.
NXX = Area Code (may not begin with 0 or 1, which is what the "N" is for)
NXX = Exchange (also may not begin with 0 or 1)
XXXX = Number (area/exchange/number constitute a 10 digit US phone number)
2 = 2nd line of the extensions "program" (each extension is a program and may contain multiple lines, this is the 2nd line of the "_91NXXNXXXXXX" extension program)
Dial = Application being executed on this line of the extension program
${TRUNKX} = the $ and { } cause this to be a Variable. It must be declared before this line is executed. This is best done in the "Global Variable" field. It can also be replaced with a literal (for instance "Dial(SIP/carrier/" would use a sip account named [carrier] in the sip.conf or any included file)
${EXTEN:1} = Another variable, but this one has ":1" which will delete the first digit of the string. In this case that is the "9" which is not expected to be sent to the carrier. The 9 is only used to bring this call to this extension to be sent to this carrier, then is discarded as having "done its job". This digit is supplied by the "Dial Prefix" of the campaign.
To = "Switches" which determine technical behavior of the call once generated. Look 'em up, but ALWAYS include the "o" in Vicidial as it is required.
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 65 guests