diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-11 01:05:01 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-11 01:05:01 +0000 |
commit | 8132623b6569840ac5200c010cde0a7abedc7f78 (patch) | |
tree | 0f38550ba2b709a526ac452097cd106444520e62 /apps/app_voicemail.c | |
parent | fe532fddc5381272f630f13aa76c971579b9e06e (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.2@19008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index e0fc6b8c4..582595ad8 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3298,7 +3298,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; } |