Make plans now to attend XMPP integration with CVP 2012/06/14 @ 10:00 AM at Cisco Live! in San Diego. ...Read More

 



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

Recently noticed that there have been repeated questions from our developer community complaining that they can't seem to get the beep to work with <record>. They have set the beep attribute to "true" alright, and the reference guide even says this is supported but why doesn't it work?
...Read More

 

August 01, 2006
Earlier today, as I was typing a comment in our internal issuing-tracking system, I hit backspace to correct a typo. WHAM! I go back to the previous page, and my long-winded comment is gone. Apparently I somehow left the context of the text area (did I tab, or spuriously click, or??), which causes backspace to act as a hotkey for "Back". The web browser was not very forgiving of my mistake.

Are your IVR applications forgiving? They should be.
...Read More

 

Mark Gibbs over at Network World has put together a spiffy little scoring system for customer service systems (including many criteria for IVR systems). How would callers score your IVR using Mark's guidelines? Place a call and find out, you may be surprised.
...Read More

 

If you're using JNDI to connect to your database through Tomcat, then it's possible you've had to deal with database connection pool leaks. Your code tests fine, it's been reviewed, but in load tests or in production your app is unable to acquire database connections, the pool is empty!

Fear not, there are some handy parameters which can be set in your application's XML configuration file (in tomcat/conf/Catalina/YOUR_IP/YOUR_APP.xml):
...Read More

 

Showing 6 results.
Items per Page 50
of 1

CVP Forum

Combination View Flat View Tree View
Threads [ Previous | Next ]
Dear All,
we have one requirement to integrate CVP with Nuance Speech Server.
we successfully deployed to test the CVP and Speech Server.
CVP Successfully played the welcome file and before entering the input we got Error Message " We are experiencing dificulty please call again Later".
I captured the some logs
Please cross verify once and give me some suggestions to resolve issue.


Error Logs in CVP.





172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:04.921,A VoiceXML error occurred of type "error.noresource"





Activity Logs:


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,newcall,


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,ani,102223


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,areacode,NA


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,exchange,NA


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,dnis,8005551234


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,uui,NA


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,iidigits,NA


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,parameter,var1=8005551234


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,parameter,vxmlversion=CVP_8_5_1_0_0_0_312


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,parameter,callid=00DC53EA01F401014B0386060A0237F0


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,,start,parameter,tclversion=CVP_8_5_1_0_0_0_312


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,GetAirlines,enter,


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:39:58.484,GetAirlines,interaction,audio_group,initial_audio_group


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:04.921,GetAirlines,element,error,error.noresource


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:04.921,GetAirlines,exit,


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:09.937,,end,how,disconnect


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:09.937,,end,result,error


172.23.26.11.1343288398484.73.AgeIdentification,07/26/2012
10:40:09.937,,end,duration,11





Regards
Juluri.
 

RE: error.noresource
Answer
7/27/12 2:12 PM as a reply to subrahmanyam juluru.
1.error.noresource usually indicates that the NSS doesn't like your grammar or can't retrieve the URI pointing to the grammar.

2.As as start, I recommend that you use a Digits element (instead of your getAirlines) and set the MinDigits and MaxDigits to 4.
This uses a built-in digits grammar and should work!

3.Check under Project/Properties/General Settings and see what you've selected for the Gateway. Does it match your Nuance version?

4.If the Digits element works, then you should post the Settings tab of your GetAirlines element. If it's a form element, you may have entered the grammar settings on the wrong line.
VoiceGrammar and DTMFGrammar want a URI. VoiceKeyword and DTMFKeypress is where you can specify what the caller can say or press.


Janine

Hi Janine,
 
I prepared Digit element Example and it is working fine.
we mentioned Voice Grammer URI in the settings of getAirlines form element.(.grxml file).
and copied same grammer file in Nuance Speech Server /seesion folder.
we trace out the all logs.
Please find the VG logs here.

 
Jul 31 11:08:44.884: //-1//MRCP:/mrcp_response_handler:
   Response from 172.23.25.41:554 failedMRCP/1.0 5 404 COMPLETE
Accept-Charset: charset: utf-8
type=RECOGNIZER curr last-method[RECOGNIZE ] 
DOH12VGW001#eix  xit;

 
Before entering input either voice / DTMT VXML Server playing (we are experiencing the dificulty and please call again later voice came) and error.noresource log in both activity and error log files.
what is the meaning of failedMRCP ???
is there any issue with VG Level?
Please suggest me some more suggestions to trace out the integration issue.
 
 
Regards
Juluri.
 
 
 
 
 
