[SR-Users] maddr parameter in contact header and fix_nated_contact

Morten Isaksen misak at misak.dk
Fri Jun 1 09:45:51 CEST 2012


Hi Again,

For some reason my e-mail got truncated. Here is the complete e-mail:

I have this setup:

Mediation server with internal ip -- NAT firewall -- Kamailio proxy --
PSTN gateway

The mediation server sends a contact header with maddr=<internal IP>

fix_nated_contact only changes the host part and leaves the maddr intact.

When the PSTN gateway sends a PRACK or a BYE it puts the <internal IP>
in the RURI, and kamailio then try to forward the message directly to
the <internal IP> and not the NAT ip.



More information about the sr-users mailing list