Commit db9a70d6 authored by Hugo Lefeuvre's avatar Hugo Lefeuvre

call: missing call to callFailure in timeout case

In the case where call timeout is reached, the daemon calls
hangup(486), terminating the call. However this hangup call is not
followed by any kind of callFailure() function call meaning that the
tone and media states in the manager will not be reinitialized. As a
consequence the daemon will continue to ring even if the call has

This patch addresses this issue.

Change-Id: I2573e444179d5c6329896580dca5dd0111e57c6f
Gitlab: #48
parent 4d603bc4
......@@ -103,6 +103,7 @@ Call::Call(Account& account, const std::string& id, Call::CallType type,
RING_DBG("Call %s is still ringing after timeout, setting state to BUSY",
}, std::chrono::seconds(timeout));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment