summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-29 01:59:30 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-29 01:59:30 +0200
commit7284f1b2a4d79df86ab506370d26cfff61fa8246 (patch)
treecfc2cd9b5f7164b8b707460072d9b689568711b4
parent5a1584cd91b0dd8e568c21a0ca648044802ca10f (diff)
downloadbluez-7284f1b2a4d79df86ab506370d26cfff61fa8246.tar.gz
Use valid number type for HFP
-rw-r--r--audio/telephony-dummy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c
index 0c7ff9d90..780d715d8 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);
}