on_call_tsx_state property

Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pjsip_transaction> tsx, Pointer<pjsip_event> e)>> on_call_tsx_state
getter/setter pair

This is a general notification callback which is called whenever a transaction within the call has changed state. Application can implement this callback for example to monitor the state of outgoing requests, or to answer unhandled incoming requests (such as INFO) with a final response.

@param call_id Call identification. @param tsx The transaction which has changed state. @param e Transaction event that caused the state change.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(
            pjsua_call_id call_id,
            ffi.Pointer<pjsip_transaction> tsx,
            ffi.Pointer<pjsip_event> e)>> on_call_tsx_state;