Verbs

<Leave>

Exit the current queue from inside an <Enqueue> wait loop.

Example

<Response>
  <Say>We are experiencing long waits. Please try again later.</Say>
  <Leave/>
</Response>

Attributes

<Leave> takes no attributes.

Notes

  • <Leave> takes no attributes and is meaningful only inside the VoiceML returned from an <Enqueue> waitUrl loop: the queue exits with QueueResult=leave, then either the <Enqueue> action URL runs (if set) or execution resumes at the verb after <Enqueue>.
  • Outside a wait loop, <Leave> surfaces as a document error.