[Asterisk-cvs] asterisk say.c,1.38,1.39

markster at lists.digium.com markster at lists.digium.com
Sun Oct 31 20:48:32 CST 2004


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

Modified Files:
	say.c 
Log Message:
Fix say for portugese (bug #2749)


Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- say.c	24 Sep 2004 22:15:43 -0000	1.38
+++ say.c	1 Nov 2004 01:51:12 -0000	1.39
@@ -1566,11 +1566,6 @@
 				playh = 1;
 			num = num % 1000000;
 		}
-		if (!res && playh) {
-			res = wait_file(chan, ints, "digits/pt-e", language);
-			ast_stopstream(chan);
-			playh = 0;
-		}
 		if (!res) {
 			if(!ast_streamfile(chan, fn, language)) {
 				if (audiofd && ctrlfd)
@@ -1579,6 +1574,11 @@
 			}
 			ast_stopstream(chan);
 		}
+		if (!res && playh) {
+			res = wait_file(chan, ints, "digits/pt-e", language);
+			ast_stopstream(chan);
+			playh = 0;
+		}
 	}
 	return res;
 }




More information about the svn-commits mailing list