asterisk icon indicating copy to clipboard operation
asterisk copied to clipboard

[bug]: config.c: problems with #tryinclude statements

Open Allan-N opened this issue 4 months ago • 0 comments

Severity

Major

Versions

20.9.3

Components/Modules

main/config.c

Operating Environment

Debian 12

Frequency of Occurrence

Constant

Issue Description

I have been trying to use #tryinclude statements in some of my configuration files. What I have found is that when updated/written with ast_config_text_file_save2() ... or AMI's "UpdateConfig" ... the #tryinclude's are replaced with #include statements. In addition, files specified by the #tryinclude statements that previously did not exist are created with a template. The handling of paths that include wildcard '*' characters is even worse.

Relevant log output

No response

Asterisk Issue Guidelines

  • [X] Yes, I have read the Asterisk Issue Guidelines

Allan-N avatar Sep 29 '24 23:09 Allan-N