Multiple FreeSWITCH servers behind kamailio-websocket
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*
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
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
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com
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:
- https://www.kamailio.org/docs/modules/stable/modules/ dispatcher.html#dispatcher.ex.config
You need to add the support for websocket traffic via websocket module:
- https://www.kamailio.org/docs/modules/stable/modules/ 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
-- Mit freundlichen Grüßen *Karsten Horsmann*
participants (4)
-
Daniel-Constantin Mierla
-
Dmitri Savolainen
-
Joel Serrano
-
Karsten Horsmann