--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/c75a9446-b874-4bfa-a9ef-c1066e9a72af%40googlegroups.com.
-- Goto (res-speech-unimrcp-10,s,1)
-- Executing [s@res-speech-unimrcp-10:1] Answer("PJSIP/6001-00000000", "") in new stack
> 0x7fed60025fd0 -- Strict RTP learning after remote address set to: 27.106.23.242:8000
> 0x7fed60025fd0 -- Strict RTP switching to RTP target address 27.106.23.242:8000 as source
-- Executing [s@res-speech-unimrcp-10:2] MRCPRecog("PJSIP/6001-00000000", ""builtin:speech/transcribe", spl=en-US&f=beep&p=uni2") in new stack
[Nov 28 10:48:15] NOTICE[116114][C-00000001]: app_mrcprecog.c:1070 app_recog_exec: MRCPRecog() grammar: builtin:speech/transcribe
[Nov 28 10:48:15] NOTICE[116114][C-00000001]: app_mrcprecog.c:1085 app_recog_exec: MRCPRecog() options: spl=en-US&f=beep&p=uni2
[Nov 28 10:48:15] NOTICE[116114][C-00000001]: src/mrcp_application.c:117 Create MRCP Handle 0x7fed6003c888 [uni2]
[Nov 28 10:48:15] NOTICE[116114][C-00000001]: src/mrcp_client_session.c:131 Create Channel ASR-0 <new>
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:385 Receive App Request ASR-0 <new> [2]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client.c:696 Add MRCP Handle ASR-0 <new>
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:717 Add Control Channel ASR-0 <new@speechrecog>
[Nov 28 10:48:15] WARNING[116010]: src/mpf_rtp_stream.c:232 Failed to Match Codec List 10.6.0.16:28000
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:409 Send Offer ASR-0 <new> [c:1 a:1 v:0] to 10.6.0.16:8060
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_sofiasip_client_agent.c:301 Local SDP ASR-0 <new>
v=0
o=Asterisk 0 0 IN IP4 10.6.0.16
s=-
c=IN IP4 10.6.0.16
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 0 RTP/AVP 19
a=mid:1
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_i_state] Status 0 INVITE sent [uni2]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:499 SIP Call State ASR-0 [calling]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_r_invite] Status 200 OK [uni2]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_i_state] Status 200 OK [uni2]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:499 SIP Call State ASR-0 [ready]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:385 Remote SDP ASR-0 <new>
v=0
o=UniMRCPServer 2746640661893609616 6635347090603250725 IN IP4 10.6.0.16
s=-
c=IN IP4 10.6.0.16
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:6cfecdebf05644ce@speechrecog
a=cmid:1
m=audio 0 RTP/AVP 19
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_i_active] Status 200 Call active [uni2]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:149 Receive Answer ASR-0 <new> [c:1 a:1 v:0] Status 200
[Nov 28 10:48:15] NOTICE[116009]: src/mrcp_client_connection.c:336 Established TCP/MRCPv2 Connection 10.6.0.16:50904 <-> 10.6.0.16:1544
[Nov 28 10:48:15] NOTICE[116009]: src/mrcp_client_connection.c:433 Add Control Channel <6cfecdebf05644ce@speechrecog> 10.6.0.16:50904 <-> 10.6.0.16:1544 [1]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:453 Raise App Response ASR-0 <6cfecdebf05644ce> [2] SUCCESS [0]
[Nov 28 10:48:15] ERROR[116008]: app_mrcprecog.c:249 speech_on_channel_add: (ASR-0) Unable to determine codec descriptor
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:385 Receive App Request ASR-0 <6cfecdebf05644ce> [1]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:828 Terminate Session ASR-0 <6cfecdebf05644ce>
[Nov 28 10:48:15] NOTICE[116009]: src/mrcp_client_connection.c:457 Remove Control Channel <6cfecdebf05644ce@speechrecog> [0]
[Nov 28 10:48:15] NOTICE[116009]: src/mrcp_client_connection.c:384 Close TCP/MRCPv2 Connection 10.6.0.16:50904 <-> 10.6.0.16:1544
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_r_bye] Status 200 OK [uni2]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:561 Receive SIP Event [nua_i_state] Status 200 to BYE [uni2]
[Nov 28 10:48:15] NOTICE[116011]: src/mrcp_sofiasip_client_agent.c:499 SIP Call State ASR-0 [terminated]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:207 Session Terminated ASR-0 <6cfecdebf05644ce>
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_connection.c:233 Destroy TCP/MRCPv2 Connection 10.6.0.16:50904 <-> 10.6.0.16:1544
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client.c:706 Remove MRCP Handle ASR-0 <6cfecdebf05644ce>
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_client_session.c:453 Raise App Response ASR-0 <6cfecdebf05644ce> [1] SUCCESS [0]
[Nov 28 10:48:15] NOTICE[116008]: src/mrcp_application.c:203 Destroy MRCP Handle ASR-0
[Nov 28 10:48:15] NOTICE[116114][C-00000001]: app_mrcprecog.c:1034 mrcprecog_exit: MRCPRecog() exiting status: ERROR on PJSIP/6001-00000000
-- Executing [s@res-speech-unimrcp-10:3] Goto("PJSIP/6001-00000000", "mrcprecog-output,s,1") in new stack
-- Goto (mrcprecog-output,s,1)
-- Executing [s@mrcprecog-output:1] Verbose("PJSIP/6001-00000000", "1, status: ERROR, completion-cause: , result: ") in new stack
status: ERROR, completion-cause: , result:
-- Executing [s@mrcprecog-output:2] GotoIf("PJSIP/6001-00000000", "0?3:5") in new stack
-- Goto (mrcprecog-output,s,5)
-- Executing [s@mrcprecog-output:5] Hangup("PJSIP/6001-00000000", "") in new stack
== Spawn extension (mrcprecog-output, s, 5) exited non-zero on 'PJSIP/6001-00000000'>2019-11-28 11:41:36:365978 [INFO] Receive SIP Event [nua_i_invite] Status 100 Trying [SIP-Agent-1]2019-11-28 11:41:36:366012 [INFO] Receive SIP Event [nua_i_state] Status 100 Trying [SIP-Agent-1]2019-11-28 11:41:36:366025 [NOTICE] SIP Call State [received]2019-11-28 11:41:36:366054 [INFO] Create Session 0x7f01a8001a08 <new> [uni2]2019-11-28 11:41:36:366069 [INFO] Remote SDP 0x7f01a8001a08 <new>v=0o=Asterisk 6623178652956422755 4845956991185761689 IN IP4 10.6.0.16s=-c=IN IP4 10.6.0.16t=0 0m=application 9 TCP/MRCPv2 1a=setup:activea=connection:newa=resource:speechrecoga=cmid:1m=audio 0 RTP/AVP 19a=mid:1
2019-11-28 11:41:36:366106 [DEBUG] Signal Message to [MRCP Server] [0x7f01a80040e0;1;0]2019-11-28 11:41:36:366128 [DEBUG] Process Message [MRCP Server] [0x7f01a80040e0;1;0]2019-11-28 11:41:36:366135 [DEBUG] Dispatch Signaling Message [0]2019-11-28 11:41:36:366182 [NOTICE] Add Session <233f0cec20554ef0>2019-11-28 11:41:36:366194 [INFO] Receive Offer 0x7f01a8001a08 <233f0cec20554ef0> [c:1 a:1 v:0]2019-11-28 11:41:36:366206 [INFO] Found MRCP Engine [Demo-Recog-1] for Resource [speechrecog] 0x7f01a8001a08 <233f0cec20554ef0>2019-11-28 11:41:36:366220 [DEBUG] Add Control Channel 0x7f01a8001a08 <233f0cec20554ef0@speechrecog> [0]2019-11-28 11:41:36:366229 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7f01b000b060;1;0]2019-11-28 11:41:36:366243 [DEBUG] Add Media Termination 0x7f01a8001a08 <233f0cec20554ef0@rtp-tm> [0]2019-11-28 11:41:36:366252 [DEBUG] Signal Message to [Media-Engine-1] [0x7f01b000af40;1;0]2019-11-28 11:41:36:366259 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:366261 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]2019-11-28 11:41:36:366270 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7f01b000b060;1;0]2019-11-28 11:41:36:366276 [INFO] Add Pending Control Channel <233f0cec20554ef0@speechrecog> [1]2019-11-28 11:41:36:366285 [DEBUG] Signal Message to [MRCP Server] [0x7f019c0008c0;2;0]2019-11-28 11:41:36:366311 [DEBUG] Wait for Messages [MRCPv2-Agent-1]2019-11-28 11:41:36:366325 [DEBUG] Process Message [MRCP Server] [0x7f019c0008c0;2;0]2019-11-28 11:41:36:366334 [DEBUG] Control Channel Modified 0x7f01a8001a08 <233f0cec20554ef0@speechrecog>2019-11-28 11:41:36:366346 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:371290 [DEBUG] Process Message [Media-Engine-1] [0x7f01b000af40;1;0]2019-11-28 11:41:36:371363 [DEBUG] Signal Message to [MRCP Server] [0x7f01940008c0;4;0]2019-11-28 11:41:36:371388 [DEBUG] Process Message [MRCP Server] [0x7f01940008c0;4;0]2019-11-28 11:41:36:371396 [DEBUG] Media Termination Modified 0x7f01a8001a08 <233f0cec20554ef0@media-tm>2019-11-28 11:41:36:371400 [DEBUG] Media Termination Modified 0x7f01a8001a08 <233f0cec20554ef0@rtp-tm>2019-11-28 11:41:36:371404 [WARN] >>>>>>>>>>>>>>>>> demo_recog_msg_signal2019-11-28 11:41:36:371408 [DEBUG] Signal Message to [Demo Recog Engine] [0x7f01b0002a00;1;0]2019-11-28 11:41:36:371418 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:371443 [DEBUG] Process Message [Demo Recog Engine] [0x7f01b0002a00;1;0]2019-11-28 11:41:36:371447 [WARN] >>>>>>>>>>>>>>>>> demo_recog_msg_process2019-11-28 11:41:36:371452 [DEBUG] Signal Message to [MRCP Server] [0x7f01980008c0;3;2]2019-11-28 11:41:36:371458 [DEBUG] Wait for Messages [Demo Recog Engine]2019-11-28 11:41:36:371464 [DEBUG] Process Message [MRCP Server] [0x7f01980008c0;3;2]2019-11-28 11:41:36:371468 [DEBUG] Engine Channel Opened 0x7f01a8001a08 <233f0cec20554ef0@speechrecog> [OK]2019-11-28 11:41:36:371472 [INFO] Send Answer 0x7f01a8001a08 <233f0cec20554ef0> [c:1 a:1 v:0] Status OK2019-11-28 11:41:36:371481 [INFO] Local SDP 0x7f01a8001a08 <233f0cec20554ef0>v=0o=UniMRCPServer 0 0 IN IP4 10.6.0.16s=-c=IN IP4 10.6.0.16t=0 0m=application 1544 TCP/MRCPv2 1a=setup:passivea=connection:newa=channel:233f0cec20554ef0@speechrecoga=cmid:1m=audio 0 RTP/AVP 19a=mid:1
2019-11-28 11:41:36:371520 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:372203 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]2019-11-28 11:41:36:372239 [NOTICE] SIP Call State 0x7f01a8001a08 [completed]2019-11-28 11:41:36:372489 [INFO] Receive SIP Event [nua_i_ack] Status 200 OK [SIP-Agent-1]2019-11-28 11:41:36:372514 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]2019-11-28 11:41:36:372525 [NOTICE] SIP Call State 0x7f01a8001a08 [ready]2019-11-28 11:41:36:372530 [INFO] Receive SIP Event [nua_i_active] Status 200 Call active [SIP-Agent-1]2019-11-28 11:41:36:372998 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]2019-11-28 11:41:36:373033 [NOTICE] Accepted TCP/MRCPv2 Connection 10.6.0.16:1544 <-> 10.6.0.16:337822019-11-28 11:41:36:373041 [DEBUG] Wait for Messages [MRCPv2-Agent-1] timeout [600000]2019-11-28 11:41:36:375031 [DEBUG] Process Signalled Descriptor [MRCPv2-Agent-1]2019-11-28 11:41:36:375048 [INFO] TCP/MRCPv2 Peer Disconnected 10.6.0.16:1544 <-> 10.6.0.16:337822019-11-28 11:41:36:375163 [NOTICE] Destroy TCP/MRCPv2 Connection 10.6.0.16:1544 <-> 10.6.0.16:337822019-11-28 11:41:36:375175 [DEBUG] Wait for Messages [MRCPv2-Agent-1]2019-11-28 11:41:36:375884 [INFO] Receive SIP Event [nua_i_bye] Status 200 Session Terminated [SIP-Agent-1]2019-11-28 11:41:36:375898 [INFO] Receive SIP Event [nua_i_state] Status 200 Session Terminated [SIP-Agent-1]2019-11-28 11:41:36:375903 [NOTICE] SIP Call State 0x7f01a8001a08 [terminated]2019-11-28 11:41:36:375909 [DEBUG] Signal Message to [MRCP Server] [0x7f01a80040e0;1;2]2019-11-28 11:41:36:375918 [INFO] Receive SIP Event [nua_i_terminated] Status 200 Session Terminated [SIP-Agent-1]2019-11-28 11:41:36:375928 [DEBUG] Process Message [MRCP Server] [0x7f01a80040e0;1;2]2019-11-28 11:41:36:375932 [DEBUG] Dispatch Signaling Message [2]2019-11-28 11:41:36:375935 [INFO] Deactivate Session 0x7f01a8001a08 <233f0cec20554ef0>2019-11-28 11:41:36:375939 [INFO] Terminate Session 0x7f01a8001a08 <233f0cec20554ef0>2019-11-28 11:41:36:375944 [DEBUG] Remove Control Channel 0x7f01a8001a08 <233f0cec20554ef0@speechrecog> [0]2019-11-28 11:41:36:375948 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7f01b000b060;1;0]2019-11-28 11:41:36:375958 [DEBUG] Subtract Media Termination 0x7f01a8001a08 <233f0cec20554ef0@media-tm>2019-11-28 11:41:36:375963 [WARN] >>>>>>>>>>>>>>>>> demo_recog_msg_signal2019-11-28 11:41:36:375967 [DEBUG] Signal Message to [Demo Recog Engine] [0x7f01b0002a00;1;0]2019-11-28 11:41:36:375981 [DEBUG] Subtract Media Termination 0x7f01a8001a08 <233f0cec20554ef0@rtp-tm>2019-11-28 11:41:36:375986 [DEBUG] Signal Message to [Media-Engine-1] [0x7f01b000af40;1;0]2019-11-28 11:41:36:375991 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:375993 [DEBUG] Process Message [Demo Recog Engine] [0x7f01b0002a00;1;0]2019-11-28 11:41:36:376001 [WARN] >>>>>>>>>>>>>>>>> demo_recog_msg_process2019-11-28 11:41:36:376002 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]2019-11-28 11:41:36:376060 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7f01b000b060;1;0]2019-11-28 11:41:36:376103 [INFO] Remove Pending Control Channel <233f0cec20554ef0@speechrecog> [0]2019-11-28 11:41:36:376108 [DEBUG] Signal Message to [MRCP Server] [0x7f019c0008c0;2;2]2019-11-28 11:41:36:376117 [DEBUG] Wait for Messages [MRCPv2-Agent-1]2019-11-28 11:41:36:376049 [DEBUG] Signal Message to [MRCP Server] [0x7f01980008c0;3;3]2019-11-28 11:41:36:376128 [DEBUG] Wait for Messages [Demo Recog Engine]2019-11-28 11:41:36:376135 [DEBUG] Process Message [MRCP Server] [0x7f019c0008c0;2;2]2019-11-28 11:41:36:376139 [DEBUG] Control Channel Removed 0x7f01a8001a08 <233f0cec20554ef0@speechrecog>2019-11-28 11:41:36:376143 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:376146 [DEBUG] Process Message [MRCP Server] [0x7f01980008c0;3;3]2019-11-28 11:41:36:376150 [DEBUG] Engine Channel Closed 0x7f01a8001a08 <233f0cec20554ef0@speechrecog>2019-11-28 11:41:36:376153 [DEBUG] Wait for Messages [MRCP Server]2019-11-28 11:41:36:382264 [DEBUG] Process Message [Media-Engine-1] [0x7f01b000af40;1;0]2019-11-28 11:41:36:382593 [DEBUG] Signal Message to [MRCP Server] [0x7f01940008c0;4;0]2019-11-28 11:41:36:382656 [DEBUG] Process Message [MRCP Server] [0x7f01940008c0;4;0]2019-11-28 11:41:36:382670 [DEBUG] Media Termination Subtracted 0x7f01a8001a08 <233f0cec20554ef0@media-tm>2019-11-28 11:41:36:382680 [DEBUG] Media Termination Subtracted 0x7f01a8001a08 <233f0cec20554ef0@rtp-tm>2019-11-28 11:41:36:382691 [NOTICE] Remove Session <233f0cec20554ef0>2019-11-28 11:41:36:382722 [INFO] Session Terminated 0x7f01a8001a08 <233f0cec20554ef0>2019-11-28 11:41:36:382779 [NOTICE] Destroy Session <233f0cec20554ef0>2019-11-28 11:41:36:382798 [DEBUG] Wait for Messages [MRCP Server]
Hi Jatin,Both sides should advertise 16 kHz codecs in order for offer/answer to complete successfully. I cannot tell what your the exact problem is without the logs.
On Wed, Nov 27, 2019 at 5:28 AM Jatin Parekh <jatin...@haptik.co> wrote:
Hey everyone,--I've been going through sample Demo Recog plugin and trying to connect it to my own ASR service. The plugin requires PCM data at 16000Hz.While going through the Asterisk/UniMRCP Integration document, there is a field called codecs with description "Specifies the RTP supported codecs."Can someone explain what could be the possible values for this field?I need to know this as I am stuck at a step where I keep receiving the error in my UniMRCP Server logs when I load my plugin.2019-11-27 13:19:50:347005 [WARN] Reject RTP Session *.*.*.*:5124 no codecs matchedI've been able to integrate Azure SR plugin with Asterisk/UniMRCP as per the docs and that works correctly.For my own plugin, I've tried using the 16000Hz specific codecs.PCMU/97/16000 PCMA/98/16000 L16/99/16000 in mrcp.conf as well unimrcpserver.xml.However, I still keep getting the above error when starting the UniMRCP server.Or if there is anything else that I would need to change in Asterisk or UniMRCP config to be able to send data at 16000Hz, please do let me know.Thank you,
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uni...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/c75a9446-b874-4bfa-a9ef-c1066e9a72af%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/e78a0fc1-dde0-489c-8eba-076142213daf%40googlegroups.com.
disallow=all
allow=ulaw allow=ulawallow=g722
Hi Jatin,
Configuration of UniMRCP server has no relevance to the issue you experienced. The problem is in the translation path between a codec used in the incoming SIP call leg and codecs configured for the MRCP leg on Asterisk.And you seem to have posted a similar question here, which has the same resolution.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/e78a0fc1-dde0-489c-8eba-076142213daf%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/b2a6d7ec-ac84-426e-ac07-707a952e84e5%40googlegroups.com.