projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb80a4a
)
Don't say "re-recording" on CLI.
author
Mark Spencer
<markster@digium.com>
Tue, 11 May 2004 15:20:55 +0000
(15:20 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 11 May 2004 15:20:55 +0000
(15:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2947
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
6842d55
..
fb36366
100755
(executable)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-4196,8
+4196,11
@@
static int play_record_review(struct ast_channel *chan, char *playfile, char *re
case '3':
message_exists = 0;
/* Record */
- ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n");
- if (recorded && outsidecaller) {
+ if (recorded == 1)
+ ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n");
+ else
+ ast_verbose(VERBOSE_PREFIX_3 "Recording the message\n");
+ if (recorded && outsidecaller) {
cmd = play_and_wait(chan, INTRO);
cmd = play_and_wait(chan, "beep");
}