From 11963d129650ee002aa846c03122bd1ed3cd63f4 Mon Sep 17 00:00:00 2001
From: Yun Liu <yun@yun.(none)>
Date: Mon, 5 Jan 2009 14:54:28 -0500
Subject: [PATCH] Fix bug ticket #129

---
 src/managerimpl.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp
index 51d8342d80..ab0f97ff7d 100644
--- a/src/managerimpl.cpp
+++ b/src/managerimpl.cpp
@@ -274,6 +274,11 @@ ManagerImpl::answerCall(const CallID& id)
     return false;
   }
 
+  if (hasCurrentCall()) {
+    _debug("* Manager Info: there is currently a call, try to hold it\n");
+    onHoldCall(getCurrentCallId());
+  }
+
   if (!getAccountLink(accountid)->answer(id)) {
     // error when receiving...
     removeCallAccount(id);
-- 
GitLab