On 9/5/2021 5:10 PM, Dovid Bender wrote: > Hi, > > If I have in extensions.conf includes to files that does not exist > Asterisk stop loading all other files. Say for instance I have: > > #include one.conf ; Exists > #include two.conf ; Does not exist > #include three.conf ; Exists > > If two.conf does not exist, even if three.conf exists, asterisk will > not load it. Was this done by design or is this a bug? This is by design. You should use #tryinclude instead of #include for two.conf: https://wiki.asterisk.org/wiki/display/AST/Using%20The%20include,%20tryinclude%20and%20exec%20Constructs
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
