unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol

Home Page:http://www.unimrcp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Completion-Cause: 002 no-input-timeout

huanhuan-xiao opened this issue · comments

#JSGF V1.0;
/** JSGF Grammar for example */
grammar example;
public = [];

#
#

#

2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:246 () Wait for Messages [MRCPv2ConnectionAgent] timeout [3000]
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:269 () Process Signalled Descriptor [MRCPv2ConnectionAgent]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_connection.c:635 () Receive MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [112 bytes]
MRCP/2.0 112 1 200 COMPLETE
Channel-Identifier: 645653af08c144dc@speechrecog
Completion-Cause: 000 success

2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cc8018d10;2;3]
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:251 () Wait for Messages [MRCPv2ConnectionAgent]
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cc8018d10;2;3]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_session.c:500 (ASR-3) Raise App MRCP Response ASR-3 <645653af08c144dc>
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:3658 (ASR-3) grammar loaded
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:1584 (ASR-3) PROCESSING ==> READY
2022-07-04 19:07:32.886766 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:2526 (ASR-3) Disabling all grammars
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:2485 (ASR-3) Enabling grammar 6fa8a9da-2b47-456a-9dcc-45d54e240f2f
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:2848 (ASR-3) "recognition-timeout": "10000"
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:2848 (ASR-3) "start-input-timers": "false"
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:2848 (ASR-3) "no-input-timeout": "5000"
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cb40db980;4;0]
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cb40db980;4;0]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_session.c:392 (ASR-3) Receive App MRCP Request ASR-3 <645653af08c144dc>
2022-07-04 19:07:32.886766 [INFO] mrcp_client_session.c:622 (ASR-3) Send MRCP Request ASR-3 645653af08c144dc@speechrecog [2]
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:265 () Signal Message to [MRCPv2ConnectionAgent] [0x7f5cbc024c30;1;0]
2022-07-04 19:07:32.886766 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:261 () Process Poller Wakeup [MRCPv2ConnectionAgent]
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:337 () Process Message [MRCPv2ConnectionAgent] [0x7f5cbc024c30;1;0]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_connection.c:530 (ASR-3) Send MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [274 bytes]
MRCP/2.0 274 RECOGNIZE 2
Channel-Identifier: 645653af08c144dc@speechrecog
Content-Type: text/uri-list
Cancel-If-Queue: false
Recognition-Timeout: 10000
Start-Input-Timers: false
No-Input-Timeout: 5000
Content-Length: 44

session:6fa8a9da-2b47-456a-9dcc-45d54e240f2f
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:246 () Wait for Messages [MRCPv2ConnectionAgent] timeout [3000]
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:269 () Process Signalled Descriptor [MRCPv2ConnectionAgent]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_connection.c:635 () Receive MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [83 bytes]
MRCP/2.0 83 2 200 IN-PROGRESS
Channel-Identifier: 645653af08c144dc@speechrecog

2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cc8018d10;2;3]
2022-07-04 19:07:32.886766 [DEBUG] apt_poller_task.c:251 () Wait for Messages [MRCPv2ConnectionAgent]
2022-07-04 19:07:32.886766 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cc8018d10;2;3]
2022-07-04 19:07:32.886766 [INFO] mrcp_client_session.c:500 (ASR-3) Raise App MRCP Response ASR-3 <645653af08c144dc>
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:3610 (ASR-3) RECOGNIZE IN PROGRESS
2022-07-04 19:07:32.886766 [DEBUG] mod_unimrcp.c:1584 (ASR-3) READY ==> PROCESSING
2022-07-04 19:07:32.886766 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:32.886766 [DEBUG] switch_core_file.c:389 File /usr/local/freeswitch/sounds/en/us/callie/ivr/test.wav sample rate 16000 doesn't match requested rate 48000
2022-07-04 19:07:32.886766 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@48000hz 1 channels 20ms
2022-07-04 19:07:32.928063 [DEBUG] switch_core_io.c:448 Setting BUG Codec opus:116
2022-07-04 19:07:32.928063 [DEBUG] mod_opus.c:617 Opus encoder: set bitrate to local settings [72000bps]
2022-07-04 19:07:37.247983 [DEBUG] switch_ivr_play_say.c:1941 done playing file /usr/local/freeswitch/sounds/en/us/callie/ivr/test.wav
2022-07-04 19:07:37.247983 [DEBUG] mod_unimrcp.c:2569 (ASR-3) Starting input timers
2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cb4000a20;4;0]
2022-07-04 19:07:37.247983 [INFO] switch_ivr_async.c:4549 (sofia/internal/1003@192.168.1.156) WAITING FOR RESULT
2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cb4000a20;4;0]
2022-07-04 19:07:37.247983 [INFO] mrcp_client_session.c:392 (ASR-3) Receive App MRCP Request ASR-3 <645653af08c144dc>
2022-07-04 19:07:37.247983 [INFO] mrcp_client_session.c:622 (ASR-3) Send MRCP Request ASR-3 645653af08c144dc@speechrecog [3]
2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:265 () Signal Message to [MRCPv2ConnectionAgent] [0x7f5cbc01d280;1;0]
2022-07-04 19:07:37.247983 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:37.247983 [DEBUG] apt_poller_task.c:261 () Process Poller Wakeup [MRCPv2ConnectionAgent]
2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:337 () Process Message [MRCPv2ConnectionAgent] [0x7f5cbc01d280;1;0]
2022-07-04 19:07:37.247983 [INFO] mrcp_client_connection.c:530 (ASR-3) Send MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [86 bytes]
MRCP/2.0 86 START-INPUT-TIMERS 3
Channel-Identifier: 645653af08c144dc@speechrecog

