summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2004-01-12 23:21:29 +0000
committerJeremy McNamara <jj@nufone.net>2004-01-12 23:21:29 +0000
commit2786bc27be5138f736acb6195b53e4a5473d75bb (patch)
tree25f2e07c91b4e00b3f461488cefeb45ad68c51f9 /apps/app_voicemail.c
parent3db5846f8fbaf36b3c864b90e5852a841f24ff6a (diff)
Implement pin usage in MeetMe. Bug #816
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 10bd7d848..c1902a036 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1467,8 +1467,12 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int
myserveremail = vmu->serveremail;
sendpage(myserveremail, vmu->pager, msgnum, ext, chan->callerid, end - start, vmu);
}
- } else
+ } else {
+ res = ast_streamfile(chan, "vm-mailboxfull", chan->language);
+ if (!res)
+ res = ast_waitstream(chan, "");
ast_log(LOG_WARNING, "No more messages possible\n");
+ }
} else
ast_log(LOG_WARNING, "No format for saving voicemail?\n");
free_user(vmu);