My understanding is nat=yes tells asterisk the device is behind a nat (and works even if it isn't) but stun actually keeps stuff open in the person's local firewall.
On 2/21/06, Bill Gibbs <[EMAIL PROTECTED]> wrote: > What's the benefit of using stund vs nat=yes in your sip.conf for that > device? I haven't had any issues behind firewalls when I enable that > option, and no ports are needed to be opened. > > Bill > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matt > Sent: Tuesday, February 21, 2006 11:58 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] how to add stun functionality in asterisk > > JP, > There isn't much to show :) > Yes.. I am running the STUN server on the asterisk box so that VoIP > ATA's and phones behind firewall's can connect to the asterisk server > with no ports needing to be opened. > > Setup is... > download stund. > unzip.. compile... run > WALA! Stun server :) > > Then just put the address for the stun server in your ATA and it also > just "works". You may need to tinker with the "VIA" settings in your > ATA. > > On 2/18/06, Koopmann, Jan-Peter <[EMAIL PROTECTED]> wrote: > > On Friday, February 17, 2006 7:34 PM Matt wrote: > > > > > Yes Sir! This is what I use: > > > http://www.vovida.org/applications/downloads/stun/ > > > > > > Works like a charm! Been running it in production for about a year. > > > > Good hint. Can you possibly provide a bit more insight on this? Are > you running STUN so that your phones behind NAT can easily connect to > your server or the other way around? I would really like to see the > relevant parts of your setup. > > > > Kind regards, > > JP > > _______________________________________________ > > --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 > _______________________________________________ --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