mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 08:44:14 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user