[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "presence" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Sep 9 18:03:55 CDT 2011


branch "presence" has been updated
       via  017d8e58619725deb642470c57bd63b97ab8f997 (commit)
      from  8f724a5dedc30ee15e33e2ed892dc4412c471f89 (commit)

Summary of changes:
 slice/AsteriskSCF/Presence/PresenceIf.ice |   60 ++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 017d8e58619725deb642470c57bd63b97ab8f997
Author: Joshua Colp <jcolp at digium.com>
Date:   Fri Sep 9 20:09:33 2011 -0300

    Add a whole slew of states.

diff --git a/slice/AsteriskSCF/Presence/PresenceIf.ice b/slice/AsteriskSCF/Presence/PresenceIf.ice
index a51bf13..4e82169 100644
--- a/slice/AsteriskSCF/Presence/PresenceIf.ice
+++ b/slice/AsteriskSCF/Presence/PresenceIf.ice
@@ -37,7 +37,65 @@ module V1
     */
    enum State
    {
-       AVAILABLE,
+       /**
+        * State of the given endpoint is not yet known.
+        */
+       UNKNOWN,
+
+       /**
+        * Endpoint is not in use.
+        */
+       NOTINUSE,
+
+       /**
+        * Endpoint is in use.
+        */
+       INUSE,
+
+       /**
+        * Endpoint is busy.
+        */
+       BUSY,
+
+       /**
+        * Given endpoint is invalid.
+        */
+       INVALID,
+
+       /**
+        * Endpoint is currently unavailable.
+        */
+       UNAVAILABLE,
+
+       /**
+        * Endpoint is ringing.
+        */
+       RINGING,
+
+       /**
+        * Endpoint is ringing and in use.
+        */
+       RINGINGINUSE,
+
+       /**
+        * Endpoint is on hold.
+        */
+       ONHOLD,
+
+       /**
+        * Endpoint is away.
+        */
+       AWAY,
+
+       /**
+        * Endpoint does not wish to be disturbed.
+        */
+       DONOTDISTURB,
+
+       /**
+        * Endpoint has been away for quite awhile.
+        */
+       EXTENDEDAWAY,
    };
 
    /**

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list