<div dir="ltr">Greetings,<div><br></div><div>Currently, and for the most part, dynamic payload types in Asterisk are statically declared. This of course is not ideal. Because of that, I have been working on an issue [1] that makes it so Asterisk no longer statically declares dynamic payload types, but instead allocates them per RTP instance as formats are needed.</div><div><br></div><div>Due to the nature of the changes I've put in an option that can turn this behavior 'on' or 'off'. In Asterisk 14 it will default to 'off' meaning dynamic payload type handling will retain the current behavior (statically declared). However, in the master branch (what will become Asterisk 15) the behavior will default to 'on'.</div><div><br></div><div>There is one question that merits some discussion though with regards to the new way of handling the dynamic payloads. Even with a configuration option available what do people think about having the dynamic payload types default to the old number originally specified in Asterisk?<br></div><div><br></div><div>So in this case instead of using the first unused dynamic payload number found it would attempt to use the old number Asterisk used to use when statically declaring them.</div><div><br></div><div>Is there any advantage to falling back to those numbers as defaults for a given format? Would it lessen the chance of this being a potential breaking change for people (with the option of course people can always fall back to the way things used to work if need be)?</div><div><div><br></div><div>[1] <a href="https://issues.asterisk.org/jira/browse/ASTERISK-26515">https://issues.asterisk.org/jira/browse/ASTERISK-26515</a></div><div><br>-- </div><div class="gmail_signature"><div dir="ltr"><pre style="padding:2px;border:1px solid rgb(114,99,77);background-color:rgb(238,238,238);color:rgb(0,0,0);overflow:auto">Kevin Harwell
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></pre></div></div>
</div></div>