Function switch_core_session_request_by_name

Source
pub unsafe extern "C" fn switch_core_session_request_by_name(
    endpoint_name: *const c_char,
    direction: switch_call_direction_t,
    pool: *mut *mut switch_memory_pool_t,
) -> *mut switch_core_session_t
Expand description

\brief Allocate and return a new session from the core based on a given endpoint module name \param endpoint_name the name of the endpoint module \param pool the pool to use \return the newly created session