[asterisk-bugs] [JIRA] (ASTERISK-29142) sip_to_pjsip.py: doesn't read globbed includes

Michael Newton (JIRA) noreply at issues.asterisk.org
Thu Oct 29 13:19:15 CDT 2020


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

Michael Newton commented on ASTERISK-29142:
-------------------------------------------

Looks like this is caused by having two identically named sections, and is unrelated to the includes. In this case, one of the sections was in an included file and one in the main, but it shows the same result when both are in the main file.

> sip_to_pjsip.py: doesn't read globbed includes
> ----------------------------------------------
>
>                 Key: ASTERISK-29142
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29142
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Contrib/General
>    Affects Versions: 16.14.0
>            Reporter: Michael Newton
>            Assignee: Michael Newton
>            Severity: Minor
>              Labels: patch
>         Attachments: 0001-astconfigparser.py-Handle-wildcards-in-include-s.patch
>
>
> My `sip.conf` includes `#include pbx/*.sip.conf` which is not processed properly. Output looks like this:
> {noformat}
> Please, report any issue at:
>     https://issues.asterisk.org/
> Reading sip.conf
> Could not open file pbx/*.sip.conf for reading
> Converting to PJSIP...
> Writing pjsip.conf
> Could not open file pjsip_pbx/*.sip.conf for writing
> {noformat}
> Globs should be interpreted correctly (and it should not error out when trying to create a directory.)



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



More information about the asterisk-bugs mailing list