summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-04-11 01:12:13 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-04-11 01:12:13 +0000
commit44b98afdcd91de39c72464471e4d65f8929fbf74 (patch)
treef330b175b4e2503c37ee32789e54a45889cbaa53 /apps
parente4811a8248c88e14bd4b3421bdf692d228707fdb (diff)
Merged revisions 19008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index e44323d18..ed9d3622c 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3294,7 +3294,7 @@ static int vm_forwardoptions(struct ast_channel *chan, struct ast_vm_user *vmu,
cmd = 't';
}
}
- if (cmd == 't')
+ if (cmd == 't' || cmd == 'S')
cmd = 0;
return cmd;
}