Page 1 of 1

Error Fetching document file

Posted: Mon Jun 04, 2007 8:45 am
by shanthint@paydq.com
Hello,

We installed plum voice IVR Server at our office. The application we developed using plum voice developer's site is not working properly in our server. It throws the Fetch document error
When it tries to open vxml file through <goto> tag. Do I need to use the whole path to vxml file?
Here is the error message:


DocumentParser::FetchDocument(support.vxml)
Attempting to fetch file:///usr/local/plumvp/config/support.vxml
Error fetching document file:///usr/local/plumvp/config/support.vxml due to Couldn't open file /usr/local/plumvp/config/support.vxml
DocumentParser::FetchBuffer - could not open URL: support.vxml
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri support.vxml

I am not sure what I am doing wrong. I am using the same code which I use in the developer's site.

Any help would be appreciated.

Thanks

IVR code needed to diagnose problem

Posted: Mon Jun 04, 2007 1:10 pm
by support
Hi,

Please post a snippet of the IVR code in question (or provide a web link); we cannot diagnose this IVR problem with the information provided.

Regards,
Plum Support

Posted: Mon Jun 04, 2007 1:55 pm
by shanthint@paydq.com
Hello,

I am sorry for not providing enough information.
here is the code. The <goto> is not working.

<form id="getMenu">
<subdialog name="companyInfo" src="https://webapps2.paydq.com/IVRApp/PresentationAction.do" method="post" namelist="phoneno" >

<filled>
<if cond="companyInfo.status =='1'">
<assign name="menuArray" expr="companyInfo.menu"/>
<prompt> <value expr="companyInfo.greeting"/> </prompt>
<goto next="#main"/>
<else/>
<goto next="support.vxml"/>
</if>
</filled>

</subdialog>
</form>


It gives the error I mentioned in the previous email.

Thank you.

Posted: Mon Jun 04, 2007 2:14 pm
by shanthint@paydq.com
Hello,

I am having a problem with inline grammar.

here is the code.
The array and all variables are declared and assigned properly.

<form id="main">
<var name="count" expr="1"/>
<grammar type="text/gsl">
[one two three four five six seven eight nine zero]
</grammar>
<grammar type="text/gsl">
[dtmf-1 dtmf-2 dtmf-3 dtmf-4 dtmf-5 dtmf-6 dtmf-7 dtmf-8 dtmf-9 dtmf-0]
</grammar>

<field name="choice" type="digits?length=1">
<prompt>
<foreach array="menuArray" item="menuObj">
<prompt><voice gender="female" name="linda">
<value expr="menuObj.item" />, Press or Say <value expr="count++"/>. <!-- or Say <value expr="count-1"/>. -->
</voice></prompt>
</foreach>

</prompt>

<filled>

<if cond="choice > menuArray.length">
<clear />
<reprompt/>
<else/>
<assign name="dest" expr="menuArray[choice-1].dest"/>
<goto expr="dest" />
</if>
</filled>
</field>
</form>

I am using the same code in the plum voice developer's site. It was working very well. But when I deploy the same application in our IVR Plum voice server It is giving this error

<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="voice">
[one two three four five six seven eight nine zero]
</grammar>

---------

bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------

A serious error of type
---------


Mon 04 Jun 2007 02:11:28 PM EDT:

bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
error.grammar.inlined
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
has occurred. Exiting.
---------



I hope I give enough information. Please let me know if you need more info.

Thank you.

IVR grammar issue

Posted: Mon Jun 04, 2007 2:57 pm
by support
Hi,

On your IVR server, what is the URL for the DNIS in question (on Application Setup page)? We suspect that you are using a scratchpad file here. Please note that you cannot use a scratch pad and then go to another page without using a fully-qualified URL.


The question about the IVR grammar should go in its own thread; please create a new topic for this IVR problem.


Regards,
Plum Support

Posted: Mon Jun 04, 2007 3:07 pm
by shanthint@paydq.com
Hello,

Yes, you are right. I am using scratch pad file only.
It was working in the plum voice developer's site.
So I thought it will work on our server too. I will use the URL instead of using just the file name.

I will let you guys know if it is not working.

Thank you for help.

Posted: Wed Jun 06, 2007 11:29 am
by shanthint@paydq.com
Hello,

I have question about using scratchpad file.
If I assign scratch pad file for DNIS , How can I jump to another
Scratch pad file ?

Do I need to use the url like this - "/usr/local/plumvp/config/filename.vxml" ?

If this not going to work , what are the other options to deploy the vxml part of the application? Do we have to keep those in the web server itself?

Please let me know if you need more information regarding this to answer our question.

Thank you.

put IVR scripts on an independent web server

Posted: Wed Jun 06, 2007 11:53 am
by support
Hi,

You cannot jump from one scratchpad file to another.

Note too that we mentioned above:

"Please note that you cannot use a scratch pad and then go to another page without using a fully-qualified URL [to reference that page]."

We recommend not using a scratchpad at all, and putting all of your IVR scripts on an independent web server (e.g. webapps2.paydq.com in the code above).


Regards,
Plum Support