[Freeswitch-users] unimrcp nuance grammar failed to load

Anita Hall anita.hall at simmortel.com
Sat Apr 21 01:05:46 MSD 2012


Hi

I am getting the following error when using detect_speech from dialplan
with unimrcp, nuance speech server and nuance recognizer. I understand that
it is the job of the unimrcp client (ie mod_unimrcp) to convert the grammar
from JSGF to MRCP. Why do I not see any grammar text in the SIP trace ?
What could be wrong here ?

2012-04-21 01:58:01.855558 [DEBUG] mod_unimrcp.c:3433 (ASR-0) grammar
failed to load, status code = 407
2012-04-21 01:58:01.855558 [DEBUG] mod_unimrcp.c:1541 (ASR-0) PROCESSING
==> ERROR

Complete logs are here
http://pastebin.freeswitch.org/18900


The SIP trace : (10.60.20.25 is FreeSWITCH and 10.60.20.47 is Nuance Speech
Server)
10.60.20.25 -> 10.60.20.47  SIP/SDP Request: INVITE sip:10.60.20.47:5060,
with session description
10.60.20.47 -> 10.60.20.25  SIP/SDP Status: 200 OK, with session description
10.60.20.47 -> 10.60.20.25  SIP Request: BYE sip:10.60.20.25:5090
10.60.20.25 -> 10.60.20.47  SIP Status: 481 Call Does Not Exist



My dialplan is
                        <action application="answer"/>
                        <action application="detect_speech"
data="unimrcp:nuance5-mrcp2 yesno yesno.gram"/>
                        <action application="detect_speech" data="grammar
yesno"/>
                        <action application="detect_speech" data="grammaron
yesno"/>
                        <action application="sleep" data="500"/>

My grammar is yesno.gram kept in /usr/local/freeswitch/grammar

#JSGF V1.0;
grammar example;
<yes> = [ yes ];
<no> = [ no ];
public <results> = [ <yes> | <no> ];


# cat conf/autoload_configs/unimrcp.conf.xml
is here
http://pastebin.freeswitch.org/18899

# cat conf/mrcp_profiles/nuance-5.0-mrcp-v2.xml
is here
http://pastebin.freeswitch.org/18898







regards,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120421/ed4f099a/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list