[Freeswitch-dev] Clients connected to event socket module?
Johny Kadarisman
jkr888 at gmail.com
Fri Sep 12 22:12:00 EDT 2008
Hi Anthony,
I think the current implementation is cool, There is a value to have
multiple different client to connect via socket, ie. one for control, other
for watching special events, etc. But would be good to have a method to
prevent more than 2 same client to establish a session. If there is a
command to list this connections, then i can build a logic to validate, but
then the next challange is how to differentiate between those connection ;)
or another way i'm looking is once connected, i can check or set some kind
of global variable. This to make sure only one same type of client
connected. I see a javascript call for setting global var, is there same
facility from event socket?
Thanks,
Johny K.
On Fri, Sep 12, 2008 at 6:30 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> we don't have that, but it's possible to add.
>
> We could add a max-clients param so it would refuse connections when it is
> exceeded possibly.
>
>
> On Fri, Sep 12, 2008 at 5:05 PM, Johny Kadarisman <jkr888 at gmail.com>wrote:
>
>> Hi,
>>
>> I'm wondering, Is there anyway to know event socket sessions that still
>> active? something like 'show managers' in asterisk.
>>
>> I want to prevent 2 socket clients to establish connection to freeswitch,
>> any thought on how to prevent this situation.
>>
>> Thanks,
>> Johny K.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080912/9815a6d8/attachment.html
More information about the Freeswitch-dev
mailing list