chan_agent: Fix agent_indicate() locking.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 3 Jan 2013 17:48:14 +0000 (17:48 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 3 Jan 2013 17:48:14 +0000 (17:48 +0000)
commit11571714fe5cea449e484283a8f3aa2fdf5600ed
tree6a59b469b3b45d6c289ae6e50cc99fa441e66876
parent7739ed99894f96422aacc181047ff111d368a7df
chan_agent: Fix agent_indicate() locking.

Avoid deadlock potential with local channels and simplify the locking.
........

Merged revisions 378427 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 378428 from http://svn.asterisk.org/svn/asterisk/branches/11

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