From: James Golovich Date: Mon, 14 Jun 2004 20:40:14 +0000 (+0000) Subject: Fix MailboxExists to follow the original behavior of jumping to +101 if the voicemail... X-Git-Tag: 1.0.0-rc1~253 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70b57352b5b0b09066daa41da4c8add54100ecf;p=thirdparty%2Fasterisk.git Fix MailboxExists to follow the original behavior of jumping to +101 if the voicemailuser exists git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3205 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index fa25f7501e..e78e744f83 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3474,7 +3474,7 @@ static int vm_box_exists(struct ast_channel *chan, void *data) { context++; } - if ((!find_user(&svm, context, box))) { + if (find_user(&svm, context, box)) { if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->callerid)) { chan->priority += 100; } else