fetchtimeout
fetchtimeout
Example
<?xml version="1.0"?>
<vxml version="2.0">
<property name="fetchtimeout" value="20s"/>
<form>
<block>
<goto next="fetch_script.php"/>
</block>
</form>
</vxml><?php
header("Content-type: text/xml");
echo "<?xml version=\"1.0\"?>\n";
// sleeping for 25 seconds will hold up the script long enough to exceed the fetch timeout
sleep(25);
?>
<vxml version="2.0">
<form>
<block>
<prompt> You've fetched the other script! </prompt>
</block>
</form>
</vxml>Explanation
Notes
Last updated