From 12ba4e340b47de88e6d63268f89759554bd9ea6f Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Thu, 27 Jun 2013 14:18:31 -0400
Subject: [PATCH] * #7037: audio: stop audio stream if user starts then stops
 dialing

This allows other applications to resume audio.
---
 daemon/src/managerimpl.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp
index a7baefa434..232775291b 100644
--- a/daemon/src/managerimpl.cpp
+++ b/daemon/src/managerimpl.cpp
@@ -423,6 +423,7 @@ bool ManagerImpl::hangupCall(const std::string& callId)
     /* We often get here when the call was hungup before being created */
     if (not isValidCall(callId) and not isIPToIP(callId)) {
         DEBUG("Could not hang up call %s, call not valid", callId.c_str());
+        checkAudio();
         return false;
     }
 
-- 
GitLab