Closed achaloyan closed 9 years ago
Hi Alexander and Patrick,
The debug output would be required to identify the problem. You could enable it from
/etc/asterisk/logger.conf
Nonetheless, I suspect that MRCPRecog did play the specified file. Most probably, the
play was immediately interrupted due to barge-in (START-OF-INPUT from the MRCP server).
BTW, you could try the same with disabled barge-in option (b=0).
Reported by achaloyan
on 2010-06-16 06:37:15
Another quest:
We have:
2. File data/sound/palmira3 Format PCM 16bit, mono, frequency=8000, size 133240 bytes
But in Asterisk output we see another file lenght:
[Jun 15 19:28:17] NOTICE[5251]: app_unimrcp.c:5028 app_recog_exec: file length:66598
it looks like: 66598 = (133240-44(header of wav file))/2(one channel???, but we also
have mono...) We can't understand - what's the matter with it...
Reported by PRavaldini
on 2010-06-16 09:29:03
What if you try to play one of the standard messages, for instance f=demo-thanks.
Also, you may need to attach that palmira3 file too.
Reported by achaloyan
on 2010-06-16 10:35:26
We try file "demo-thanks" and have the same result. Just file lenght now is 38720. Also
we have played both files (demo-thanks and palmira3) with "Playback" function of dialplan
and have success...
Reported by PRavaldini
on 2010-06-16 12:14:12
I have used the attached palmira3.wav without an issue. So, the problem is definitely
not in the message itself. I started to suspect it's a codec related issue. Try to
use the same codec on both legs: incoming SIP leg and SIP/MRCPv2 leg. Make a network
capture on the Asterisk box and attach it to review.
Reported by achaloyan
on 2010-06-16 18:12:01
I think, that problem is in my vmware Ubuntu. Another machine works correctly.
Ok. This bug may be closed in all ;-) Thank you!
Reported by PRavaldini
on 2010-06-17 05:38:46
All's well that ends well :)
Reported by achaloyan
on 2010-06-17 06:14:45
Verified
Hi folk,
I am getting below error while i run MRCPRecog, i want to recognize the speech,
why it is trying to generate another call to extension '127.0.0.1:5060' ?????
anyone have any idea????
-- Executing [1234@outbound:1] Answer("SIP/901-00000001", "") in new stack
-- Executing [1234@outbound:2] Wait("SIP/901-00000001", "2") in new stack
-- Executing [1234@outbound:3] MRCPRecog("SIP/901-00000001", "/usr/local/unimrcp/conf/client-profiles/nuance.xml,")
in new stack
[Aug 24 19:36:01] NOTICE[22350]: app_unimrcp.c:4921 app_recog_exec: Grammar to recognize
with: /usr/local/unimrcp/conf/client-profiles/nuance.xml
[Aug 24 19:36:01] NOTICE[22350]: app_unimrcp.c:5002 app_recog_exec: DTMF enable: 0
[Aug 24 19:36:01] NOTICE[22350]: app_unimrcp.c:4169 unimrcp_log: Create MRCP Handle
0x88019448 [speech-nuance5-mrcp2]
[Aug 24 19:36:01] NOTICE[22291]: app_unimrcp.c:4169 unimrcp_log: Add Control Channel
0x7fdd88019448 <new@speechrecog>
[Aug 24 19:36:01] NOTICE[22295]: app_unimrcp.c:4169 unimrcp_log: SIP Call State 0x7fdd88019448
[calling]
== Using SIP RTP CoS mark 5
[Aug 24 19:36:01] WARNING[22303]: chan_sip.c:8338 process_sdp: Unsupported SDP media
type in offer: application 9 TCP/MRCPv2 1
[Aug 24 19:36:01] NOTICE[22303]: chan_sip.c:20152 handle_request_invite: Call from
'' to extension '127.0.0.1:5060' rejected because extension not found in context 'default'.
[Aug 24 19:36:01] NOTICE[22295]: app_unimrcp.c:4169 unimrcp_log: SIP Call State 0x7fdd88019448
[terminated]
[Aug 24 19:36:01] ERROR[22291]: app_unimrcp.c:2420 speech_on_channel_add: (ASR-0) RECOGNIZER
channel error!
[Aug 24 19:36:01] NOTICE[22291]: app_unimrcp.c:4169 unimrcp_log: Destroy MRCP Handle
0x7fdd88019448
[Aug 24 19:36:01] NOTICE[22350]: app_unimrcp.c:2041 speech_channel_destroy: (ASR-0)
Audio queue destroyed
-- Executing [1234@outbound:4] Verbose("SIP/901-00000001", "") in new stack
-- Executing [1234@outbound:5] Hangup("SIP/901-00000001", "") in new stack
Reported by azhar@staff.mondotalk.com
on 2012-08-24 17:41:27
Originally reported on Google Code with ID 92
Reported by
voronov.aldr
on 2010-06-15 15:42:51