[Freeswitch-dev] INFO: wait_for_silence wikified; set chan var w/ result?

Yossi Neiman freeswitch at cartissolutions.com
Fri Jul 11 15:57:24 EDT 2008


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 at freeswitch.org
>




More information about the Freeswitch-dev mailing list