[asterisk-bugs] [JIRA] (ASTERISK-24487) configuration: sections should be loadable as template even when not marked

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:28:23 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-24487:
-------------------------------------

    Target Release Version/s: 14.0.0

> configuration: sections should be loadable as template even when not marked
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-24487
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24487
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 13.0.0
>            Reporter: Scott Griepentrog
>            Assignee: George Joseph
>      Target Release: 12.7.0, 12.8.0, 13.0.0, 13.1.0, 14.0.0
>
>
> According to the [wiki documentation on using templates|https://wiki.asterisk.org/wiki/display/AST/Using+Templates], any section is valid for inclusion as a template without being marked.
> {quote}
> This works even when the section name referenced in parentheses is not defined as a template as in the case of the "not-a-template" section.
> {quote}
> This pjsip.conf:
> {noformat}
> [endpoint]
> type=endpoint
> context=default
> allow=!all,ulaw
> direct_media=no
> [alice1](endpoint)
> {noformat}
> Results in error:
> {noformat}
> WARNING[30560] config.c: Inheritance requested, but category 'endpoint' does not exist, line 12 of /var/tmp/asterisk-testsuite/4601eff4190a32b130a52e1a84b03a00/run_1/ast2/etc/asterisk/pjsip.conf
> ERROR[30560] res_sorcery_config.c: Contents of config file 'pjsip.conf' are invalid and cannot be parsed
> {noformat}
> This issue can be resolved by adding \(!) to \[endpoint] line, but this is a change from previous version and does not match documented behavior.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list