Draw three states
Mark the call as received, greeting played and finished. Write the exact sentence the caller should hear, using sample hours, and specify the point at which the connection should close.
Pick the right vocabulary
XML-based call-control instructions vary by telephone provider. Check the selected provider's reference before translating a flow. The same three states can be tested without relying on identical command names.
Add one fork
Offer a second branch for a callback request. Read both branches aloud, then hang up halfway through each one. Capture which state the call reached so an abandoned request is distinguishable from a completed request.
