Skip to content
Snippets Groups Projects
Commit 5ad6d2a9 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

call state: detect when call is hungup during hold

If the connection state changes to disconnected while a
call is on hold, it should still emit a stateChanged signal
with HUNGUP as the new state.

Issue: #81544
Change-Id: I866bbb9f9cf666bc5d8b2113ab69b01a9ec40fbd
parent efd4a93a
No related branches found
No related tags found
No related merge requests found
......@@ -196,6 +196,8 @@ Call::getStateStr() const
}
case CallState::HOLD:
if(getConnectionState() == ConnectionState::DISCONNECTED)
return StateEvent::HUNGUP;
return StateEvent::HOLD;
case CallState::BUSY:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment