<div dir="ltr">Hello,<br><br>I try to store the real IP in the location table.<br><br>I make the following:<br>a. specify a mcontact_avp[1] in my script:<br>modparam("registrar", "mcontact_avp", "$avp(register)")<br><br>b. after fix_nated_contact() I store the changed contact in that AVP:<br>fix_nated_contact();<br>$avp(register) = $ct.fields(uri);<br><br>$avp(register) I have the following<br>sip:33341656@39.121.145.121:50445;transport=TLS;ob <br><br>Save location:<br>save("location","c1","$fu")<br><br>opensipsctl ul show<br>      AOR:: 33341656<br>                Contact:: sip: 33341656  @192.168.1.106:50443;transport=TLS;ob Q=<br>                        Expires:: 260<br>                        Callid:: 554fdfd6ee794451942f693e40fbe362<br>                        Cseq:: 31813<br>                        User-agent:: MicroSIP/3.19.18<br>                        Received:: sip:39.121.145.121:50445;transport=TLS<br>                        State:: CS_SYNC<br>                        Flags:: 0<br>                        Cflags:: TLS RM_ONTO_FLAG SIP_PING_BFLAG NAT_BFLAG<br>                        Socket:: tls:<a href="http://83.21.101.114:5062">83.21.101.114:5062</a><br>                        Methods:: 8063<br>                        SIP_instance:: <urn:uuid:00000000-0000-0000-0000-0000a350d2d0><br><br>Where is problem? <br>Why the real IP did not store in the location table?<br><div><br></div><div>Regards;</div><div>Dragomir</div><div><br></div></div>