mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Retain beep
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -889,7 +889,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
|
|||||||
|
|
||||||
if (playfile) {
|
if (playfile) {
|
||||||
d = play_and_wait(chan, playfile);
|
d = play_and_wait(chan, playfile);
|
||||||
if (!d)
|
if (d > -1)
|
||||||
d = ast_streamfile(chan, "beep",chan->language);
|
d = ast_streamfile(chan, "beep",chan->language);
|
||||||
if (!d)
|
if (!d)
|
||||||
d = ast_waitstream(chan,"");
|
d = ast_waitstream(chan,"");
|
||||||
|
|||||||
Reference in New Issue
Block a user