[Asterisk-code-review] pbx_variables: Add variable registration and validation (asterisk[master])
N A
asteriskteam at digium.com
Sat Jul 23 14:54:15 CDT 2022
Attention is currently required from: Sean Bright, Joshua Colp, George Joseph, Kevin Harwell.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/17792 )
Change subject: pbx_variables: Add variable registration and validation
......................................................................
Patch Set 6:
(1 comment)
Patchset:
PS6:
Thanks, Sean - I appreciate the feedback. I had not considered the XML approach before, but I think this is a somewhat better fit for it still.
> making the variables explicitly handled in pbx_variables.c:ast_str_retrieve_variable top-level XML nodes
Could you clarify/elaborate what you mean by "making them explicitly handled"? As well as how ast_str_retrieve_variable is related.
Ultimately, I don't think the xmldoc approach sufficiently accomplishes the goal I'm trying to accomplish here, but it's something I'll keep in mind. Ultimately there will need to be some kind of structure in memory for things and this is similar to applications, CLI commands, etc. in the mechanism. xmldocs I think would work better for a simpler use case.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17792
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Iad3b8d9833c7d9debe04aca59260d7316c3ad28c
Gerrit-Change-Number: 17792
Gerrit-PatchSet: 6
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <default.enum at gmail.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: George Joseph <gjoseph at digium.com>
Gerrit-Attention: Kevin Harwell <default.enum at gmail.com>
Gerrit-Comment-Date: Sat, 23 Jul 2022 19:54:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean at seanbright.com>
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220723/21d34bc2/attachment.html>
More information about the asterisk-code-review
mailing list