When the ast_device_state() function is called to retrieve device state, and
commit1c40ee99b26d37017b844dd18daefadce2398365
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 25 Jul 2008 12:42:25 +0000 (25 12:42 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 25 Jul 2008 12:42:25 +0000 (25 12:42 +0000)
treef6559a61d34e281691bf179a3ed30c4afd5034fb
parent1c2bd3ca7a6b9b596f2b90b74ce9a619a53e567c
When the ast_device_state() function is called to retrieve device state, and
the code checks to see if there is a cached state available, use the aggregate
cached state across all servers, and not just the local state.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133566 614ede4d-c843-0410-af14-a771ab80d22e
main/devicestate.c