[Freeswitch-users] (yet another?) freeswitch load balancer

Dave Horton dave at dchorton.com
Tue Dec 1 16:14:22 MSK 2015


I’ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing.  Even better if you are a nodejs developer familiar with expressjs or connect, then you may find the nuts of it to be very simple:


app.invite( function(req, res) {
   ...
    req.proxy({
       remainInDialog: false,
       handleRedirects: true,
       provisionalTimeout: '1s',
       destination: targets	
    }, function(err) {
      if( err ) { 
        console.error('Error proxying request: ', err) ;
      }
   }) ;
}) ;


Details here:

http://davehorton.github.io/drachtio-fs-load-balancing-proxy/







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