summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-21 16:12:39 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commitdb05f2081923c8e8d8b656b203bc3ee01d63c5d7 (patch)
treec9d13a1d135fc328cce7d44a322d0278d5ba79cd /audio
parent5bb5bb90af8662c203232bd592349fc9a2181eff (diff)
Fix incoming call indication
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index e177f32b..4ccc4886 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -432,8 +432,7 @@ static void handle_incoming_call(DBusMessage *msg)
g_free(call->number);
call->number = g_strdup(number);
- telephony_update_indicator(maemo_indicators, "callsetup",
- EV_CALLSETUP_INCOMING);
+ telephony_incoming_call_ind(number, 0);
debug("Incoming call to %s from number %s", call_path, number);
}
@@ -554,6 +553,8 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
EV_CALLSETUP_OUTGOING);
break;
case CSD_CALL_STATUS_COMING:
+ telephony_update_indicator(maemo_indicators, "callsetup",
+ EV_CALLSETUP_INCOMING);
call->originating = FALSE;
break;
case CSD_CALL_STATUS_PROCEEDING: