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"><<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>></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() && !is_uri_host_local() )<br>
you should replace them with the version which doesn't use domain table:<br>
if ( from_uri != myself && uri != myself )<br>
<br>
HTH.<br>
Andrew<br>
<div class="im"><br>
On 10/16/2012 02:33 AM, Ali Pey wrote:<br>
> What do you have for alias in your opensips.cfg? Opensips seems to<br>
</div>> think <a href="http://192.168.117.4:5070" target="_blank">192.168.117.4:5070</a> <<a href="http://192.168.117.4:5070" target="_blank">http://192.168.117.4:5070</a>> is itself.<br>
<div class="im">><br>
> Regards,<br>
> Ali Pey<br>
><br>
><br>
> On Mon, Oct 15, 2012 at 6:33 PM, Daniel Eiland <<a href="mailto:daniel.eiland@gmail.com">daniel.eiland@gmail.com</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:daniel.eiland@gmail.com">daniel.eiland@gmail.com</a>>> wrote:<br>
><br>
> Hi folks,<br>
><br>
> I've got an issue with ACK messages being looped when they are sent<br>
> to an endpoint that is co-located with my OpenSIPS proxy.<br>
><br>
> I've got OpenSIPS located on server A @ port 5060 and two conference<br>
> endpoints: C01 on server A @ port 5070 and C02 on a separate server.<br>
><br>
> When my client calls into C01, the ACK message is continually routed<br>
> by OpenSIPS back into itself instead of the conference endpoint<br>
> listening on port 5070. This doesn't happened when I call into C02,<br>
> OpenSIPS properly routes it to the right destination.<br>
><br>
> When I compare the two ACKs, they are fairly similar and when I<br>
> looked at some OpenSIPS logs both messages are being routed in a<br>
> similar fashion namely loose_route is true. The only difference<br>
> (which I'm sure if the problem, I'm just not sure why) is that the<br>
> ACK to C01 has Destination User ($du) of 192.168.117.4 while the ACK<br>
> to C02 has a $du of NULL.<br>
><br>
> If anyone has any suggestions, I'd be grateful.<br>
><br>
> Thanks,<br>
> Daniel<br>
><br>
> Also here are the two ACKs for comparison:<br>
><br>
> ACK sip:C01@192.168.117.4:5070;transport=udp SIP/2.0<br>
> Via: SIP/2.0/UDP<br>
> QWE.RTY.XYZ.ABC:2453;rport;branch=z9hG4bKPjca04290517874935af64a839e6bf9701<br>
> Max-Forwards: 70<br>
> From: "deiland" <<a href="mailto:sip%3A1001@192.168.117.4">sip:1001@192.168.117.4</a><br>
</div></div>> <mailto:<a href="mailto:sip%253A1001@192.168.117.4">sip%3A1001@192.168.117.4</a>>>;tag=d02a111d4a064b05a7cf987b006bd001<br>
> To: <<a href="mailto:sip%3AC01@192.168.117.4">sip:C01@192.168.117.4</a><br>
> <mailto:<a href="mailto:sip%253AC01@192.168.117.4">sip%3AC01@192.168.117.4</a>>>;tag=ma94e0688avFj<br>
<div class="im">> Call-ID: 5c35c0a5dcb442a9afd324c988bd0a3c<br>
> CSeq: 24503 ACK<br>
> Route: <sip:192.168.117.4;lr><br>
> User-Agent: Blink 0.2.7 (Windows)<br>
> Content-Length: 0<br>
><br>
><br>
> ACK sip:C02@192.168.155.211:5070;transport=udp SIP/2.0<br>
> Via: SIP/2.0/UDP<br>
> QWE.RTY.XYZ.ABC:2122;rport;branch=z9hG4bKPj5318936898454066944aadf64ad846d0<br>
> Max-Forwards: 70<br>
> From: "deiland" <<a href="mailto:sip%3A1001@192.168.117.4">sip:1001@192.168.117.4</a><br>
</div>> <mailto:<a href="mailto:sip%253A1001@192.168.117.4">sip%3A1001@192.168.117.4</a>>>;tag=ff6fb0856e264e7f96601529148bb206<br>
> To: <<a href="mailto:sip%3AC02@192.168.117.4">sip:C02@192.168.117.4</a><br>
> <mailto:<a href="mailto:sip%253AC02@192.168.117.4">sip%3AC02@192.168.117.4</a>>>;tag=54aZ48KZ7a9Xj<br>
<div class="im">> Call-ID: afddb9bea6714f95bd84dff2159e2b14<br>
> CSeq: 11988 ACK<br>
> Route: <sip:192.168.117.4;lr><br>
> User-Agent: Blink 0.2.7 (Windows)<br>
> Content-Length: 0<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
</div>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<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 class="HOEnZb"><div class="h5">><br>
><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>
><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>