[asterisk-commits] qwell: trunk r116407 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 14 15:36:55 CDT 2008


Author: qwell
Date: Wed May 14 15:36:55 2008
New Revision: 116407

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116407
Log:
Voicemail "* exit" should not require an exitcontext to be specified.
The behavior in 1.4 was that it would use the current context if an exitcontext existed.

(closes issue #12605)
Reported by: kenjreno
Patches:
      12605-starexit.diff uploaded by qwell (license 4)
Tested by: qwell

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=116407&r1=116406&r2=116407
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed May 14 15:36:55 2008
@@ -3865,7 +3865,7 @@
 		ast_stopstream(chan);
 	/* Check for a '*' here in case the caller wants to escape from voicemail to something
 	 other than the operator -- an automated attendant or mailbox login for example */
-	if (!ast_strlen_zero(vmu->exit) && (res == '*')) {
+	if (res == '*') {
 		chan->exten[0] = 'a';
 		chan->exten[1] = '\0';
 		if (!ast_strlen_zero(vmu->exit)) {




More information about the asterisk-commits mailing list