From b45c8e0a3ca95d5bd4c95bada55208b753d355c2 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.net> Date: Mon, 24 Aug 2009 15:02:22 -0400 Subject: [PATCH] [#2006] Add call new state conferencing in deamon --- sflphone-common/src/call.cpp | 4 ++++ sflphone-common/src/call.h | 2 +- sflphone-common/src/managerimpl.cpp | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sflphone-common/src/call.cpp b/sflphone-common/src/call.cpp index b10dcaebda..0cd939e8b2 100644 --- a/sflphone-common/src/call.cpp +++ b/sflphone-common/src/call.cpp @@ -134,6 +134,10 @@ Call::getStateStr () break; + case Conferencing: + state_str = "CONFERENCING"; + break; + case Refused: case Error: diff --git a/sflphone-common/src/call.h b/sflphone-common/src/call.h index 9da757b19c..d810ba9539 100644 --- a/sflphone-common/src/call.h +++ b/sflphone-common/src/call.h @@ -67,7 +67,7 @@ class Call{ /** * The Call State. */ - enum CallState {Inactive, Active, Hold, Busy, Refused, Error}; + enum CallState {Inactive, Active, Hold, Busy, Conferencing, Refused, Error}; /** * Constructor of a call diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp index 096b1110d3..1cf1e00dab 100644 --- a/sflphone-common/src/managerimpl.cpp +++ b/sflphone-common/src/managerimpl.cpp @@ -2572,6 +2572,7 @@ ManagerImpl::getCallStatus (const std::string& sequenceId UNUSED) switch (call->getState()) { case Call::Active: + case Call::Conferencing: code="112"; status = "Established"; break; -- GitLab