Jon Schøpzinsky wrote:
HelloAs 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
