[Asterisk-Users] Dialing rules
Shahar Livne
livnes at gmail.com
Sat Apr 16 02:42:05 MST 2005
Hi Robert,
extensions.conf grammar is very easy:
To change 602085551212 to really dialing 6011442085551212:
exten => _602.,n,Dial,IAX2/user:passwd at pbx.address.com/6011442${EXTEN:3}
Everything that starts with 602 - take out the first 3 digits, and add
instead 6011442 before the number.
For more info - go to
http://www.voip-info.org/wiki-Asterisk+config+extensions.conf
Shahar Livne
LivneX CEO
http://livnex.com
On 4/14/05, Robert P. McKenzie <rmckenzi at rpmdp.com> wrote:
> Hello all,
>
> I need to setup some dialing rules and I've had nothing but problems
> with them.
>
> I am using an IAX terminated service for my PSTN calls. To access the
> service from my asterisk box I dial 6 then the number. The part I'm
> having problems is that since the company is based in the US if I want
> to dial a number in Canada/US I just dial 616136661212, I am based in
> the UK and need to have sensible dialing for local calls here.
> Currently I have to dial 6011442085551212.
>
> Dialing rules I need to setup will allow simple dialing of 616135551212
> as well as taking say 602085551212 and converting it to 6011442085551212.
>
> Any help would be greatly appreciated.
>
> --
> Robert P. McKenzie
More information about the asterisk-users
mailing list