Skip to content

Conversation

@dgershman
Copy link
Collaborator

This feature allows websites to embed a dial widget that enables
browser-based calling using WebRTC, providing the same functionality
as calling the phone number.

Backend changes:

  • Add WebRtcController for token generation and config endpoints
  • Add WebRtcCallController to handle TwiML webhooks for browser calls
  • Add WebRTC settings to SettingsService allowlist
  • Add routes for /api/v1/webrtc/token and /api/v1/webrtc/config
  • Add /webrtc-call and /webrtc-status TwiML webhook endpoints

Frontend changes:

  • Add React DialWidget component with call controls
  • Add widget entry point for standalone bundle
  • Add widget-loader.js for easy embedding on external sites
  • Add widget-demo.html showing usage examples

Configuration required:

  • webrtc_enabled: Enable/disable WebRTC calling
  • twilio_api_key: Twilio API Key SID
  • twilio_api_secret: Twilio API Key Secret
  • twilio_twiml_app_sid: TwiML Application SID

Dependencies:

  • Add @twilio/voice-sdk for browser WebRTC support

@github-actions
Copy link

github-actions bot commented Dec 30, 2025

E2E Test Results

31 tests   31 ✅  2m 24s ⏱️
 7 suites   0 💤
 1 files     0 ❌

Results for commit bef3430.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 30, 2025

Test Results

511 tests   511 ✅  11m 1s ⏱️
193 suites    0 💤
  1 files      0 ❌

Results for commit bef3430.

♻️ This comment has been updated with latest results.

This feature allows websites to embed a dial widget that enables
browser-based calling using WebRTC, providing the same functionality
as calling the phone number.

Backend changes:
- Add WebRtcController for token generation and config endpoints
- Add WebRtcCallController to handle TwiML webhooks for browser calls
- Add WebRTC settings to SettingsService allowlist
- Add routes for /api/v1/webrtc/token and /api/v1/webrtc/config
- Add /webrtc-call and /webrtc-status TwiML webhook endpoints

Frontend changes:
- Add React DialWidget component with call controls
- Add widget entry point for standalone bundle
- Add widget-loader.js for easy embedding on external sites
- Add widget-demo.html showing usage examples

Configuration required:
- webrtc_enabled: Enable/disable WebRTC calling
- twilio_api_key: Twilio API Key SID
- twilio_api_secret: Twilio API Key Secret
- twilio_twiml_app_sid: TwiML Application SID

Dependencies:
- Add @twilio/voice-sdk for browser WebRTC support
@dgershman dgershman force-pushed the claude/webrtc-dial-widget-buhc3 branch from 4f24be9 to 1e8e0a9 Compare December 30, 2025 04:21
@dgershman dgershman merged commit 9aeb47a into main Jan 3, 2026
7 checks passed
@dgershman dgershman deleted the claude/webrtc-dial-widget-buhc3 branch January 3, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants