<div>
I was actually thinking how to do that. Raw idea would be run a daemon that connects to multiple FS instances and routes ESL requests from a single client accordingly.</div><div><br></div><div>FS has core-uuid in events so it can tell which FS it comes from, and api and sendmsg might need to be extended to add the core-uuid so the proxy nows which FS it needs to route to.</div><div><div><br></div><div>Is this what are we talking about? I might do this in Erlang.</div><div><br></div><div>-- </div><div>Seven Du</div><div><span style="font-size: 10pt; ">http://www.freeswitch.org.cn</span></div><div>http://about.me/dujinfang</div><div><div>http://www.dujinfang.com</div></div><div><br></div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
<p style="color: #A0A0A8;">On Wednesday, August 7, 2013 at 2:00 AM, Nathan Neulinger wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>ESL is just a simple TCP socket connection... if all you're wanting to do is rotate between them, there are LOTs of </div><div>different solutions. If you're looking for load balancing/calculated assignment of which one to use/etc. then you're </div><div>going to need something more advanced.</div><div><br></div><div>I'm not aware of any high-level proxy services that do the sort of things described in amiproxy/astmanproxy, but someone </div><div>else may be aware of something like it.</div><div><br></div><div>-- Nathan</div><div><br></div><div>On 08/06/2013 12:57 PM, SamyGo wrote:</div><blockquote type="cite"><div><div>Dear Nathan,</div><div>Can you refer me some relevant links, this seems more complex solution. I was thinking more like AMIproxy/ AstmanProxy</div><div>thing.</div><div><br></div><div>BR,</div><div>Sammy</div><div><br></div><div><br></div><div><br></div><div>On Tue, Aug 6, 2013 at 10:40 AM, Nathan Neulinger <nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>> wrote:</div><div><br></div><div> With HAProxy, you could just define a list of target servers. You'd configure your app to talk to the HA IP, and</div><div> then each request would go to next available server in the pool you have defined.</div><div><br></div><div> You could also simply do a DNS round robin if you wanted. All depends on what infrastructure/etc. you have available</div><div> to you and how resilient it needs to be.</div><div><br></div><div> -- Nathan</div><div><br></div><div><br></div><div> On 08/06/2013 12:38 PM, SamyGo wrote:</div><div><br></div><div> Dear Nathan,</div><div><br></div><div> I think I've missed something. I don't understand how HAproxy and Floating IP and KeepAlived will help me? I need to</div><div> have all Active FS Servers and some mechanism to send ESL commands to them in round-robin fashion. I've an</div><div> autodialer</div><div> script so that Proxy will help me use many FS Servers at the same time !</div><div><br></div><div> Thanks,</div><div> Sammy</div><div><br></div><div><br></div><div><br></div><div> On Tue, Aug 6, 2013 at 10:22 AM, Nathan Neulinger <nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a></div><div> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>>> wrote:</div><div><br></div><div> You might look at the keepalived page on wiki, that's what I use to float an IP in the case where only one</div><div> of the FS</div><div> instances should be online.</div><div><br></div><div> You could also use HAProxy to define a group of systems for it to talk to if you want multiple to be online</div><div> at once,</div><div> but rotating between them.</div><div><br></div><div> -- Nathan</div><div><br></div><div><br></div><div> On 08/06/2013 12:19 PM, SamyGo wrote:</div><div><br></div><div> Hi Nathan,</div><div><br></div><div> I can only think of Round Robin with failover. I definitely don't want to parallel fork an ESL command.</div><div><br></div><div> --</div><div> Sammy</div><div><br></div><div><br></div><div><br></div><div> On Tue, Aug 6, 2013 at 10:16 AM, Nathan Neulinger <nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>></div><div> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>></div><div><br></div><div> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>>>> wrote:</div><div><br></div><div> Are you saying "round robin" or "mirrored" for the commands?</div><div><br></div><div> i.e. if you send a command over this proxy, would it be duplicated to all of the FS servers, or</div><div> sent to "first</div><div> available"?</div><div><br></div><div> -- Nathan</div><div><br></div><div><br></div><div> On 08/06/2013 12:05 PM, SamyGo wrote:</div><div><br></div><div> Dear Users,</div><div><br></div><div> I have come up with a requirement to have ESL connection made with multiple FS Servers at the</div><div> same time</div><div> and send</div><div> them</div><div> commands(no event receiving is required for now) The connections to FS should be pooled and</div><div> monitored</div><div> if any FS</div><div> goes down.</div><div><br></div><div> Is there any ESLproxy available to be used readily?</div><div><br></div><div> Thanks,</div><div> Sammy</div><div><br></div><div><br></div><div> --</div><div> ------------------------------______--------------------------__--__--</div><div> Nathan Neulinger nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a></div><div> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>>></div><div><br></div><div><br></div><div> Missouri S&T Information Technology (573) 612-1412</div><div> System Administrator - Architect</div><div><br></div><div><br></div><div><br></div><div> --</div><div> ------------------------------____----------------------------__--</div><div> Nathan Neulinger nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a> <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>>></div><div> Missouri S&T Information Technology (573) 612-1412</div><div> System Administrator - Architect</div><div><br></div><div><br></div><div><br></div><div> --</div><div> ------------------------------__------------------------------</div><div> Nathan Neulinger nneul@mst.edu <<a href="mailto:nneul@mst.edu">mailto:nneul@mst.edu</a>></div><div> Missouri S&T Information Technology (573) 612-1412</div><div> System Administrator - Architect</div></div></blockquote><div><br></div><div>-- </div><div>------------------------------------------------------------</div><div>Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a></div><div>Missouri S&T Information Technology (573) 612-1412</div><div>System Administrator - Architect</div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>