[Freeswitch-users] Do we have ESL-proxy?

Seven Du dujinfang at gmail.com
Tue Aug 6 22:57:48 MSD 2013


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.

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.

Is this what are we talking about? I might do this in Erlang.

-- 
Seven Du
http://www.freeswitch.org.cn
http://about.me/dujinfang
http://www.dujinfang.com


Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Wednesday, August 7, 2013 at 2:00 AM, Nathan Neulinger wrote:

> ESL is just a simple TCP socket connection... if all you're wanting to do is rotate between them, there are LOTs of 
> different solutions. If you're looking for load balancing/calculated assignment of which one to use/etc. then you're 
> going to need something more advanced.
> 
> I'm not aware of any high-level proxy services that do the sort of things described in amiproxy/astmanproxy, but someone 
> else may be aware of something like it.
> 
> -- Nathan
> 
> On 08/06/2013 12:57 PM, SamyGo wrote:
> > Dear Nathan,
> > Can you refer me some relevant links, this seems more complex solution. I was thinking more like AMIproxy/ AstmanProxy
> > thing.
> > 
> > BR,
> > Sammy
> > 
> > 
> > 
> > On Tue, Aug 6, 2013 at 10:40 AM, Nathan Neulinger <nneul at mst.edu <mailto:nneul at mst.edu>> wrote:
> > 
> > With HAProxy, you could just define a list of target servers. You'd configure your app to talk to the HA IP, and
> > then each request would go to next available server in the pool you have defined.
> > 
> > You could also simply do a DNS round robin if you wanted. All depends on what infrastructure/etc. you have available
> > to you and how resilient it needs to be.
> > 
> > -- Nathan
> > 
> > 
> > On 08/06/2013 12:38 PM, SamyGo wrote:
> > 
> > Dear Nathan,
> > 
> > I think I've missed something. I don't understand how HAproxy and Floating IP and KeepAlived will help me? I need to
> > have all Active FS Servers and some mechanism to send ESL commands to them in round-robin fashion. I've an
> > autodialer
> > script so that Proxy will help me use many FS Servers at the same time !
> > 
> > Thanks,
> > Sammy
> > 
> > 
> > 
> > On Tue, Aug 6, 2013 at 10:22 AM, Nathan Neulinger <nneul at mst.edu <mailto:nneul at mst.edu> <mailto:nneul at mst.edu
> > <mailto:nneul at mst.edu>>> wrote:
> > 
> > You might look at the keepalived page on wiki, that's what I use to float an IP in the case where only one
> > of the FS
> > instances should be online.
> > 
> > You could also use HAProxy to define a group of systems for it to talk to if you want multiple to be online
> > at once,
> > but rotating between them.
> > 
> > -- Nathan
> > 
> > 
> > On 08/06/2013 12:19 PM, SamyGo wrote:
> > 
> > Hi Nathan,
> > 
> > I can only think of Round Robin with failover. I definitely don't want to parallel fork an ESL command.
> > 
> > --
> > Sammy
> > 
> > 
> > 
> > On Tue, Aug 6, 2013 at 10:16 AM, Nathan Neulinger <nneul at mst.edu <mailto:nneul at mst.edu>
> > <mailto:nneul at mst.edu <mailto:nneul at mst.edu>> <mailto:nneul at mst.edu <mailto:nneul at mst.edu>
> > 
> > <mailto:nneul at mst.edu <mailto:nneul at mst.edu>>>> wrote:
> > 
> > Are you saying "round robin" or "mirrored" for the commands?
> > 
> > i.e. if you send a command over this proxy, would it be duplicated to all of the FS servers, or
> > sent to "first
> > available"?
> > 
> > -- Nathan
> > 
> > 
> > On 08/06/2013 12:05 PM, SamyGo wrote:
> > 
> > Dear Users,
> > 
> > I have come up with a requirement to have ESL connection made with multiple FS Servers at the
> > same time
> > and send
> > them
> > commands(no event receiving is required for now) The connections to FS should be pooled and
> > monitored
> > if any FS
> > goes down.
> > 
> > Is there any ESLproxy available to be used readily?
> > 
> > Thanks,
> > Sammy
> > 
> > 
> > --
> > ------------------------------______--------------------------__--__--
> > Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu> <mailto:nneul at mst.edu
> > <mailto:nneul at mst.edu>> <mailto:nneul at mst.edu <mailto:nneul at mst.edu> <mailto:nneul at mst.edu <mailto:nneul at mst.edu>>>
> > 
> > 
> > Missouri S&T Information Technology (573) 612-1412
> > System Administrator - Architect
> > 
> > 
> > 
> > --
> > ------------------------------____----------------------------__--
> > Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu> <mailto:nneul at mst.edu <mailto:nneul at mst.edu>>
> > Missouri S&T Information Technology (573) 612-1412
> > System Administrator - Architect
> > 
> > 
> > 
> > --
> > ------------------------------__------------------------------
> > Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu>
> > Missouri S&T Information Technology (573) 612-1412
> > System Administrator - Architect
> > 
> 
> 
> -- 
> ------------------------------------------------------------
> Nathan Neulinger nneul at mst.edu (mailto:nneul at mst.edu)
> Missouri S&T Information Technology (573) 612-1412
> System Administrator - Architect
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130807/22cb6b30/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list