diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-16 08:30:32 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-16 08:30:32 +0000 |
commit | 23725d434ff598a981106ad298f6ccfab0b5f504 (patch) | |
tree | e7630d4b7484a502d07d0a54b79d5036fcc9fe84 /configs/musiconhold.conf.sample | |
parent | d7334f787c1bd6880589ec7840377da9a8290ca2 (diff) |
support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149917 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/musiconhold.conf.sample')
-rw-r--r-- | configs/musiconhold.conf.sample | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configs/musiconhold.conf.sample b/configs/musiconhold.conf.sample index 4df1afd4f..8ccc851e4 100644 --- a/configs/musiconhold.conf.sample +++ b/configs/musiconhold.conf.sample @@ -29,6 +29,11 @@ ; Files can be present in as many formats as you wish, and the ; 'best' format will be chosen at playback time. ; +; The path specified can be either an absolute path (starts with '/'), +; or a relative path; relative paths are interpreted as being relative +; to the 'astvarlibdir' in asterisk.conf, which defaults to +; /var/lib/asterisk. +; ; NOTE: ; If you are not using "autoload" in modules.conf, then you ; must ensure that the format modules for any formats you wish @@ -39,11 +44,11 @@ [default] mode=files -directory=/var/lib/asterisk/moh +directory=moh ; ;[native-random] ;mode=files -;directory=/var/lib/asterisk/moh +;directory=moh ;digit=# ; If this option is set for a class, then when callers are ; ; listening to music on hold, they can press this digit, and ; ; they will switch to listening to this music class. @@ -51,7 +56,7 @@ directory=/var/lib/asterisk/moh ;[native-alphabetical] ;mode=files -;directory=/var/lib/asterisk/moh +;directory=moh ;sort=alpha ; Sort the files in alphabetical order. If this option is ; ; not specified, the sort order is undefined. |