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

Brian West brian at freeswitch.org
Fri Jul 11 03:11:35 EDT 2008


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080711/c488d55a/attachment-0001.html 


More information about the Freeswitch-dev mailing list