Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

About

Pause the channel for a given number of milliseconds, consuming the audio for that period of time.
Calling sleep also will consume any outstanding RTP on the operating system's input queue, which can be very useful in situations where audio becomes backlogged.
To consume DTMFs, use the sleep_eat_digits variable.

 Click here to expand Table of Contents

Usage

<action application="sleep" data=<milliseconds>/>

Variables

sleep_eat_digits

When set to true, the sleep application will consume DTMFs which will, for example, prevent a caller from exiting out of an IVR. The default behavior is not to eat DTMF digits.

This is a change in default behavior as the sleep application previously ate DTMFs without exception. Be sure to set '''sleep_eat_digits''' to ''true'' in order to preserve the previous behavior.

<action application="set" data="sleep_eat_digits=true"/>

Example

<action application="sleep" data="5000"/>