[asterisk-users] Match a Numer - then continue with dialplan

Douglas Garstang dgarstang at oneeighty.com
Tue Dec 19 15:15:49 MST 2006


> -----Original Message-----
> From: David Thomas [mailto:punknow at gmail.com]
> Sent: Tuesday, December 19, 2006 3:01 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Match a Numer - then continue with
> dialplan
> 
> 
> On 12/19/06, Douglas Garstang <dgarstang at oneeighty.com> wrote:
> > Anyone know if there's a way to match a dialplan extension, 
> execute some code, say set a variable, and then continue with 
> the dialplan?
> >
> > I want to set a variable when the dialplan flows beyond a 
> certain context. This would be a great feature.
> >
> > Doug.
> 
> Have you tried using the SetVar cmd? I haven't tried it but it sounds
> like it might work for this.
> 
> http://www.voip-info.org/wiki/view/Asterisk+variables
> 
> Regards,
> David

David,

If I call setvar, my variable will be set, but dialplan processing will stop...


More information about the asterisk-users mailing list