Hi I am getting this error in the logs. Can you please tell me why this error is thrown? what does it mean by "Invalid document structure"?
Wed 13 Jan 2010 06:55:53 PM EST:
DocumentParser::FetchDocument - Parse error in file "http://somesite.com/cgi-bin/upload.cgi", line 1, column 1 - Invalid document structure
errno: 205 uri http://somesite.com/cgi-bin/upload.cgi
received event: error.badfetch:
Can not queue audio -- line disconnected
received event: connection.disconnect.hangup:
Max Disconnect Count Exceeded
Call End Event
Ending session
Ending Session On Channel 40
Code: Select all
<form id="transferout">
<!-- Records the transer -->
<property name="recordcall" value="true" />
<block>
<prompt>Please wait while we transfer your call</prompt>
</block>
<transfer name="callTransfer" destexpr="'+' + document.locations[document.chosen-1].PHONE" bridge="true" connecttimeout="20s">
<filled>
<if cond="callTransfer == 'near_end_disconnect'">
<throw event="nearend" />
<elseif cond="callTransfer == 'far_end_disconnect'"/>
<throw event="farend" />
<elseif cond="callTransfer == 'busy'"/>
<prompt bargein="false">
I am sorry but the place you are trying to transfer is busy. Please try again later.
<audio src="http://blah.com/temp.wav"></audio>
</prompt>
<disconnect/>
</if>
</transfer>
<catch event="connection.disconnect.hangup">
<submit next="http://somesite.com/cgi-bin/upload.cgi" namelist="callrecording" method="post" enctype="multipart/form-data" fetchtimeout="180s" />
</catch>
<catch event="farend nearend">
<submit next="http://somesite.com/cgi-bin/upload.cgi" namelist="callrecording" method="post" enctype="multipart/form-data" fetchtimeout="180s" />
</catch>
</form>