I trying to install Janus WebRTC Gateway on Centos 7. But when I run
sudo yum install sofia-sip-devel
I have this message
No package sofia-sip-devel available.
I found this answer in Janus google group
https://groups.google.com/forum/#!msg/meetecho-janus/dmJpJuWoSpw/RUcrr1sjEQAJ
But
wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s/sofia-sip-1.12.11-6mgc30.x86_64.rpm
produces
No such directory ‘mirror/ftp.sourceforge.net/pub/sourceforge/m/ma/magicspecs/apt/3.0/x86_64/RPMS.s’.
So I guess there is some another repo link should be. Also I found this Docker
https://hub.docker.com/r/uangel/janus/~/dockerfile/
But when I try to follow it's commands I still get
SIP Gateway: no
In plugin list when configure Janus.
So my question is how to make sofi-sip libriary visible for Janus configure to install Janus SIP Gateway plugin? Thanks
Best Answer
It seems the pre-built packages are gone. You'll have to build it yourself. That's generally straightforward with
It's usually a good idea to add a prefix like
--prefix=/usr/local/sofia-sip
to ./configure, but then you'd have to add the path to sofia when configuring janus like this:You can get the sources for sofia-sip at http://sourceforge.net/project/showfiles.php?group_id=143636
UPDATE:
Adding a file named
config.site
with the following content did it for me: