[Asterisk-Dev] Patch to add relative lengths to SubString

Reini Urban r.urban at inode.at
Wed Jun 11 00:35:45 MST 2003


Reini Urban wrote:
> This should be extended to normal string assignment also:
> e.g. ${EXTEN:0:-4} gets a SIP number without the 4-digit extension.

Please forgive me.
Code review showed that this is already implemented in 
pbx_substitute_variables_temp()

-- 
Reini Urban - Entwicklung - http://inode.at




More information about the asterisk-dev mailing list