Fixes warning message caused by confbridge playback chan not being answered.
authorDavid Vossel <dvossel@digium.com>
Thu, 30 Jun 2011 21:05:54 +0000 (21:05 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 30 Jun 2011 21:05:54 +0000 (21:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@325937 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_bridge.c

index a58cfcc..7b01909 100644 (file)
@@ -229,6 +229,9 @@ static struct ast_channel *bridge_request(const char *type, struct ast_format_ca
        ast_format_copy(&p->input->rawwriteformat, &slin);
        ast_format_copy(&p->output->rawwriteformat, &slin);
 
+       ast_answer(p->output);
+       ast_answer(p->input);
+
        return p->input;
 }