[Freeswitch-users] play_and_detect_speech errors

Anita Hall anita.hall at simmortel.com
Wed Apr 25 12:10:02 MSD 2012


Hi

I was using play_and_detect_speech with Nuance Speech Server 5 and it
generally works great! Much thanks to Chris Rienzo for this cool App :)

There are 2 cases where I need help to understand what is happening.

1. In general my SIP connection between mod_unimrcp and Nuance works fine
with all the calls answered. But in 3 repeated cases, the SIP connection
was not established as a result of which the call got hungup.

Is there any graceful way in play_and_detect_speech (like some channel
variable set) which can be used to find if the SIP call has been answered
by Nuance or not.

Like in this case, I got

2012-04-20 13:20:47.955516 [DEBUG] apt_consumer_task.c:97 () Wait for
Messages [MRCP Client]
  7430 2012-04-20 13:20:47.955516 [INFO] mrcp_sofiasip_client_agent.c:582
() Receive SIP Event [nua_i_state] Status 0 INVITE sent
  7431 2012-04-20 13:20:47.955516 [NOTICE] mrcp_sofiasip_client_agent.c:522
() SIP Call State 0x7f4f04188270 [calling]
  7432 2012-04-20 13:20:47.955516 [INFO] mrcp_sofiasip_client_agent.c:582
() Receive SIP Event [nua_r_invite] Status 503 Service Unavailable
  7433 2012-04-20 13:20:47.955516 [INFO] mrcp_sofiasip_client_agent.c:582
() Receive SIP Event [nua_i_state] Status 503 Service Unavailable
  7434 2012-04-20 13:20:47.955516 [NOTICE] mrcp_sofiasip_client_agent.c:522
() SIP Call State 0x7f4f04188270 [terminated]
  7435 2012-04-20 13:20:47.955516 [DEBUG] apt_task.c:278 () Process Message
[MRCP Client] [1;4]
  7436 2012-04-20 13:20:47.955516 [INFO] mrcp_client_session.c:535 (ASR-0)
Raise App Response 0x7f4f04188270 <new> [2] FAILURE [2]
  7437 2012-04-20 13:20:47.955516 [ERR] mod_unimrcp.c:1860 (ASR-0)
RECOGNIZER channel error!
  7438 2012-04-20 13:20:47.955516 [DEBUG] mod_unimrcp.c:1866 Terminating
MRCP session
  7439 2012-04-20 13:20:47.955516 [DEBUG] mod_unimrcp.c:1541 (ASR-0) CLOSED
==> ERROR






2. After performing a recognition with a low confidence score, the call got
disconnected but FreeSWITCH could not detect the call disconnection and
repeatedly gave the following debug message in the log till it flooded
hundreds of log files.

switch_core_session.c:2102 FreeTDM/1:2/4948608 Channel is hungup and
application play_and_detect_speech does not have the zombie_exec flag.

During this "show calls" on fs_cli will crash fs_cli

I had to shutdown freeswitch.






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


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