enableCallbackSignaling method

Future<int> enableCallbackSignaling({
  1. required bool sending,
  2. required bool received,
})

Enables or disables the SDK's SIP message callbacks, which mirror every sent and/or received SIP message into the platform logs.

Purely diagnostic: the callbacks hand over a copy of each message and cannot alter, delay or block what goes on the wire. Both directions are off by default.

Output goes to the platform console (Logcat / Xcode) and appears only while setLogsEnabled is on. Digest response="..." values are redacted, but the messages still carry SIP URIs, Call-IDs and nonces — keep this off in release builds.

Parameters:

  • sending: Whether to log SIP messages the SDK sends
  • received: Whether to log SIP messages the SDK receives

Returns 0 on success, negative error code on failure.

Implementation

Future<int> enableCallbackSignaling({
  required bool sending,
  required bool received,
}) async {
  throw UnimplementedError(
    'enableCallbackSignaling has not been implemented.',
  );
}