I may of removed it for testing just prior to send the email - i get the same error when its there:<br>exten => IN,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" : "in=([^|]+)"] = Always]?r,1)<br><br>
<div class="gmail_quote">On Tue, Apr 15, 2008 at 6:07 PM, Jason Parker <<a href="mailto:jparker@digium.com">jparker@digium.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">מוישי ברעוודה wrote:<br>
> Asterisk is reporting the following error:<br>
><br>
> [Apr 15 16:58:32] WARNING[14759] ast_expr2.fl: ast_yyerror(): syntax<br>
> error: syntax error, unexpected ':', expecting $end; Input:<br>
> : Always<br>
> ^<br>
><br>
> here is the dialplan:<br>
> exten => OUT,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" :<br>
> "out=([^|]+)"] = Always]?r,1)<br>
> exten => GROUP,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" :<br>
> "out=([^|]+)"] = Always]?r,1)<br>
> exten => IN,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" :<br>
> "in=([^|]+)"] Always]?r,1)<br>
><br>
> The error is for the last line (IN,1). Funny thing is that asterisk<br>
> doesnt report any error for the first line (OUT,1)<br>
><br>
<br>
</div></div>Because OUT is correct. IN is missing a =, as in = Always<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br><br clear="all"><br>-- <br>Moshe Brevda, CTO<br>ipconnect, ltd. <br>
26 Strauss St., Jerusalem, Israel<br>W. 1.800.800.456 (+9722.569.5295)<br>M. +97254.666.1367<br>