Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all templates should be placed into a separate .d directory and explicitely loaded before other contexts #26

Open
lelutin opened this issue Jan 21, 2021 · 0 comments

Comments

@lelutin
Copy link
Owner

lelutin commented Jan 21, 2021

I've just discovered that contexts that use a template, e.g. [blah](sometemplatecontext) should be loaded after the template context itself, otherwise the whole configuration is invalid. asterisk was able to start with this type of configuration error but all of the sip peers were just not present anymore!

so to make configuration more robust, we should displace all contexts defined as a template (e.g. template_name == '!') into a separate directory and have all files in that directory be loaded before all of the non-template contexts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant