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:
[email protected]> Subject: Re: [on-asterisk] Dialplan problem> > Jim Van
Meggelen wrote:> > I've had this same problem before, and I'm banging my head
trying to> > remember how I solved it.> > > > It's a funky syntax thing, I just
can't put my finger on it.> > > > Play around with quotes and spaces. I seem to
recall some funky stuff with> > the parser, especially in earlier asterisk
versions.> > I seem to recall $[${var} < 10]?true:false isn't the same as>
$[${var}<10]?true:false and you shouldn't include spaces if you haven't> used
quotes or something to that extent since the space will be treated> as part of
the logic.> > -- > > Best regards,> Duane> > http://www.freeauth.org -
Enterprise Two Factor Authentication> http://www.nodedb.com - Think globally,
network locally> http://www.sydneywireless.com - Telecommunications Freedom>
http://e164.org - Because e164.arpa is a tax on VoIP> > "In the long run the
pessimist may be proved right,> but the optimist has a better time on the
trip."> >
---------------------------------------------------------------------> To
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>
_________________________________________________________________