X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=main%2Fchannel.c;h=65931ed6dde1c853fd36101419c1b6c4c0622ed2;hp=0de7ee838864397966474b24ac655719ea1890d4;hb=f853918c53142d69082dd31b9a9caf48972c9665;hpb=fc22a4a40e26814fe2d1788c7c24b062813683cf;ds=sidebyside diff --git a/main/channel.c b/main/channel.c index 0de7ee8..65931ed 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);