unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol
http://www.unimrcp.org
Apache License 2.0
379 stars 167 forks source link

No START-OF-INPUT on DTMF digit input #288

Closed MayamaTakeshi closed 3 years ago

MayamaTakeshi commented 3 years ago

Hi, I'm on unimrcp 1.7.0. When I try with a RECOGNIZE like this:

MRCP/2.0 458 RECOGNIZE 1
Channel-Identifier: f2b47c66478c44d1@speechrecog
Content-Type: text/uri-list
Cancel-If-Queue: false
DTMF-Interdigit-Timeout: 10000
Recognition-Timeout: 60000
DTMF-Term-Timeout: 12000
Start-Input-Timers: false
DTMF-Term-Char: #
Speech-Language: ja-JP
No-Input-Timeout: 60000
Vendor-Specific-Parameters: reference-uuid=b28c7a08-9039-46d4-aa66-317aef717c0a
Content-Length: 45

builtin:speech/transcribe
builtin:dtmf/digits

when speech starts, unimrcp sends START-OF-INPUT. However, if a DTMF input happens, START-OF-INPUT is not sent.

MayamaTakeshi commented 3 years ago

Sorry, I was testing some different conditions and UniMRCP sent START-OF-INPUT. In the first case, the client (freeswitch) didn't send START-INPUT-TIMERS and then I didn't get START-OF-INPUT. But I tried now forcing freeswitch to send it and then UniMRCP sent START-OF-INPUT when DTMF was detected. But checking old packet captures there are other situations where freeswitch didn't send START-INPUT-TIMERS and UniMRCP sent START-OF-INPUT. So at the moment I think this is not an UniMRCP issue. I will close this issue for now and reopened if I can have a case. Sorry for taking your time.