feat(enterprise): add voice conference API (#13064)

The backend APIs for the voice call channel 
ref: #11602
This commit is contained in:
Sojan Jose
2025-12-15 15:11:59 -08:00
committed by GitHub
parent 3fce56c98f
commit d2ba9a2ad3
14 changed files with 518 additions and 49 deletions

View File

@@ -151,9 +151,8 @@ class Twilio::VoiceController < ApplicationController
end
def conference_status_callback_url
host = ENV.fetch('FRONTEND_URL', '')
phone_digits = inbox_channel.phone_number.delete_prefix('+')
"#{host}/twilio/voice/conference_status/#{phone_digits}"
Rails.application.routes.url_helpers.twilio_voice_conference_status_url(phone: phone_digits)
end
def find_conversation_for_conference!(friendly_name:, call_sid:)