No subject


Thu Jul 12 09:23:04 CDT 2007


an #include to a non-existent file. All FreePBX and TrixBox installations
are affected. For example, the sip.conf of FreePBX  start with:

[general]
#include sip_general_additional.conf

bindport = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
allow=gsm

The file sip_general_additional.conf it's not present when you do a fresh
FreePBX installation so the sip module is not loaded at all. And all the
config files have at the beginning an include to a non-existent file
(sip_custom.conf, extensions_custom.conf, manager.conf iax.conf etc.) used
to put custom changes and separate from the config files generated from the
gui. So practically no config files is loaded. Can you revert to the
previous behavior? I think that many people used this type of configuration
in asterisk and especially FreePBX/Trixbox...

====================================================================== 

---------------------------------------------------------------------- 
 russell - 12-13-07 17:30  
---------------------------------------------------------------------- 
This change was intentional, to point out places where people may have a
typo in their configuration.  We do not want to allow partial-configuration
of a module.  If we find a problem, we just refuse to load it at all. 
Partial configuration of a module could cause many types of problems, up to
and including gaping security holes in the system.

For anyone that is packaging configuration files in this way, it's a
simple change.  The default configuration files need to include blank files
that are listed to be included.  Any system that provides some sort of
automatic upgrade should just ensure that all of those files exist. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-13-07 17:30  russell        Note Added: 0075374                          
======================================================================




More information about the asterisk-bugs mailing list