[Freeswitch-users] Speech Input Timeout issue

Glen Ganderton Glen.Ganderton at premier.com.au
Tue Sep 13 11:14:21 MSD 2011


Just to add to this again, I also get this random error "RECOGNIZER channel error!" and the only way for ASR to start operating again is to restart freeswitch.

2011-09-11 11:45:42.931526 [DEBUG] apt_consumer_task.c:90 Wait for Task Messages [MRCP Client]
2011-09-11 11:45:42.931526 [INFO] mrcp_sofiasip_client_agent.c:513 Receive SIP Event [nua_i_state] Status 0 INVITE sent
2011-09-11 11:45:42.931526 [NOTICE] mrcp_sofiasip_client_agent.c:453 SIP Call State 0xb7154118 [calling]
2011-09-11 11:45:43.134239 [INFO] mrcp_sofiasip_client_agent.c:513 Receive SIP Event [nua_r_invite] Status 503 Service Unavailable
2011-09-11 11:45:43.134239 [INFO] mrcp_sofiasip_client_agent.c:513 Receive SIP Event [nua_i_state] Status 503 Service Unavailable
2011-09-11 11:45:43.134239 [NOTICE] mrcp_sofiasip_client_agent.c:453 SIP Call State 0xb7154118 [terminated]
2011-09-11 11:45:43.134239 [DEBUG] mrcp_client.c:1075 Signal Signaling Task Message
2011-09-11 11:45:43.134239 [DEBUG] mrcp_client.c:949 Receive Signaling Task Message [4]
2011-09-11 11:45:43.134239 [INFO] mrcp_client_session.c:535 Raise App Response 0xb7154118 <new> [2] FAILURE [2]
2011-09-11 11:45:43.134239 [ERR] mod_unimrcp.c:1795 (ASR-3) RECOGNIZER channel error!
2011-09-11 11:45:43.134239 [DEBUG] mod_unimrcp.c:1801 Terminating MRCP session
2011-09-11 11:45:43.134239 [DEBUG] mod_unimrcp.c:1488 (ASR-3) CLOSED ==> ERROR

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Glen Ganderton
Sent: Tuesday, 13 September 2011 3:49 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Speech Input Timeout issue

Just to add one more thing, when I was simply using the XML dialplan I didn't seem to have this issue. It may be an issue with my lua ivr script. Im just learning to program in lua and have hacked something together. So if you want to have a look maybe you will see an issue with it.

http://pastebin.com/Bagn8ESS



From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org]<mailto:[mailto:freeswitch-users-bounces at lists.freeswitch.org]> On Behalf Of Glen Ganderton
Sent: Tuesday, 13 September 2011 3:30 PM
To: freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Speech Input Timeout issue

Hi Guys,

I am in the process of configuring an speech recognition IVR using freeswitch and nuance, with the module unimrcp to link them.  This seems to be working fine, I have create a basic IVR script that works well however  around 50% - 60% of calls fail with some sort of input timeout issue.

Here is a few relevant lines of the log file for a successful call:

2011-09-11 09:07:18.017882 [DEBUG] mrcp_stream.c:382 Parsed MRCP Message [70]
2011-09-11 09:07:18.017882 [DEBUG] mrcp_client.c:1104 Signal Connection Task Message
2011-09-11 09:07:18.017882 [DEBUG] mrcp_client.c:974 Receive Connection Task Message [3]
2011-09-11 09:07:18.017882 [INFO] mrcp_client_session.c:504 Raise App MRCP Response 0xb7252778 <160>
2011-09-11 09:07:18.017882 [DEBUG] mod_unimrcp.c:3094 (ASR-16) RECOGNIZE IN PROGRESS
2011-09-11 09:07:18.017882 [DEBUG] mod_unimrcp.c:1488 (ASR-16) READY ==> PROCESSING
2011-09-11 09:07:18.017882 [DEBUG] apt_consumer_task.c:90 Wait for Task Messages [MRCP Client]
2011-09-11 09:07:18.017882 [DEBUG] switch_core_media_bug.c:360 Attaching BUG to sofia/internal/1000 at 10.3.5.80<mailto:sofia/internal/1000 at 10.3.5.80>
2011-09-11 09:07:18.690084 [DEBUG] mpf_timer_manager.c:180 Timer Elapsed 0xb7252d18 [1000]
2011-09-11 09:07:18.690084 [DEBUG] mpf_timer_manager.c:111 Set Timer 0xb7252d18 [2000]
2011-09-11 09:07:19.446976 [INFO] mrcp_client_connection.c:525 Receive MRCPv2 Stream 10.3.5.80:49844 <-> 10.3.15.180:6075 [136 bytes]
MRCP/2.0 136 START-OF-INPUT 2 IN-PROGRESS
Channel-Identifier: 160 at speechrecog
Proxy-Sync-Id: 0-160 at speechrecog
Input-Type: speech


Here are a few lines for an unsuccessful call:
2011-09-11 09:07:44.605658 [DEBUG] mrcp_stream.c:382 Parsed MRCP Message [70]
2011-09-11 09:07:44.605658 [DEBUG] mrcp_client.c:1104 Signal Connection Task Message
2011-09-11 09:07:44.606901 [DEBUG] mrcp_client.c:974 Receive Connection Task Message [3]
2011-09-11 09:07:44.606901 [INFO] mrcp_client_session.c:504 Raise App MRCP Response 0xb72d8228 <161>
2011-09-11 09:07:44.606901 [DEBUG] mod_unimrcp.c:3094 (ASR-17) RECOGNIZE IN PROGRESS
2011-09-11 09:07:44.606901 [DEBUG] mod_unimrcp.c:1488 (ASR-17) READY ==> PROCESSING
2011-09-11 09:07:44.606901 [DEBUG] apt_consumer_task.c:90 Wait for Task Messages [MRCP Client]
2011-09-11 09:07:44.606901 [DEBUG] switch_core_media_bug.c:360 Attaching BUG to sofia/internal/1000 at 10.3.5.80<mailto:sofia/internal/1000 at 10.3.5.80>
2011-09-11 09:07:44.814845 [INFO] mrcp_client_connection.c:525 Receive MRCPv2 Stream 10.3.5.80:49845 <-> 10.3.15.180:6075 [141 bytes]
MRCP/2.0 141 RECOGNITION-COMPLETE 2 COMPLETE
Channel-Identifier: 161 at speechrecog
Waveform-URI:
Completion-Cause: 002 no-input-timeout

It seems to me the main difference is that in the successful call there is a timer that is set. Has anybody seen this issue or have any idea's on how to resolve it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110913/be3e6fef/attachment.html 


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