1.error.noresource usually indicates that the NSS doesn't like your grammar or can't retrieve the URI pointing to the grammar.

2.As as start, I recommend that you use a Digits element (instead of your getAirlines) and set the MinDigits and MaxDigits to 4.
This uses a built-in digits grammar and should work!

3.Check under Project/Properties/General Settings and see what you've selected for the Gateway. Does it match your Nuance version?

4.If the Digits element works, then you should post the Settings tab of your GetAirlines element. If it's a form element, you may have entered the grammar settings on the wrong line.
VoiceGrammar and DTMFGrammar want a URI. VoiceKeyword and DTMFKeypress is where you can specify what the caller can say or press.


Janine

RE: error.noresource
Answer
7/31/12 12:27 PM as a reply to subrahmanyam juluru.
If Digits works fine, then you obviously have connectivity and configuration to your Nuance Speech Server. That's good.

The error message plays before collecting input, because the NSS is sending back an error indicating that it can't find or use the grammar.

error.noresource means that the NSS still can't accomplish what you're asking. It could be that the grammar is not valid; or isn't retrievable; or the <grammar> header of your grxml grammar doesn't have all the required attributes, or you might need to select UTF-8 as the encoding format in Studio under Project/Properties/General Settings (if using accents, cedillas, umlauts, etc). It could be dozens of things.

One more thing to try is changing the file extension from .grxml to .xml - seems weird, but sometimes media servers don't know the mime type of a grxml. Of course, then change the URI you use in studio to reflect this.

You should really look at the Nuance logs as that'll tell you what's really wrong - whether it's syntax or not found. If you want to post the log here, I can take a look.

I've always stored the grammar onto my media server and used a URI in the VoiceGrammar field. Can you try that? Once you put it under IIS root directory - then use a web browser and enter the URI there, see if the grammar displays. If so, then copy/paste that URI into the Studio app.

Are you using an entry under DtmfGrammar? If so, try removing it from Studio and just focus on the voice grammar. If you could post it here, I can take a look.

Do you have anything else in the settings field of the Form element?

Hi Janine ,


If Digits works fine, then you obviously have connectivity and configuration to your Nuance Speech Server. That's good.

The error message plays before collecting input, because the NSS is sending back an error indicating that it can't find or use the grammar.

error.noresource means that the NSS still can't accomplish what you're asking. It could be that the grammar is not valid; or isn't retrievable; or the <grammar> header of your grxml grammar doesn't have all the required attributes, or you might need to select UTF-8 as the encoding format in Studio under Project/Properties/General Settings (if using accents, cedillas, umlauts, etc). It could be dozens of things.

One more thing to try is changing the file extension from .grxml to .xml - seems weird, but sometimes media servers don't know the mime type of a grxml. Of course, then change the URI you use in studio to reflect this.


ANS: I tried it is also playing same like we are experiencing difficulty please call again later.


You should really look at the Nuance logs as that'll tell you what's really wrong - whether it's syntax or not found. If you want to post the log here, I can take a look.

I've always stored the grammar onto my media server and used a URI in the VoiceGrammar field. Can you try that? Once you put it under IIS root directory - then use a web browser and enter the URI there, see if the grammar displays. If so, then copy/paste that URI into the Studio app.



ANS: I tried this approach , in webbrowser opens the .gxml/.xml/.wav files and showing the content in .grxml/.xml file , playing the .wav files.

Are you using an entry under DtmfGrammar? If so, try removing it from Studio and just focus on the voice grammar. If you could post it here, I can take a look.


ANS: I am not using any entry in settings-> DTMF Grammer column.

Do you have anything else in the settings field of the Form element?


Janinee i attached cvp logs,nuance speech server logs, nuance recoginer logs,grammer file and call studio script also.
please look into this issue once.
if you feel any changes/modificaiton please let me now. based on your confirmation i will do some more work arounds and try to resolve the issue.
thanks for your extended support to resolve this issue.




Regards
Juluri.

Attachments:

RE: error.noresource
Answer
8/2/12 2:15 PM as a reply to subrahmanyam juluru.
Juluru,
Can you try simplifying the xml header and the opening grammar tag as follows, I know that this works on my system:
 
<?xml version="1.0"?>
<grammar version="1.0" xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="_boolean" mode="voice">
 
 
 
 

RE: error.noresource
Answer
8/2/12 2:30 PM as a reply to subrahmanyam juluru.
Juluru,
 
