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

Dan Cropp <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <DM6PR13MB31169AD602B7EC2CE6F722ECA3DB9@DM6PR13MB3116.namprd13.prod.outlook.com>
Thank you Joshua!!!!

The networking guys did this change on a test box and their jaws dropped to the floor when it did exactly as you explained.


From: asterisk-users <[email protected]> On Behalf Of Joshua C. Colp
Sent: Tuesday, February 7, 2023 9:22 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion <[email protected]>
Subject: Re: [External] [asterisk-users] [External] Asterisk rtp.conf stunaddr setting - what happens if there is an outage

On Tue, Feb 7, 2023 at 11:18 AM Dan Cropp <[email protected]<mailto:[email protected]>> 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<http://www.sangoma.com> and www.asterisk.org<http://www.asterisk.org>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.