From a34b5655caf1e1e4fdf3e83a3e6bcc6119f73bcb Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 29 Nov 2008 02:18:07 +0200 Subject: Use proper phone number type --- audio/telephony-maemo.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/telephony-maemo.c') diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 9e02e5f5..9549d4c3 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -524,7 +524,8 @@ void telephony_subscriber_number_req(void *telephony_device) { debug("telephony-maemo: 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); } @@ -588,7 +589,8 @@ void telephony_list_current_calls_req(void *telephony_device) telephony_list_current_call_ind(i, direction, status, CALL_MODE_VOICE, multiparty, - call->number, 0); + call->number, + NUMBER_TYPE_TELEPHONY); } telephony_list_current_calls_rsp(telephony_device, CME_ERROR_NONE); @@ -708,7 +710,7 @@ static void handle_incoming_call(DBusMessage *msg) telephony_update_indicator(maemo_indicators, "callsetup", EV_CALLSETUP_INCOMING); - telephony_incoming_call_ind(number, 0); + telephony_incoming_call_ind(number, NUMBER_TYPE_TELEPHONY); } static void handle_outgoing_call(DBusMessage *msg) -- cgit