[asterisk-dev] Jumping to specific extension priority out
ofapplication
Watkins, Bradley
Bradley.Watkins at compuware.com
Tue Feb 20 10:29:43 MST 2007
You're looking for pbx_builtin_setvar_helper, not ast_var_assign.
Here's a link to the Doxygen docs for the function:
http://www.asterisk.org/doxygen/1.4/pbx_8c-source.html#l05751
Looking at the usage of this function in just about any existing
application will give you some pointers on usage as well.
Regards,
- Brad
________________________________
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Thomas
Hecker
Sent: Tuesday, February 20, 2007 11:46 AM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Jumping to specific extension
priority out ofapplication
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
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070220/d130cabe/attachment-0001.htm
More information about the asterisk-dev
mailing list