mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
fix short message issue (bug #2723)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4657,7 +4657,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re
|
||||
cmd = ast_play_and_record(chan, playfile, recordfile, maxtime, fmt, duration, silencethreshold, maxsilence);
|
||||
if (cmd == -1)
|
||||
/* User has hung up, no options to give */
|
||||
return res;
|
||||
return cmd;
|
||||
if (cmd == '0') {
|
||||
break;
|
||||
} else if (cmd == '*') {
|
||||
@@ -4752,7 +4752,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re
|
||||
}
|
||||
}
|
||||
if (outsidecaller)
|
||||
ast_play_and_wait(chan, "vm-goodbye");
|
||||
ast_play_and_wait(chan, "vm-goodbye");
|
||||
if (cmd == 't')
|
||||
cmd = 0;
|
||||
return cmd;
|
||||
|
Reference in New Issue
Block a user