code push

This commit is contained in:
2025-08-07 15:24:29 -07:00
parent b5e091d845
commit 3b499e2074
15 changed files with 1225 additions and 232 deletions

View File

@@ -341,9 +341,8 @@ class TWP_Workflow {
} else if ($routing['action'] === 'forward' && $routing['data']['forward_number']) {
// Forward call
$twiml = new \Twilio\TwiML\VoiceResponse();
$dial = $twiml->dial();
$dial->number($routing['data']['forward_number']);
return $twiml;
$twiml->dial($routing['data']['forward_number']);
return $twiml->asXML();
}
// Fallback to legacy behavior if new routing doesn't work