Static Documents
Runtime Name: static
A Static Document block type allows the developer to put in static CXML documents that will be run directly as-is on a voice call.
The code in this block type must be a well-formed and valid CXML document.
Example Code
<?xml version="1.0"?>
<Response>
<Gather action="main-routing" input="dtmf" numDigits="1">
<Say>Welcome to Famous Company Ltd. For sales press 1, for customer support press 2,
and for billing press 3.</Say>
</Gather>
</Response>
Pros and Cons
Pros | Cons |
---|---|
Simple to implement and use. | No dynamic features. |
Good for fast testing or simpler IVR scnearios. | Can be mildly confusing. |
Doesn't require any coding skills. |