Douglas Garstang wrote:
-----Original Message-----
From: David Thomas [mailto:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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...
Then something else is wrong. SetVar will not stop dialplan processing.
In 1.4, I believe SetVar() was removed. Check upgrade.txt. Use Set
in 1.4 instead.
_______________________________________________
--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