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:[EMAIL PROTECTED]



_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to