On Tuesday 15 April 2003 19:10, Uriel Carrasquilla
wrote:> How can I recompile Voice Mail and preserve my modified
> vm-*.gsm messages? Every time I recompile, I go back to the
> original vm-*.gsm messages. I tried to copy the
> /var/lib/asterisk/sound/*.gsm to
> /usr/src/asterisk/sounds/*.gsm but that creates problems with
> the "make install" to compile changes to the
> /apps/apps_voicemail.c recompilation after changes.
> Regards,
> Uriel
Store all of your custom files in a separate directory and then
do something like this in the Makefile:
-----Cut here-----
Index: Makefile
==================================================================RCS file:
/usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 Makefile
--- Makefile 18 Mar 2003 06:00:13 -0000 1.1.1.6
+++ Makefile 16 Apr 2003 03:36:45 -0000
@@ -169,6 +169,9 @@
exit 1; \
fi; \
done
+ for x in /var/lib/asterisk/sounds/tilghman/*.*; do \
+ ln -sf $$x $(ASTVARLIBDIR)/sounds ; \
+ done
mkdir -p $(ASTVARLIBDIR)/mohmp3
mkdir -p $(ASTVARLIBDIR)/images
for x in images/*.jpg; do \
-----Cut here-----
-Tilghman