vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenVXI compiled with the debug version of NSPR



Check out the Readme file which privides a lot of useful informations - and then spent some time
looking at the code (the source code is not huge).
I did not find too much documentation on the test program but after looking at the code I
think I got it right.
testVXI allows you to test some pieces of your vxml script using the following
arguments:

testVXI <your vxml file> -maxCalls 1 scriptfile <your response file>

Where the response file (it's actually a char string) is the simulation of the first answer of the user
to the first request from the vxml script should look like :
"best_answer 2 status success"

So if your grammar is:
<dtmf> 1 | 2 | 3 </dtmf> then the recognition interface will return "2" as it's the best answer from the
recognition engine, and "success" as the recognition is successful. I agree it's a little weird but
I think that's all it can do (e.g. if you have multiple user inputs like 2 <field> in your script I don't think
it works).
Search for "scriptfile" in the code for more details.

I'm interested in any additional functionality that I missed.

Hope it helps,

Vincent

I have been trying to figure this out as well.  It is clear that the interpreter handles document parsing and execution, and that Ineed to implement that platform interfaces (rec, prompt, tel, etc.)so that the interpreter can call them as the services are needed. But it seems that the "API reference" section of the documentation is not there ... I cannot figure out the sequence of things:-- Do I need to initialize the JS runtime ?-- What is the sequence of API calls that I need to make to set   up and initialize VXI session?-- How do I pass the VXI the pointers or handles to the platform   API methods that I must implement?I tried to follow the browser/src/client example, but it still is notclear yet.   An example in the documentation of the above wouldhelp (e.g. like the SpiderMonkey JS programmer's guide).
-----Original Message-----
From: Suresh Paliwal [mailto:suresh@mail.aumtechinc.com]
Sent: Tuesday, February 27, 2001 3:16 PM
To: vincent ribiere
Cc: vxi-discuss@speechinfo.org
Subject: OpenVXI compiled with the debug version of NSPR
Vincent, Thanks a lot for pointing to the corect file.  I replaced the "mdbinary.jar" file with the debug version and OpenVXI API compiled smoothly.   The test also works fine. I guess a lot of users will fall into this trap.  The file "libnspr.a" is not in the release version of "mdbinary.jar" but in the debug version. Now where does one go from here.  How does one make the OpenVXI talk to the platform and the web server.  Do I have to write an application using the OpenVXI API?  Is the XML parsing automatically done?  Do I have to make any changes in the platform because the platform should inform the OpenVXI interpreter about the incoming call. Some direction will be helpful. Suresh



This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems