<div dir="ltr">There is probably some NAT helping code in your Kamailio config file. Either that or you are using one the NAT protocols, (STUN,ICE,etc).<div><br></div><div style>cheers</div><div style>Jason</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 2:39 AM, Khoa Pham <span dir="ltr">&lt;<a href="mailto:onmyway133@gmail.com" target="_blank">onmyway133@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">@Jason<div><br></div><div>Thanks, but it strange. I only send 1 REGISTER to the server, with the Contact field contains my local IP address. How can I still receive incoming call ?</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Apr 1, 2013 at 8:10 PM, Jason Penton <span dir="ltr">&lt;<a href="mailto:jason.penton@smilecoms.com" target="_blank">jason.penton@smilecoms.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<p dir="ltr">2</p>
<p dir="ltr">--<br>
This email has been sent using my phone. It may be brief, to the point or contain typos. <br>
--</p>
<div class="gmail_quote"><div><div>On 1 Apr 2013 14:57, &quot;Khoa Pham&quot; &lt;<a href="mailto:onmyway133@gmail.com" target="_blank">onmyway133@gmail.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div>
<div dir="ltr">Hi, when client send REGISTER message to Kamalio. Kamailio will save that client&#39;s IP to database. <div>But what is this IP ? Is is 1,2 or 3 ?</div><div>1. The IP from Via field</div><div>2. The IP from Contact field</div>



<div>3. The IP from the IP packet</div><div><br></div><div>Many thanks<br clear="all"><div><br></div>-- <br><span>Khoa Pham</span><br><span>HCMC University of Science</span><br>
<span>Faculty of Information Technology</span><br>
</div></div>
<br></div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div>

</div></div><pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at <a href="http://www.smilecoms.com/disclaimer" target="_blank">http://www.smilecoms.com/disclaimer</a>

</pre><div class="im"><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></div></blockquote></div><div class="im"><br><br clear="all"><div><br></div>-- <br><span style>Khoa Pham</span><br style><span style>HCMC University of Science</span><br style>
<span style>Faculty of Information Technology</span><br>
</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jason Penton<br>Senior Manager: Applications and Services<br>Smile Communications<br>Johannesburg, South Africa<br>Phone: +27 83 283 7000<br><br>
</div>

<pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer