Thanks, But if i open rtp ports from 10000-20000 how would you ping ports from both sides to not loose rtp or having one way audio if the ports are choosen randomly between 10.000-20.000 in every call?
The keep alive works for signalling (Asterisks sends Options to the contact), but not for RTP. For RTP i think it is mandatory to have an STUN server ir RTP proxy. Right? El 27/04/2012 12:15, <[email protected]> escribió: > The asterisk side has to have the router ports 5060 and 10000-20000 > forwarded to asterisk these are the standard ports but you could cut way > down on the rtp ports in rtp.conf then you have to tell asterisk what's > the external ip of your nat and most of the times this should work today no > problem lots of us here have it working that way (of course you have to > take care of security fail2ban etc ) > On the phone side you might have to use stun but it depends on the > firewall also you should set the phone to send a nat keep alive each 30 > seconds (asterisk also sends a options packet to keep the nat open but > doesn't always work ok ) > > -----Original Message----- > From: Danny Dias <[email protected]> > Sender: [email protected] > Date: Fri, 27 Apr 2012 10:22:38 > To: Asterisk Users Mailing List - Non-Commercial Discussion< > [email protected]> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <[email protected]> > Subject: Re: [asterisk-users] Asterisk + Phones behind different Nat > Firewalls > > -- > _____________________________________________________________________ > -- 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 > -- > _____________________________________________________________________ > -- 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 >
-- _____________________________________________________________________ -- 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
