summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-06-14 20:40:14 +0000
committerJames Golovich <james@gnuinter.net>2004-06-14 20:40:14 +0000
commitf70b57352b5b0b09066daa41da4c8add54100ecf (patch)
tree1e1cd8ab1ea8dbb4e8945a743e9847673b693d1f /apps
parentbec994b037a5e5577572e97195f372e23de81a94 (diff)
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
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index fa25f7501..e78e744f8 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