I'm experimenting how to use hupall from a node to another node in a cluster. is there a way to do it ? Thanks
Do you have socket access to the node in question? On Wed, Mar 30, 2011 at 9:14 AM, Madovsky <infos@madovsky.org> wrote:
I'm experimenting how to use hupall from a node to another node in a cluster. is there a way to do it ?
Thanks
_______________________________________________ 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
unfortunatly all sockets are listening on 127.0.0.1. yes I know what you think, listen on network IP and send message to socket. but as I have only public IP It means that I need to create iptables rules... if it's the only solution I will do it. thanks ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Wednesday, March 30, 2011 1:18 PM Subject: Re: [Freeswitch-users] hupall in cluster Do you have socket access to the node in question? On Wed, Mar 30, 2011 at 9:14 AM, Madovsky <infos@madovsky.org> wrote: I'm experimenting how to use hupall from a node to another node in a cluster. is there a way to do it ? Thanks _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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
What about multicast event, capture it on the other boxes and hang up. I heard about it ,I haven't actually done it. Curious to see how it works... "multicast::event": //events from other FS boxes ----- Original Message ----- From: "Madovsky" <infos@madovsky.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, March 30, 2011 3:31 PM Subject: Re: [Freeswitch-users] hupall in cluster unfortunatly all sockets are listening on 127.0.0.1. yes I know what you think, listen on network IP and send message to socket. but as I have only public IP It means that I need to create iptables rules... if it's the only solution I will do it. thanks ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Wednesday, March 30, 2011 1:18 PM Subject: Re: [Freeswitch-users] hupall in cluster Do you have socket access to the node in question? On Wed, Mar 30, 2011 at 9:14 AM, Madovsky <infos@madovsky.org> wrote: I'm experimenting how to use hupall from a node to another node in a cluster. is there a way to do it ? Thanks _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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
good suggestion. do you mean that multicast::event is available with mod_event_socket ? if I read wiki for mod-event_multicast -------------- You get access to all of the same events that you would get with mod_event_socket and "event plain ALL". This can be both a blessing and a curse. Please take care to audit the events, as they'll be sent everywhere that the router of your subnet and the adjoining routers are configured to send multicast packets. You may wish to explicitly plan for this and use a VLAN or similar precaution to protect yourself from information leaking to places it need not go. --------------- the problem is if my esl script listens all events from all nodes so it can unecessary grow the data incoming ----- Original Message ----- From: "Kris" <kris@livecall.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, March 30, 2011 7:57 PM Subject: Re: [Freeswitch-users] hupall in cluster
What about multicast event, capture it on the other boxes and hang up. I heard about it ,I haven't actually done it. Curious to see how it works...
"multicast::event": //events from other FS boxes
----- Original Message ----- From: "Madovsky" <infos@madovsky.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, March 30, 2011 3:31 PM Subject: Re: [Freeswitch-users] hupall in cluster
unfortunatly all sockets are listening on 127.0.0.1. yes I know what you think, listen on network IP and send message to socket. but as I have only public IP It means that I need to create iptables rules... if it's the only solution I will do it.
thanks ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Wednesday, March 30, 2011 1:18 PM Subject: Re: [Freeswitch-users] hupall in cluster
Do you have socket access to the node in question?
On Wed, Mar 30, 2011 at 9:14 AM, Madovsky <infos@madovsky.org> wrote:
I'm experimenting how to use hupall from a node to another node in a cluster. is there a way to do it ?
Thanks
_______________________________________________ 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
------------------------------------------------------------------------------
_______________________________________________ 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
_______________________________________________ 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
On Wed, Mar 30, 2011 at 5:07 PM, Madovsky <infos@madovsky.org> wrote:
good suggestion. do you mean that multicast::event is available with mod_event_socket ?
if I read wiki for mod-event_multicast -------------- You get access to all of the same events that you would get with mod_event_socket and "event plain ALL". This can be both a blessing and a curse. Please take care to audit the events, as they'll be sent everywhere that the router of your subnet and the adjoining routers are configured to send multicast packets. You may wish to explicitly plan for this and use a VLAN or similar precaution to protect yourself from information leaking to places it need not go. ---------------
the problem is if my esl script listens all events from all nodes so it can unecessary grow the data incoming
Yep. You can't have it both ways - either you have to connect to each node to send hupall via the socket or you need to listen to multicast traffic and pick out the events you wish to act upon. I suppose the third choice would be to create a "multicast event proxy" that handles the filtering of events to/from each box. Any other suggestions out there? -MC
do you think that an optional arguments to some application or api command like "hupall <local|nodeXX|ALL> normal_clearing var ${var}" would be easy to program ? ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Wednesday, March 30, 2011 8:14 PM Subject: Re: [Freeswitch-users] hupall in cluster On Wed, Mar 30, 2011 at 5:07 PM, Madovsky <infos@madovsky.org> wrote: good suggestion. do you mean that multicast::event is available with mod_event_socket ? if I read wiki for mod-event_multicast -------------- You get access to all of the same events that you would get with mod_event_socket and "event plain ALL". This can be both a blessing and a curse. Please take care to audit the events, as they'll be sent everywhere that the router of your subnet and the adjoining routers are configured to send multicast packets. You may wish to explicitly plan for this and use a VLAN or similar precaution to protect yourself from information leaking to places it need not go. --------------- the problem is if my esl script listens all events from all nodes so it can unecessary grow the data incoming Yep. You can't have it both ways - either you have to connect to each node to send hupall via the socket or you need to listen to multicast traffic and pick out the events you wish to act upon. I suppose the third choice would be to create a "multicast event proxy" that handles the filtering of events to/from each box. Any other suggestions out there? -MC ------------------------------------------------------------------------------ _______________________________________________ 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
participants (3)
-
Kris
-
Madovsky
-
Michael Collins