Commit Graph

18 Commits

Author SHA1 Message Date
Sojan Jose
fb4042c863 refactor(voice): use Twilio-native statuses and remove legacy fallbacks
- Drop FE normalizeStatus and BE STATUS_MAPPING
- Update bubbles/preview and store to use Twilio status values
- DRY ActionCable incoming-call payload builder
- Use server-provided conference_sid for client connect
- VoiceAPI: standardized returns, accept store, simplify disconnects
- Remove legacy/fallback comments introduced in this PR
2025-08-20 13:38:50 +02:00
Sojan Jose
f2afc7bdfc Voice: phone-scoped Twilio endpoints, conference TwiML join; enterprise parity for outbound initiation; signature validation via inbox; settings UI + tokens updated; add Enterprise notes to AGENTS.md 2025-08-15 16:41:42 +02:00
Sojan Jose
af91b4af21 refactor(voice): unify inbound/outbound via orchestrator & message builder
- Add Voice::CallOrchestratorService to centralize flows
- Add Voice::CallMessageBuilder for consistent voice call messages
- Incoming/Outgoing services delegate to orchestrator; use CallStatus::Manager
- ConversationFinderService: phone optional; public call_sid lookup

feat(ui): simplify call widget + reliable incoming detection + ringtone

- Remove global widget toggling; rely on Vuex
- ActionCable: loosen created condition, backfill on updated
- Add ringtone on incoming via shared Audio helper
- Guard Twilio connect() to avoid duplicate active call errors

fix(voice): decline incoming ends call & updates status

- Reject call now completes Twilio call if in progress
- Update status via manager to no_answer with activity
2025-08-14 16:50:38 +02:00
Sojan Jose
c0b201f169 fix: improve call termination and auto-join for voice calls
- Fix outgoing call auto-join without manual button click
- Fix end call button to properly terminate calls on contact side
- Fix decline button to immediately disconnect customer calls
- Improve call state detection for outgoing vs incoming calls
- Add proper WebRTC disconnect handling when contact hangs up
- Enhanced error handling and state cleanup for all call scenarios
2025-08-14 15:53:09 +02:00
Sojan Jose
9ce6d9076b chore: apply code quality improvements and linting fixes
- Remove remaining console.log statements and replace with comments
- Add ESLint disable comments for intentionally unused variables
- Improve code formatting and style consistency
- Fix remaining linting violations for better CI compliance
2025-08-13 13:53:56 +02:00
Sojan Jose
3116c6548f chore: clean up 2025-07-23 17:02:17 +04:00
Sojan Jose
992b063f20 chore: more clean up 2025-07-18 03:35:59 -07:00
Sojan Jose
669241801e chore: clean up 2025-07-17 04:53:37 -07:00
Sojan Jose
cb9d45a355 chore: clean up voice channel code for MVP
- Simplify message builder content_attributes handling
- Remove AI captain integration from incoming call service
- Clean up FloatingCallWidget by removing non-essential features:
  - Remove Gravatar/MD5 dependency
  - Remove keypad/DTMF functionality
  - Remove fullscreen toggle
  - Simplify avatar handling
- Apply consistent code formatting across voice components
- Remove debug logging and unused code

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 02:22:07 -07:00
Sojan Jose
6c998ef4cf feat: Remove non-essential voice features
- Remove recording controller (recordings not needed for basic calls)
- Remove complex CallManager component (FloatingCallWidget handles core functionality)
- Remove advanced DashboardAudioNotificationHelper (simple audio handled in components)
- Clean up all references to removed audio helper
- Keep essential components for core voice calling functionality
2025-07-13 16:48:04 -07:00
Sojan
aa4ef28e0e chore: fixes 2025-05-09 20:47:03 -07:00
Sojan
2879a0cd42 chore: new floating widget design 2025-05-08 03:42:47 -07:00
Sojan
74cd639574 chore: voice call campaigns 2025-05-05 23:50:34 -07:00
Sojan
4e8a39f358 chore: fix conversation list status 2025-05-04 18:07:16 -07:00
Sojan
4348c4ab87 chore: clean up voice message components 2025-05-04 05:00:20 -07:00
Sojan
3692cde1a9 chore: inbound and outbound calls that work 2025-05-02 02:41:38 -07:00
Sojan
3f0c01e166 chore: floating button for incoming call 2025-04-29 03:45:08 -07:00
Sojan
a7ff808d01 chore: floating call button 2025-04-28 01:08:03 -07:00