on_pager_status2 property

Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pj_str_t> to, Pointer<pj_str_t> body, Pointer<Void> user_data, Int32 status, Pointer<pj_str_t> reason, Pointer<pjsip_tx_data> tdata, Pointer<pjsip_rx_data> rdata, pjsua_acc_id acc_id)>> on_pager_status2
getter/setter pair

Notify application about the delivery status of outgoing pager request.

@param call_id Containts the ID of the call where the IM was sent, or PJSUA_INVALID_ID if the IM was sent outside call context. @param to Destination URI. @param body Message body. @param user_data Arbitrary data that was specified when sending IM message. @param status Delivery status. @param reason Delivery status reason. @param tdata The original MESSAGE request. @param rdata The incoming MESSAGE response, or NULL if the message transaction fails because of time out or transport error. @param acc_id Account ID from this the instant message was send.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(
            pjsua_call_id call_id,
            ffi.Pointer<pj_str_t> to,
            ffi.Pointer<pj_str_t> body,
            ffi.Pointer<ffi.Void> user_data,
            ffi.Int32 status,
            ffi.Pointer<pj_str_t> reason,
            ffi.Pointer<pjsip_tx_data> tdata,
            ffi.Pointer<pjsip_rx_data> rdata,
            pjsua_acc_id acc_id)>> on_pager_status2;