[Freeswitch-dev] Clients connected to event socket module?
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.
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@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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@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@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Johny Kadarisman