diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 18:19:46 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 18:19:46 +0000 |
commit | a561878e07edcd2760e6d52412c5180f904f9ce4 (patch) | |
tree | fc763a37684c70f22bcb902c35622f7b40d4a7a0 /main/channel.c | |
parent | 14fc36c09d53af1fa0cda93d8a913c0b77407070 (diff) |
Leave a note for a minor bug that was pointed out by d1mas
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94796 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index 0de7ee838..65931ed6d 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); |