diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-11-29 01:59:30 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-11-29 01:59:30 +0200 |
commit | 7284f1b2a4d79df86ab506370d26cfff61fa8246 (patch) | |
tree | cfc2cd9b5f7164b8b707460072d9b689568711b4 /audio | |
parent | 5a1584cd91b0dd8e568c21a0ca648044802ca10f (diff) |
Use valid number type for HFP
Diffstat (limited to 'audio')
-rw-r--r-- | audio/telephony-dummy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 0c7ff9d9..780d715d 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -166,7 +166,8 @@ void telephony_subscriber_number_req(void *telephony_device) { debug("telephony-dummy: subscriber number request"); if (subscriber_number) - telephony_subscriber_number_ind(subscriber_number, 0, + telephony_subscriber_number_ind(subscriber_number, + NUMBER_TYPE_TELEPHONY, SUBSCRIBER_SERVICE_VOICE); telephony_subscriber_number_rsp(telephony_device, CME_ERROR_NONE); } @@ -180,7 +181,7 @@ void telephony_list_current_calls_req(void *telephony_device) CALL_MODE_VOICE, CALL_MULTIPARTY_NO, active_call_number, - 0); + NUMBER_TYPE_TELEPHONY); telephony_list_current_calls_rsp(telephony_device, CME_ERROR_NONE); } @@ -248,7 +249,7 @@ static DBusMessage *incoming_call(DBusConnection *conn, DBusMessage *msg, active_call_status = CALL_STATUS_INCOMING; active_call_dir = CALL_DIR_INCOMING; - telephony_incoming_call_ind(number, 0); + telephony_incoming_call_ind(number, NUMBER_TYPE_TELEPHONY); return dbus_message_new_method_return(msg); } |