[asterisk-commits] mmichelson: branch mmichelson/issue11259 r135745 - /team/mmichelson/issue1125...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 5 15:57:44 CDT 2008


Author: mmichelson
Date: Tue Aug  5 15:57:43 2008
New Revision: 135745

URL: http://svn.digium.com/view/asterisk?view=rev&rev=135745
Log:
Add the call to ast_jb_empty_and_reset to ast_generic_bridge


Modified:
    team/mmichelson/issue11259/main/channel.c

Modified: team/mmichelson/issue11259/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/issue11259/main/channel.c?view=diff&rev=135745&r1=135744&r2=135745
==============================================================================
--- team/mmichelson/issue11259/main/channel.c (original)
+++ team/mmichelson/issue11259/main/channel.c Tue Aug  5 15:57:43 2008
@@ -3838,6 +3838,9 @@
 			case AST_CONTROL_VIDUPDATE:
 			case AST_CONTROL_SRCUPDATE:
 				ast_indicate_data(other, f->subclass, f->data, f->datalen);
+				if (jb_in_use) {
+					ast_jb_empty_and_reset(c0, c1);
+				}
 				break;
 			default:
 				*fo = f;




More information about the asterisk-commits mailing list