BLAH=1
"BLAH"="1"



On 6/27/06, Brian Capouch <[EMAIL PROTECTED]> wrote:
Jon Schøpzinsky wrote:
> Hello
>
> As far as ive understood, you can just write
>
> Exten => s,n,GotoIf([${AVAILSTATUS} = 1]?autoanswer:fail)
>
> ${AVAILSTATUS} would return 1, and "${AVAILSTATUS}" would return "1"
>

Through more testing, the double quotes I used seemed superfluous; if
you use them in both places, or in neither, it works the same.

But your example above lacks the "$" ahead of the left brace.  It is
*that* which I now believe is in error in the example.

Plus there seems to be confusion, on the Wiki at least, as to what
values mean what for ${AVAILSTATUS}

Thx.

B.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



--
Mike
Sales Manager
http://www.theclubvoip.com
Making it happen
1.888.470.7253
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to