[svn-commits] file: branch file/bridging r161489 - /team/file/bridging/main/bridging.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Dec 5 16:55:45 CST 2008
Author: file
Date: Fri Dec 5 16:55:44 2008
New Revision: 161489
URL: http://svn.digium.com/view/asterisk?view=rev&rev=161489
Log:
Poke the bridging technology when the bridged channel state changes in case it wants to be aware of it.
Modified:
team/file/bridging/main/bridging.c
Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=161489&r1=161488&r2=161489
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Fri Dec 5 16:55:44 2008
@@ -121,6 +121,11 @@
/* Poke it's thread using a few different ways */
pthread_kill(bridge_channel->thread, SIGURG);
+ /* Poke the bridge technology as well if it wants to know about this */
+ if (bridge_channel->bridge->technology->poke) {
+ bridge_channel->bridge->technology->poke(bridge_channel->bridge, bridge_channel);
+ }
+
ast_mutex_lock(&bridge_channel->lock);
ast_cond_signal(&bridge_channel->cond);
ast_mutex_unlock(&bridge_channel->lock);
More information about the svn-commits
mailing list