Hi,
try

[testEx]
exten => _X.,1,noop(${EXTEN})
same => n,noop(len: ${LEN(${EXTEN})})
same => n,noop(${EXTEN:0:${MATH(${LEN(${EXTEN})}-1)}})
exten => _X.,n,hangup



On 20 August 2013 12:15, Jonas Kellens <[email protected]> wrote:

>  On 08/20/2013 10:47 AM, jg wrote:
>
> How about "${EXTEN:-1:1}"?
>
> "The Definitive Guide" has a special paragraph with the title "*More
> Advanced Digit Manipulation".*
>
> jg
>
>
>
> Same result : #
>
>
> Jonas.
>
> --
> _____________________________________________________________________
> -- 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
>
--
_____________________________________________________________________
-- 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