Hey folks,<br><br>Just wanted to say thanks and provide an update in case others have this issue.  <br><br>The problem was essentially that the ip address was in the domain table.  I removed it from the domain table, adding it as an alias in the cfg and added an additional uri==myself when determining if an incoming call was local for a local host.<br>
<br>Thanks again,<br>-Daniel<br><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 4:33 AM, Andrew Pogrebennyk <span dir="ltr">&lt;<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Daniel,<br>
have you added perhaps your IP address to the domain table?<br>
It is not supposed to be there and should be removed, otherwise opensips<br>
thinks <a href="http://192.168.117.4:5070" target="_blank">192.168.117.4:5070</a> is itself as others pointed out.<br>
<br>
Also, if you have any checks in your script like:<br>
if ( !is_from_local()  &amp;&amp; !is_uri_host_local() )<br>
you should replace them with the version which doesn&#39;t use domain table:<br>
if ( from_uri != myself &amp;&amp; uri != myself )<br>
<br>
HTH.<br>
Andrew<br>
<div class="im"><br>
On 10/16/2012 02:33 AM, Ali Pey wrote:<br>
&gt; What do you have for alias in your opensips.cfg? Opensips seems to<br>
</div>&gt; think <a href="http://192.168.117.4:5070" target="_blank">192.168.117.4:5070</a> &lt;<a href="http://192.168.117.4:5070" target="_blank">http://192.168.117.4:5070</a>&gt; is itself.<br>
<div class="im">&gt;<br>
&gt; Regards,<br>
&gt; Ali Pey<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Oct 15, 2012 at 6:33 PM, Daniel Eiland &lt;<a href="mailto:daniel.eiland@gmail.com">daniel.eiland@gmail.com</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:daniel.eiland@gmail.com">daniel.eiland@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi folks,<br>
&gt;<br>
&gt;     I&#39;ve got an issue with ACK messages being looped when they are sent<br>
&gt;     to an endpoint that is co-located with my OpenSIPS proxy.<br>
&gt;<br>
&gt;     I&#39;ve got OpenSIPS located on server A @ port 5060 and two conference<br>
&gt;     endpoints: C01 on server A @ port 5070 and C02 on a separate server.<br>
&gt;<br>
&gt;     When my client calls into C01, the ACK message is continually routed<br>
&gt;     by OpenSIPS back into itself instead of the conference endpoint<br>
&gt;     listening on port 5070.  This doesn&#39;t happened when I call into C02,<br>
&gt;     OpenSIPS properly routes it to the right destination.<br>
&gt;<br>
&gt;     When I compare the two ACKs, they are fairly similar and when I<br>
&gt;     looked at some OpenSIPS logs both messages are being routed in a<br>
&gt;     similar fashion namely loose_route is true.  The only difference<br>
&gt;     (which I&#39;m sure if the problem, I&#39;m just not sure why) is that the<br>
&gt;     ACK to C01 has Destination User ($du) of 192.168.117.4 while the ACK<br>
&gt;     to C02 has a $du of NULL.<br>
&gt;<br>
&gt;     If anyone has any suggestions, I&#39;d be grateful.<br>
&gt;<br>
&gt;     Thanks,<br>
&gt;     Daniel<br>
&gt;<br>
&gt;     Also here are the two ACKs for comparison:<br>
&gt;<br>
&gt;     ACK sip:C01@192.168.117.4:5070;transport=udp SIP/2.0<br>
&gt;     Via: SIP/2.0/UDP<br>
&gt;     QWE.RTY.XYZ.ABC:2453;rport;branch=z9hG4bKPjca04290517874935af64a839e6bf9701<br>
&gt;     Max-Forwards: 70<br>
&gt;     From: &quot;deiland&quot; &lt;<a href="mailto:sip%3A1001@192.168.117.4">sip:1001@192.168.117.4</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:sip%253A1001@192.168.117.4">sip%3A1001@192.168.117.4</a>&gt;&gt;;tag=d02a111d4a064b05a7cf987b006bd001<br>
&gt;     To: &lt;<a href="mailto:sip%3AC01@192.168.117.4">sip:C01@192.168.117.4</a><br>
&gt;     &lt;mailto:<a href="mailto:sip%253AC01@192.168.117.4">sip%3AC01@192.168.117.4</a>&gt;&gt;;tag=ma94e0688avFj<br>
<div class="im">&gt;     Call-ID: 5c35c0a5dcb442a9afd324c988bd0a3c<br>
&gt;     CSeq: 24503 ACK<br>
&gt;     Route: &lt;sip:192.168.117.4;lr&gt;<br>
&gt;     User-Agent: Blink 0.2.7 (Windows)<br>
&gt;     Content-Length:  0<br>
&gt;<br>
&gt;<br>
&gt;     ACK sip:C02@192.168.155.211:5070;transport=udp SIP/2.0<br>
&gt;     Via: SIP/2.0/UDP<br>
&gt;     QWE.RTY.XYZ.ABC:2122;rport;branch=z9hG4bKPj5318936898454066944aadf64ad846d0<br>
&gt;     Max-Forwards: 70<br>
&gt;     From: &quot;deiland&quot; &lt;<a href="mailto:sip%3A1001@192.168.117.4">sip:1001@192.168.117.4</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:sip%253A1001@192.168.117.4">sip%3A1001@192.168.117.4</a>&gt;&gt;;tag=ff6fb0856e264e7f96601529148bb206<br>
&gt;     To: &lt;<a href="mailto:sip%3AC02@192.168.117.4">sip:C02@192.168.117.4</a><br>
&gt;     &lt;mailto:<a href="mailto:sip%253AC02@192.168.117.4">sip%3AC02@192.168.117.4</a>&gt;&gt;;tag=54aZ48KZ7a9Xj<br>
<div class="im">&gt;     Call-ID: afddb9bea6714f95bd84dff2159e2b14<br>
&gt;     CSeq: 11988 ACK<br>
&gt;     Route: &lt;sip:192.168.117.4;lr&gt;<br>
&gt;     User-Agent: Blink 0.2.7 (Windows)<br>
&gt;     Content-Length:  0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
</div>&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&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>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><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>
<br>
<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>
</div></div></blockquote></div><br>