uuid_getvar / uuid_setvar Safety
Hey all, This should hopefully be a very simple question. If I have a variable in one channel that I want to copy to another (these are unrelated, un-bridged channels) is it safe to just do, for example uuid_setvar some_var ${uuid_getvar other-call-id some_var} (from the dialplan)? Is there a better alternative? Without being an expert in how the variable expansion works, I want to make sure this would work for all possible values of the var, and I won't be caught off-guard with buffer size issues, separator issues, etc. Thanks in advance, Colin
yes On Tue, Nov 22, 2016 at 3:05 PM, Colin Morelli <colin.morelli@gmail.com> wrote:
Hey all,
This should hopefully be a very simple question. If I have a variable in one channel that I want to copy to another (these are unrelated, un-bridged channels) is it safe to just do, for example uuid_setvar some_var ${uuid_getvar other-call-id some_var} (from the dialplan)? Is there a better alternative?
Without being an expert in how the variable expansion works, I want to make sure this would work for all possible values of the var, and I won't be caught off-guard with buffer size issues, separator issues, etc.
Thanks in advance, Colin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
participants (2)
-
Anthony Minessale
-
Colin Morelli