I do something very similar with my home system. I'm using Voicepulse, and
want to be able to dial 10 digits instead of 11 for local calls. My local
area codes are 321 and 407. Everything else is considered LD.

exten => _407NXXXXXX,1,Dial(IAX2/[EMAIL PROTECTED]/1${EXTEN})
exten => _321NXXXXXX,1,Dial(IAX2/[EMAIL PROTECTED]/1${EXTEN})
exten => _1NXXNXXXXXX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

Assuming I wanted to dial only 7 digits for calls within 407 I could do this:

exten => _NXXXXXX,1,Dial(IAX2/[EMAIL PROTECTED]/1407${EXTEN})

Hope this helps!
Reid

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacob Hunter
Sent: Saturday, June 12, 2004 6:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Prepending for 9NxxNxxx - adding the area code
for 7 digit dialing

im in US
On Jun 12, 2004, at 1:14 AM, Jacob Hunter wrote:

> How do you prepend.  I want to be able to dial 7 digits instead of of 
> 11 for local calls.
>
> Can someone post there extensions.conf part that is relavent?
>
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to