on_call_replaced property
Pointer<NativeFunction<Void Function(pjsua_call_id old_call_id, pjsua_call_id new_call_id)> >
on_call_replaced
getter/setter pair
Notify application that an existing call has been replaced with a new call. This happens when PJSUA-API receives incoming INVITE request with Replaces header.
After this callback is called, normally PJSUA-API will disconnect \a old_call_id and establish \a new_call_id.
@param old_call_id Existing call which to be replaced with the new call. @param new_call_id The new call. @param rdata The incoming INVITE with Replaces request.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
pjsua_call_id old_call_id, pjsua_call_id new_call_id)>>
on_call_replaced;