From 039b6baf065a87d747647fb0477c799a9949ebf2 Mon Sep 17 00:00:00 2001
From: Leyla Farazha <leyla@lindenlab.com>
Date: Fri, 13 May 2011 11:01:36 -0700
Subject: [PATCH] EXP-783 User can accept a call and see end call option in IM
 window but they are in nearby voice

---
 indra/newview/llvoicechannel.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index b921b7a4815..bd12328a6bc 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -849,6 +849,8 @@ void LLVoiceChannelP2P::activate()
 		{
 			if (!LLVoiceClient::getInstance()->answerInvite(mSessionHandle))
 			{
+				mCallEndedByAgent = false;
+				mSessionHandle.clear();
 				handleError(ERROR_UNKNOWN);
 				return;
 			}
-- 
GitLab