on_pager2 property

Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pj_str_t> from, Pointer<pj_str_t> to, Pointer<pj_str_t> contact, Pointer<pj_str_t> mime_type, Pointer<pj_str_t> body, Pointer<pjsip_rx_data> rdata, pjsua_acc_id acc_id)>> on_pager2
getter/setter pair

This is the alternative version of the \a on_pager() callback with \a pjsip_rx_data argument.

@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 from URI of the sender. @param to URI of the destination message. @param contact The Contact URI of the sender, if present. @param mime_type MIME type of the message. @param body The message content. @param rdata The incoming MESSAGE request. @param acc_id Account ID most suitable for this message.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(
            pjsua_call_id call_id,
            ffi.Pointer<pj_str_t> from,
            ffi.Pointer<pj_str_t> to,
            ffi.Pointer<pj_str_t> contact,
            ffi.Pointer<pj_str_t> mime_type,
            ffi.Pointer<pj_str_t> body,
            ffi.Pointer<pjsip_rx_data> rdata,
            pjsua_acc_id acc_id)>> on_pager2;