[Freeswitch-users] unimrcp nuance grammar failed to load

Anita Hall anita.hall at simmortel.com
Mon Apr 23 18:41:12 MSD 2012


Thanks a lot Chris!

It works :)

regards,
Anita



On Mon, Apr 23, 2012 at 7:17 PM, Christopher Rienzo <cmrienzo at gmail.com>wrote:

> These lines indicate the problem:
>
> 2012-04-21 01:58:01.855558 [WARNING] mrcp_client_connection.c:438 (ASR-0)
> Failed to Establish TCP/MRCPv2 Connection
>
> 2012-04-21 01:58:01.855558 [WARNING] mrcp_client_connection.c:527 (ASR-0)
> Null MRCPv2 Connection <17 at speechrecog>
>
> You have mod_unimrcp configured to send an offer to 10.6.20.47 with an SDP
> that says the client RTP address is at 127.0.1.1.  The MRCP server at
> 10.6.20.47 replies with an SDP that says the server RTP address is at
> 127.0.0.1.  Make sure the client and server are configured with the correct
> addresses.
>
> Also, I'm not sure if Nuance Recognizer supports JSGF grammars.
>
> Chris
>
>
> On Fri, Apr 20, 2012 at 5:05 PM, Anita Hall <anita.hall at simmortel.com>wrote:
>
>> 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
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120423/5406da88/attachment-0001.html 


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