Janus-gateway and Asterisk on the same server

413 views
Skip to first unread message

Brosteanu Gabi

unread,
Feb 19, 2016, 6:15:37 AM2/19/16
to meetecho-janus
Hello,

I try to connect to Asterisk server trough janus.

I use siptest.js script. When I put the server ""https://janus.conf.meetecho.com/janus" as the principal server, it works, it connects to asetrisk and I can make a videocall but if I put my "https://myserver:8889/janus" it also connects, successfully register to asterisk, but can't make a call.

Asterisk and janus are on the same vps server with CentOS 7


Thank you.

Brosteanu Gabi

unread,
Feb 19, 2016, 6:34:07 AM2/19/16
to meetecho-janus
Solved it by applying this patch on sofia-sip


Thanks.

Lorenzo Miniero

unread,
Feb 19, 2016, 6:39:53 AM2/19/16
to meetecho-janus
Yep, it's a patch Sofia SIP needs when compiled with gcc >= 4.8. If I recall correctly, the version available on CentOS repos doesn' have it and so INVITE messages there were heavily garbled.

L.

Brosteanu Gabi

unread,
Feb 19, 2016, 7:22:26 AM2/19/16
to meetecho-janus
I have another problem.

If I run Janus as a daemon in terminal, it works fine, but if I put in crontab to run it on @reboot when I reboot the server, Janus starts but video is not transmited.

Thanks.

Lorenzo Miniero

unread,
Feb 20, 2016, 5:51:14 AM2/20/16
to meetecho-janus
We use cron ourselves and I don't see how it could be a problem. You should check logs and (more importantly) Admin API info for affected handles to see why things are failing.

L.
Reply all
Reply to author
Forward
0 new messages