Page 1 of 1

Dialplan for US

PostPosted: Mon Jun 29, 2009 12:11 pm
by lemic
Im really confused on this thing.
i wanna ask what does a dial plan for US looks like. since for UK and australia are like this:

; dial a long distance outbound number to the UK
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
exten => _901144XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,To)
exten => _901144XXXXXXXXXX,3,Hangup

; dial a long distance outbound number to Australia
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
exten => _901161XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901161XXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,To)
exten => _901161XXXXXXXXX,3,Hangup

how about for US?
can anyone also explain what are those things on top are?
sorry for asking this i'm just really new to this thing. i already read the manager manual many times but they dont have explanations on some technical configurations.

i have been using vicidial to work for autodial but it just keeps on ringing phones till it suddenly stops. i want to use the ratio dial method to call US numbers for about 10 agents.

thanks in advance :D

BTW im using VicidialNow CE 1.2

PostPosted: Mon Jun 29, 2009 1:31 pm
by williamconley
standard/sample US version:
Code: Select all
; dial a long distance outbound number in the US
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
Comment lines, important that you read them but not active.
Code: Select all
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
this initiates the vicidial calling system, without it the call will not be a part of vicidial.
Code: Select all
exten => _91NXXNXXXXXX,2,Dial(${DIAL9TRUNK}/${EXTEN:1},55,To)
This dials the call (read the note above about the "o" flag in ",To")
Code: Select all
exten => _91NXXNXXXXXX,3,Hangup
Also important for closing out the vicidial system.

This assumes that your carrier expects to receive "1NXXNXXXXXX". The "9" is stripped by ":1" in "EXTEN:1".

It also assumes that you have a "global variable" defined to tell the system where the context is for "DIAL9TRUNK" and what kind of context it is (SIP vs IAX2). Look up gobal variables (and search for them in your various extensions.conf files and any files INCLUDED in extensions.conf).

You will also find this (or one very similar) to it in extensions.conf or one of its includes. Please note that you cannot have two "_91NXXNXXXXXX" dial plans at the same time, so if you make one you must comment out the other one. Commenting out the one that is in the hard-coded extensions.conf (or a hard-coded include) will allow you to put it in a dynamically created carrier in the GUI.

Remember that there are also "dynamically created" includes for the extensions.conf file, altering those will have only a fleeting effect, as they will be rewritten the next time you make a related change in Vicidial's GUI unless you disable that feature (not recommended).