[asterisk-users] Sample config files installed to /etc

D'Arcy J.M. Cain darcy at Vex.Net
Sun Jun 9 14:29:42 CDT 2013


On Sun, 9 Jun 2013 20:18:50 +0300
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Fri, Jun 07, 2013 at 11:53:57AM +0200, Daniel Pocock wrote:
> > The sample config files in the Asterisk distribution and packages
> [...]
> The "sample" config files are mostly reference. They are also examples
> for some sorts. But they are the best documentation installed in a
> typical installation.
> 
> > However, I'm not sure that they should be installed by default by
> > packages.

There is a better way.  Right now asterisk can be called with a custom
location for the primary config (-C option).  If there was also a
configuration command to redirect any other file then administrators
could create their own versions of configs, probably in their own
versioning system, and point to it from the main config.  That way the
installation directories never need to be written to and new versions
can overwrite existing files without affecting the operation.

I realize that you can set astetcdir to another location in your custom
asterisk.conf but that means keeping copies of all the configs
elsewhere.  I just want to keep copies of configs that I have modified.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy at Vex.Net
Voip: sip:darcy at Vex.Net



More information about the asterisk-users mailing list