Duane,<div><br></div><div>I read through your post yesterday twice.  It didn&#39;t sound like to me it had been resolved...I&#39;ll re-re-read it again this afternoon!</div><div><br></div><div><br></div><div>- Jeff</div><div>
<br></div><div><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 12:11 AM,  <span dir="ltr">&lt;<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@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">
Jeff,
<br>
<br>Read my post.  I got my calls working but I am not sure if it was a bug or something is just jacked up with my config and I am not following the RFCs the right way.  I can go into more detail offline if you need.  I hope to get some feedback on my post.
<br><div class="HOEnZb"><div class="h5">
<br>On , Jeff Pyle &lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt; wrote:
<br>&gt; Hi Duane,
<br>&gt; 
<br>&gt; I have captures now!  I also read through your thread.  The situation looks to be the same.  I also have a missing username in the self-relayed ACK&#39;s RURI.
<br>&gt; 
<br>&gt; 
<br>&gt; And it&#39;s also driving my crazy.  
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; I&#39;m on 1.7 build 9142.  You?
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; - Jeff
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; On Sat, Jul 7, 2012 at 7:14 PM,  <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>&gt; wrote:
<br>&gt; 
<br>&gt; 
<br>&gt; Almost sounds like you and I are having the same issue.
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; Here&#39;s my issue
<br>&gt; 
<br>&gt; 
<br>&gt; <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Two-OpenSIPS-proxies-issue-td7580685.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Two-OpenSIPS-proxies-issue-td7580685.html</a>
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; Do you have a SIP trace?  I&#39;m just wondering if we are having the same problem.  Does the ACK that gets relayed to ifself on the other IP have the username missing in the RURI?
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; On , Jeff Pyle <a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt; wrote:
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; Hello,
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; I&#39;m attempting to write a config to perform near-end NAT traversal on Opensips 1.7.  I&#39;m having a problem with the loose_route of the ACK after the 200 OK, and if I wait long enough, the BYE as well.
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; Here&#39;s the scenario.  An INVITE comes in the WAN side and is t_relay&#39;d to the LAN side.  The LAN-side UAS sends a 200 OK, and that is relayed back to the WAN-side UAC.  So far, so good.  Then the WAN-side UAC sends the ACK to the 200.  Opensips relays this from its own WAN IP to its own LAN IP - I found it with ngrep on the lo interface.  Eventually Opensips sends a 408 back to the UAC.
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; Here&#39;s the relevant portion of the config, based largely on the included sample.  This works fine with single-interface configurations:
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;         if (has_totag()) {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                 if (loose_route()) {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         if (method==&quot;INVITE&quot;) record_route();
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         if (!t_relay()) sl_reply_error();
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         exit;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                 } else {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         if (method == &quot;ACK&quot;) {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                 if (t_check_trans()) {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                         if (!t_relay()) sl_reply_error();
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                         exit;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                 } else {
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                         exit;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                                 }
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         }
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                         sl_send_reply(&quot;404&quot;, &quot;Not Here&quot;);
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                 }
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;                 exit;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;         }
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; I&#39;ve verified with xlogs the ACK hits in the loose_route() portion of the config.  It does hit t_relay, but it relays the message to itself on its &#39;other&#39; IP.  I&#39;ve tried to look the extended debugs but I&#39;m not finding anything telling.  Unfortunately I don&#39;t have any experience with multiple interface configurations.  I suspect it has something to do with the double Via lines added, one from each interface.  Perhaps it&#39;s not detecting the second Via as its own?  (Even if that were the case, I can&#39;t explain why it&#39;s not responding to itself on the lo interface.)
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; I do have mhomed=1 enabled.  Without it the initial invite doesn&#39;t arrive at the LAN-side UAS.
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; I&#39;ve experimented with check_via, aliases, etc.  No effect.  Any suggestions on where to go from here?
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; - Jeff
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt;
<br>&gt; 
<br>&gt; 
<br>&gt; _______________________________________________
<br>&gt; 
<br>&gt; 
<br>&gt; Users mailing list
<br>&gt; 
<br>&gt; 
<br>&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<br>&gt; 
<br>&gt; 
<br>&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt;</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>