On Fri, 2006-10-13 at 10:20 -0700,
[EMAIL PROTECTED] wrote:
>                 Well, I made the changes you suggested, reloaded AEL
>         and got the same 
>         result:
>         
>              -- Executing macro("SIP/162-c7ac", "newPlaceCallPSTN")
>         Oct 13 11:09:07 WARNING[15648]: ast_expr2.fl:183 ast_yyerror: 
>         ast_yyerror(): syntax error: syntax error, unexpected TOK_GT,
>         expecting 
>         TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
  > {            Set(TIMEOUT(absolute)=7200);            NoOp(Analog
Out 
        List: ZAP/4&ZAP/3&ZAP/2&ZAP/1); 
        ChanIsAvail(ZAP/4&ZAP/3&ZAP/2&ZAP/1);           NoOp(Available
        Out List: 
        );                             Set(theChannel=);      NoOp(Now
        Calling 
        95145121677 on ....);
        Dial(/5145121677);      }
        
Something's seriously wrong, because it's ast_expr2 that's complaining!
That code should only be looking inside $[..] expressions, and somehow,
it's looking at more than that! Your code is "leaking" the expr stuff
(stuff in $[...] into 
the AEL code. Check for $['s that aren't properly closed off.

Beware AEL version 1 (native in 1.2). It's the reason I wrote AEL2
(native in 1.4). If you 
get tired of trying to debug it, I suggest either moving to 1.4, or
trying to install the
AEL2-1.2 branch from team/murf, and using AEL2 with 1.2. 

-- 
Steve Murphy
Software Developer
Digium

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
--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