[Asterisk-Users] Dropping last digit from phone number

Matt Riddell matt.riddell at sineapps.com
Mon Nov 7 05:53:13 MST 2005


Bartosz Piec wrote:
> Matt Riddell napisał(a):
> 
>> -1
> 
> 
> I've tried it. It just leaves the last 1 digit and drops the rest.
> 

You could try ${EXTEN:-LEN(${EXTEN:1})}

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list