From: Lauters M. <meh...@gm...> - 2012-06-13 17:35:39
|
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 |