[asterisk-users] Asterisk + Phones behind different Nat Firewalls

Danny Dias ing.diasdanny at gmail.com
Fri Apr 27 05:33:11 CDT 2012


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, <isrlgb at gmail.com> 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 <ing.diasdanny at gmail.com>
> Sender: asterisk-users-bounces at lists.digium.com
> Date: Fri, 27 Apr 2012 10:22:38
> To: Asterisk Users Mailing List - Non-Commercial Discussion<
> asterisk-users at lists.digium.com>
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
>        <asterisk-users at lists.digium.com>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120427/8edd8f2b/attachment.htm>


More information about the asterisk-users mailing list