Skip to content
Snippets Groups Projects
Commit 1487d749 authored by Mark Spencer's avatar Mark Spencer
Browse files

Answer if it needs it...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 74de37e8
Branches
Tags
No related merge requests found
......@@ -155,6 +155,9 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
return -1;
}
/* Answer if it's not already going */
if (chan->_state != AST_STATE_UP)
ast_answer(chan);
ast_stopstream(chan);
owriteformat = chan->writeformat;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment