Quotes around variableA and integer 10 and eliminating spaces still yeilds 0
for the result and jums to True condition.
> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [email protected]> Date: Fri, 7 Mar 2008 11:14:58 -0500> Subject: RE:
> [on-asterisk] Dialplan problem> > Did you try some quotes?> > Bruce Nik
> wrote:> > Thanks for the feedback. I tried eliminating the spaces and> > the
> output is still 0 and goes to True condition. The odd> > thing is that the
> result being 0 or 1 is outputted just> > right. So, half of the context is
> right. Is there anyway I> > can debug from the middle on? I guess the whole
> GotoIF object> > has to be checked?> > > > Regards,> > Bruce> Date: Fri, 7
> Mar 2008 17:40:18 +1100> From:> > [EMAIL PROTECTED]> To:> > Bruce>
> [email protected]> Subject: Re: [on-asterisk] Dialplan> > problem> >> > Bruce>
> Jim Van Meggelen wrote:> > I've had this same problem> > before, and> >
> Bruce> I'm banging my head trying to> > remember how I solved> > it.> > > >>
> > Bruce> It's a funky syntax thing, I just can't put my finger> > on it.> >
> >> > Bruce> > Play around with quotes and spaces. I seem to recall> > some
> funky> > Bruce> stuff with> > the parser, especially in earlier asterisk> >
> Bruce> versions.> > I seem to recall $[${var} <> > 10]?true:false isn't the>
> > Bruce> same as> $[${var}<10]?true:false and you shouldn't> > include
> spaces> > Bruce> if you haven't> used quotes or something to that> > extent
> since the> > Bruce> space will be treated> as part of the logic.> > -- > >
> Best> > Bruce> regards,> Duane> > http://www.freeauth.org - Enterprise Two> >
> Bruce> Factor Authentication> http://www.nodedb.com - Think globally,> >
> Bruce> network locally> http://www.sydneywireless.com -> > Bruce>
> Telecommunications Freedom> http://e164.org - Because e164.arpa> > Bruce> is
> a tax on VoIP> > "In the long run the pessimist may> > be proved> > Bruce>
> right,> but the optimist has a better time on the trip."> >> > Bruce>> >
> -----------------------------------------------------------------> > Bruce>
> ----> To unsubscribe, e-mail: [EMAIL PROTECTED]> For> > Bruce> additional
> commands, e-mail: [EMAIL PROTECTED]>> >
> _________________________________________________________________ > >
> ---------------------------------------------------------------------> To
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail:
> [EMAIL PROTECTED]>
_________________________________________________________________