testing progress

This commit is contained in:
2025-08-12 07:26:19 -07:00
parent 003015a4b1
commit 75fae0fbdb
2 changed files with 4 additions and 3 deletions

View File

@@ -288,7 +288,8 @@ class TWP_Agent_Manager {
// Create TwiML to redirect call to browser client
$twiml = new \Twilio\TwiML\VoiceResponse();
$twiml->say('Connecting you to an agent.', ['voice' => 'alice']);
$dial = $twiml->dial('', ['timeout' => 30]);
$dial = $twiml->dial();
$dial->setAttribute('timeout', 30);
$dial->client($client_name);
// Update the existing call to redirect to browser