Skip to content
Snippets Groups Projects
Commit a87ede8b authored by Adrien Béraud's avatar Adrien Béraud Committed by Guillaume Roguez
Browse files

manager: send event to client when call creation failed

Refs #63196

Change-Id: Id21a0a6bae72cfb95067c755ff4be43c99948506
parent 16dc05e6
No related branches found
No related tags found
No related merge requests found
...@@ -1708,11 +1708,11 @@ ManagerImpl::callBusy(const std::string& id) ...@@ -1708,11 +1708,11 @@ ManagerImpl::callBusy(const std::string& id)
void void
ManagerImpl::callFailure(const std::string& call_id) ManagerImpl::callFailure(const std::string& call_id)
{ {
client_.getCallManager()->callStateChanged(call_id, "FAILURE");
auto call = getCallFromCallID(call_id); auto call = getCallFromCallID(call_id);
if (!call) return; if (!call) return;
client_.getCallManager()->callStateChanged(call_id, "FAILURE");
if (isCurrentCall(*call)) { if (isCurrentCall(*call)) {
playATone(Tone::TONE_BUSY); playATone(Tone::TONE_BUSY);
unsetCurrentCall(); unsetCurrentCall();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment