ari: Fix deadlock problem with functions that use autoservice.
authorDavid M. Lee <dlee@digium.com>
Thu, 5 Dec 2013 22:09:20 +0000 (22:09 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 5 Dec 2013 22:09:20 +0000 (22:09 +0000)
commitfc70db3a810dae81e0ba0e09ecf11468bbef4d54
tree545605754dfd898f06214dea9cd9c3330a51af64
parent8c3b94476449b81dae25871cbc72862883f71e58
ari: Fix deadlock problem with functions that use autoservice.

The code for getting channel variables from ARI assumed that you needed
to lock the channel in order to properly execute functions and read
channel variables. Apparently, this is not the case, since any dialplan
function that puts the channel into autoservice deadlocks when
attempting to remove the channel from autoservice.
........

Merged revisions 403342 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/stasis/control.c