[SR-Users] Websocket configuration for kamailio 5.1.6

Priyaranjan Nayak priyaranjan4169 at gmail.com
Tue Oct 9 14:29:36 CEST 2018


Hi All,

I have compiled the kamailio v5.1.6 source code with tls and websocket
module enabled in ubuntu 18.04 LTS. Now I am able to start the kamailio in
UDP and TCP port 5060. I wanted to run the kamailio  in WS, WSS and TLS
port as well. I have generated the private_key, certificate and ca_list and
provided the absolute file path in tls.cfg file.

I observed tls.so and websocket.so is present in the module path after
compile and installation of code. I have used below command to compile and
install.

   1. make proper
   2. make PREFIX="/usr/local/kamailio-5.1" include_modules="db_mysql tls
   websocket" cfg
   3. make all
   4. make install

I have attached the kamailio.cfg and tls.cfg. Could you please suggest the
modification in configuration file to run in WS, WSS and TLS port ?

Thanks
Priyaranjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181009/494bdc2d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 23178 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181009/494bdc2d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tls.cfg
Type: application/octet-stream
Size: 2600 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181009/494bdc2d/attachment-0001.obj>


More information about the sr-users mailing list