[asterisk-commits] mmichelson: branch mmichelson/digit_manipulation r196953 - /team/mmichelson/d...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 26 18:14:10 CDT 2009
Author: mmichelson
Date: Tue May 26 18:14:07 2009
New Revision: 196953
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196953
Log:
After a severe verbal lashing, I have repented for my earlier sin.
Modified:
team/mmichelson/digit_manipulation/main/channel.c
Modified: team/mmichelson/digit_manipulation/main/channel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/mmichelson/digit_manipulation/main/channel.c?view=diff&rev=196953&r1=196952&r2=196953
==============================================================================
--- team/mmichelson/digit_manipulation/main/channel.c (original)
+++ team/mmichelson/digit_manipulation/main/channel.c Tue May 26 18:14:07 2009
@@ -5013,8 +5013,13 @@
case AST_CONTROL_T38:
case AST_CONTROL_SRCUPDATE:
case AST_CONTROL_CONNECTED_LINE:
- if (ast_channel_connected_line_macro(who, other, f, other == c0, 1))
- /* Yes, this is a purposeful fallthrough. ewwww */
+ if (ast_channel_connected_line_macro(who, other, f, other == c0, 1)) {
+ ast_indicate_data(other, f->subclass, f->data.ptr, f->datalen);
+ }
+ if (jb_in_use) {
+ ast_jb_empty_and_reset(c0, c1);
+ }
+ break;
case AST_CONTROL_REDIRECTING:
ast_indicate_data(other, f->subclass, f->data.ptr, f->datalen);
if (jb_in_use) {
More information about the asterisk-commits
mailing list