on_call_transfer_request property
Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pj_str_t> dst, Pointer<Int32> code)> >
on_call_transfer_request
getter/setter pair
Notify application on call being transferred (i.e. REFER is received). Application can decide to accept/reject transfer request by setting the code (default is 202). When this callback is not defined, the default behavior is to accept the transfer. See also on_call_transfer_request2() callback for the version with \a pjsua_call_setting in the argument list.
@param call_id The call index. @param dst The destination where the call will be transferred to. @param code Status code to be returned for the call transfer request. On input, it contains status code 202.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(pjsua_call_id call_id, ffi.Pointer<pj_str_t> dst,
ffi.Pointer<ffi.Int32> code)>> on_call_transfer_request;