refactor(voice-call): split manager

This commit is contained in:
Peter Steinberger
2026-01-14 05:40:19 +00:00
parent 8ba80d2dac
commit b5f7ba502d
9 changed files with 760 additions and 704 deletions

View File

@@ -0,0 +1,10 @@
import { escapeXml } from "../voice-mapping.js";
export function generateNotifyTwiml(message: string, voice: string): string {
return `<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="${voice}">${escapeXml(message)}</Say>
<Hangup/>
</Response>`;
}