[asterisk-dev] Re: [asterisk-users] convert URI string to lowercase

Jason Parker jparker at digium.com
Sat Jan 27 09:20:05 MST 2007


func_shell was added to svn trunk recently.

----- Pavel Jezek <pavel.jezek at i.cz> wrote:
> thank you for tip, seems that app_backticks will do exactly what I
> want, 
> but as asterisk addon, is it compatible with asterisk 1.4?
> maybe this is also idea for developers to add something like this app
> to 
> main asterisk tree, because current asterisk lack function/application
> 
> for converting strings to lower od upper cases
> I think it would be usefull when working with URI (incoming URI
> strings 
> should be "normalized" to further processing in dialplan, eg. lookup
> in 
> DB or ldap)
> PJ
> 
> 
> 
> 
> Ioan Indreias wrote:
> > 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
> > _______________________________________________
> > --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
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev


-- 
Jason Parker
Digium



More information about the asterisk-dev mailing list