pjsua_call_set_hold method
Put the specified call on hold. This will send re-INVITE with the appropriate SDP to inform remote that the call is being put on 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 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_set_hold(
int call_id,
ffi.Pointer<pjsua_msg_data> msg_data,
) {
return _pjsua_call_set_hold(
call_id,
msg_data,
);
}