Here is what I do:
${EXTEN:0:$[${LEN(${EXTEN})} - 1]}
that should give you for the following
exten => 123456789,1,Noop(${EXTEN:0:$[${LEN(${EXTEN})} - 1]})
12345678

Hope this helps.

On 11/7/05, Bartosz Piec <[EMAIL PROTECTED]> wrote:
> Erik napisaƂ(a):
> > exten => _XX*,1,NoOp(${EXTEN:0:-1})
>
> exten => _XX*,1,NoOp(${EXTEN:0:2})
> :)
>
> It works, thanks.
>
> --
> Best regards,
> Bartosz Piec
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to