From: Russell Bryant Date: Wed, 26 Dec 2007 18:19:46 +0000 (+0000) Subject: Leave a note for a minor bug that was pointed out by d1mas X-Git-Tag: 1.6.0-beta1~3^2~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f853918c53142d69082dd31b9a9caf48972c9665;p=thirdparty%2Fasterisk.git Leave a note for a minor bug that was pointed out by d1mas git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94796 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 0de7ee8388..65931ed6dd 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2330,6 +2330,9 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio) } if (chan->audiohooks) { struct ast_frame *old_frame = f; + /*! + * \todo XXX It is possible to write a digit to the audiohook twice + * if the digit was originally read while the channel was in autoservice. */ f = ast_audiohook_write_list(chan, chan->audiohooks, AST_AUDIOHOOK_DIRECTION_READ, f); if (old_frame != f) ast_frfree(old_frame);