<div dir="ltr">I see. That make sense at least.<div>What about FreeSWITCH&#39;s <a href="http://stun.freeswitch.org">stun.freeswitch.org</a> for:</div><div>







<p class=""><span class="">    </span><span class="">&lt;param</span><span class=""> name=&quot;ext-rtp-ip&quot; value=&quot;stun:<a href="http://stun.freeswitch.org">stun.freeswitch.org</a>&quot;/</span><span class="">&gt;</span></p>
<p class=""><span class="">    </span><span class="">&lt;param</span><span class=""> name=&quot;ext-sip-ip&quot; value=&quot;stun:<a href="http://stun.freeswitch.org">stun.freeswitch.org</a>&quot;/</span><span class="">&gt;</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Should that help? Or is it more complicated than so? I could always create my own stun server if this would fix the issue...</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 25, 2015 at 10:37 PM, Dave Horton <span dir="ltr">&lt;<a href="mailto:dave@dchorton.com" target="_blank">dave@dchorton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">OK, the traces show that this is a client nat issue.  The client device is behind a firewall (we can see in the REGISTER that the device has a private address of 192.168.1.51) and establishes a TLS connection to the FS1.  Later, FS #2 attempts to establish a  TLS connection of the public address the client is sending from (<a href="http://83.91.31.126:53393" target="_blank">83.91.31.126:53393</a>) and send the call there, but this fails.  As someone stated earlier in the thread, the pinhole on the client’s firewall/nat is associated to FS #1 and FS#2 (or any other server) will not able to send through it.<div><br></div><div>In larger networks, these problems are solved by using an SBC (session border controller) as the edge device in the service provider network.</div><div><br></div><div>Another option that was mentioned earlier was Kamailio as that type of device — in this case a SIP proxy load balancing across your two freeswitch servers.  That may work as well (I’m not familiar enough with Kamalio to know for sure).</div><div><br></div><div>The final option that was discussed was to come up with some way for the FS receiving the incoming call to the subscriber/device to redirect or forward the call to the specific FS that handled the registration for that subscriber/device. I haven’t done this before so I haven’t worked out all the details, but you would need to make sure the FS server IP was saved as part of the registration and then have a dial plan that recognizes the target device registered against a different FS and redirect (ideally) the call to that FS.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Dave</font></span><div><div class="h5"><br><div><div>On Nov 25, 2015, at 2:38 PM, Michael Nielsen &lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt; wrote:</div><br><div>No, it doesn&#39;t seems as if fs1 is getting anything from fs2 (or the client connected to fs2).<br><br>On Wednesday, November 25, 2015, Dave Horton &lt;<a href="mailto:dave@dchorton.com" target="_blank">dave@dchorton.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hmm, there is no incoming call (INVITE) attempt in the pastebin for the failed call..<div><br></div><div><br><div><div>On Nov 25, 2015, at 6:35 AM, Michael Nielsen &lt;<a>mic.niel84@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">This is from fs1, users do NOT receive call:<div><a href="http://pastebin.com/enzUVDCf" target="_blank">http://pastebin.com/enzUVDCf</a><br></div><div><br></div><div>This is from fs2, user MAKES call:</div><div><a href="http://pastebin.com/g3uCRd87" target="_blank">http://pastebin.com/g3uCRd87</a><br></div><div><br></div><div>Both logs should contain registering clients.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 8:16 PM, Giovanni Maruzzelli <span dir="ltr">&lt;<a>gmaruzz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>would you please do from fs_cli:<br><br></div>sofia global siptrace on<br><br></div>on both freeswitch servers, do again the call, and then pastebin the results (in both servers) ?<br><br></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 8:07 PM, Michael Nielsen <span dir="ltr">&lt;<a>mic.niel84@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>---------- Forwarded message ----------<br>From: <b>Michael Nielsen</b> &lt;<a>mic.niel84@gmail.com</a>&gt;<br>Date: Tuesday, November 24, 2015<br>Subject: 2 FS with shared database, cannot call subscribers on different servers<br>To: Luis Daniel Lucio Quiroz &lt;<a>luis.daniel.lucio@gmail.com</a>&gt;<br><br><br><div dir="ltr">This is my log when it fails:<div><a href="http://pastebin.com/ZqLbcGg4" target="_blank">http://pastebin.com/ZqLbcGg4</a><br></div><div><br></div><div>Whenever calls are coming into fs1 it cannot receive users who are registrered via fs2 and vise versa.</div><div>Whenever users are registrered on the same server they can reach each other.</div><div>They register with the same domain (fs), because my DNS is using round robin between fs1 and fs2.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 8:35 PM, Luis Daniel Lucio Quiroz <span dir="ltr">&lt;<a>luis.daniel.lucio@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is this what you are looking for?<div><a href="https://okay.com.mx/es/emprendedores/balanceo-cluster-y-alta-disponibilidad-con-fusionpbx.html" target="_blank">https://okay.com.mx/es/emprendedores/balanceo-cluster-y-alta-disponibilidad-con-fusionpbx.html</a><br></div><div><br></div><div>change the elements to fit your needs, it shows the main idea only</div></div><div class="gmail_extra"><br clear="all"><div><div>Luis Daniel Lucio Quiroz<br>CISSP, CISM, CISA<br>Linux, VoIP and much more fun<br><a href="http://www.okay.com.mx/" target="_blank">www.okay.com.mx</a><br><br>Need LCR? Check out LCR for FusionPBX with FreeSWITCH<br>Need Billing? Check out Billing for FusionPBX with FreeSWITCH</div></div>
<br><div class="gmail_quote"><div><div><div><div>2015-11-23 6:18 GMT-05:00 Michael Nielsen <span dir="ltr">&lt;<a>mic.niel84@gmail.com</a>&gt;</span>:<br></div></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div><div dir="ltr"><div><div><div><div><div>I&#39;ve got 2 Freeswitch 1.6.2 setup on different servers: <a href="http://fs1.my-domain.com/" target="_blank">fs1.my-domain.com</a> and <a href="http://fs2.my-domain.com/" target="_blank">fs2.my-domain.com</a>.<br><br></div>I&#39;ve got a DNS record with 2 A-records for the servers.<br><br></div>When two users ends up on he same server they can call each other. If they land on different servers they cannot. Then they endt up in voicemail.<br><br></div>I&#39;m running the servers with a shared database in postgresql.<br><br></div>Should I do anything else besides db in the core for FS?<br><br></div>They are registrering with the same &quot;main&quot; domain which is <a href="http://fs.my-domain.com/" target="_blank">fs.my-domain.com</a>.<br></div>
<br></div></div></div></div><span><span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></span></span></blockquote></div><br></div>
</blockquote></div><br></div>
<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><br></div></div><span>-- <br><div>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : <a href="tel:%2B39-347-2665618" value="+393472665618" target="_blank">+39-347-2665618</a><br></div>
</span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a>consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a>FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div></div><br></div></div></blockquote>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>