What version of Studio and of VXML Server are you using? What version of the IOS gateway do you have? What version of OSR or Nuance do you have?
 
I'm not seeing an error in the NSS log. But I just noticed that you're using rule="_boolean" which might be causing a conflict with the builtin boolean grammar.
 
Can you change the grammar tag and the <rule id> in your grammar to this:
 
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="names" mode="voice">
<rule id="names" scope="public">
 
Also, it's possible the Speech Server is caching the grammar. After you change the grammar, please restart the Speech Server service and the Recognizer Service.

RE: error.noresource
Answer
8/2/12 2:32 PM as a reply to subrahmanyam juluru.
Juluru,

Also, did you see this post that just came in replying to someone else's issues with UTF-8:

------------------
Hi Greg,

I had faced this problem earlier, but somehow we have managed to get the solution from Cisco.

There is nothing that, you have to change in Nuance configurations. There is a command in gateway which has to be configured to accept UTF-8 character set (UTF-8 used by non-English languages like French, Hindi, and Spanish etc...)

-> If you have any of these IOS's then you are lucky otherwise you might have to upgrade
12.4(24)T5
15.0(1)M5
15.1(1)T4
15.1(2)T4
15.1(3)T4
15.1(4)M
15.2(1)T
Or any later version's
-> Now execute this hidden command on VXML Gateway 'mrcp client accept-charset-compliance'  (supported only on above mentioned IOS)
-----------------------
Link for this Post:
<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/6220021>

Hi Janine,
 
I am using Call Stuio Trial Version of 8.5(1).
VXML Server 8.0
IOS Gateway Cisco
IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.1(3)T4, RELEASE
SOFTWARE (fc1).


·        
Nuance Speech Server 5.1.8
·        
Nuance License Manager 11.4d
·        
Nuance Recognizer9.0.19
·        
Nuance Vocalizer TTS5.05
 
In my Existing Grammer File is <rule id="_boolean" scope="public">.
I will change to 
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="names" mode="voice">
<rule id="names" scope="public">
 i will change the grammer file content and restart the server.
 Once i am done from my side i will update the status to you.
  Thanks for your valuable suggestions and support to me.
 
Regards
Juluri.
 
 
 
In 
 

 
Juluru,
 
What version of Studio and of VXML Server are you using? What version of the IOS gateway do you have? What version of OSR or Nuance do you have?
 
I'm not seeing an error in the NSS log. But I just noticed that you're using rule="_boolean" which might be causing a conflict with the builtin boolean grammar.
 
Can you change the grammar tag and the <rule id> in your grammar to this:
 
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="names" mode="voice">
<rule id="names" scope="public">
 
Also, it's possible the Speech Server is caching the grammar. After you change the grammar, please restart the Speech Server service and the Recognizer Service.

RE: error.noresource
Answer
8/6/12 9:30 PM as a reply to subrahmanyam juluru.
Hi Janinee,
 
we tried to change the Grammer File <id ...../> Tag based on your comments.
still that issue was replicating.
today finally we raised cisco tag with priority 3.
 
Regards
Juluri.
 
 
 
Hi Janine,
 
I am using Call Stuio Trial Version of 8.5(1).
VXML Server 8.0
IOS Gateway Cisco
IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.1(3)T4, RELEASE
SOFTWARE (fc1).


·        
Nuance Speech Server 5.1.8
·        
Nuance License Manager 11.4d
·        
Nuance Recognizer9.0.19
·        
Nuance Vocalizer TTS5.05
 
In my Existing Grammer File is <rule id="_boolean" scope="public">.
I will change to 
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="names" mode="voice">
<rule id="names" scope="public">
 i will change the grammer file content and restart the server.
 Once i am done from my side i will update the status to you.
  Thanks for your valuable suggestions and support to me.
 
Regards
Juluri.
 
 
 
In 
 



Juluru,
 
What version of Studio and of VXML Server are you using? What version of the IOS gateway do you have? What version of OSR or Nuance do you have?
 
I'm not seeing an error in the NSS log. But I just noticed that you're using rule="_boolean" which might be causing a conflict with the builtin boolean grammar.
 
Can you change the grammar tag and the <rule id> in your grammar to this:
 
<?xml version="1.0"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="names" mode="voice">
<rule id="names" scope="public">
 
Also, it's possible the Speech Server is caching the grammar. After you change the grammar, please restart the Speech Server service and the Recognizer Service.


RE: error.noresource
Answer
8/6/12 11:07 PM as a reply to subrahmanyam juluru.
Hi Juluru,
 
