Failed to Create Session

278 views
Skip to first unread message

Stanislav Karavaev

unread,
Oct 27, 2017, 9:52:04 AM10/27/17
to UniMRCP
Hello, I going to create a IVR in couple with the GSR plugin, but I got a problem

Asterisk saying that happened error:

    -- Executing [s@sample-speech-transcription-1:1] Answer("SIP/203-00000005", "") in new stack


    -- Executing [s@sample-speech-transcription-1:2] SpeechCreate("SIP/203-00000005", "") in new stack


[Oct 27 12:57:57] NOTICE[39569][C-00003954]: src/mrcp_application.c:117 : Create MRCP Handle 0x7ff83c013378 [uni2]


[Oct 27 12:57:57] NOTICE[39569][C-00003954]: res_speech_unimrcp.c:236 uni_recog_create_internal: (RSU-2) Create speech resource


[Oct 27 12:57:57] NOTICE[39569][C-00003954]: src/mrcp_client_session.c:131 : Create Channel RSU-2 <new>


[Oct 27 12:57:57] NOTICE[19924]: src/mrcp_client_session.c:385 : Receive App Request RSU-2 <new> [2]


[Oct 27 12:57:57] WARNING[19924]: src/mrcp_client_session.c:1263 : Failed to Create Session RSU-2 <new> [2]


[Oct 27 12:57:57] NOTICE[19924]: src/mrcp_client_session.c:531 : Raise App Response RSU-2 <new> [2] FAILURE [1]


[Oct 27 12:57:57] WARNING[39569][C-00003954]: res_speech_unimrcp.c:257 uni_recog_create_internal: (RSU-2) Failed to add MRCP channel status: 1


[Oct 27 12:57:57] NOTICE[19924]: src/mrcp_client_session.c:385 : Receive App Request RSU-2 <new> [1]


[Oct 27 12:57:57] NOTICE[19924]: src/mrcp_client_session.c:453 : Raise App Response RSU-2 <new> [1] SUCCESS [0]


[Oct 27 12:57:57] NOTICE[39569][C-00003954]: src/mrcp_application.c:203 : Destroy MRCP Handle RSU-2


    -- Executing [s@sample-speech-transcription-1:3] SpeechActivateGrammar("SIP/203-00000005", "builtin:speech/transcribe") in new stack



I guess, I've configured connection with MRCP server incorrect, but I'm not seeing where exactly

8060 and 8062 ports are opened:

[root@centos ~]# netstat -ltupn

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    


tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      19857/asterisk      

tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      19857/asterisk      

tcp        0      0 127.0.0.1:1554          0.0.0.0:*               LISTEN      39553/./unimrcpserv

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      493/sshd            

tcp        0      0 127.0.0.1:8060          0.0.0.0:*               LISTEN      39553/./unimrcpserv

tcp        0      0 127.0.0.1:1544          0.0.0.0:*               LISTEN      39553/./unimrcpserv

tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      753/mysqld          

tcp6       0      0 :::22                   :::*                    LISTEN      493/sshd            

udp        0      0 0.0.0.0:4569            0.0.0.0:*                           19857/asterisk      

udp        0      0 127.0.0.1:8060          0.0.0.0:*                           39553/./unimrcpserv

udp        0      0 127.0.0.1:8062          0.0.0.0:*                           19857/asterisk      

udp        0      0 0.0.0.0:5000            0.0.0.0:*                           19857/asterisk      

udp        0      0 0.0.0.0:2727            0.0.0.0:*                           19857/asterisk      

udp        0      0 0.0.0.0:4520            0.0.0.0:*                           19857/asterisk      

udp        0      0 0.0.0.0:5060            0.0.0.0:*                           19857/asterisk  



I launching MRCP server via CLI and I don't see any received SIP event there

What can be wrong? 



Arsen Chaloyan

unread,
Oct 27, 2017, 2:07:44 PM10/27/17
to UniMRCP
Hello Stanislav,

You may need to enable debug output in mrcp.conf and logger.conf, located in the Asterisk config directory, to identify the problem.

BTW, also check for any warnings on loading of modules res_speech_unimrcp and app_unimrcp.



--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages