<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8968">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rtp_engine: Allow Media Formats with add_static_payload(-1) on egress again.<br><br>This issue affected only installations with rtp_use_dynamic=yes in asterisk.conf<br>which is the default since Asterisk 15. Codec 2 and SiLK were built-in examples<br>of media formats which were affected.<br><br>ASTERISK-27850<br>Reported by: Dinis Brazão, Selene Feigl<br><br>Change-Id: I08c1e76433a67e4350141d38cacf3a1cb5086496<br>---<br>M main/rtp_engine.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/68/8968/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/rtp_engine.c b/main/rtp_engine.c<br>index 627605a..97455df 100644<br>--- a/main/rtp_engine.c<br>+++ b/main/rtp_engine.c<br>@@ -1545,7 +1545,7 @@<br>  if (!explicit) {<br>              payload = find_static_payload_type(asterisk_format, format, code);<br> <br>-                if (payload < 0 && (!asterisk_format || ast_option_rtpusedynamic)) {<br>+              if (payload < 0 && (!asterisk_format || !ast_option_rtpusedynamic)) {<br>                      return payload;<br>               }<br>     }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8968">change 8968</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8968"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I08c1e76433a67e4350141d38cacf3a1cb5086496 </div>
<div style="display:none"> Gerrit-Change-Number: 8968 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>