Yes, it requires a (separate) server process that incorporates sofia to be running. There is actually a note on the site about that with a link (entitled “prerequisites”), but for simplicity here is the link to that project (also fully open source): https://github.com/davehorton/drachtio-serverYou’ll find build instructions in the readme, but open an issue (on github) for me if you have any troubles.DaveOn Dec 1, 2015, at 8:51 AM, 郭秋平 <guoqiuping81112@163.com> wrote:_________________________________________________________________________if I want to install the proxy, I need to install sofia lib first?but why can not find the lib in your repo?在 2015年12月1日,下午9:32,Dave Horton <dave@dchorton.com> 写道:It is a proxy. I am using the sofia sip stack (specifically nta) which is capable of any type of sip processing, but this application uses it as a SIP proxy._________________________________________________________________________On Dec 1, 2015, at 8:20 AM, Vik Killa <vipkilla@gmail.com> wrote:Hi,I see this is described as a SIP Proxy but you are using the sofia SIP stack.Is this technically a B2BUA or a Proxy?Thanks,
/V_________________________________________________________________________On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton <dave@dchorton.com> wrote: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/
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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