[Asterisk-cvs] asterisk/apps app_voicemail.c,1.249,1.250

kpfleming kpfleming
Sun Sep 25 16:42:21 CDT 2005


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

Modified Files:
	app_voicemail.c 
Log Message:
correct logic errors (issue #5258)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- app_voicemail.c	24 Sep 2005 22:56:41 -0000	1.249
+++ app_voicemail.c	25 Sep 2005 20:39:19 -0000	1.250
@@ -5536,7 +5536,7 @@
 	if (res == ERROR_LOCK_PATH) {
 		ast_log(LOG_ERROR, "Could not leave voicemail. The path is already locked.\n");
 		/*Send the call to n+101 priority, where n is the current priority*/
-		if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
+		if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
 			ast_log(LOG_WARNING, "Extension %s, priority %d doesn't exist.\n", chan->exten, chan->priority + 101);
 		res = 0;
 	}
@@ -5602,7 +5602,7 @@
 	}
 
 	if (find_user(&svm, context, box)) {
-		if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) 
+		if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) 
 			ast_log(LOG_WARNING, "VM box %s@%s exists, but extension %s, priority %d doesn't exist\n", box, context, chan->exten, chan->priority + 101);
 	}
 	LOCAL_USER_REMOVE(u);




More information about the svn-commits mailing list