Function switch_core_session_perform_get_partner

Source
pub unsafe extern "C" fn switch_core_session_perform_get_partner(
    session: *mut switch_core_session_t,
    partner: *mut *mut switch_core_session_t,
    file: *const c_char,
    func: *const c_char,
    line: c_int,
) -> switch_status_t
Expand description

\brief Get the session’s partner (the session its bridged to) \param session The session we’re searching with \param partner [out] The session’s partner, or NULL if it wasnt found \return SWITCH_STATUS_SUCCESS or SWITCH_STATUS_FALSE if this session isn’t bridged