[SR-Users] Issue with INVITE to NATed client

Daniel Tryba d.tryba at pocos.nl
Mon May 8 14:27:46 CEST 2017


On Mon, May 08, 2017 at 08:04:27AM +0100, Iskren Hadzhinedev wrote:
> I'm already adding a Path header and my PBX sends correctly to Kamailio.
> However, Kamailio tries to send to the RFC1918 IP address.
> I tried replacing `add_path()` with `add_path_received()` but that had no
> effect.

In that case you also need to set the use_received param:
https://kamailio.org/docs/modules/4.4.x/modules/path.html#path.p.use_received

But that only works ig the registrar sends the received paramater in the
Path header originally added by kamailio.



More information about the sr-users mailing list