[asterisk-users] [External] Asterisk rtp.conf stunaddr setting - what happens if there is an outage

Joshua C. Colp jcolp at sangoma.com
Tue Feb 7 09:21:46 CST 2023


On Tue, Feb 7, 2023 at 11:18 AM Dan Cropp <dan at amtelco.com> wrote:

> Thank you Joshua.
>

<snip>


>
>
> Going back to your idea of the ice_host_candidates.  (Again, apologize for
> my ignorance on networking).
>
> Do I understand correctly? We could use this formula for systems that have
> no one accessing the (where 192.168.1.10 is the internal IP) and 1.2.3.4 is
> the NAT’s public IP for Asterisk?
>
>
>
> 192.168.1.10 => 1.2.3.4,include_local_address
>
>
>
> Using this, would we no longer need the stunaddr configured?
>

You don't need the include_local_address option but otherwise yes. This
will cause the ICE host candidates to be 1.2.3.4 instead of the local IP
address 192.168.1.10 removing the need to use STUN to discover the public
IP address.

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230207/71aa3bf2/attachment.html>


More information about the asterisk-users mailing list