pub unsafe extern "C" fn switch_core_session_outgoing_channel(
session: *mut switch_core_session_t,
var_event: *mut switch_event_t,
endpoint_name: *const c_char,
caller_profile: *mut switch_caller_profile_t,
new_session: *mut *mut switch_core_session_t,
pool: *mut *mut switch_memory_pool_t,
flags: switch_originate_flag_t,
cancel_cause: *mut switch_call_cause_t,
) -> switch_call_cause_tExpand description
\brief Request an outgoing session spawned from an existing session using a desired endpoing module \param session the originating session \param var_event switch_event_t containing paramaters \param endpoint_name the name of the module to use for the new session \param caller_profile the originator’s caller profile \param new_session a NULL pointer to aim at the newly created session \param pool optional existing memory pool to donate to the session \param flags flags to use \return the cause code of the attempted call