Skip to content
Snippets Groups Projects
Commit ed9728d8 authored by Jérémy Quentin's avatar Jérémy Quentin
Browse files

[#1312] Added new states for calls initialized by other clients

parent 03d715ca
Branches
Tags
Loading
......@@ -275,6 +275,14 @@ call_state Call::getStartStateFromDaemonCallState(QString daemonCallState, QStri
{
return CALL_STATE_RINGING;
}
else if(daemonCallState == DAEMON_CALL_STATE_INIT_INCOMING)
{
return CALL_STATE_INCOMING;
}
else if(daemonCallState == DAEMON_CALL_STATE_INIT_RINGING)
{
return CALL_STATE_RINGING;
}
else
{
return CALL_STATE_FAILURE;
......
......@@ -167,6 +167,8 @@
#define DAEMON_CALL_STATE_INIT_CURRENT "CURRENT"
#define DAEMON_CALL_STATE_INIT_HOLD "HOLD"
#define DAEMON_CALL_STATE_INIT_BUSY "BUSY"
#define DAEMON_CALL_STATE_INIT_INCOMING "INCOMING"
#define DAEMON_CALL_STATE_INIT_RINGING "RINGING"
#define DAEMON_CALL_STATE_INIT_INACTIVE "INACTIVE"
#define DAEMON_CALL_TYPE_INCOMING "0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment