The 7960 SIPDefault.cnf has a line like this:
; nat_enable: 0                   ; 0-Disabled (default), 1-Enabled
to control the nat function "at the phone". 

Since I'm not the OP but do have multiple 7960's behind nat boxes,
I had to comment out the above line from the *.cnf file and then make
the selection from the phone's front panel. (That is primarily because
some 7960's are not behind nat boxes while others are, and the 
SIPDefault.cnf file is shared by all phones.)

If all of your 7960's are behind nat boxes, then change the above
line to "nat_enable: 1" would be okay.

------------------------

> Your posted config had nat=1, not nat=yes. Are they interchangeable? I
> thought I remembered nat=1 either doing something a little different or
> not doing anything at all.
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ed
> Greenberg
> Sent: Tuesday, February 28, 2006 5:51 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] A room full of Cisco 7960s behind NAT
> 
> My main problem local servers is that I need to (a) be able to forward 
> voicemails between users at multiple locations and (b) have all the
> message 
> waiting lights working.
> 
> Otherwise I'd be doing just that.
> 
> Meanwhile I'll check out qualify=yes - I already have nat=yes.
> 
> Thanks,
> </edg>
> 
> --On Tuesday, February 28, 2006 2:29 PM -0800 Ed Greenberg 
> <[EMAIL PROTECTED]> wrote:
> 
> > I need to set up an office full of Cisco 7960 phones behind NAT with
> the
> > server out in Colo.
> >
> > The first test phone registers fine, but the second one does not
> register.
> >
> >
> >
> > The first phone's registration looks like so:
> > /SIP/Registry/3115552368
> >
> :64.169.xx.yyy:38836:3600:3115552368:sip:[EMAIL PROTECTED]:5060
> >
> > When the second phone tries to register, it gets back a 404 not found.
> > Not a 401, Authentication Required.
> >
> > The error in the full log is:Feb 28 14:26:27 NOTICE[4888] chan_sip.c:
> > Registration from 'sip:[EMAIL PROTECTED]' failed
> >  for '64.169.xx.yyy' - Username/auth name mismatch
> >
> > What's the right way to do this. Shown below are my configuration
> files:
> >
> > </edg>
> >
> > -----SIPDefault and SIPMacAddr -----
> >
> > image_version: P0S3-07-4-00
> > tftp_cfg_dir: ""                ; Example:  ./sip_phone/
> > proxy_register: 1
> > timer_register_expires: 3600
> > dial_template: dialplan
> > messages_uri: 3688
> > telnet_level: 2
> > phone_label: "Nat One"
> > line1_name: 3115552368
> > line1_shortname: 3115552368
> > line1_authname: 3115552368
> > line1_password: 3115552368
> > line1_displayname: "Nat One"
> > logo_url: "http://192.168.1.45/pts.bmp";
> > nat_address: 64.169.xx.xxx
> > nat_enable: 1
> > nat_received_processing: 1
> > proxy1_address: myserver.outthere.com
> >
> > My NatTwo phone is similar. The only difference is the name/password
> > using 8115552368.
> >
> > ----sip.conf-------------
> > [3115552368]
> > type=friend
> > host=dynamic
> > username=3115552368
> > secret=3115552368
> > nat=1
> > context=wholesale9
> > disallow=all
> > allow=ulaw
> > accountcode=testing
> > canreinvite=no
> >
> > [8115552368]
> > type=friend
> > host=dynamic
> > username=8115552368
> > secret=8115552368
> > nat=1
> > context=wholesale9
> > disallow=all
> > allow=ulaw
> > accountcode=testing
> > canreinvite=no
> >  _______________________________________________
> > --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
> _______________________________________________
> --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
> 

---------------End of Original Message-----------------


_______________________________________________
--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