[Freeswitch-users] Global Variable Substitution

Brian Wiese brian.wiese.freeswitch at gmail.com
Mon Jan 2 19:56:42 MSK 2012

Hi Everyone.

I thought I read somewhere that this was possible, but I can't find it now...

I need a way to find-and-replace within a variable.  So, for example,
I want to take variables that have values like this:


...and do a find/replace of the "abc" with "xyz" so the variables
would now return:


The use case I've run into is that I need to add leg variables to
group_call.  In my case, group_call can return any number of members,
so I figured I would just replace the first "[" with

Thanks for the help!


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list