Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16005

Modified Files:
        Makefile sounds.txt 
Log Message:
add app_dictate (bug #3893)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- Makefile    1 May 2005 01:43:44 -0000       1.152
+++ Makefile    4 May 2005 19:33:33 -0000       1.153
@@ -15,7 +15,6 @@
 
 # Create OPTIONS variable
 OPTIONS=
-
 # If cross compiling, define these to suit
 # CROSS_COMPILE=/opt/montavista/pro/devkit/arm/xscale_be/bin/xscale_be-
 # CROSS_COMPILE_BIN=/opt/montavista/pro/devkit/arm/xscale_be/bin/
@@ -411,6 +410,15 @@
                        exit 1; \
                fi; \
        done
+       mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/dictate
+       for x in sounds/dictate/*.gsm; do \
+               if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
+                       install -m 644 $$x 
$(DESTDIR)$(ASTVARLIBDIR)/sounds/dictate ; \
+               else \
+                       echo "No description for $$x"; \
+                       exit 1; \
+               fi; \
+       done
        mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/letters
        for x in sounds/letters/*.gsm; do \
                if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
@@ -490,6 +498,7 @@
        mkdir -p $(DESTDIR)$(ASTSBINDIR)
        mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
+       mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme

Index: sounds.txt
===================================================================
RCS file: /usr/cvsroot/asterisk/sounds.txt,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- sounds.txt  24 Mar 2005 03:31:53 -0000      1.50
+++ sounds.txt  4 May 2005 19:33:33 -0000       1.51
@@ -268,6 +268,34 @@
 
 %tt-weasels.gsm%Weasels have eaten our phone system
 
+;dictate directory - app_dictate
+
+%both_help.gsm%press * to toggle pause, press # to enter a new dictation 
filename
+
+%enter_filename.gsm%Enter a numeric dictation filename followed by # or just # 
to exit
+
+%forhelp.gsm%press 0 for help
+
+%inithelp.gsm%1 to switch to playback mode
+
+%pause.gsm%pause
+
+%paused.gsm%paused
+
+%play_help.gsm%press 1 to switch to record mode, press 2 to toggle fast 
playback, press 7 to jump backwards, press 8 to jump forwards
+
+%playback.gsm%playback
+
+%playback_mode.gsm%playback mode
+
+%record.gsm%record
+
+%record_help.gsm%press 1 to switch to playback mode, press 8 to truncate the 
file and start over
+
+%record_mode.gsm%record mode
+
+%truncating_audio.gsm%truncating audio
+
 ;digits directory  - File Name Sound File Script
 
 %minus.gsm%minus

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to