[asterisk-commits] trunk r24759 - /trunk/app.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 4 14:02:27 MST 2006


Author: bweschke
Date: Thu May  4 16:02:26 2006
New Revision: 24759

URL: http://svn.digium.com/view/asterisk?rev=24759&view=rev
Log:
 Another adjustment for #6991 (casper)


Modified:
    trunk/app.c

Modified: trunk/app.c
URL: http://svn.digium.com/view/asterisk/trunk/app.c?rev=24759&r1=24758&r2=24759&view=diff
==============================================================================
--- trunk/app.c (original)
+++ trunk/app.c Thu May  4 16:02:26 2006
@@ -781,8 +781,7 @@
 	if (rfmt && ast_set_read_format(chan, rfmt)) {
 		ast_log(LOG_WARNING, "Unable to restore format %s to channel '%s'\n", ast_getformatname(rfmt), chan->name);
 	}
-	if (outmsg > 1) {
-		/* Let them know it worked */
+	if (outmsg == 2) {
 		ast_stream_and_wait(chan, "auth-thankyou", chan->language, "");
 	}	
 	if (sildet)



More information about the asterisk-commits mailing list