[asterisk-users] 10.9.0-rc1 : Help with GoSubIf Parsing

sean darcy seandarcy2 at gmail.com
Thu Oct 4 21:02:34 CDT 2012


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
     -- Executing [2124531143 at 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




More information about the asterisk-users mailing list