Page 1 of 1

Unable to connect to URI

Posted: Wed Jun 03, 2015 9:58 am
by svu
I have a test account and am trying to get the call recordings back to my server, but I am getting URI connection issues.

here is my vxml:
<?xml version="1.0"?>
<vxml version="2.0">
<form id="sales">
<block>
Please hold for the next available sales representative.
</block>
<property name="recordcall" value="true"/>
<!-- transfer to sales -->
<transfer dest="tel:+19724803305;ani=+19724803300" connecttimeout="20s" bridge="true"/>
<block>
<prompt>
You will hear this message in your recording.
</prompt>

<submit next="http://ivr-api.loopbackanalytics.com/v1 ... ording.php" namelist="callrecording" enctype="multipart/form-data"
method="post"/>

</block>

</form>

</vxml>


Plumvoice call logs:


Error fetching document http://ivr-api.loopbackanalytics.com/v1 ... ording.php due to couldn't connect to host
DocumentParser::FetchBuffer - could not open URL: http://ivr-api.loopbackanalytics.com/v1 ... ording.php
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri http://ivr-api.loopbackanalytics.com/v1 ... ording.php

Re: Unable to connect to URI

Posted: Wed Jun 03, 2015 11:10 am
by support
Hi,

There are few potential causes for this error. It could be that when our platform is attempting to send the data to your server, we cannot connect to the server due to a firewall rejecting the request. If could also be that the script that's the 'next' attribute of your submit tag is not generating valid vxml, which it needs to do.

Just as a note, when you use the <submit> tag, control flow is transferred to the 'next' attribute of your submit tag, so that script will need to process the recording and then generate valid vxml, whether it be to simply save the recording and exit or continue on with other form items, that's up to you.

Please take a look at our documentation, which provides an exact example of this situation.
http://www.plumvoice.com/docs/dev/devel ... user_input

Please let us know if you have any questions.

Regards,
Plum Support