summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-21 11:17:53 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commit3e0fcbbff68f661c28bba0bd0e90108feb22a241 (patch)
tree87acdee9c95e1e52726d720a95ebb182868fa610 /audio
parent5aca05e22e0d14c3e614bdb17ae09d1565d8228a (diff)
Use the new telephony_ready_ind API with CHLD support
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c6
1 files changed, 5 insertions, 1 deletions
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);