[asterisk-users] freepbx dial plan, add and remove at the same time

Mat Stace mps at colewood.net
Fri Sep 22 06:46:56 MST 2006


I can have a go at explaining.

I've had a quick dig through my extensions.conf, and I've got it in an
outgoing sipgate dial command.

exten => _0.,1,Dial(SIP/+44${EXTEN:1}@sipgate,30,t)

What it does is in the dial command, it sends +44, then the extension which
you dialled, minus the first digit (the leading 0)

Cheers

Mat


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Mike Williams
> Sent: 22 September 2006 13:49
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] freepbx dial plan,add and 
> remove at the same time
> 
> 
> On Friday 22 September 2006 13:36, Mat Stace wrote:
> > It's a while since I did this one myself, but I was doing the exact 
> > same thing when using voipbuster (or whichever of it's sisters 
> > services I was using at the time).
> >
> > I'm thinking that in the dial command you want
> >
> > +44{EXTEN:1}
> 
> Thanks, but could you explain how that works?
> The {EXTEN:1} suggests the first digit is removed, or perhaps 
> more precisely 
> that's a place holder for the number dialed starting one digit in?
> 
> -- 
> Mike Williams
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.7/454 - Release 
> Date: 21/09/2006
>  
> 



More information about the asterisk-users mailing list