renderSwml
Render the complete SWML document by assembling all 5 phases: pre-answer, answer, post-answer, AI, and post-AI verbs. This is called automatically by the Hono route handler on each incoming request, but can also be called manually for testing or debugging.
Parameters
callId
Optional call ID to use for session tokens. Auto-generated if omitted.
Returns
string — The rendered SWML document as a JSON string.