summaryrefslogtreecommitdiffstats
path: root/audio/telephony-maemo.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/telephony-maemo.c')
-rw-r--r--audio/telephony-maemo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 692b84e7..0014cf11 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -544,11 +544,13 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
switch (status) {
case CSD_CALL_STATUS_IDLE:
- if (call->setup)
+ if (call->setup) {
telephony_update_indicator(maemo_indicators,
"callsetup",
EV_CALLSETUP_INACTIVE);
- else
+ if (!call->originating)
+ telephony_calling_stopped_ind();
+ } else
telephony_update_indicator(maemo_indicators, "call",
EV_CALL_INACTIVE);