[asterisk-users] convert URI string to lowercase

Ioan Indreias ioan.indreias at modulo.ro
Fri Jan 26 15:04:54 MST 2007


Hello,

Maybe using app_backticks will solve your problem.
I use it to call a script and saved the result into an Asterisk variable.

http://www.pbxfreeware.org/app_backticks.c
http://www.voip-info.org/wiki/view/Asterisk+cmd+Backticks

Regards,
## nini @ www.modulo.ro ##

Pavel Jezek wrote:
> any idea, how to do something like this, but in correct/functional 
> form?  ;-)
>
> Set(foo=System(echo "${EXTEN}" | tr "[:upper:]" "[:lower:]"))
>
> ${EXTEN} is "SomeStrinG"
> ${foo} output should bee "somestring"
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


More information about the asterisk-users mailing list