Fixes deadlock caused by calling get_cid_name with chan locked.
authorDavid Vossel <dvossel@digium.com>
Thu, 9 Apr 2009 17:39:10 +0000 (17:39 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 9 Apr 2009 17:39:10 +0000 (17:39 +0000)
commit19f381b4840f505f293610869be0f5290dc88913
treeac87757004af5e5f40c2490efe29a6323310897c
parent5b5bd544badbc8c8eb563ffdc9fdfd046e215bcb
Fixes deadlock caused by calling get_cid_name with chan locked.

get_cid_name should not be called with a channel lock.  get_cid_name calls ast_get_hint which eventually calls pbx_find_extension.  pbx_find_extension starts and stops autoservice which should not be done with a channel lock, so get_cid_name should not be called with one.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c