I had exactly the same question. There is some really useful documentation on voip-info.org regarding the extensions.conf syntax.
-----Original Message----- From: Brian Cuthie [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 15:19 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Dial Plan Format Strings Try something like this: exten => _9NXXXXXX,1,Dial,IAX2/[EMAIL PROTECTED]/1${NPA}${EXTEN:1} ... -brian Nik Martin wrote: >In the absence of "The Definitive Guide to Asterisk Dial Plans" book, >I'd like to do something possibly unique with the formatting of >extensions in my dial plan, and am having trouble. We use VoicePulse >connect, which gives us local DID for inbound and outbound calls (even >though DTMF tones are not working in Voice Pulse Connect at the >moment). To dial local numbers, you have to dial the entire number, >like 1 + area code + number. I'd like to eliminate this by having the >user just dial 9 + 7 digit number, and have asterisk put the 1 + area >code (which is in a variable in extensions.conf) in front of it prior >to sending the request to Voice Pulse. Is this possible? > > >Thanks, > >Nik Martin > > >_______________________________________________ >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