<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes, it requires a (separate) server process that incorporates sofia to be running. &nbsp;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):&nbsp;<a href="https://github.com/davehorton/drachtio-server" class="">https://github.com/davehorton/drachtio-server</a><div class=""><br class=""></div><div class="">You’ll find build instructions in the readme, but open an issue (on github) for me if you have any troubles.</div><div class=""><br class=""></div><div class="">Dave<br class=""><div><div class="">On Dec 1, 2015, at 8:51 AM, 郭秋平 &lt;<a href="mailto:guoqiuping81112@163.com" class="">guoqiuping81112@163.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=gb2312" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">if I want to install the proxy, I need to install sofia lib first?</div><div class="">but why can not find the lib in your repo?</div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">在 2015年12月1日,下午9:32,Dave Horton &lt;<a href="mailto:dave@dchorton.com" class="">dave@dchorton.com</a>&gt; 写道:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It is a proxy. &nbsp;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.<div class=""><br class=""></div><div class=""><br class=""><div class=""><div class="">On Dec 1, 2015, at 8:20 AM, Vik Killa &lt;<a href="mailto:vipkilla@gmail.com" class="">vipkilla@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class="">I see this is described as a SIP Proxy but you are using the sofia SIP stack.</div><div class="">Is this technically a B2BUA or a Proxy?</div><div class="">Thanks,<br class="">/V</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Dec 1, 2015 at 8:14 AM, Dave Horton <span dir="ltr" class="">&lt;<a href="mailto:dave@dchorton.com" target="_blank" class="">dave@dchorton.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’ve developed a nodejs-based freeswitch load balancer that may be of interest to those who prefer Javascript to configuration file-driven routing.&nbsp; 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:<br class="">
<br class="">
<br class="">
app.invite( function(req, res) {<br class="">
&nbsp; &nbsp;...<br class="">
&nbsp; &nbsp; req.proxy({<br class="">
&nbsp; &nbsp; &nbsp; &nbsp;remainInDialog: false,<br class="">
&nbsp; &nbsp; &nbsp; &nbsp;handleRedirects: true,<br class="">
&nbsp; &nbsp; &nbsp; &nbsp;provisionalTimeout: '1s',<br class="">
&nbsp; &nbsp; &nbsp; &nbsp;destination: targets<br class="">
&nbsp; &nbsp; }, function(err) {<br class="">
&nbsp; &nbsp; &nbsp; if( err ) {<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; console.error('Error proxying request: ', err) ;<br class="">
&nbsp; &nbsp; &nbsp; }<br class="">
&nbsp; &nbsp;}) ;<br class="">
}) ;<br class="">
<br class="">
<br class="">
Details here:<br class="">
<br class="">
<a href="http://davehorton.github.io/drachtio-fs-load-balancing-proxy/" rel="noreferrer" target="_blank" class="">http://davehorton.github.io/drachtio-fs-load-balancing-proxy/</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com/" class="">http://www.freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="http://www.freeswitch.org/" class="">http://www.freeswitch.org</a><br class=""><a href="http://confluence.freeswitch.org/" class="">http://confluence.freeswitch.org</a><br class=""><a href="http://www.cluecon.com" class="">http://www.cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div><br class=""></div></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com" class="">http://www.freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div><br class=""></div></body></html>