summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-27 18:44:14 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:58 +0200
commitf9a240b29b4386f3583cc197c2d36b55d8046dab (patch)
tree6b39a52ffcb3870cf97535b5fc8c8c9f3674fde3 /audio
parent893ce6b43100dcd3844ed4a59043fbbc7c9b6c01 (diff)
Add placeholder for NR & EC support
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 182ef8f2..9e02e5f5 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -674,6 +674,12 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd)
telephony_call_hold_rsp(telephony_device, CME_ERROR_NONE);
}
+void telephony_disable_nr_and_ec_req(void *telephony_device)
+{
+ debug("telephony-maemo: got disable NR and EC request");
+ telephony_disable_nr_and_ec_rsp(telephony_device, CME_ERROR_NONE);
+}
+
static void handle_incoming_call(DBusMessage *msg)
{
const char *number, *call_path;
@@ -1252,10 +1258,12 @@ static void registration_status_reply(DBusPendingCall *call, void *user_data)
dbus_uint16_t lac, network_type, supported_services;
dbus_uint32_t cell_id, operator_code, country_code;
dbus_int32_t net_err;
- uint32_t features = AG_FEATURE_REJECT_A_CALL |
+ uint32_t features = AG_FEATURE_EC_ANDOR_NR |
+ AG_FEATURE_INBAND_RINGTONE |
+ AG_FEATURE_REJECT_A_CALL |
AG_FEATURE_ENHANCED_CALL_STATUS |
- AG_FEATURE_EXTENDED_ERROR_RESULT_CODES |
- AG_FEATURE_INBAND_RINGTONE;
+ AG_FEATURE_ENHANCED_CALL_CONTROL |
+ AG_FEATURE_EXTENDED_ERROR_RESULT_CODES;
reply = dbus_pending_call_steal_reply(call);