A basic app
Posted: Wed Jan 27, 2010 3:08 pm
Hi, there -
Just trying to get a basic call going.
At the moment - we don't have cURL enabled. Can I test from a html form? I get the response xml that my call is queued:
<queuecall status="queued" call_id="869431">
<login>xxxxxxxx@xxxx.edu</login>
<pin>xxxxxxx</pin>
<phone_number>tel:+1xxxxxxxxxx</phone_number>
<start_url>http://xxxxx/~xxxx/voicexml.php</start_url>
−
<result_url>
http://xxxxxx/~xxxx/callresponse.php
</result_url>
</queuecall>
But - I don't get the call - obviously there is room for error in voicexml.php or in callresponse.php
Here's voicexml.php:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vxml SYSTEM "http://www.w3.org/TR/voicexml20/vxml.dtd">
<vxml version = "2.0">
<form>
<block>
<prompt>
<?php
echo "Hello ";
?>
World.
</prompt>
</block>
</form>
</vxml>
Just trying to get a basic call going.
At the moment - we don't have cURL enabled. Can I test from a html form? I get the response xml that my call is queued:
<queuecall status="queued" call_id="869431">
<login>xxxxxxxx@xxxx.edu</login>
<pin>xxxxxxx</pin>
<phone_number>tel:+1xxxxxxxxxx</phone_number>
<start_url>http://xxxxx/~xxxx/voicexml.php</start_url>
−
<result_url>
http://xxxxxx/~xxxx/callresponse.php
</result_url>
</queuecall>
But - I don't get the call - obviously there is room for error in voicexml.php or in callresponse.php
Here's voicexml.php:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vxml SYSTEM "http://www.w3.org/TR/voicexml20/vxml.dtd">
<vxml version = "2.0">
<form>
<block>
<prompt>
<?php
echo "Hello ";
?>
World.
</prompt>
</block>
</form>
</vxml>