On Fri, Oct 5, 2012 at 7:32 AM, sean darcy <seandar...@gmail.com> wrote:
> I'm getting a parsing error with the folllowing: > > same=n,GoSubIf($[${CALLERID(**num)} = 2024324321]?other,1(${** > thisexten}):) > > WARNING[11356]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax > error: syntax error, unexpected '=', expecting $end; Input: > = 2024324321 > ^ > [Oct 4 21:53:35] WARNING[11356]: ast_expr2.fl:472 ast_yyerror: If you > have questions, please refer to https://wiki.asterisk.org/** > wiki/display/AST/Channel+**Variables<https://wiki.asterisk.org/wiki/display/AST/Channel+Variables> > -- Executing [2124531143@from-teliax-sip:3] GosubIf("DAHDI/1-1", > "?other,1(2124531143):") in new stack > > I've tried with and without spaces the = sign. Same Result. I've counted > my parens and braces. > > Any help really appreciated! > > sean > Replace your line with this and see.. same=n,GoSubIf($[${CALLERID(**num)} = 2024324321]?other,${**thisexten}:) --Satish Barot
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users