On Wednesday 17 October 2007 23:41:28 Michael Iedema wrote:
> On 10/17/07, Ira <[EMAIL PROTECTED]> wrote:
> > 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)
>
> I just tried this again with quotes as many have suggested (thanks!)
> but am still getting the same error. The first step in that
> email-hungup macro is being executed and nothing else.
>
> Also, this:
>
> Oct 17 22:14:54 -- Executing [EMAIL PROTECTED]:2] GosubIf("Zap/3-1",
> "1?notify|1") in new stack

This means, the variable evaluates to 1 - only values are shown in log.

Regards,
Atis


-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to