[Asterisk-Users] Dialing rules

Robert P. McKenzie rmckenzi at rpmdp.com
Sat Apr 16 11:53:01 MST 2005


Thanks very much.  I'm still learning things.  Dialing rules isn't something I've fully come to grips with yet.  Now 
that I see your explaination it's dead easy.

I'll put this in and give it a go.

Thanks again!

Cheers!!!

Shahar Livne wrote:
> 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Robert P. McKenzie                 |   GammaRay Technical Services Ltd
rmckenzi at rpmdp.com                 |             rob at gammaray-tech.com
http://www.uk-experience.com       |      http://www.gammaray-tech.com

Ecademy Profile:   http://www.ecademy.com/account.php?op=view&id=64014



More information about the asterisk-users mailing list