[Freeswitch-users] Websocket Load Balancing freeswitch

Murugan Pandian manpower13.cse at gmail.com
Tue Jun 16 22:15:17 MSD 2015


Sergey

you mean like this

                                                         |---------->FS 1(
192.168.1.2:5060)
                                                         |
SIPJS(WebRTC)---->nginx------------|
                                                         |
                                                         |----------->FS(
192.168.1.3:5060)


If like above nginx handle websocket request and UDP connected through
FS1(UDP),if i need to connect with fs1 i need public ip here nginx only
have public IP(How i can handle UDP  )  because nginx dont support UDP
traffic sorry if i am wrong






On Tue, Jun 16, 2015 at 11:18 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> Also all the SIP proxies support websockets so you can translate them to
> udp SIP.
>
>
> On Tue, Jun 16, 2015 at 12:37 PM, Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> When call is arrive to FS1 Nginx and media is proxyed by FS, then ip
>> address of FS1 will be sended to WebRTC client for RTP media. Media is
>> sended directly to correct FS.
>> If media is bypassed, then jedia sended directly to bleg endpoint.
>>
>> On Tue, Jun 16, 2015, 18:15 Murugan Pandian <manpower13.cse at gmail.com>
>> wrote:
>>
>>>
>>>
>>>
>>>
>>> |---------->FS
>>>                              (websosked and UDP)       |
>>> SIPJS(WebRTC)---->LoadBalancing------------|
>>>
>>> |
>>>
>>> |----------->FS
>>>
>>>
>>>
>>> Luis,It's clear to you
>>>
>>>
>>> Sergey Safarov ,If i go with NGINX or DNS how to handle UDP traffic
>>>
>>>
>>>
>>>
>>> On Tue, Jun 16, 2015 at 9:30 AM, Sergey Safarov <s.safarov at gmail.com>
>>> wrote:
>>>
>>>> You can use dns load balancing or simply reverse proxy like Nginx.
>>>>
>>>> On Tue, Jun 16, 2015, 02:27 Murugan Pandian <manpower13.cse at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>      How i can handle load balancing websocket request and how to
>>>>> scale FS for WEBRTC
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at 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 at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> [image: ☎] sip:888 at conference.freeswitch.org  [image: ☎] +19193869900
>
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150616/beaf6542/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3053 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150616/beaf6542/attachment.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list