diff options
author | Mark Spencer <markster@digium.com> | 2004-06-01 18:50:18 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-01 18:50:18 +0000 |
commit | 8164972e34216ad266a9ecc55c97f178d9bc2c10 (patch) | |
tree | 68c95d0587a0363b109c7404ed029dc377a557e0 /apps | |
parent | 49257bafbce5d0fab102e1ffe7a883e6bac7f16f (diff) |
allow multiple exit characters on control_streamfile, allow '1' to skip envelope
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 9ca3c9383..4c688b023 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2737,10 +2737,11 @@ static int play_message(struct ast_channel *chan, struct ast_vm_user *vmu, struc if ((!res)&&(vmu->envelope)) res = play_message_datetime(chan, vmu, origtime, filename); - if ((!res)&&(vmu->saycid)) res = play_message_callerid(chan, vms, cid, context, 0); - + /* Allow pressing '1' to skip envelope / callerid */ + if (res == '1') + res = 0; ast_destroy(msg_cfg); if (!res) { |