FW: [Asterisk-Users] syntax error
Rob Thomas
rob at wpm4L.com
Wed Jun 21 06:42:16 MST 2006
(Try again from the proper email address)
--Rob
-----Original Message-----
From: Rob Thomas
Sent: Thursday, 22 June 2006 12:22 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] syntax error
That's freePBX or AMP code that we've since fixed - The replacement line is
exten => s,2,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}"]?4:3) ; check for old prefix
(Upgrade to freePBX 2.1.1, it's much better, really)
--Rob
(freePBX dev)
> -----Original Message-----
> From: dviggiani at tiscali.it [mailto:dviggiani at tiscali.it]
> Sent: Wednesday, 21 June 2006 10:17 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: [Asterisk-Users] syntax error
>
>
> Does anyone know why this row:
>
> exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
> ${RGPREFIX}]?4:3)
>
> generate this error:
>
> ast_expr2.fl: ast_yyerror(): syntax error: syntax error,
> unexpected TOK_NE, expecting TOK_MINUS or TOK_COMPL or TOK_LP
> or TOKEN; Input: !=
> ^
>
> ?
>
> I was unable to debug it.
> --
> DV
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list