<br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 7:32 AM, sean darcy <span dir="ltr"><<a href="mailto:seandarcy2@gmail.com" target="_blank">seandarcy2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm getting a parsing error with the folllowing:<br>
<br>
same=n,GoSubIf($[${CALLERID(<u></u>num)} = 2024324321]?other,1(${<u></u>thisexten}):)<br>
<br>
WARNING[11356]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input:<br>
= 2024324321<br>
^<br>
[Oct 4 21:53:35] WARNING[11356]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to <a href="https://wiki.asterisk.org/wiki/display/AST/Channel+Variables" target="_blank">https://wiki.asterisk.org/<u></u>wiki/display/AST/Channel+<u></u>Variables</a><br>
-- Executing [2124531143@from-teliax-sip:3] GosubIf("DAHDI/1-1", "?other,1(2124531143):") in new stack<br>
<br>
I've tried with and without spaces the = sign. Same Result. I've counted my parens and braces.<br>
<br>
Any help really appreciated!<br>
<br>
sean<br></blockquote><div><br></div><div> Replace your line with this and see..</div><div>same=n,GoSubIf($[${CALLERID(<u></u>num)} = 2024324321]?other,${<u></u>thisexten}:)
</div><div><br></div><div>--Satish Barot</div></div>