[asterisk-commits] mmichelson: trunk r197701 - /trunk/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 28 13:48:59 CDT 2009
Author: mmichelson
Date: Thu May 28 13:48:56 2009
New Revision: 197701
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197701
Log:
Add missing lock to local_indicate function for connected line frames.
Modified:
trunk/channels/chan_local.c
Modified: trunk/channels/chan_local.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_local.c?view=diff&rev=197701&r1=197700&r2=197701
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Thu May 28 13:48:56 2009
@@ -416,6 +416,7 @@
* we need to transmit the collected connected line information instead of whatever
* happens to be in this control frame. The same applies for redirecting information, which
* is why it is handled here as well.*/
+ ast_mutex_lock(&p->lock);
isoutbound = IS_OUTBOUND(ast, p);
if (isoutbound) {
this_channel = p->chan;
More information about the asterisk-commits
mailing list