Skip to main content

switch_api_execute

Function switch_api_execute 

Source
pub unsafe extern "C" fn switch_api_execute(
    cmd: *const c_char,
    arg: *const c_char,
    session: *mut switch_core_session_t,
    stream: *mut switch_stream_handle_t,
) -> switch_status_t
Expand description

\brief Execute a registered API command \param cmd the name of the API command to execute \param arg the optional arguement to the command \param session an optional session \param stream stream for output \return the status returned by the API call