Thanks for the answers and the discussion guys, 

yes, i'm trying module PATH, but just work for me if I use kamailio like proxy(by-passing) to asterisk(pjsip)


    # Add path for REGISTER
    if ((is_method("REGISTER"))) {
        add_path();
    }

    $du = "sip:172.29.1.24:5060";
    route(RELAY);
    exit;


In this case I lost statefull and security features in my config, registrations works.

Question: Can I use route[REQINIT] (default) before forward request to asterisk or need adjusts, try to soften SIP brute-forces?

Em sex., 28 de mai. de 2021 às 14:27, Henning Westerholt <hw@skalatan.de> escreveu:

Just to add a bit more context, its probably this particular issue:

https://issues.asterisk.org/jira/browse/ASTERISK-28211

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Sergiu Pojoga
Sent: Friday, May 28, 2021 7:00 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] Architecture - your opinion is welcome and your experience too

 

Yeah, PATH implimentation is broken in PJSIP. There's a ticket with Digium pending for the last 2+ years, low importance, according to them... 

 

On Fri., May 28, 2021, 12:52 p.m. Alex Balashov, <abalashov@evaristesys.com> wrote:

On 5/28/21 12:47 PM, Sergiu Pojoga wrote:

> Heads-up though, before you get over excited about the suggested
> simplicity of using PATH. Don't try it if your asterisk farm runs on
> PJSIP - it simply won't work.

Why, did they break Path?

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
================
**Daian Conrad**

E-mail: daian.conrad@gmail.com
OpenS Team (DaCoD)
Linux user: #248912