[asterisk-bugs] [JIRA] (ASTERISK-16535) [regression] After 1.6.2.8 the #include directive does not work if missing closing double quote

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 27 15:56:34 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-16535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225670#comment-225670 ] 

Matt Jordan commented on ASTERISK-16535:
----------------------------------------

This is actually already fixed (issuing an ERROR message, at least).

If my {{extensions.conf}} contains the following:

{noformat}
# include "foo.conf
{noformat}

Asterisk will spit out the following ERROR:

{noformat}
*CLI> [Mar 27 15:51:03] ERROR[29059]: config.c:1549 process_text_line: The file '"foo.conf' was listed as a #include but it does not exist.
{noformat}

This was added (or has a last known revision of) in r135717.

> [regression] After 1.6.2.8 the #include directive does not work if missing closing double quote
> -----------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-16535
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16535
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/Configuration
>            Reporter: Michael Cramer
>            Severity: Minor
>
> As soon as I started 1.6.2.10 I noticed my dialplan reload was not a valid command and a fraction of my dialplan existed. Dialplan show ? only showed some of the contexts in my extensions.conf. I use a lot of includes and I have a lot of lines that are commented out spacers of dashes and underscores like
> ;--------------------------------------------------------------------
> #include "mydir/macros.conf"
> ;____________________________________________________________________
> I also have a lot of nested include files. I had to down grade to 1.6.2.8 which worked fine with the same files. I tried a second time with a fresh 1.6.2.10 source tree with the same results.



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



More information about the asterisk-bugs mailing list