on_call_transfer_status property

Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Int st_code, Pointer<pj_str_t> st_text, pj_bool_t final1, Pointer<pj_bool_t> p_cont)>> on_call_transfer_status
getter/setter pair

Notify application of the status of previously sent call transfer request. Application can monitor the status of the call transfer request, for example to decide whether to terminate existing call.

@param call_id Call ID. @param st_code Status progress of the transfer request. @param st_text Status progress text. @param final If non-zero, no further notification will be reported. The st_code specified in this callback is the final status. @param p_cont Initially will be set to non-zero, application can set this to FALSE if it no longer wants to receie further notification (for example, after it hangs up the call).

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(
            pjsua_call_id call_id,
            ffi.Int st_code,
            ffi.Pointer<pj_str_t> st_text,
            pj_bool_t final1,
            ffi.Pointer<pj_bool_t> p_cont)>> on_call_transfer_status;