From fc43271937812cf668b450dc07f77f5688ef6c87 Mon Sep 17 00:00:00 2001 From: Daniel Orstadius <daniel.orstadius@xxxxxxxxx> Date: Tue, 12 Oct 2010 14:09:55 +0300 Subject: [PATCH] Fix telephony-maemo6: call notification with call on hold BlueZ sends +CLIP and RING when there is an incoming call and no currently active call. If there is an active call it sends AT+CCWA (call waiting notification). Modification to send AT+CCWA instead of +CLIP and RING also when there is a call on hold (the incoming call goes into the waiting state). --- audio/telephony-maemo6.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index 05ff332..f0273ee 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -910,7 +910,8 @@ static void handle_incoming_call(DBusMessage *msg) telephony_update_indicator(maemo_indicators, "callsetup", EV_CALLSETUP_INCOMING); - if (find_call_with_status(CSD_CALL_STATUS_ACTIVE)) + if (find_call_with_status(CSD_CALL_STATUS_ACTIVE) || + find_call_with_status(CSD_CALL_STATUS_HOLD)) telephony_call_waiting_ind(call->number, number_type(call->number)); else -- 1.6.0.4