[asterisk-users] parse error in GosubIf

Ira ira at extrasensory.com
Wed Oct 17 15:33:33 CDT 2007


At 12:57 PM 10/17/2007, you wrote:
>If there's anyone who can shed some light on why my GosubIf condition
>is throwing a parse error, I'd greatly appreciate your insight. This
>was really frustrating and is probably a stupid mistake.

exten => h,n,GosubIf($["${SENDNOTIFICATIONS}" = "1"]?notify,1)

Should fix it.  If SENDNOTIFICATIONS is empty, you'll get that error.

Ira 




More information about the asterisk-users mailing list