From 3e0fcbbff68f661c28bba0bd0e90108feb22a241 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 21 Oct 2008 11:17:53 +0300 Subject: Use the new telephony_ready_ind API with CHLD support --- audio/telephony-maemo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index c1e9cfff..8ac65381 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -85,6 +85,9 @@ static char *subscriber_number = NULL; static gboolean events_enabled = FALSE; +/* Supported set of call hold operations */ +static const char *chld_str = "0,1,1x,2,2x,3,4"; + /* Response and hold state * -1 = none * 0 = incoming call is put on hold in the AG @@ -764,7 +767,8 @@ static void call_info_reply(DBusPendingCall *call, void *user_data) parse_call_list(&sub); - telephony_ready_ind(features, maemo_indicators, response_and_hold); + telephony_ready_ind(features, maemo_indicators, response_and_hold, + chld_str); done: dbus_message_unref(reply); -- cgit