[Asterisk-Users] Dial Plan Format Strings

Nik Martin nmartin at radiancetech.com
Tue Apr 13 07:16:51 MST 2004


Ahh, the {EXTEN:1} must serve to skip the 1st character of the extension,
stripping the 9 off
That's what I needed, thanks!

-----Original Message-----
From: Austin M. Brower [mailto:bobman at pandion.psouth.net] On Behalf Of
Austin M. Brower
Sent: Tuesday, April 13, 2004 9:11 AM
To: Nik Martin
Subject: Re: [Asterisk-Users] Dial Plan Format Strings


Nik,
	I use NuFone, but here's how I do it (my area code is 207):

exten => _9NXXXXXX,7,Dial(IAX2/ausername at NuFone/1207${EXTEN:1})

Good luck,
	Austin

On Tue, Apr 13, 2004 at 08:13:19AM -0500, 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
> 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






More information about the asterisk-users mailing list