Thanks for the info.<div>But then do I have to set 'nat=no' when he is on a public IP address?</div><div>It would be quite a labor to switch back and forth every time my friend switches from a public to private IP or private to public IP.<br>
<br><div class="gmail_quote">2011/3/17 Warren Selby <span dir="ltr"><<a href="mailto:wcselby@selbytech.com">wcselby@selbytech.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">On Wed, Mar 16, 2011 at 9:07 PM, edward choi <span dir="ltr"><<a href="mailto:mp2893@gmail.com" target="_blank">mp2893@gmail.com</a>></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:'Lucida Grande','Trebuchet MS',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><div><br><snip> <br><br></div><div class="im"><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:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">I just don'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></div><br>You need to set 'nat=yes' on the sip peer that your friend is using while he's on a private IP address in sip.conf. <br><font color="#888888"><br>-- <br>Thanks,<br>--Warren Selby, dCAP<br>
<a href="http://www.selbytech.com" target="_blank">http://www.selbytech.com</a><br>
</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>