Merge another change from team/russell/events
authorRussell Bryant <russell@russellbryant.com>
Tue, 10 Jun 2008 14:06:29 +0000 (14:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 10 Jun 2008 14:06:29 +0000 (14:06 +0000)
commit42c1e3601e58474efbd7081c6bfaafc0ea370a4f
tree09b6f1c8beeb38a06eabef0e249351347d1e4009
parent51602928e3069889a0b9bcbe492b52bd969b772b
Merge another change from team/russell/events

This commit breaks out some logic from pbx.c into a simple API.  The hint
processing code had logic for taking the state from multiple devices and
turning that into the state for a single extension.  So, I broke this out
and made an API that lets you take multiple device states and determine
the aggregate device state.  I needed this for some core device state changes
to support distributed device state.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/devicestate.h
main/devicestate.c
main/pbx.c