<div dir="ltr">See the contents of the Contact header in A's REGISTER messages. They tell FreeSWITCH where to send the call to.<div><br></div><div>NAT can confuse matters when picking the correct value though. It needs to be the external IP & port of the NAT router that the internal IP/port of the SIP messages are mapped to. Sometimes the phone will put the internal details instead which aren't routable externally. Sometimes it can detect it correctly (eg via STUN). If it can't some routers will contain a SIP ALG that will rewrite the header for a phone sending the internal ip/port to the external ip/port, but sometimes this can cause more problems than it solves if it doesn't do this correctly and it can't modify the packet if you're using TLS.</div><div><br></div><div>On top of that that internal to external port mapping will expire on that NAT router if you don't re-REGISTER frequently enough so that could stop the INVITE getting through even if you're sending to the correct place.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you're having issues like that getting the SIP packets through then it's likely </div><div class="gmail_extra"><br></div><div class="gmail_extra">If you can't fix it on the phone/router then you can also look at the NDLB (no device left behind) options. For example there's one that'll use the address the REGISTER is received from instead of the Contact header. This differs from how SIP is supposed to work but works in most cases (usually a phone will ask you to call it directly not via a proxy or route you elsewhere).</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 February 2016 at 09:46, David Wafula <span dir="ltr"><<a href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I have two users who registered in the same domain: user A and B.</div><div>A can call B just fine. When B tries to call A, there is silence (no ringback)..then after sometime the call goes into voice mail. A never receives the call. Please see the call trace here:</div><div><br></div><div><br></div><div><a href="http://pastebin.com/gWrrS4zw" target="_blank">http://pastebin.com/gWrrS4zw</a></div><div><br></div><div>Am not sure what is causing it.</div><div><br></div><div>Regards<span><font color="#888888"><br clear="all"><div><br></div>-- <br><div>David W</div>
</font></span></div></div>
<br>_________________________________________________________________________<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" 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" target="_blank">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></div>