[ekiga] Presence: Added Asterisk specific states.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Presence: Added Asterisk specific states.
- Date: Thu, 24 Nov 2011 16:40:48 +0000 (UTC)
commit b35c5aebeccee8d1e68e30c783473b9273c3c306
Author: Damien Sandras <dsandras beip be>
Date: Thu Nov 24 17:40:26 2011 +0100
Presence: Added Asterisk specific states.
lib/engine/components/opal/opal-account.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index c28138d..7fcdd19 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -727,6 +727,11 @@ Opal::Account::OnPresenceChange (OpalPresentity& /*presentity*/,
|| note.Find ("lunch") != P_MAX_INDEX) {
new_presence = "away";
}
+ else if (note.Find ("phone") != P_MAX_INDEX
+ || note.Find ("ringing") != P_MAX_INDEX
+ || note.Find ("call") != P_MAX_INDEX) {
+ new_presence = "inacall";
+ }
}
break;
case OpalPresenceInfo::InternalError:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]