From db05f2081923c8e8d8b656b203bc3ee01d63c5d7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 21 Oct 2008 16:12:39 +0300 Subject: Fix incoming call indication --- audio/telephony-maemo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'audio/telephony-maemo.c') 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: -- cgit