Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
webrtc kamailio for example here https://github.com/havfo/WEBRTC-to-SIP
By the way rtpengine is not mandatory with FreeSwitch. It is possible to use a set of FS(1.6) and balancing by dispatcher module
2017-06-07 14:47 GMT+03:00 Karsten Horsmann khorsmann@gmail.com:
Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
-- Kind Regards *Karsten Horsmann*
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
rtpengine just a proxy. You can use kamailio just a webrtc proxy to freeswitch if want to use FS as backend server that will handle voice and convert it from SRTP to RTP. websocket just a transport like TCP,UDP and TLS, so you also can send SIP over websocket from kamailio using for example $fs valriable for it. You will need configure needed proto:ip:port to freeswitch for using websocket in dispatcher. Среда, 7 июня 2017, 21:18 +03:00 от Dmitri Savolainen savolainen@erinaco.ru:
webrtc kamailio for example here https://github.com/havfo/WEBRTC-to-SIP
By the way rtpengine is not mandatory with FreeSwitch. It is possible to use a set of FS(1.6) and balancing by dispatcher module
2017-06-07 14:47 GMT+03:00 Karsten Horsmann < khorsmann@gmail.com > :
Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
-- Kind Regards *Karsten Horsmann*
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Savolainen Dmitri _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi,
RTPengine is very Debian depending and I want to avoid running it.
I tried to run RTP engine on my CentOS 6 SBCs. But then I realized that is an too old starting point. My Freeswitch webrtc systems run CentOS 7 and in my setup I could handel websocket and srtp stuff.
But in that setup I am limited to one box and here comes Kamailio for the rescue.
Thanks for the links I will read them and try to figure out what kind of setup I can run.
First step is to setup two Freeswitch webrtc boxes (with public ips) and loadblance webrtc signaling to them via Kamailio (hmm to plain SIP then or plain WS).
In this first step it should be only for signaling.
Am 08.06.2017 7:58 vorm. schrieb "Юрий Горличенко" <gorlichenko_uv@inbox.ru
:
rtpengine just a proxy. You can use kamailio just a webrtc proxy to freeswitch if want to use FS as backend server that will handle voice and convert it from SRTP to RTP.
websocket just a transport like TCP,UDP and TLS, so you also can send SIP over websocket from kamailio using for example $fs valriable for it. You will need configure needed proto:ip:port to freeswitch for using websocket in dispatcher.
Среда, 7 июня 2017, 21:18 +03:00 от Dmitri Savolainen <savolainen@erinaco.ru
:
webrtc kamailio for example here https://github.com/havfo/WEBRTC-to-SIP
By the way rtpengine is not mandatory with FreeSwitch. It is possible to use a set of FS(1.6) and balancing by dispatcher module
2017-06-07 14:47 GMT+03:00 Karsten Horsmann khorsmann@gmail.com:
Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
Hello,
On 18.06.17 10:25, Karsten Horsmann wrote:
Hi,
RTPengine is very Debian depending and I want to avoid running it.
if you refer to the kernel module, you can run without it, having rtpengine in the user space like tpproxy. Mayb be slower, but it works. Not sure about dependencies to compile it, but I expect to be everywhere in a main linux distro.
Cheers, Daniel
I tried to run RTP engine on my CentOS 6 SBCs. But then I realized that is an too old starting point. My Freeswitch webrtc systems run CentOS 7 and in my setup I could handel websocket and srtp stuff.
But in that setup I am limited to one box and here comes Kamailio for the rescue.
Thanks for the links I will read them and try to figure out what kind of setup I can run.
First step is to setup two Freeswitch webrtc boxes (with public ips) and loadblance webrtc signaling to them via Kamailio (hmm to plain SIP then or plain WS).
In this first step it should be only for signaling.
Am 08.06.2017 7:58 vorm. schrieb "Юрий Горличенко" <gorlichenko_uv@inbox.ru mailto:gorlichenko_uv@inbox.ru>:
rtpengine just a proxy. You can use kamailio just a webrtc proxy to freeswitch if want to use FS as backend server that will handle voice and convert it from SRTP to RTP. websocket just a transport like TCP,UDP and TLS, so you also can send SIP over websocket from kamailio using for example $fs valriable for it. You will need configure needed proto:ip:port to freeswitch for using websocket in dispatcher. Среда, 7 июня 2017, 21:18 +03:00 от Dmitri Savolainen <savolainen@erinaco.ru <mailto:savolainen@erinaco.ru>>: webrtc kamailio for example here https://github.com/havfo/WEBRTC-to-SIP By the way rtpengine is not mandatory with FreeSwitch. It is possible to use a set of FS(1.6) and balancing by dispatcher module 2017-06-07 14:47 GMT+03:00 Karsten Horsmann <khorsmann@gmail.com>: Hello List, is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH? I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice? My callflow is mostly that my internal SIP Servers called my registered webrtc clients. Would be nice to get some input. -- Kind Regards *Karsten Horsmann* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Savolainen Dmitri _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Karsten,
Have you tried with regular Kamailio (w/ dispatcher+websocket+xhttp modules)? I don't see why it wouldn't work...
Joel.
On Wed, Jun 7, 2017 at 4:47 AM, Karsten Horsmann khorsmann@gmail.com wrote:
Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
-- Kind Regards *Karsten Horsmann*
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello,
that combination of dispatcher+websocket+xhttp modules works just fine...
So to load balance the SIP signaling with Kamailio towards FreeSwitch, just use the dispatcher module as usual. A sample config is available at:
- https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatc...
You need to add the support for websocket traffic via websocket module:
- https://www.kamailio.org/docs/modules/stable/modules/websocket.html#idp42826...
or extract from the tutorial linked in a previous email on this thread.
Cheers, Daniel
On 13.06.17 16:38, Joel Serrano wrote:
Hi Karsten,
Have you tried with regular Kamailio (w/ dispatcher+websocket+xhttp modules)? I don't see why it wouldn't work...
Joel.
On Wed, Jun 7, 2017 at 4:47 AM, Karsten Horsmann <khorsmann@gmail.com mailto:khorsmann@gmail.com> wrote:
Hello List, is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH? I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice? My callflow is mostly that my internal SIP Servers called my registered webrtc clients. Would be nice to get some input. -- Kind Regards *Karsten Horsmann* _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com> Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello Daniel,
i will try that and hopfully get an working webrtc loadbalancer in the near future with Kamailio and FreeSWITCH :).
2017-06-14 10:57 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
that combination of dispatcher+websocket+xhttp modules works just fine...
So to load balance the SIP signaling with Kamailio towards FreeSwitch, just use the dispatcher module as usual. A sample config is available at:
dispatcher.html#dispatcher.ex.config
You need to add the support for websocket traffic via websocket module:
websocket.html#idp42826164
or extract from the tutorial linked in a previous email on this thread.
Cheers, Daniel
On 13.06.17 16:38, Joel Serrano wrote:
Hi Karsten,
Have you tried with regular Kamailio (w/ dispatcher+websocket+xhttp modules)? I don't see why it wouldn't work...
Joel.
On Wed, Jun 7, 2017 at 4:47 AM, Karsten Horsmann khorsmann@gmail.com wrote:
Hello List,
is there any howto about webrtc loadbalance in combination with kamailio and FreeSWITCH?
I want to share one WSS address/endpoint to multiple FreeSWITCH backends. Or is there any other best practice?
My callflow is mostly that my internal SIP Servers called my registered webrtc clients.
Would be nice to get some input.
-- Kind Regards *Karsten Horsmann*
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org