diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-21 16:19:05 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-08 16:10:56 +0200 |
commit | b2fe1d3c22c0001baa194d8a37540dcefb374906 (patch) | |
tree | 82fb084f63ce1116ac546d9932a024788587ea30 | |
parent | db05f2081923c8e8d8b656b203bc3ee01d63c5d7 (diff) |
The Coming signal comes in practice before the CallStatus(COMING) signal
-rw-r--r-- | audio/telephony-maemo.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 4ccc4886..6619dcb1 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -429,12 +429,15 @@ static void handle_incoming_call(DBusMessage *msg) return; } + debug("Incoming call to %s from number %s", call_path, number); + g_free(call->number); call->number = g_strdup(number); - telephony_incoming_call_ind(number, 0); + telephony_update_indicator(maemo_indicators, "callsetup", + EV_CALLSETUP_INCOMING); - debug("Incoming call to %s from number %s", call_path, number); + telephony_incoming_call_ind(number, 0); } static void get_remote_reply(DBusPendingCall *pending_call, @@ -553,8 +556,6 @@ 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: |