From eb0d7c18b0b7e487b7d65e99cc04526a8f4546e9 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)>
Date: Thu, 5 Nov 2009 15:49:42 -0500
Subject: [PATCH] [#2391] Add debug when call state is not valid

---
 sflphone-common/src/managerimpl.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp
index f4b01094c3..cdbdc87798 100644
--- a/sflphone-common/src/managerimpl.cpp
+++ b/sflphone-common/src/managerimpl.cpp
@@ -1241,6 +1241,9 @@ ManagerImpl::joinParticipant(const CallID& call_id1, const CallID& call_id2)
 	_audiodriver->getMainBuffer()->unBindAll(call_id1);
 	conf->bindParticipant(call_id1);
     }
+    else{
+        _debug("    CAll State not recognized");
+    }
 
     currentAccountId = getAccountFromCall (call_id2);
     call = getAccountLink (currentAccountId)->getCall (call_id2);
@@ -1264,6 +1267,9 @@ ManagerImpl::joinParticipant(const CallID& call_id1, const CallID& call_id2)
 	_audiodriver->getMainBuffer()->unBindAll(call_id2);
 	conf->bindParticipant(call_id2);
     }
+    else{
+        _debug("    CAll State not recognized");
+    }
 
     // finally bind main participant to conference
     // addMainParticipant(default_conf);
-- 
GitLab