Hi,

> Does anyone know why this row:
>  exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
> ${RGPREFIX}]?4:3)

took me some squinting, but the parantheses seem correct - so I presume
the Asterisk parser can't cope with that convoluted an expression (using
a function within a variable, basically).
Try putting LEN(${RGPREFIX}) into a separate variable first, then refer
to it in your GotoIf in a second statement.

  Marc

_______________________________________________
--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

Reply via email to