diff --git a/includes/class-twp-agent-manager.php b/includes/class-twp-agent-manager.php index 905f39c..60eacf1 100644 --- a/includes/class-twp-agent-manager.php +++ b/includes/class-twp-agent-manager.php @@ -288,7 +288,7 @@ 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('', ['timeout' => 30]); $dial->client($client_name); // Update the existing call to redirect to browser