on_call_replace_request property
Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pjsip_rx_data> rdata, Pointer<Int> st_code, Pointer<pj_str_t> st_text)> >
on_call_replace_request
getter/setter pair
Notify application about incoming INVITE with Replaces header. Application may reject the request by setting non-2xx code. See also on_call_replace_request2() callback for the version with \a pjsua_call_setting in the argument list.
@param call_id The call ID to be replaced. @param rdata The incoming INVITE request to replace the call. @param st_code Status code to be set by application. Application should only return a final status (200-699). @param st_text Optional status text to be set by application.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
pjsua_call_id call_id,
ffi.Pointer<pjsip_rx_data> rdata,
ffi.Pointer<ffi.Int> st_code,
ffi.Pointer<pj_str_t> st_text)>> on_call_replace_request;