[asterisk-commits] jpeeler: branch 1.4 r259664 - /branches/1.4/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 28 12:13:32 CDT 2010


Author: jpeeler
Date: Wed Apr 28 12:13:29 2010
New Revision: 259664

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259664
Log:
Do not play goodbye prompt after timeout of message review.

ABE-2124

Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=259664&r1=259663&r2=259664
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Wed Apr 28 12:13:29 2010
@@ -9538,10 +9538,10 @@
 			}
 		}
 	}
-	if (outsidecaller)
-		ast_play_and_wait(chan, "vm-goodbye");
 	if (cmd == 't')
 		cmd = 0;
+	else if (outsidecaller) /* won't play if time out occurs */
+		ast_play_and_wait(chan, "vm-goodbye");
 	return cmd;
 }
 




More information about the asterisk-commits mailing list