I've been working with asterisk with public ip but since I change this and put asterisk behind NAT, get this error when my hard phones try to register Dec 28 11:43:33 NOTICE[8716]: chan_sip.c:10817 handle_request_register: Registration from '<sip:0104@10.0.2.5:5060>' failed for 'yyyy.yyyy.yyyy.yyyy' - Wrong password [general] section of sip.conf file looks like this: [general] bindport=5060 bindaddr=0.0.0.0 dtmfmode=rfc2833 context=incoming ; Default for incoming calls externip=xxxx.xxxx.xxxx.xxxx localnet=10.0.2.0/255.255.255.0 Regards, ________________________________ Rafael Ledesma Serrano Administrador de Sistemas Palmanet Networking Services rledesma@palmanet.net http://www.palmanet.net Tel +34 957649199 Fax +34 957644926 ________________________________
Does adding the line nat=yes into your sip.conf file help? Leah Newmark Capalon www.capalon.com>Message: 21 >Date: Wed, 28 Dec 2005 11:48:25 +0100 >From: "Rafael Ledesma" <rledesma@palmanet.net> >Subject: [Asterisk-Users] Wrong Password????? >To: <asterisk-users@lists.digium.com> >Message-ID: > <DD3D311D04A60048A1A4A57A745F550F144F38@srburns.palmanet.pns> >Content-Type: text/plain; charset="us-ascii" > >I've been working with asterisk with public ip but since I change this >and put asterisk behind NAT, get this error when my hard phones try to >register > >Dec 28 11:43:33 NOTICE[8716]: chan_sip.c:10817 handle_request_register: >Registration from '<sip:0104@10.0.2.5:5060>' failed for >'yyyy.yyyy.yyyy.yyyy' - Wrong password > >[general] section of sip.conf file looks like this: > >[general] >bindport=5060 >bindaddr=0.0.0.0 >dtmfmode=rfc2833 >context=incoming ; Default for incoming calls >externip=xxxx.xxxx.xxxx.xxxx >localnet=10.0.2.0/255.255.255.0