I am getting a SIP 401 unauthorized message. My public IP or PIP is being pre-routed with iptables to goto an internal IP or IIP All the polycom phones in the office point to the IIP. they work fine. I have 2 external phones that are registering to the PIP. I see the register attempt as I am getting the 401 unauthorized message. For the 2 external phones both have nat=1 enabled.
remote phone (192.X.X.X) ----> GW ----> internet ----> PIP (prerouted) (74.X.X.X) ----> internal server (192.X.X.X) This used to work before I moved the server inside the firewall. What special setting do I need to enable to get this working. Thanks, Jerry <--- Transmitting (NAT) to X.X.X.X:1024 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK6ea01bc7;received=X.X.X.X From: <sip:x...@x.x.x.x.;user=phone> To: <sip:x...@x.x.x.x;user=phone>;tag=as21ab1732 Call-ID: 000ff78d-ebb20007-22675f66-5da7e...@x.x.x.x CSeq: 1196 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1c6a6002" Content-Length: 0 [XXX] type=friend username=XXX secret= dtmfmode=RFC2833 host=dynamic context=external rtptimeout=60 qualify=no canreinvite=yes nat=yes disallow=all allow=ulaw allow=alaw allow=gsm -- _____________________________________________________________________ -- 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