<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi, <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Not that I have any experience with UniMRCP in combination with Nuance ASR, however it seems to me that the MRCP server (i.e. Nuance) tells you that it did not receive any input. I believe having read somewhere that the default no-input-timeout on Nuance is 8 (s). <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If you want to manipulate the no-input-timeout on a MRCP request basis, I think you will have to change mod_unimrcp.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You may also manipulate the global request-timout which by default is 10 (s).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I bet that if you set this lower than 8(s), it is FS that will timeout …<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Now why Nuance is not receiving any input (rtp) I don’t know.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If I understand correctly from the log below you play a wav file and you want that to be recognized?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Maybe you need a little bit more time between triggering the recognizer and playing the wav file?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You may want to use wireshark to capture the RTP stream between FS and NUANCE.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Garmt<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Glen Ganderton<br><b>Sent:</b> Wednesday, September 14, 2011 08:04<br><b>To:</b> freeswitch-users@lists.freeswitch.org<br><b>Subject:</b> [Freeswitch-users] Where to set parameter for input timeout<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-AU>Hey Guys,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>Im trying to find where I would set the parameter for input timeout. Im using FreeSWITCH as an MRCP client to my Nuance server and what is happening is if FreeSWITCH doesn’t detect any speech in around 8-10 seconds I get an input-timeout, any idea’s?<o:p></o:p></span></p><div style='border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-AU>MRCP/2.0 158 RECOGNIZE 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Channel-Identifier: 40@speechrecog<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Cancel-If-Queue: false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Content-Type: text/uri-list<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Content-Length: 21<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>session:nuance5-mrcp2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.728662 [INFO] mpf_rtp_stream.c:1092 Generate RTCP SR [ssrc:2706393383 s:12 o:1920 ts:2160]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.728662 [INFO] mpf_rtp_stream.c:1279 Send Compound RTCP Packet [BYE] [72 bytes] 10.3.5.80:4017 -> 10.3.15.180:7971<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [INFO] mrcp_client_connection.c:525 Receive MRCPv2 Stream 10.3.5.80:40061 <-> 10.3.15.180:6075 [69 bytes]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>MRCP/2.0 69 2 200 IN-PROGRESS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Channel-Identifier: 40@speechrecog<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] mrcp_stream.c:382 Parsed MRCP Message [69]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] mrcp_client.c:1104 Signal Connection Task Message<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] mrcp_client.c:974 Receive Connection Task Message [3]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [INFO] mrcp_client_session.c:504 Raise App MRCP Response 0xb7191d88 <40><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] mod_unimrcp.c:3094 (ASR-8) RECOGNIZE IN PROGRESS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] mod_unimrcp.c:1488 (ASR-8) READY ==> PROCESSING<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] apt_consumer_task.c:90 Wait for Task Messages [MRCP Client]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.752156 [DEBUG] switch_core_media_bug.c:360 Attaching BUG to <a href="mailto:sofia/internal/1000@10.3.5.80">sofia/internal/1000@10.3.5.80</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:12.756369 [DEBUG] switch_ivr_play_say.c:1236 Codec Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:13.388227 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [1000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:13.388227 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [2000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:14.388378 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [2000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:14.388378 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [3000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:14.976914 [DEBUG] switch_ivr_play_say.c:1573 done playing file<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:15.387961 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [3000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:15.387961 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [4000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:16.388597 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [4000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:16.388597 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [5000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192310 [5000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [INFO] mpf_rtp_stream.c:1092 Generate RTCP SR [ssrc:2706393383 s:244 o:39040 ts:39440]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [INFO] mpf_rtp_stream.c:1230 Send Compound RTCP Packet [48 bytes] 10.3.5.80:4017 -> 10.3.15.180:7971<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192310 [10000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [5000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [6000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:18.388818 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [6000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:18.388818 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [7000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:19.387895 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7192328 [7000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:19.387895 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7192328 [8000]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>2011-09-12 10:30:19.906918 [INFO] mrcp_client_connection.c:525 Receive MRCPv2 Stream 10.3.5.80:40061 <-> 10.3.15.180:6075 [140 bytes]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>MRCP/2.0 140 RECOGNITION-COMPLETE 2 COMPLETE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Channel-Identifier: 40@speechrecog<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Waveform-URI:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Completion-Cause: 002 no-input-timeout<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>--------------------------------------------------------------------------------------------------------------------------------<o:p></o:p></span></p></div></body></html>