On Sun, 2006-02-19 at 20:30 -0500, Doug Lytle wrote:
> I have the following in my dialplan, counts the number of loops and when 
> it hits greater then 5, exit.  It works, but errors initially with,
> 
> "syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_LP or 
> tolken; Input: +1".
> 
> Could somebody tell me why?

is count defined before it tries to do count + 1?

if count is null you will see a parser error like that becuase it
evaluates to "count = + 1"


-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
http://www.sacaug.org/ Sacramento Asterisk Users Group

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to