[ekiga] Use a clearer error message in case of out of service



commit 1fbd0fbaba3d8f143cc5a9858633c257ef49d6d8
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Sep 6 19:01:12 2011 +0200

    Use a clearer error message in case of out of service

 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 479509d..fff4a5c 100644
--- a/lib/engine/components/opal/opal-call.cpp
+++ b/lib/engine/components/opal/opal-call.cpp
@@ -463,12 +463,14 @@ Opal::Call::OnCleared ()
     case OpalConnection::EndedByNoAnswer :
       reason = _("User is not available");
       break;
+    case OpalConnection::EndedByOutOfService:
+      reason = _("Service unavailable");  // this appears when 500 does not work
+      break;
     case OpalConnection::EndedByQ931Cause:
     case OpalConnection::EndedByDurationLimit:
     case OpalConnection::EndedByInvalidConferenceID:
     case OpalConnection::EndedByNoDialTone:
     case OpalConnection::EndedByNoRingBackTone:
-    case OpalConnection::EndedByOutOfService:
     case OpalConnection::EndedByAcceptingCallWaiting:
     case OpalConnection::NumCallEndReasons:
     default :



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