From: Anshuman S. R. <ar...@3c...> - 2012-06-19 14:35:21
|
Hi, Sorry for delayed response. Your prompt is not in English so maybe you need to provide a language tag. Look at http://www.w3.org/TR/voicexml20/#dml4.1. Otherwise you understanding is correct. Also check the log file for any error messages. Log file path is specified in {base vxi path}\config\sbclient.cfg. For reference, I have attached my vxiprompt implementation too. It has, of course, reference to thrid party libs which you will have to filter out. Regards, Anshuman PS: I see a lot of crashes with mozjs1.8.5 on Windows. Hows your experience so far? ----- Original Message ----- From: Lauters Mehdi To: Anshuman S. Rawat Cc: ope...@li... Sent: Wednesday, June 13, 2012 11:05 PM Subject: Re: [Openvxi-discuss] Compiling openvxi on latest ubuntu platform Hi, Thanks for the rec file. Now I'm able to read from the keyboard according to the grammar. But I still can't display the prompt text on the screen. What I understood is that first VXIpromptQueue is called, and then VXIpromptPlay. So I tried fisrt to check the VXIpromptQueue input data. From what I understand the raw_text argument from VXIpromptQueue should be "Enter un number please" isn't it? I'm always getting null value... What could be wrong? My grammar? I'm testing with the given grammar: <?xml version="1.0"?> <!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 1.0//EN" "http://cafe.bevocal.com/libraries/dtd/vxml1-0-bevocal.dtd"> <vxml version = "2.1" > <grammar version="1.0" root="testGrammar" > <rule id="testGrammar"> <one-of> <item> one </item> <item> two </item> <item> three </item> </one-of> </rule> </grammar> <form> <field name="number"> <prompt> Enter un number please </prompt> <grammar src="sample.vxml" type="application/srgs+xml"/> <filled> that's a number </filled> </field> </form> </vxml> Thanks for your help Regards, Mehdi ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.930 / Virus Database: 2433.1.1/5065 - Release Date: 06/13/12 00:28:00 |