fetchaudio
fetchaudio
Example
<?php
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"/>
<form>
<block>
<goto next="delayexamplescript.php"/>
</block>
</form>
</vxml><?php
header("Content-type: text/xml");
echo "<?xml version=\"1.0\"?>\n";
sleep(10);
?>
<vxml version="2.0">
<form>
<block>
<prompt> delayed script </prompt>
</block>
</form>
</vxml>Explanation
Notes
Last updated