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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070822/79544f02/attachment-0001.htm
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 at lists.digium.com [mailto:asterisk-users-bounces at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070821/ad63827d/attachment.htm
I have both of those command lines for my natted sip device. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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 at lists.digium.com [mailto:asterisk-users-bounces at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070822/20648dbe/attachment.htm
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 at lists.digium.com [mailto:asterisk-users-bounces at 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 at lists.digium.com [mailto:asterisk-users-bounces at 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 at lists.digium.com [mailto:asterisk-users-bounces at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070822/15a0e78c/attachment-0001.htm