diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-11-29 02:18:07 +0200 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-08 16:10:58 +0200 | 
| commit | a34b5655caf1e1e4fdf3e83a3e6bcc6119f73bcb (patch) | |
| tree | 57295a581f9edf4adfabafd62c5ef96a195c91cf | |
| parent | f9a240b29b4386f3583cc197c2d36b55d8046dab (diff) | |
Use proper phone number type
| -rw-r--r-- | audio/telephony-maemo.c | 8 | 
1 files changed, 5 insertions, 3 deletions
| 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) | 
