Browse code

made announcement config clearer

Stefan Sayer authored on 04/03/2011 13:42:39
Showing 2 changed files
... ...
@@ -1,10 +1,12 @@
1
-#CFGOPTION_SEMS_ANNOUNCEPATH
1
+# File to be played:
2
+#  1) [announce_path]/[Domain]/[User].wav
3
+#  2) [announce_path]/[User].wav
4
+#  3) [announce_path]/[default_announce]
5
+# first found is played
6
+
2 7
 announce_path=/usr/local/lib/sems/audio/
3
-#ENDCFGOPTION
4 8
 
5
-#CFGOPTION_SEMS_ANNOUNCEMENT
6 9
 default_announce=default_en.wav
7
-#ENDCFGOPTION
8 10
 
9 11
 # optional parameter: loop
10 12
 #  set to "true" to make the announcement loop
... ...
@@ -8,11 +8,12 @@ Description:
8 8
 The annoucement server plays a wav file to the caller.
9 9
 It searches for files to play following these rules:
10 10
 
11
- 1) [AnnouncePath]/[Domain]/[User].wav
12
- 2) [AnnouncePath]/[User].wav
11
+ 1) [announce_path]/[Domain]/[User].wav
12
+ 2) [announce_path]/[User].wav
13
+ 3) [announce_path]/[default_announce]
13 14
 
14 15
 That's it.
15 16
 
16 17
 It can also loop the file if configured to do so. 
17 18
 
18
-Now that really is it.
19 19
\ No newline at end of file
20
+Now that really is it.