Merged revisions 155861 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 10 Nov 2008 21:14:44 +0000 (21:14 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 10 Nov 2008 21:14:44 +0000 (21:14 +0000)
commitb07eba0c150c2ff04054a6a2f581cad9170347cc
treed2e5a6881c6d7e24ed92d2c311e6d1bb51011673
parent9b99ef50b5d01ee8111d26efa7b926bdfaf3f980
Merged revisions 155861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r155861 | mmichelson | 2008-11-10 15:07:39 -0600 (Mon, 10 Nov 2008) | 14 lines

Channel drivers assume that when their indicate callback
is invoked, that the channel on which the callback was called
is locked. This patch corrects an instance in chan_agent where
a channel's indicate callback is called directly without first
locking the channel.

This was leading to some observed locking issues in chan_local,
but considering that all channel drivers operate under the
same expectations, the generic fix in chan_agent is the right
way to go.

AST-126

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_agent.c