[ekiga] Be specific in the error message when calling an offline user



commit f716a8bec6efcaf2a1f9003175fe24b86add208b
Author: Eugen Dedu <eugen dedu univ-fcomte fr>
Date:   Tue Dec 8 10:28:54 2015 +0100

    Be specific in the error message when calling an offline user

 lib/engine/components/opal/opal-call.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-call.cpp b/lib/engine/components/opal/opal-call.cpp
index a55c92d..152101a 100644
--- a/lib/engine/components/opal/opal-call.cpp
+++ b/lib/engine/components/opal/opal-call.cpp
@@ -507,7 +507,6 @@ Opal::Call::OnCleared ()
     case OpalConnection::EndedByConnectFail:
     case OpalConnection::EndedByTransportFail:
     case OpalConnection::EndedByHostOffline:
-    case OpalConnection::EndedByTemporaryFailure:
     case OpalConnection::EndedByUnreachable:
     case OpalConnection::EndedByNoEndPoint:
     case OpalConnection::EndedByOutOfService:
@@ -515,6 +514,9 @@ Opal::Call::OnCleared ()
     case OpalConnection::EndedByNoRingBackTone:
       reason = _("Abnormal call termination");
       break;
+    case OpalConnection::EndedByTemporaryFailure:
+      reason = _("User is offline");
+      break;
     case OpalConnection::EndedBySecurityDenial:
     case OpalConnection::EndedByGatekeeper:
     case OpalConnection::EndedByGkAdmissionFailed:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]