fix: показывать транскрипт AI-звонка в рабочем месте оператора #1

Merged
arystanbek merged 1 commits from fix/operator-voice-transcript into main 2026-08-30 07:49:01 +00:00
Owner

OperatorView никогда не запрашивал GET /asterisk/live-calls/{call_id}/ai-summary у asterisk-bridge для голосовых звонков — эффект, который тянет содержимое диалога, покрывал только telegram/whatsapp. Панель звонка показывала только Call ID и AI state, без транскрипта, хотя бэкенд всегда отдавал полные данные (transcript_segments, customer_request_text, ai_outcome_text). Добавлен фетч + рендер транскрипта.

OperatorView никогда не запрашивал GET /asterisk/live-calls/{call_id}/ai-summary у asterisk-bridge для голосовых звонков — эффект, который тянет содержимое диалога, покрывал только telegram/whatsapp. Панель звонка показывала только Call ID и AI state, без транскрипта, хотя бэкенд всегда отдавал полные данные (transcript_segments, customer_request_text, ai_outcome_text). Добавлен фетч + рендер транскрипта.
arystanbek added 1 commit 2026-08-30 07:48:53 +00:00
OperatorView never fetched asterisk-bridge's GET
/asterisk/live-calls/{call_id}/ai-summary endpoint for voice calls —
the useEffect that loads conversation content only covered telegram
and whatsapp threads, so the voice panel showed just a Call ID and AI
state string, no transcript of what was actually said, even though
the backend already had the full data (transcript_segments,
customer_request_text, ai_outcome_text).

Add BackendVoiceAISummary types, poll the ai-summary endpoint while a
voice interaction is selected, and render the transcript + AI
request/outcome summary in VoiceWorkspace.
arystanbek merged commit fe416ee9cc into main 2026-08-30 07:49:01 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: digiops/omnichannel#1