Dialplan help ExecIf

I’m trying to test ${dialstatus} for CHANUNAVAIL or BUSY and then call a script based on that.

ExecIf($["${DIALSTATUS}" = “CHANUNAVAIL” | “BUSY” ]?system(/var/lib/asterisk/bin/faxout-process.pl --dialstatus ${DIALSTATUS})

does execif/asterisk support Or comparisons?

No, not the way you have written it.

http://www.voip-info.org/wiki/view/Asterisk+cmd+ExecIf
http://www.voip-info.org/wiki/view/Asterisk+cmd+GotoIf
http://www.voip-info.org/wiki/view/Asterisk+func+if