diff --git a/sflphone-common/src/call.cpp b/sflphone-common/src/call.cpp index b10dcaebda1f4c64f190d8296d6a666f87be6e5b..0cd939e8b245f164d8c15d1cc092856dd5705de6 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 9da757b19c43549438fee1889eeef471cb51ede6..d810ba9539ff773726abb75a1bf1594c13114161 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 096b1110d36351e1a81945508b661abe3722ef43..1cf1e00dabaa8dbfc5cfdfc990a41bc28e6e2e78 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;