BLAH=1<br>"BLAH"="1"<br><br><br><br><div><span class="gmail_quote">On 6/27/06, <b class="gmail_sendername">Brian Capouch</b> <<a href="mailto:brianc@palaver.net">brianc@palaver.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jon Schøpzinsky wrote:<br>> Hello<br>><br>> As far as ive understood, you can just write
<br>><br>> Exten => s,n,GotoIf([${AVAILSTATUS} = 1]?autoanswer:fail)<br>><br>> ${AVAILSTATUS} would return 1, and "${AVAILSTATUS}" would return "1"<br>><br><br>Through more testing, the double quotes I used seemed superfluous; if
<br>you use them in both places, or in neither, it works the same.<br><br>But your example above lacks the "$" ahead of the left brace. It is<br>*that* which I now believe is in error in the example.<br><br>Plus there seems to be confusion, on the Wiki at least, as to what
<br>values mean what for ${AVAILSTATUS}<br><br>Thx.<br><br>B.<br><br>--<br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mike<br>Sales Manager<br><a href="http://www.theclubvoip.com">http://www.theclubvoip.com</a><br>Making it happen
<br>1.888.470.7253