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

2012-10-05 Thread Satish Barot
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,

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

2012-10-05 Thread Richard Kenner
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: =

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

2012-10-05 Thread sean darcy
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]:

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

2012-10-04 Thread sean darcy
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]

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

2012-10-04 Thread Ira
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)}