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)}" = "2024324321"]?other,1(${thisexten}):)

The quotes make sure it doesn't fail on an empty callerid.

Ira

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to