Voicemail fixes (bug #1982)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3453 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
b6de7e334c
commit
198227109b
|
@ -3567,13 +3567,19 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
|||
if (prefix)
|
||||
strncpy(vms.username, empty, sizeof(vms.username) -1);
|
||||
}
|
||||
if (!valid) {
|
||||
if (useadsi)
|
||||
adsi_login(chan);
|
||||
if (ast_streamfile(chan, "vm-incorrect", chan->language))
|
||||
break;
|
||||
}
|
||||
logretries++;
|
||||
if (!valid) {
|
||||
if (skipuser || logretries >= maxlogins) {
|
||||
if (ast_streamfile(chan, "vm-incorrect", chan->language))
|
||||
break;
|
||||
} else {
|
||||
if (useadsi)
|
||||
adsi_login(chan);
|
||||
if (ast_streamfile(chan, "vm-incorrect-mailbox", chan->language))
|
||||
break;
|
||||
}
|
||||
ast_waitstream(chan, "");
|
||||
}
|
||||
}
|
||||
if (!valid && (logretries >= maxlogins)) {
|
||||
ast_stopstream(chan);
|
||||
|
|
|
@ -128,7 +128,9 @@
|
|||
|
||||
%vm-INBOX.gsm%new
|
||||
|
||||
%vm-incorrect.gsm%Login incorrect. Mailbox?
|
||||
%vm-incorrect-mailbox.gsm%Login incorrect. Mailbox?
|
||||
|
||||
%vm-incorrect.gsm%Login incorrect.
|
||||
|
||||
%vm-instructions.gsm%To look into your messages press 1 now. You may quit voicemail at any time by pressing the pound key.
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Reference in New Issue