setCallReportIdentifiers method
Adds authoritative Telnyx identifiers received after call creation.
Implementation
void setCallReportIdentifiers({String? sessionId, String? legId}) {
_callReportTelnyxSessionId = sessionId ?? _callReportTelnyxSessionId;
_callReportTelnyxLegId = legId ?? _callReportTelnyxLegId;
_callReportCollector?.updateStoredCallMetadata(
telnyxSessionId: _callReportTelnyxSessionId,
telnyxLegId: _callReportTelnyxLegId,
);
}