[*] Using a '#' termninator for a variable length extension

Bill Reid billreid at shaw.ca
Tue Jul 31 17:26:20 CDT 2007


John Lange wrote:

> 
> exten => _X#,1,Goto(${EXTEN:0:$[${LEN(${EXTEN})}-1]},1)
> 

Isn't that just saying goto the extension entered minus the #.

How does this handle the variable length?

-- Bill


More information about the Asterisk mailing list