[asterisk-commits] russell: trunk r94796 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 26 12:19:46 CST 2007


Author: russell
Date: Wed Dec 26 12:19:46 2007
New Revision: 94796

URL: http://svn.digium.com/view/asterisk?view=rev&rev=94796
Log:
Leave a note for a minor bug that was pointed out by d1mas

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=94796&r1=94795&r2=94796
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Dec 26 12:19:46 2007
@@ -2330,6 +2330,9 @@
 				}
 				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);




More information about the asterisk-commits mailing list