11 Jul
2008
11 Jul
'08
7:57 p.m.
And all those scripting language lovers say that coding in compiled languages is so difficult. ;-) -- Yossi Neiman Cartis Solutions, Inc. http://www.cartissolutions.com Brian West wrote:
You'll need to do this first:
switch_channel_t *channel = switch_core_session_get_channel(session);
Then you have the channel to pass to switch_channel_set_variable.
/b
On Jul 11, 2008, at 2:04 AM, Michael Collins wrote:
Quick follow up: I found a reference to what looks like a great little function. Is it really this easy?
switch_channel_set_variable(channel,”my_var”,”my_val”);
Thanks, MC
Brian West sip:brian@freeswitch.org