The Wait Element

    The Wait element waits silently for a specified number of seconds. If <Wait> is the first element in a XML document, Plivo will wait the specified number of seconds before picking up the call.


    length integer

    Time to wait in seconds

    Allowed values - integer greater than 0. Defaults to 1.


    When silence is set to true, if no voice or sound is detected for minSilence milliseconds, end the wait and continue to the next element in the XML immediately (effectively cutting the wait for length seconds short).

    When silence is set to false, wait for the full period of length seconds, regardless of the presence of sound/voice or the value of minSilence.

    Allowed values - true or false. Defaults to false.

    minSilence integer

    The minimum length in milliseconds of silence that needs to be present to qualify as silence.

    Only used when silence is set to true. Note that the duration of length needs to be greater than the duration of minSilence for this to work as expected.

    Allowed values - integer > 0. Defaults to 2000.

    beep boolean

    Used to detect a voice mail machine. Only used when silence and minSilence are false. More info here.

    Allowed values - true, false. Defaults to false.