Closed MrityunjoyS closed 4 years ago
mrcp.conf default-asr-profile = speech-nuance5-mrcp2
But there are no profile in such name profile name exist is [unimrcpv2]
same => n,MRCPRecog(builtin:grammar/number,p=default&t=5000&b=1&ct=0.7&spl=en-US&f=hello-world)
Change to same => n,MRCPRecog(builtin:grammar/number,p=unimrcpv2&t=5000&b=1&ct=0.7&spl=en-US&f=hello-world)
Thanks @bikramjitroy , I understood the mistake and made changes accordingly so above error is resolved. So again when I tried dialing getting below output -->
[Sep 9 15:24:03] NOTICE[10930][C-00000002]: app_mrcprecog.c:1086 app_recog_exec: MRCPRecog() grammar: builtin:grammar/number
[Sep 9 15:24:03] NOTICE[10930][C-00000002]: app_mrcprecog.c:1107 app_recog_exec: MRCPRecog() options: p=speech-nuance5-mrcp2&t=5000&b=1&ct=0.7&spl=en-US&f=hello-world
[Sep 9 15:24:03] NOTICE[10930][C-00000002]: src/mrcp_application.c:117 Create MRCP Handle 0x7f6d58013388 [speech-nuance5-mrcp2]
[Sep 9 15:24:03] NOTICE[10930][C-00000002]: src/mrcp_client_session.c:131 Create Channel ASR-1 <new>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:385 Receive App Request ASR-1 <new> [2]
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client.c:697 Add MRCP Handle ASR-1 <new>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:717 Add Control Channel ASR-1 <new@speechrecog>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:409 Send Offer ASR-1 <new> [c:1 a:1 v:0] to 192.168.1.9:8060
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_sofiasip_client_agent.c:357 Local SDP ASR-1 <new>
v=0
o=Asterisk 0 0 IN IP4 192.168.1.9
s=-
c=IN IP4 192.168.1.9
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 28000 RTP/AVP 0 8 96 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=ptime:20
a=mid:1
[Sep 9 15:24:03] NOTICE[10887]: src/mrcp_sofiasip_client_agent.c:617 Receive SIP Event [nua_i_state] Status 0 INVITE sent [speech-nuance5-mrcp2]
[Sep 9 15:24:03] NOTICE[10887]: src/mrcp_sofiasip_client_agent.c:555 SIP Call State ASR-1 [calling]
[Sep 9 15:24:03] NOTICE[10887]: src/mrcp_sofiasip_client_agent.c:617 Receive SIP Event [nua_r_invite] Status 503 Service Unavailable [speech-nuance5-mrcp2]
[Sep 9 15:24:03] NOTICE[10887]: src/mrcp_sofiasip_client_agent.c:617 Receive SIP Event [nua_i_state] Status 503 Service Unavailable [speech-nuance5-mrcp2]
[Sep 9 15:24:03] NOTICE[10887]: src/mrcp_sofiasip_client_agent.c:555 SIP Call State ASR-1 [terminated]
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:149 Receive Answer ASR-1 <new> [c:0 a:0 v:0] Status 503
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:453 Raise App Response ASR-1 <new> [2] FAILURE [2]
_**[Sep 9 15:24:03] ERROR[10883]: app_mrcprecog.c:294 speech_on_channel_add: (ASR-1) Channel error status=2, response code=503!**_
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:385 Receive App Request ASR-1 <new> [1]
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:828 Terminate Session ASR-1 <new>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:207 Session Terminated ASR-1 <new>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client.c:707 Remove MRCP Handle ASR-1 <new>
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_client_session.c:453 Raise App Response ASR-1 <new> [1] SUCCESS [0]
[Sep 9 15:24:03] NOTICE[10883]: src/mrcp_application.c:211 Destroy MRCP Handle ASR-1
[Sep 9 15:24:03] NOTICE[10930][C-00000002]: app_mrcprecog.c:1047 mrcprecog_exit: MRCPRecog() exiting status: ERROR on PJSIP/6001-00000001
== Spawn extension (from-internal, 6112, 2) exited non-zero on 'PJSIP/6001-00000001'
Getting this error
I've installed unimrcp, asterisk and for calling I'm using zoiper.
Extensions.conf file -->
mrcp.conf file -->
When I'm dialing this connection, getting below error -->
Any suggestion in this issue. Thanks in advance.