code push

This commit is contained in:
shadowdao committed 2025-08-07 15:24:29 -07:00
1 parent b5e091d845
commit 3b499e2074
15 files changed
+1225 -232

No files matched your search

+2 -3
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