<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Duarte,</p>
<p>tm:local-request is (as the name says) a event route from tm. So this will be only executed for locally generated requests from tm, but not e.g. for requests generated with sl.<br>
</p>
<p>onsend route is more low level, it will be executed when a SIP requests is send out.</p>
<p>Regarding your other questions, pipelimit will not block outgoing requests. If this does not answer this question, maybe you can extend it a bit.<br>
</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 26.08.19 um 18:26 schrieb Duarte Rocha:<br>
</div>
<blockquote type="cite" cite="mid:CAAJJHZgjDFgQgC0oMgFkvfqM-81U7qGSCxL+LnQ3OS3YCs-mUQ@mail.gmail.com">
<div dir="auto">
<div dir="auto">Greetings, </div>
<div dir="auto"><br>
</div>
<div dir="auto">Does  "event_route[tm:local-request]" works like onsend route ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">I'm having some problems and i'm using local-request to debug and i found this on the documentation : "Executed after the tm module has sent a local generated, transaction stateful request."</div>
<div dir="auto"><br>
</div>
<div dir="auto">I'm logging all the requests that go through this route. Is this really the last place before kamailio send the request? If the request is logged here, is there anything more in kamailio that can stop the request (pipelimit, etc) ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">If a packet gets logged on this route does that mean that it was already sent? </div>
<div dir="auto"><br>
</div>
<div dir="auto">Best Regards, </div>
<div dir="auto"><br>
</div>
<div dir="auto">Duarte Rocha</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>