<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.1001" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=598452717-20022007></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>Y<SPAN
class=598452717-20022007>ou're looking for pbx_builtin_setvar_helper, not
ast_var_assign.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007>Here's a link to the Doxygen docs for the
function:</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007><A
href="http://www.asterisk.org/doxygen/1.4/pbx_8c-source.html#l05751">http://www.asterisk.org/doxygen/1.4/pbx_8c-source.html#l05751</A></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007>Looking at the usage of this function in just about any
existing application will give you some pointers on usage as
well.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007>Regards,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=598452717-20022007>- Brad</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-dev-bounces@lists.digium.com
[mailto:asterisk-dev-bounces@lists.digium.com] <B>On Behalf Of </B>Thomas
Hecker<BR><B>Sent:</B> Tuesday, February 20, 2007 11:46 AM<BR><B>To:</B>
Asterisk Developers Mailing List<BR><B>Subject:</B> Re: [asterisk-dev] Jumping
to specific extension priority out ofapplication<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>How do I set this variable?<BR>I tried
<BR><BR>ast_var_assign("APP_STATUS", "Status01");<BR><BR>but my dialplan
extension<BR>exten => 800,2,Verbose("App Status: ${APP_STATUS}")<BR>prints
no value. <BR><BR>Thank you!<BR>Thomas<BR><SPAN class=598452717-20022007><FONT
face=Arial color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=598452717-20022007></SPAN><SPAN
class=598452717-20022007> </SPAN></DIV></BLOCKQUOTE><br/>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.</BODY></HTML>