<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Sorry but would you mind splitting the auto-create context off to a<br>separate review?  It doesn't seem like the two features are<br>inter-dependent and I have some concerns that the auto-context<br>could be a potentially breaking change as is.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If I have an application 'myprog' that includes an extensions.conf<br>context 'stasis-myprog', this auto-create feature will merge into<br>my existing context.  Even if the existing dialplan doesn't have a<br>'_.' or 'h' extensions this can change the result of<br>`${DIALPLAN_EXISTS(stasis-myprog,${SOMEEXTEN},1)}` since all<br>extensions will exist.  My only ideas to avoid this is to make the<br>feature opt-in or do it in master only.</p><p style="white-space: pre-wrap; word-wrap: break-word;">FWIW I haven't had a chance to review the code for the 'move'<br>feature, this -1 is purely on concerns about conflicting with<br>existing dialplan.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Talked about this with Josh, and he believes they are part of the same issue. Here's what I propose:</p><p style="white-space: pre-wrap; word-wrap: break-word;">For the context creation, if it already exists, don't append the extensions to it and print a WARNING. That way, it shouldn't interfere with anyone's existing dialplan logic, and those that are looking to eliminate dialplan entirely can still work with the auto-creation.</p><p><a href="https://gerrit.asterisk.org/10882">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10882">change 10882</a>. To unsubscribe, or for help writing mail filters, 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/10882"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ib6c569468472dbb08905b356887373c81e03015d </div>
<div style="display:none"> Gerrit-Change-Number: 10882 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 16 Jan 2019 19:56:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>