[asterisk-dev] moh: datadir or varlibdir? [was: Re: [svn-commits] kpfleming: trunk r149917 - in /trunk: ./ configs/ res/]
tzafrir.cohen at xorcom.com
Thu Oct 16 05:32:07 CDT 2008
On Thu, Oct 16, 2008 at 12:16:43PM +0200, Kevin P. Fleming wrote:
> H Cohen wrote:
> > One thing, though: does the musiconhold belong under datadir or varlibdir?
> > I think that the same logic as applies as with the sounds directory:
> > this is mostly stuff you put at setup time.
> I don't really see much point in changing it at this time. Sounds are
> already in varlibdir, so MOH being there too seems logical.
Sounds do reside under ast_config_AST_DATA_DIR . At least this is what I
see in trunk:main/file.c:build_filename() .
ast_config_AST_DATA_DIR defaults to /var/lib/asterisk if not set
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev