[asterisk-dev] Jumping to specific extension priority out of application

Thomas Hecker thomas.hecker at gmail.com
Tue Feb 20 09:45:38 MST 2007


How do I set this variable?
I tried

ast_var_assign("APP_STATUS", "Status01");

but my dialplan extension
exten => 800,2,Verbose("App Status: ${APP_STATUS}")
prints no value.

Thank you!
Thomas

On 31/01/07, Sergey Okhapkin <sos at sokhapkin.dyndns.org> wrote:
>
> It's better to not use deprecated jumps, let your application to set a
> variable like "APP_STATUS" and check the variable value in dialplan after
> the
> application completes.
>
> On Wednesday 31 January 2007 09:31, Thomas Hecker wrote:
> > Hi,
> >
> > I'm developing my own an asterisk application. Conditional on the code
> in
> > this application I want to jump to another priority (e.g. +10) in the
> > current dialplan extension. How do I do this out of my application code?
>
> >
> > Thank you,
> > Thomas
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070220/9f7231a2/attachment.htm


More information about the asterisk-dev mailing list