<div class="gmail_quote">On Wed, Mar 16, 2011 at 9:07 PM, edward choi <span dir="ltr">&lt;<a href="mailto:mp2893@gmail.com">mp2893@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="color: rgb(51, 51, 51); font-family: &#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif; font-size: 13px; line-height: 18px;">Now, the current situation is like this:<br style="margin: 0px; padding: 0px;">

My friend is under a WI-FI access point at his home, so his iPhone is assigned something like 192.168.x.x.<br style="margin: 0px; padding: 0px;">
I am using 3G network, so I have a public IP address.<br style="margin: 0px; padding: 0px;"></span></blockquote><div><br>&lt;snip&gt; <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="color: rgb(51, 51, 51); font-family: &#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif; font-size: 13px; line-height: 18px;">I just don&#39;t get it. Calls can be established whether two people are using public IP address, or private IP addreess. But your voice can be heard only if the other person is using a public IP address.</span><br clear="all">
</blockquote></div><br>You need to set &#39;nat=yes&#39; on the sip peer that your friend is using while he&#39;s on a private IP address in sip.conf.  <br><br>-- <br>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.selbytech.com</a><br>