Hi all,<br><br>I&#39;m new to opensips and currently, I&#39;m testing out the nathelper and rtpproxy modules.<br><br>For REGISTER messages I have added the fix_nated_register() and it doesn&#39;t write the &#39;received&#39; uri on location table.<br>
<br>force_rport();<br><br>        if (nat_uac_test(&quot;19&quot;))<br>        {                <br>                if(is_method(&quot;REGISTER&quot;))<br>                {<br>                        fix_nated_register();                        <br>
                        avp_print();<br>                }<br>                else<br>                {<br>                        fix_nated_contact();<br>                }<br>                setflag(5);<br>        }<br><br>
I do not have any NAT&#39;s installed and when I register my softphone which is NOT behind a NAT although it has an private IP address of 192.168.0.... , the nat_uac_test() method say&#39;s that I&#39;m behind a NAT. Can that happen ?<br>
<br>Secondly, on fix_nated_register() method, I can see my softphones IP is saved on the avp variable, and Wireshark captures of the sip message headers shows the same ip address (my softphones ip / caller ip) saved on the received tag on via headers. But on location table.. NULL is assigned for the received column and on contact I can see my softphones private ip (192.168.0...).<br>
<br>Is this because I don&#39;t have a NAT with a public ip in front of the caller ? will the received column on location table have a value when I actually install a NAT ?<br><br>Regards,<br>Dinusha<br><br>