Since the phone is the one behind a NAT, and the registration is done only with SIP packages, setting or not the "nat" is not an issue (ONLY for registration purposes). You can see this since Asterisk is receiving the registration. Why is it denying it?... wel,  that's something that will most likely has to do with the registrationn parameters (user-passwd), but certainly not with the network configuration.


Alyed



Return-Path: <[EMAIL PROTECTED]> Wed Sep 20 13:35:46 2006
Received: from digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by maila11.webcontrolcenter.com with SMTP;
Wed, 20 Sep 2006 13:35:46 -0700
Received: from digium-69-16-138-164.phx1.puregig.net (localhost [127.0.0.1])


Does anyone have this working? I have a Cisco 7970 with the 8-0-2-SR1S
firmware loaded on it. I can get the phone to register with * just fine
when I place my asterisk server on the same subnet and do no NAT. When I
give my asterisk server a static public IP and put the phone behind a
NAT to connect to the server registration fails. I turn on sip debugging
and see that the phone is trying to register but it gets 401
Unauthorized. The same phone config is being used with only
modifications to the IPs of the proxy and some NAT settings. I've
adjusted NAT settings in two places (phone config and sip.conf).
Example:
sip.conf
change "nat=never" to "nat=yes"

Phone config:
change

0


to

1


Does anyone have a similar setup with a 7970 behind NAT to an asterisk
server that is not behind NAT? Any help or thoughts would be greatly
appreciated.
Jeremiah

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to