<div dir="ltr">Thanks for the answers and the discussion guys, <div><br><div>yes, i'm trying module PATH, but just work for me if I use kamailio like proxy(by-passing) to asterisk(pjsip)</div><div><br></div><div><br></div><div><i><b> # Add path for REGISTER<br> if ((is_method("REGISTER"))) {<br> add_path();<br> }<br><br> $du = "sip:<a href="http://172.29.1.24:5060">172.29.1.24:5060</a>";<br> route(RELAY);<br> exit;</b></i><br></div><div><i><b><br></b></i></div><div>In this case I lost statefull and security features in my config, registrations works.</div><div><br></div><div>Question: Can I use route[REQINIT] (default) before forward request to asterisk or need adjusts, try to soften SIP brute-forces?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 28 de mai. de 2021 às 14:27, Henning Westerholt <<a href="mailto:hw@skalatan.de">hw@skalatan.de</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE" style="overflow-wrap: break-word;">
<div class="gmail-m_-5940919731171541474WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Just to add a bit more context, its probably this particular issue:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><a href="https://issues.asterisk.org/jira/browse/ASTERISK-28211" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-28211</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">-- <u></u>
<u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning Westerholt –
</span><span><a href="https://skalatan.de/blog/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://skalatan.de/blog/</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio services –
</span><span><a href="https://gilawa.com/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://gilawa.com</span></a></span><span>
<span lang="EN-GB"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Sergiu Pojoga<br>
<b>Sent:</b> Friday, May 28, 2021 7:00 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
<b>Subject:</b> Re: [SR-Users] Architecture - your opinion is welcome and your experience too<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Yeah, PATH implimentation is broken in PJSIP. There's a ticket with Digium pending for the last 2+ years, low importance, according to them... <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On Fri., May 28, 2021, 12:52 p.m. Alex Balashov, <<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-left:35.4pt">On 5/28/21 12:47 PM, Sergiu Pojoga wrote:<br>
<br>
> Heads-up though, before you get over excited about the suggested <br>
> simplicity of using PATH. Don't try it if your asterisk farm runs on <br>
> PJSIP - it simply won't work.<br>
<br>
Why, did they break Path?<br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>,
<a href="http://www.csrpswitch.com/" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div>================</div><div>**Daian Conrad**</div><div><br></div><div>E-mail: <a href="mailto:daian.conrad@gmail.com" target="_blank">daian.conrad@gmail.com</a></div><div>OpenS Team (DaCoD)</div><div>Linux user: #248912 </div><div><br></div><div><br></div></div>