Instead of attempting to pass through AST_EVENT_DEVICE_STATE, use DEVICE_STATE_CHANGE
authorRussell Bryant <russell@russellbryant.com>
Thu, 17 Jul 2008 14:46:29 +0000 (14:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 17 Jul 2008 14:46:29 +0000 (14:46 +0000)
commit7613e369b2abd997c1fdbf3982e0f21a857e4d70
tree4be66f321b2e0769adb967e1d2016b0b51fddd71
parent1517710d7e51632b04e8372f6f933a5682454924
Instead of attempting to pass through AST_EVENT_DEVICE_STATE, use DEVICE_STATE_CHANGE
instead.  DEVICE_STATE is a state change on one server, and DEVICE_STATE_CHANGE is
the "real" state of that device across all servers sharing state.  This would have
only been a problem with distributed device state.

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