<div dir="ltr">Thanks Vlad,<div><br></div><div>I have sent you screenshot of sip trace to your private address because of security reason, could you take a look and respond. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 1:08 PM, Vlad Paiu <span dir="ltr"><<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
Looking in your SIP trace, I see that in the 200OK Contact, you have
Contact: <sip:72.XX.XX.140;did=7de.9accc6f5>. , and when
OpenSIPS is routing the ACK out, it is routing it to<br>
<br>
U 182.XX.XX.164:5060 -> 72.XX.XX.140:5060<br>
ACK sip:72.XX.XX.140;did=7de.9accc6f5 SIP/2.0.<br>
<br>
so not sure where exactly is the loop.<br>
<br>
Best Regards,<br>
<pre cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre><div><div class="h5">
<div>On 07.04.2015 19:32, Satish Patel
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">It is URGENT!!
<div><br>
</div>
<div>can some one help? This is very strange issue and i am
stuck here :( </div>
<div><br>
</div>
<div>loose_route() sending ACK/BYE itself instead of next hope
:(</div>
<div><br>
</div>
<div>I have removed all entries from "domain" table but no luck
:( </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 26, 2015 at 12:09 AM,
Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@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">
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
senario:<br>
<br>
</div>
[UA]-------------[Opensips]---------[Freeswitch]<br>
<br>
<br>
</div>
UA sending correct ACK to freeswitch but Opensips
loose_route() sending it to itself and it break dialog,
If use fix_dialog_route() then it works, I don't have
any IP address added in domain table also. <br>
<br>
</div>
How do i check whether Freeswitch using loose_route for
strict route? <br>
<div>
<div><br>
<div>
<div>
<div><br>
I have following script:<br>
<br>
if (has_totag()) {<br>
<br>
if (loose_route()) {<br>
<br>
if (is_method("BYE")) {<br>
#setflag(ACC_DO); # do accounting ...<br>
#setflag(ACC_FAILED); # ... even if the
transaction fails<br>
} else if
(is_method("INVITE")) {<br>
# even if in
most of the cases is useless, do RR for<br>
# re-INVITEs
alos, as some buggy clients do change route set<br>
# during the
dialog.<br>
record_route();<br>
}<br>
<br>
if
(check_route_param("nat=yes"))<br>
setflag(NAT);<br>
<br>
# route it out to
whatever destination was set by loose_route()<br>
# in $du (destination
URI).<br>
route(relay);<br>
} else {<br>
<br>
if ( is_method("ACK") )
{<br>
if (
t_check_trans() ) {<br>
# non
loose-route, but stateful ACK; must be an ACK
after<br>
# a 487
or e.g. 404 from upstream server<br>
xlog("non loose-route section\n");<br>
#t_relay();<br>
exit;<br>
} else {<br>
# ACK
without matching transaction -><br>
# ignore
and discard<br>
xlog("ACK without matching transaction\n");<br>
exit;<br>
}<br>
}<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><span class=""><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</span></blockquote>
<br>
</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>