Function switch_channel_set_profile_var

Source
pub unsafe extern "C" fn switch_channel_set_profile_var(
    channel: *mut switch_channel_t,
    name: *const c_char,
    val: *const c_char,
) -> switch_status_t
Expand description

\brief Set a variable on a given channel \param channel channel to set variable on \param varname the name of the variable \param value the value of the variable \returns SWITCH_STATUS_SUCCESS if successful