mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Add ability to check voicemail from multiple folders (bug #2561)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -981,7 +981,7 @@ static int action_mailboxstatus(struct mansession *s, struct message *m)
|
||||
}
|
||||
if (id && !ast_strlen_zero(id))
|
||||
snprintf(idText,256,"ActionID: %s\r\n",id);
|
||||
ret = ast_app_has_voicemail(mailbox);
|
||||
ret = ast_app_has_voicemail(mailbox, NULL);
|
||||
ast_mutex_lock(&s->lock);
|
||||
ast_cli(s->fd, "Response: Success\r\n"
|
||||
"%s"
|
||||
|
Reference in New Issue
Block a user