[OpenSIPS-Users] ACK on private IP, NAT

Miha miha at softnet.si
Fri Jan 17 14:13:45 CET 2014


Hi,

in my config I have:

       if (nat_uac_test("18")) {
         xlog("fixing nat");
                 if (method=="REGISTER") {
                         fix_nated_register();
                         fix_nated_contact();
                 } else {
                         fix_nated_contact();
                 };
                 force_rport();
         };


In location table I can see that ip:port is saved from source ip:port 
and not from contact which is good (contact has private_ip). Invites are 
also send to right ip:port. Problem is that ACK is send to private ip 
instead to public_ip:port.

What I am missing?

br
miha




More information about the Users mailing list