Page 1 of 1

how to make a dial plan that can dial any legnth diff countr

PostPosted: Tue Dec 04, 2012 11:06 am
by kinglorenz
HEllo

im a newbie i need to setup a dial plan that i can be able to dial different country and different phone number legnth is that possible? currently my dial plan below can only dial uk or us alone with one prefix kindly help me

01144 011 is the prefix to dial other country that US 44 is ul country code 41 is my dial prefix is it possible to have variable legnt as some country have different phone number leghnt.

exten => _41XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _41XXXXXXXXXX,n,Dial(${TELC-TRUNK}/01144${EXTEN:2},,tTor)
exten => _41XXXXXXXXXX,n,Hangup

Re: how to make a dial plan that can dial any legnth diff co

PostPosted: Tue Dec 04, 2012 11:14 pm
by williamconley
_41XXXXXXXXXX.

Note the "." at the end. This dot means "and any other digits after that". Meaning any number of any digits will be accepted after that digit in the string. So "41" followed by 10 digits followed by ANYTHING.

exten => _41XXXXXXXXXX.,1,
exten => _41XXXXXXXXXX.,n,
exten => _41XXXXXXXXXX.,n,

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600