I have my system running today and tried your grammar. It works fine, but it doesn't return back data into the studio 'value' variable.
If you want to get something into the Form element's value variable, you can either enter 'SWI_literal' into the Form element's setting name FieldSlot (omit the quotes).
 
Or else, you could modify your speech reco grammar by entering these <tag> elements that return:       foundation_fld=' PutTheReturnValueHere';
 
<item> Mary Beth <tag>foundation_fld='Mary Beth';</tag> </item>
<item> Robert <tag>foundation_fld='Robert';</tag> </item>
<item> Peter <tag>foundation_fld='Peter';</tag> </item>
 
Don't know why you're getting an error as it works in my system in the original form with <rule id="_boolean" scope="public">
 
Could it be a firewall issue?
 
 
This worked on my system:
<?xml version="1.0" encoding="ISO-8859-1"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd" xml:lang="en-US" version="1.0" root="_boolean" mode="voice">
<rule id="_boolean" scope="public">
<one-of>
<item>Mary Beth <tag>foundation_fld='Mary Beth';</tag></item>
<item>Robert<tag>foundation_fld='Robert';</tag></item>
<item>Peter <tag>foundation_fld='Peter';</tag></item>
<item>Jane  <tag>foundation_fld='Jane';</tag></item>
<item>John  <tag>foundation_fld='John';</tag></item>
</one-of>
</rule>
</grammar>
 
 
 
 
 
Janine

Hi Janine,
 
you explained something as 'SWI_literal' in the form settings field name and FieldSlot.
I am sorry i ddnot get idea how to use fieldname and FieldSlot in Form Settings.
can you please give some clarity on form settings and grammer file.
 
Regards
Juluri.
 
 
Hi Juluru,
 
I have my system running today and tried your grammar. It works fine, but it doesn't return back data into the studio 'value' variable.
If you want to get something into the Form element's value variable, you can either enter 'SWI_literal' into the Form element's setting name FieldSlot (omit the quotes).
 
Or else, you could modify your speech reco grammar by entering these <tag> elements that return:       foundation_fld=' PutTheReturnValueHere';
 
<item> Mary Beth <tag>foundation_fld='Mary Beth';</tag> </item>
<item> Robert <tag>foundation_fld='Robert';</tag> </item>
<item> Peter <tag>foundation_fld='Peter';</tag> </item>
 
Don't know why you're getting an error as it works in my system in the original form with <rule id="_boolean" scope="public">
 
Could it be a firewall issue?
 
 
This worked on my system:
<?xml version="1.0" encoding="ISO-8859-1"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd" xml:lang="en-US" version="1.0" root="_boolean" mode="voice">
<rule id="_boolean" scope="public">
<one-of>
<item>Mary Beth <tag>foundation_fld='Mary Beth';</tag></item>
<item>Robert<tag>foundation_fld='Robert';</tag></item>
<item>Peter <tag>foundation_fld='Peter';</tag></item>
<item>Jane  <tag>foundation_fld='Jane';</tag></item>
<item>John  <tag>foundation_fld='John';</tag></item>
</one-of>
</rule>
</grammar>
 
 
 
 
 
Janine

RE: error.noresource
Answer
8/13/12 9:13 AM as a reply to subrahmanyam juluru.
Hi janinee,
 
I tried this approach and it is working fine.
 you could modify your speech reco grammar by entering these <tag> elements that return:       foundation_fld=' PutTheReturnValueHere';
 
<item> Mary Beth <tag>foundation_fld='Mary Beth';</tag> </item>
<item> Robert <tag>foundation_fld='Robert';</tag> </item>
<item> Peter <tag>foundation_fld='Peter';</tag> </item>
 
