Wednesday, August 22, 2007

Re: [asterisk-users] Polycom and NAT

That should do it, it tells Asterisk to override the contact field which includes the private IP, and use the public IP and port it received the packet from instead.
 
Try a 'sip debug peer <peer>' and see what it is coming in as.


From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Klaverstyn, David C
Sent: Wednesday, August 22, 2007 05:33
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Polycom and NAT

I have both of those command lines for my natted sip device.

 

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Darryl Dunkin
Sent: Wednesday, 22 August 2007 1:24 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Polycom and NAT

 

In your sip.conf, for the user:

nat=yes

 

To send keepalives for the UDP connection (depending on how flimsy the device handling NAT is):

qualify=yes

 


From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Klaverstyn, David C
Sent: Tuesday, August 21, 2007 17:51
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Polycom and NAT

Hi All,

 

I have a Polycom 501 that is behind a NAT.  When it registers to the Asterisk server it is using the IP address on the private network and not the public IP of the NAT address.

 

Can someone tell me what I need to do so the phone registerers using an internet address rather than the remote network NAT address.

 

No comments: