* #7037: audio: stop audio stream if user starts then stops dialing

This allows other applications to resume audio.
This commit is contained in:
Tristan Matthews
2013-06-27 14:18:31 -04:00
parent 983d73fe00
commit 12ba4e340b

View File

@ -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;
}