Apologies, using two underscores (I retested) did not cause the error<br><br><div class="gmail_quote">On Sat, Feb 12, 2011 at 1:42 AM, Sherwood McGowan <span dir="ltr"><<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Alrighty Gents, let's see if any of you have encountered this one...Variables losing their value...I'm setting a variable with four underscores (used to be two, had same issue) so it can be inherited by child channels, and then the next line in the dialplan I use it but it appears to be empty...I've googled and found nothing stating this kind of weirdness..<br>
<br>Asterisk 1.8.2.2 (upgrading to 1.8.2.3 shortly)<br><br>dialplan:<br><br>[menu.main]<br>exten => s,1,Set(____recfile=${FILTER(0-9,${UNIQUEID})});<br>exten => s,n,Set(____logfile=${recfile}) ;<br><br>The log output:<br>
-- Executing [s@menu.main:1] Set("SIP/9999-00000000", "____recfile=12974953060") in new stack<br> -- Executing [s@menu.main:2] Set("SIP/9999-00000000", "____logfile=") in new stack<br>
<br>Anybody have thoughts?<br><br>Thanks,<br>S McGowan<br>
</blockquote></div><br>