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,
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:
=
So here's what I used:
$['x${CALLERID(num)}'='x2024324321']
And that worked!
On 10/05/2012 08:28 AM, Richard Kenner wrote:
I'm getting a parsing error with the folllowing:
same=n,GoSubIf($[${CALLERID(num)} = 2024324321]?other,1($
{thisexten}):)
WARNING[11356]:
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]
At 07:02 PM 10/4/2012, you wrote:
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
Try :
same=n,GoSubIf($[${CALLERID(num)}