Installing SylkServer WebRTC gateway on Ubuntu

Installing SylkServer WebRTC Gateway on Ubuntu Linux:

First of all add the Ag projects repository to system repositories. 
Add the following lines to /etc/apt/sources.list

Ubuntu Trusty 14.04 :
deb http://ag-projects.com/ubuntu trusty main
deb-src http://ag-projects.com/ubuntu trusty main
Then Install AG Projects software signing key:

wget http://download.ag-projects.com/agp-debian-gpg.key 

sudo apt-key add agp-debian-gpg.key

Install or upgrade SylkServer
sudo apt-get update
sudo apt-get install sylkserver

or to install with WebRTC gateway support:
sudo apt-get update
sudo apt-get install sylkserver-webrtc-gateway
As soon as I hit the above webrtc gateway install command, I got many errors
To overcome this I need to install all the dependencies.
python-msgpack 0.4:
Ubuntu default official repositories doesn’t contains the latest version 0.4 so I needed to use third party Deb to install the msgpack 0.4 version.
wget https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup/+build/8849335/+files/python-msgpack_0.4.6-1~ubuntu14.04.1~ppa1_amd64.deb
dpkg -i python-msgpack_0.4.6-1~ubuntu14.04.1~ppa1_amd64.deb
python-autobahn:
apt-get install python-autobahn
Now Install the sylkserver with WebRTC Gateway :
sudo apt-get install sylkserver-webrtc-gateway
Running the server

Set in /etc/default/syslkserver:

The software can work fine with the default settings. To overwrite the default settings edit the following files:

General: /etc/sylkserver/config.ini
Conferencing: /etc/sylkserver/conference.ini
XMPP:
/etc/sylkserver/xmppgateway.ini.
At least one XMPP domain must be configured in the file above and the DNS.

Start the server:

Logging

Activity messages are logged to syslog.
SIP and MSRP protocol traces can be enabled in config.ini

Listening ports

SylkServer must run on a public IP address reachable directly by the SIP clients. If SylkServer is installed behind NAT using a private IP address, only clients from the same LAN can make use of it.
By default SylkServer listens for incoming connections on the following ports:

Component Ports Transport
SIP signaling 5060 UDP, TCP
SIP signaling 5061 TLS
RTP media 50000:50500 UDP
MSRP media 2855 TLS
WEB media random > 1024 TLS
XMPP signaling and media 5269 TLS

The server is also initiating outbound connections for both signaling and media.

Venkatesh

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

Leave a Reply