Default Value: 0 seconds

The time interval to wait at the start of a fetch delay before playing the fetchaudio source. The value is a Time Designation. The default interval is platform-dependent, e.g. “2s”. The idea is that when a fetch delay is short, it may be better to have a few seconds of silence instead of a bit of fetchaudio that is immediately cut off.


header("Content-type: text/xml");
echo "<?xml version=\"1.0\"?>\n";
<vxml version="2.0">
  <property name="fetchaudio" value="holdmusic.wav"/>
  <property name="fetchaudiodelay" value="2s"/>
  <property name="fetchaudiominimum" value="5s"/>
      <goto next="delayexamplescript.php"/>


From this example, the “fetchaudio” property sets holdmusic.wav to play whenever there is a delay in fetching a file. The “fetchaudiodelay” property causes a 2 second delay to happen before the “fetchaudio” source is played. The “fetchaudiominimum” property causes a 5 second minimum time interval to play the “fetchaudio” source, even after the fetch has arrived. For the purposes of this example, the delay php script is set to sleep for 10 seconds for the fetchaudio elements to play.



Last updated