[OpenSIPS-Users] NAT, UPDATE problem

Miha miha at softnet.si
Thu Oct 16 15:53:35 CEST 2014


Hi,

in my cfg file i have this:

                 if (nat_uac_test("18")) {
                         xlog("fixing nat");
                         if (method=="REGISTER") {

                                 fix_nated_register();
                                 fix_nated_contact();
                         } else {
                                 fix_nated_contact();
                         }
                 force_rport();
                 }

But when 200ok with sdp is send this part of script does not execute as 
in contact is still private ip. I have 18 in nat_uac_test so if src port 
port in via are different this should be triggered but it is not that is 
why proxy sends media to private ip.

Here is my sip trace:

http://pastebin.com/KvNdttj9

Tnx

miha



More information about the Users mailing list