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

2006-06-27 Thread Jon Schøpzinsky
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:

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

2006-06-27 Thread Brian Capouch
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

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

2006-06-27 Thread Mike Lynchfield
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