[Freeswitch-users] Where to set parameter for input timeout

grmt garmt.noname at gmail.com
Wed Sep 14 14:04:43 MSD 2011


Hi, 

 

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). 

If you want to manipulate the no-input-timeout on a MRCP request basis, I
think you will have to change mod_unimrcp.

You may also manipulate the global request-timout which by default is 10
(s).

I bet that if you set this lower than 8(s), it is FS that will timeout .

 

Now why Nuance is not receiving any input (rtp) I don't know.

 

If I understand correctly from the log below you play a wav file and you
want that to be recognized?

Maybe you need a little bit more time between triggering the recognizer and
playing the wav file?

You may want to use wireshark to capture the RTP stream between FS and
NUANCE.

 

Garmt

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Glen
Ganderton
Sent: Wednesday, September 14, 2011 08:04
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] Where to set parameter for input timeout

 

Hey Guys,

 

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?

 

MRCP/2.0 158 RECOGNIZE 2

Channel-Identifier: 40 at speechrecog

Cancel-If-Queue: false

Content-Type: text/uri-list

Content-Length: 21

 

session:nuance5-mrcp2

2011-09-12 10:30:12.728662 [INFO] mpf_rtp_stream.c:1092 Generate RTCP SR
[ssrc:2706393383 s:12 o:1920 ts:2160]

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

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]

MRCP/2.0 69 2 200 IN-PROGRESS

Channel-Identifier: 40 at speechrecog

 

 

2011-09-12 10:30:12.752156 [DEBUG] mrcp_stream.c:382 Parsed MRCP Message
[69]

2011-09-12 10:30:12.752156 [DEBUG] mrcp_client.c:1104 Signal Connection Task
Message

2011-09-12 10:30:12.752156 [DEBUG] mrcp_client.c:974 Receive Connection Task
Message [3]

2011-09-12 10:30:12.752156 [INFO] mrcp_client_session.c:504 Raise App MRCP
Response 0xb7191d88 <40>

2011-09-12 10:30:12.752156 [DEBUG] mod_unimrcp.c:3094 (ASR-8) RECOGNIZE IN
PROGRESS

2011-09-12 10:30:12.752156 [DEBUG] mod_unimrcp.c:1488 (ASR-8) READY ==>
PROCESSING

2011-09-12 10:30:12.752156 [DEBUG] apt_consumer_task.c:90 Wait for Task
Messages [MRCP Client]

2011-09-12 10:30:12.752156 [DEBUG] switch_core_media_bug.c:360 Attaching BUG
to sofia/internal/1000 at 10.3.5.80

2011-09-12 10:30:12.756369 [DEBUG] switch_ivr_play_say.c:1236 Codec
Activated L16 at 8000hz 1 channels 20ms

2011-09-12 10:30:13.388227 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [1000]

2011-09-12 10:30:13.388227 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [2000]

2011-09-12 10:30:14.388378 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [2000]

2011-09-12 10:30:14.388378 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [3000]

2011-09-12 10:30:14.976914 [DEBUG] switch_ivr_play_say.c:1573 done playing
file

2011-09-12 10:30:15.387961 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [3000]

2011-09-12 10:30:15.387961 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [4000]

2011-09-12 10:30:16.388597 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [4000]

2011-09-12 10:30:16.388597 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [5000]

2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192310 [5000]

2011-09-12 10:30:17.387667 [INFO] mpf_rtp_stream.c:1092 Generate RTCP SR
[ssrc:2706393383 s:244 o:39040 ts:39440]

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

2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192310 [10000]

2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [5000]

2011-09-12 10:30:17.387667 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [6000]

2011-09-12 10:30:18.388818 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [6000]

2011-09-12 10:30:18.388818 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [7000]

2011-09-12 10:30:19.387895 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed
0xb7192328 [7000]

2011-09-12 10:30:19.387895 [DEBUG] mpf_timer_manager.c:111 Set Timer
0xb7192328 [8000]

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]

MRCP/2.0 140 RECOGNITION-COMPLETE 2 COMPLETE

Channel-Identifier: 40 at speechrecog

Waveform-URI:

Completion-Cause: 002 no-input-timeout

----------------------------------------------------------------------------
----------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110914/97471c31/attachment-0001.html 


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