pjsua_call_reinvite2 method
int
pjsua_call_reinvite2(
- int call_id,
- Pointer<
pjsua_call_setting> opt, - Pointer<
pjsua_msg_data> msg_data
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 opt Optional call setting, if NULL, the current call setting will be used. Note that to release hold or update contact or omit SDP offer, this parameter cannot be NULL and it must specify appropriate flags, e.g: PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, PJSUA_CALL_NO_SDP_OFFER. @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_reinvite2(
int call_id,
ffi.Pointer<pjsua_call_setting> opt,
ffi.Pointer<pjsua_msg_data> msg_data,
) {
return _pjsua_call_reinvite2(
call_id,
opt,
msg_data,
);
}