mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user