[Asterisk-cvs] asterisk Makefile,1.102,1.103 translate.c,1.28,1.29
markster at lists.digium.com
markster at lists.digium.com
Sun Aug 1 10:33:01 CDT 2004
Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv24904
Modified Files:
Makefile translate.c
Log Message:
Rename newp to newpvt (bug #2190), change hold music.
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- Makefile 19 Jul 2004 15:52:57 -0000 1.102
+++ Makefile 1 Aug 2004 14:19:04 -0000 1.103
@@ -444,6 +444,7 @@
for x in sounds/*.mp3; do \
install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
done
+ rm -f $(DESTDIR)$(ASTVARLIBDIR)/mohmp3/sample-hold.mp3
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
:> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm
for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail; do \
Index: translate.c
===================================================================
RCS file: /usr/cvsroot/asterisk/translate.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- translate.c 14 Jul 2004 07:44:19 -0000 1.28
+++ translate.c 1 Aug 2004 14:19:04 -0000 1.29
@@ -107,7 +107,7 @@
tmp->nextout.tv_sec = 0;
tmp->nextout.tv_usec = 0;
tmp->step = tr_matrix[source][dest].step;
- tmp->state = tmp->step->new();
+ tmp->state = tmp->step->newpvt();
if (!tmp->state) {
ast_log(LOG_WARNING, "Failed to build translator step from %d to %d\n", source, dest);
free(tmp);
@@ -237,7 +237,7 @@
t->cost = 99999;
return;
}
- pvt = t->new();
+ pvt = t->newpvt();
if (!pvt) {
ast_log(LOG_WARNING, "Translator '%s' appears to be broken and will probably fail.\n", t->name);
t->cost = 99999;
More information about the svn-commits
mailing list