[asterisk-commits] russell: branch group/upenn r106703 - in /team/group/upenn: ./ apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 7 11:11:00 CST 2008


Author: russell
Date: Fri Mar  7 11:11:00 2008
New Revision: 106703

URL: http://svn.digium.com/view/asterisk?view=rev&rev=106703
Log:
resolve, reset

Modified:
    team/group/upenn/   (props changed)
    team/group/upenn/apps/app_voicemail.c

Propchange: team/group/upenn/
------------------------------------------------------------------------------
    automerge = *

Propchange: team/group/upenn/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar  7 11:11:00 2008
@@ -1,1 +1,1 @@
-/branches/1.4:1-106621
+/branches/1.4:1-106702

Modified: team/group/upenn/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/group/upenn/apps/app_voicemail.c?view=diff&rev=106703&r1=106702&r2=106703
==============================================================================
--- team/group/upenn/apps/app_voicemail.c (original)
+++ team/group/upenn/apps/app_voicemail.c Fri Mar  7 11:11:00 2008
@@ -6275,7 +6275,11 @@
 			cmd = 't';
 			break;
 		default: 
-			cmd = ast_play_and_wait(chan, options_sound);
+			snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username);
+			if (ast_fileexists(prefile, NULL, NULL))
+				cmd = ast_play_and_wait(chan, "vm-tmpexists");
+			if (!cmd)
+				cmd = ast_play_and_wait(chan, options_sound);
 			if (!cmd)
 				cmd = ast_waitfordigit(chan,6000);
 			if (!cmd)




More information about the asterisk-commits mailing list