pjsua_call_reinvite method
Send re-INVITE request or release hold. The final status of the request itself will be reported on the \a on_call_media_state() callback, which inform the application that the media state of the call has changed.
@param call_id Call identification. @param options Bitmask of pjsua_call_flag constants. Note that for compatibility, specifying PJ_TRUE here is equal to specifying PJSUA_CALL_UNHOLD flag. @param msg_data Optional message components to be sent with the request.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_call_reinvite(
int call_id,
int options,
ffi.Pointer<pjsua_msg_data> msg_data,
) {
return _pjsua_call_reinvite(
call_id,
options,
msg_data,
);
}