After welcome prompt i given input as Peter and it recogines the my input based on given logs
 
 
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,newcall,
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,ani,102223
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,areacode,NA
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,exchange,NA
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,dnis,102221
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,uui,NA
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,iidigits,NA
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,parameter,var1=102221
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,parameter,vxmlversion=CVP_8_5_1_0_0_0_312
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,parameter,callid=00C6DCF7A56971022B005706AC17200D
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,,start,parameter,tclversion=CVP_8_5_1_0_0_0_312
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,GetAirlines,enter,
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:46.609,GetAirlines,interaction,audio_group,initial_audio_group
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.509,GetAirlines,interaction,utterance,Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.509,GetAirlines,interaction,inputmode,voice
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.509,GetAirlines,interaction,interpretation,Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.509,GetAirlines,interaction,confidence,0.42
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,collect_noinput_count,0
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,collect_nomatch_count,0
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,value,Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,result,Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,confidence,0.42
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,value_confidence,0.42
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,nbestConfidence1,0.42
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,nbestUtterance1,Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,nbestInputmode1,voice
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,nbestInterpretation1,+SWI_grammarName:session:field159@field.grammar+foundation_fldemoticoneter+SWI_meaning:{foundation_fldemoticoneter}+SWI_literal:Peter
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,data,nbestLength,1
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,GetAirlines,exit,done
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,,end,how,disconnect
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,,end,result,normal
172.23.26.11.1344760306609.1.AgeIdentification,08/12/2012 11:31:55.671,,end,duration,9
 
 
 
 
Again i dinot get any error message like error.noresource.
I hope error.noresource problem is resolved.
you already given one more approch also
If you want to get something into the Form element's value variable, you can either enter 'SWI_literal' into the Form element's setting name FieldSlot (omit the quotes).
 
can you please give me clarity on how to get value into form element of FieldSlot column.
i didnot understood 'SWI_literal' setting in the form element variable in FieldSlot column.
how to set  the value in FieldSlot in the settings?
please suggest me i will try this apporach.
thanks for your extended support and giving good suggestions to me to resolve the issue.
 
Regards
Juluri.
 
 
 
 
 
 


Hi Janine,
 
you explained something as 'SWI_literal' in the form settings field name and FieldSlot.
I am sorry i ddnot get idea how to use fieldname and FieldSlot in Form Settings.
can you please give some clarity on form settings and grammer file.
 
Regards
Juluri.
 


Hi Juluru,
 
I have my system running today and tried your grammar. It works fine, but it doesn't return back data into the studio 'value' variable.
If you want to get something into the Form element's value variable, you can either enter 'SWI_literal' into the Form element's setting name FieldSlot (omit the quotes).
 
Or else, you could modify your speech reco grammar by entering these <tag> elements that return:       foundation_fld=' PutTheReturnValueHere';
 
<item> Mary Beth <tag>foundation_fld='Mary Beth';</tag> </item>
<item> Robert <tag>foundation_fld='Robert';</tag> </item>
<item> Peter <tag>foundation_fld='Peter';</tag> </item>
 
Don't know why you're getting an error as it works in my system in the original form with <rule id="_boolean" scope="public">
 
Could it be a firewall issue?
 
 
This worked on my system:
<?xml version="1.0" encoding="ISO-8859-1"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd" xml:lang="en-US" version="1.0" root="_boolean" mode="voice">
<rule id="_boolean" scope="public">
<one-of>
<item>Mary Beth <tag>foundation_fld='Mary Beth';</tag></item>
<item>Robert<tag>foundation_fld='Robert';</tag></item>
<item>Peter <tag>foundation_fld='Peter';</tag></item>
<item>Jane  <tag>foundation_fld='Jane';</tag></item>
<item>John  <tag>foundation_fld='John';</tag></item>
</one-of>
</rule>
</grammar>
 
 
 
 
 
Janine


Juluru, When I used your original grammar, I didn't get an error, but didn't have anything in my 'value' variable. When I looked at my activity log, it showed me that your original grammar returned SWI_literalemoticoneter SWI_literal is just a standard variable that's returned by the grammar (SWI used to stand for SpeechWorks International). With your original grammar, if I put the word 'SWI_literal' into the Form element's setting which is named 'Field Slot' - then it was able to create a 'value' variable containing the word Peter. So, you either modify the grammar (as you showed below) OR you could put SWI_literal into the setting called Field Slot, and then work with your original grammar. Both methods worked for me. But, you should do one or the other, not both! Janine

Hi Janinee,
 
Today I used SWI_literal in my call stuio application.
it is working fine.
I didnot see any error logs from my application.
My issue was resolved .
Thanks Janinee.
 
Regards
Juluri.
 
 
 
 
Juluru, When I used your original grammar, I didn't get an error, but didn't have anything in my 'value' variable. When I looked at my activity log, it showed me that your original grammar returned SWI_literalemoticoneter SWI_literal is just a standard variable that's returned by the grammar (SWI used to stand for SpeechWorks International). With your original grammar, if I put the word 'SWI_literal' into the Form element's setting which is named 'Field Slot' - then it was able to create a 'value' variable containing the word Peter. So, you either modify the grammar (as you showed below) OR you could put SWI_literal into the setting called Field Slot, and then work with your original grammar. Both methods worked for me. But, you should do one or the other, not both! Janine