2022-07-04 19:07:37.247983 [DEBUG] apt_poller_task.c:246 () Wait for Messages [MRCPv2ConnectionAgent] timeout [3000]
2022-07-04 19:07:37.247983 [DEBUG] apt_poller_task.c:269 () Process Signalled Descriptor [MRCPv2ConnectionAgent]
2022-07-04 19:07:37.247983 [INFO] mrcp_client_connection.c:635 () Receive MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [80 bytes]
MRCP/2.0 80 3 200 COMPLETE
Channel-Identifier: 645653af08c144dc@speechrecog

2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cc812a670;2;3]
2022-07-04 19:07:37.247983 [DEBUG] apt_poller_task.c:251 () Wait for Messages [MRCPv2ConnectionAgent]
2022-07-04 19:07:37.247983 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cc812a670;2;3]
2022-07-04 19:07:37.247983 [INFO] mrcp_client_session.c:500 (ASR-3) Raise App MRCP Response ASR-3 <645653af08c144dc>
2022-07-04 19:07:37.247983 [DEBUG] mod_unimrcp.c:3647 (ASR-3) timers started
2022-07-04 19:07:37.247983 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:42.267096 [DEBUG] apt_poller_task.c:269 () Process Signalled Descriptor [MRCPv2ConnectionAgent]
2022-07-04 19:07:42.267096 [INFO] mrcp_client_connection.c:635 () Receive MRCPv2 Data 192.168.1.156:57018 <-> 192.168.1.156:1544 [213 bytes]
MRCP/2.0 213 RECOGNITION-COMPLETE 2 COMPLETE
Channel-Identifier: 645653af08c144dc@speechrecog
Completion-Cause: 002 no-input-timeout
Waveform-Uri: 645653af08c144dc-1.wav
Content-Type: application/nlsml+xml

2022-07-04 19:07:42.267096 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5cc8151cf0;2;3]
2022-07-04 19:07:42.267096 [DEBUG] apt_poller_task.c:251 () Wait for Messages [MRCPv2ConnectionAgent]
2022-07-04 19:07:42.267096 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5cc8151cf0;2;3]
2022-07-04 19:07:42.267096 [INFO] mrcp_client_session.c:516 (ASR-3) Raise App MRCP Event ASR-3 <645653af08c144dc>
2022-07-04 19:07:42.267096 [DEBUG] mod_unimrcp.c:3675 (ASR-3) RECOGNITION COMPLETE, Completion-Cause: 002
2022-07-04 19:07:42.267096 [DEBUG] mod_unimrcp.c:3693 (ASR-3) No result
2022-07-04 19:07:42.267096 [DEBUG] mod_unimrcp.c:2733 (ASR-3) ASR adding result headers
2022-07-04 19:07:42.267096 [DEBUG] mod_unimrcp.c:2628 (ASR-3) result:

Completion-Cause: 002
2022-07-04 19:07:42.267096 [DEBUG] mod_unimrcp.c:1584 (ASR-3) PROCESSING ==> READY
2022-07-04 19:07:42.267096 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2022-07-04 19:07:42.287137 [DEBUG] mod_unimrcp.c:2545 (ASR-3) SUCCESS, have result
2022-07-04 19:07:42.287137 [DEBUG] mod_unimrcp.c:2545 (ASR-3) SUCCESS, have result
2022-07-04 19:07:42.287137 [DEBUG] mod_unimrcp.c:2786 (ASR-3) result:

Completion-Cause: 002
2022-07-04 19:07:42.307140 [INFO] switch_ivr_async.c:4450 (sofia/internal/1003@192.168.1.156) DETECTED SPEECH
2022-07-04 19:07:42.307140 [CRIT] switch_cpp.cpp:1370 Result is 'Completion-Cause: 002'
2022-07-04 19:07:42.327954 [DEBUG] switch_cpp.cpp:731 CoreSession::hangup
2022-07-04 19:07:42.327954 [NOTICE] switch_cpp.cpp:733 Hangup sofia/internal/1003@192.168.1.156 [CS_EXECUTE] [NORMAL_CLEARING]
2022-07-04 19:07:42.327954 [DEBUG] switch_cpp.cpp:1187 sofia/internal/1003@192.168.1.156 destroy/unlink session from object
2022-07-04 19:07:42.327954 [DEBUG] switch_core_session.c:2905 sofia/internal/1003@192.168.1.156 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-07-04 19:07:42.327954 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1003@192.168.1.156) State EXECUTE going to sleep
2022-07-04 19:07:42.327954 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1003@192.168.1.156) Running State Change CS_HANGUP (Cur 1 Tot 38)

Sorry, it is not very clear what the question is, but it is up to the plugin running on UniMRCP server to provide a proper response.