Merged revisions 101413-101414 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 31 Jan 2008 19:13:20 +0000 (19:13 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 31 Jan 2008 19:13:20 +0000 (19:13 +0000)
commite3caa423110952bf00092c801512abfae0ceb59d
treeb928f8c56f1087c4af68bf13f0cefc07dec51454
parent7492c04a23ed767440b3193e0fdc9ddd85e4dfc2
Merged revisions 101413-101414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101413 | russell | 2008-01-31 13:04:52 -0600 (Thu, 31 Jan 2008) | 2 lines

Add missing locking to the find_agent() function.

........
r101414 | russell | 2008-01-31 13:07:46 -0600 (Thu, 31 Jan 2008) | 3 lines

Move the locking from find_agent() into the agent dialplan function handler to
ensure that the agent doesn't disappear while we're looking at it.

........

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