[asterisk-users] parse error in GosubIf
Anselm Martin Hoffmeister
anselm at hoffmeister-online.de
Wed Oct 17 15:25:00 CDT 2007
Am Mittwoch, den 17.10.2007, 21:57 +0200 schrieb Michael Iedema:
> Greetings everyone,
>
> today I spent the last part of my day trying to find a parse error
> inside this snip:
> http://pastebin.ca/740081
>
> 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.
Try changing the relevant line
exten => h,n,GosubIf($[${SENDNOTIFICATIONS} = 1]?notify,1)
to
exten => h,n,GosubIf($["${SENDNOTIFICATIONS}" = "1"]?notify,1)
BR
Anselm
More information about the asterisk-users
mailing list