SV: [Asterisk-Users] Error in config sample for GoToIf?

Mike Lynchfield theclubvoip at gmail.com
Tue Jun 27 11:44:50 MST 2006


BLAH=1
"BLAH"="1"



On 6/27/06, Brian Capouch <brianc at palaver.net> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060627/b211e4ab/attachment.htm


More information about the asterisk-users mailing list