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
Jon
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Brian Capouch
Sendt:
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
BLAH=1BLAH=1On 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 1Through more testing, the double quotes