[Asterisk-Users] A room full of Cisco 7960s behind NAT
Damon Estep
damon at suburbanbroadband.net
Tue Feb 28 19:25:29 MST 2006
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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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
<edg at greenberg.org> 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:3115552368 at 64.169.xx.yyy: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:8115552368 at ev01b.networkpts.com' 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
More information about the asterisk-users
mailing list