diff --git a/sflphone-client-kde/src/Call.cpp b/sflphone-client-kde/src/Call.cpp index e5f2e94c1f6cad8eee3ad25a3f2a25f44867b283..b2f6a6ab1c90377492888ded8cb671522f06e0ab 100644 --- a/sflphone-client-kde/src/Call.cpp +++ b/sflphone-client-kde/src/Call.cpp @@ -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; diff --git a/sflphone-client-kde/src/sflphone_const.h b/sflphone-client-kde/src/sflphone_const.h index 06d67cef2b1cd91e6d654cf6e066bc06db16a8ce..aa08c6e4e096ca92afacc8df1b30fdad59b25621 100644 --- a/sflphone-client-kde/src/sflphone_const.h +++ b/sflphone-client-kde/src/sflphone_const.h @@ -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"