cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
506
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: DAVID CHUMBLEY on 27-08-2009 07:10:07 PM
I'm having an issue trying to use external grammars with Nuance.  Using inline grammars everything works fine but when I try to access the grxml file in my application I see a error.noresource error.  I'm not sure what could be causing that.  Is there additional configuration required on the gateway, vxml server, anywhere to allow for the use of external grammars?  I'm not sure what could be missing or where to look.  Thanks

Subject: RE: External Grammars
Replied by: Janine Graves on 28-08-2009 12:15:05 AM
The external grammars need to be accessible to the ASR server via an http request made by the ASR server. Log onto the ASR server, start a web browser, and try to make the http request that the Studio app makes (ex, http://10.1.2.70/grammars/cities.grxml). Keep trying until you get a URI that works. If you can't log onto the ASR server to do this, then try it from any other server in the network that's different from where the grammar resides. If you can't fetch it thru a web browser, then the ASR can't retrieve it at run time.
 
Janine
www.TrainingTheExperts.com
 

Subject: RE: External Grammars
Replied by: DAVID CHUMBLEY on 01-09-2009 08:17:22 PM
Thanks Janine.  I am able to browse to it from the Nuance server.  Howeverm, in the VXML Gateway log I see this:
 
Sep  1 18:05:40.660 UTC: //-1//MRCP:/mrcp_response_handler:
   Response from 10.146.32.69:4900 failedMRCP/1.0 15 407 COMPLETE
Completion-Cause: 004 gram-load-failure
Failed-URI: http://10.146.32.60/MediaFiles/en-us/Grammars/AskPAAcctNbr/AskPAAcctNbr.grxml
 
Based on this it seems to me that the problem is on the Nuance server.  Is that what this indicates to you?

Subject: RE: External Grammars
Replied by: Janine Graves on 01-09-2009 10:58:26 PM
it could be that there's an error in the grammar or maybe it's too big to load. You should look at the logs on the ASR server for more details if possible. Do you know where the logs are on your ASR? If you're using OSMS, the log used to be under c:/program files/scansoft/OSMS/logContent/log.txt you might also find information in the file c:/program files/SpeechWorks/OSP/trc.log
 
 
 
 

Subject: RE: External Grammars
Replied by: DAVID CHUMBLEY on 17-09-2009 08:40:28 PM
Thanks Janine, I appreciate the help.  Turns out the problem was that the MIME type wasn't defined correctly in IIS.

Subject: RE: External Grammars
Replied by: Janine Graves on 14-05-2011 03:18:24 PM
Hi Pat, Looking online, I believe grxml grammars should be set with this mime type:application/srgs+xm
 
Elsewhere on the Developer's Forum, someone was able to have VxmlServer's Tomcat serve-up the grxml file without modifying a mime type. You might try that, just put the grammar under VxmlServer/Tomcat/webapps/grammars (you'd have to create the grammars subfolder) and then use the URL http://vxmServerIp:7000/grammars/filename.grxml
 
If either of these work, please post the result so others will know.
 
 
Thanks, Janine
www.TrainingTheExperts.com

Subject: RE: External Grammars
Replied by: Janine Graves on 14-05-2011 03:19:25 PM
Oops, that should've been mime type:application/srgs+xml
 
 
 
Hi Pat, Looking online, I believe grxml grammars should be set with this mime type:application/srgs+xm
 
Elsewhere on the Developer's Forum, someone was able to have VxmlServer's Tomcat serve-up the grxml file without modifying a mime type. You might try that, just put the grammar under VxmlServer/Tomcat/webapps/grammars (you'd have to create the grammars subfolder) and then use the URL http://vxmServerIp:7000/grammars/filename.grxml
 
If either of these work, please post the result so others will know.
 
 
Thanks, Janine
www.TrainingTheExperts.com


Subject: RE: External Grammars
Replied by: Patrick Legate on 13-05-2011 06:01:33 PM
I am having the same or similar problem.  How should the MIME type be defined in IIS?

Subject: Re: New Message from Patrick Legate in Customer Voice Portal (CVP) -General
Replied by: Janine Graves on 13-05-2011 06:16:18 PM
As a text file
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Cisco Developer Community Forums <cdicuser@developer.cisco.com>
Date: Fri, 13 May 2011 18:01:34
To: cdicuser@developer.cisco.com<cdicuser@developer.cisco.com>
Reply-To: "cdicuser@developer.cisco.com" <cdicuser@developer.cisco.com>
Subject: New Message from Patrick Legate in Customer Voice Portal (CVP) -
General Discussion - All Versions: RE: External Grammars

Patrick Legate has created a new message in the forum "General Discussion - All Versions":

--------------------------------------------------------------
I am having the same or similar problem. How should the MIME type be defined in IIS?
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/3884369>

or simply reply to this email.

Subject: RE: External Grammars
Replied by: Patrick Legate on 16-05-2011 07:07:16 PM
Thank you for the reply, Janine.

I tried both with no luck.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links