[Asterisk-code-review] res stasis: Auto-create context and add ability to switch ap... (asterisk[13])

Corey Farrell asteriskteam at digium.com
Wed Jan 16 12:25:00 CST 2019


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/10882 )

Change subject: res_stasis: Auto-create context and add ability to switch applications.
......................................................................


Patch Set 2: Code-Review-1

Sorry but would you mind splitting the auto-create context off to a separate review?  It doesn't seem like the two features are inter-dependent and I have some concerns that the auto-context could be a potentially breaking change as is.

If I have an application 'myprog' that includes an extensions.conf context 'stasis-myprog', this auto-create feature will merge into my existing context.  Even if the existing dialplan doesn't have a '_.' or 'h' extensions this can change the result of `${DIALPLAN_EXISTS(stasis-myprog,${SOMEEXTEN},1)}` since all extensions will exist.  My only ideas to avoid this is to make the feature opt-in or do it in master only.

FWIW I haven't had a chance to review the code for the 'move' feature, this -1 is purely on concerns about conflicting with existing dialplan.


-- 
To view, visit https://gerrit.asterisk.org/10882
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib6c569468472dbb08905b356887373c81e03015d
Gerrit-Change-Number: 10882
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Comment-Date: Wed, 16 Jan 2019 18:25:00 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190116/151d48a4/attachment.html>


More information about the asterisk-code-review mailing list