<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Pasan,<br>
<br>
Using t_on_reply() is harmless as it simply set a holder in the
msg/transaction, nothing more. And a locally generated reply does
NOT trigger on_reply_route - this route is triggered only by *RECEIVED*
replies.<br>
<br>
So the bottom problem for you is why the processes stuck ? do they
stuck like consuming cpu (doing some crazy looping) or blocking in
some I/O (no CPU usage) ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 02/13/2019 09:36 AM, Pasan Meemaduma
via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1287564603.96397.1550043404698@mail.yahoo.com">
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">Hi Guys,</div>
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;"><br>
</div>
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">How's it possible locally generated
replied triggering on_reply_route ? I ran in to issue where all
opensips process gets stuck in processing same call replies and
causing other traffic to get drop.</div>
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;"><br>
</div>
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;"><br>
</div>
<div class="ydp61686982yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;"><span><info>
/usr/sbin/opensips[27464]: Call: Reply from a NAT endpoint -
S=408 D=Request Timeout F=<a class="moz-txt-link-freetext" href="sip:xxx@xxx">sip:xxx@xxx</a> T=<a class="moz-txt-link-freetext" href="sip:yyy">sip:yyy</a><br>
</span>
<div><span>yy@x IP=a.b.c.d ID=asgasgasgas</span></div>
<div><span><br>
</span></div>
<div>Request process by opensips before this is an ACK request
belong to the call where I don't think It'll expect a reply.
Could it be an issue If I call t_on_reply on an ACK msg ?</div>
<div><br>
</div>
<div>I'm trying to figure out where the bug in my opensips
routing script. It causes all sip listerner processes to get
stuck in a loop causing to generate above message. IP a.b.c.d
is the sip server IP which confuse me as locally generated
replies shouldn't trigger on_reply_route as per docs.<br>
</div>
<div><br>
</div>
<div>Any clue is welcome.</div>
<div><br>
</div>
<div>I'm using opensips 2.3.6<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>