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>
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
A basic app
A basic IVR app
Hi Tracy,
You should be able to test from any html form. We did notice some mistakes within the voicexml.php file. You need to echo the xml version 1.0 before you start the vxml portion of the IVR application. Your voicexml.php should look more like this:
We've also noticed that when you queue the IVR call into the outbound IVR system you should enter the telephone number as "1xxxxxxxxxx" as opposed to the "tel:+1xxxxxxxxxx".
Regards,
Plum Support
You should be able to test from any html form. We did notice some mistakes within the voicexml.php file. You need to echo the xml version 1.0 before you start the vxml portion of the IVR application. Your voicexml.php should look more like this:
Code: Select all
<?php echo "<?xml version=\"1.0\"?>\n"; ?>
<!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>
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 11:21 am, edited 1 time in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com