Ok, I did a little test.

First, I set 'nat=yes' in my account and my friend's account in sip.conf.
Now when we are both on 3G, we can hear our voices just fine.
When we are under the same WI-FI access point(ie private IP address), we can
hear our voices fine.

BUT, when I am on 3G, and my friend is on private IP, the same thing happens
again. I can hear his voice. But he cannot hear my voice.
I guess 'nat=yes' was not the solution perhaps?

2011/3/17 Warren Selby <[email protected]>

> On Wed, Mar 16, 2011 at 11:41 PM, Warren Selby <[email protected]>wrote:
>
>> On Wed, Mar 16, 2011 at 11:39 PM, edward choi <[email protected]> wrote:
>>
>>> Thanks for the info.
>>> But then do I have to set 'nat=no' when he is on a public IP address?
>>> 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.
>>>
>>
>> No, I don't believe so, but the best way to find out is to test.
>>
>>
> Also, if it turns out that you indeed do need to switch, just create two
> sip peers, and define two separate identities in the SIP client (I don't
> have experience with the one you mentioned, but the one I use, iSip, allows
> this) and switch between the two based on your network location.
>
>
> --
> Thanks,
> --Warren Selby, dCAP
> http://www.selbytech.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to