[Freeswitch-users] Single web socket for multiple verto clients

David Villasmil david.villasmil.work at gmail.com
Mon Apr 8 08:04:59 UTC 2019


I can’t figure out how he wants to use only one websocket for multiple
clients?
Websockets are tcp (thus connection-oriented) and you can’t (afaik)
establish one-to-many.

On Mon, 8 Apr 2019 at 04:47, Sergey Safarov <s.safarov at gmail.com> wrote:

> You can looks kamailio config for kazoo project
> 1) config
> https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio
> 2) websocket part
> https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio/websockets-role.cfg
>
> Kamailio is proxies websocket connections from endusers to FreeSwitch.
> Think kamailio establish one connection for all proxyed users.
>
> Sergey
>
> On Sun, Apr 7, 2019 at 5:32 AM Sowmya Venkat <sowmyatv at gmail.com> wrote:
>
>> Thanks a lot for the reply Mike. Sorry, the word Verto in my previous
>> email seems little ambiguous,  I am trying to write my own client (not
>> using verto.js). I am trying to talk to mod_verto on FS directly sending
>> messages on websocket using JSON RPC. Based on your response, can you pls
>> confirm if mod_verto does impose a restriction that each client connecting
>> to it should have a separate web socket or can it support multiple clients
>> on a single web socket and track each client based on some identifier?
>>
>> Thanks
>> Sowmya
>>
>>
>> On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, <mike at freeswitch.com> wrote:
>>
>>> it is one per client.
>>>
>>> On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat <sowmyatv at gmail.com> wrote:
>>>
>>>> Hi,
>>>>   Does FreeSWITCH require each Verto client to have a separate web
>>>> socket connection?  I am trying to see if it is possible to open single web
>>>> socket connection to FS and send verto login and invite messages for
>>>> different clients on the same web socket? Does verto/FS have the ability to
>>>> distinguish several clients on the same web socket based on say session Id
>>>> or equivalent unique identifier?
>>>>
>>>> Any input on this question is greatly appreciated
>>>>
>>>> Thanks
>>>> Sowmya
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com
>>>> https://freeswitch.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss
>>>> https://freeswitch.org/confluence
>>>> https://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
>>>> https://freeswitch.com
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com

-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190408/e57b9733/attachment.html>


More information about the FreeSWITCH-users mailing list