<div dir="ltr">Hi,<div>try</div><div><br></div><div><div>[testEx]</div><div>exten => _X.,1,noop(${EXTEN})</div><div>same => n,noop(len: ${LEN(${EXTEN})})</div><div>same => n,noop(${EXTEN:0:${MATH(${LEN(${EXTEN})}-1)}})</div>
<div>exten => _X.,n,hangup<br></div></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 August 2013 12:15, Jonas Kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
On 08/20/2013 10:47 AM, jg wrote:<br>
<blockquote type="cite">
<div>How about "${EXTEN:-1:1}"?<br>
<br>
"The Definitive Guide" has a special paragraph with the title "<strong>More
Advanced Digit Manipulation".</strong><br>
<br>
jg</div>
</blockquote>
<br>
<br></div></div>
Same result : #<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Jonas.<br>
</font></span></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div><br></div></div>