diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-02 15:00:14 +0300 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-02 15:00:14 +0300 | 
| commit | 3f0968edd3c7a220fe0a4413d5662921efa7a7b9 (patch) | |
| tree | a8cc9fdd893fbb3044d3548a978f50c0497969a3 /audio/headset.c | |
| parent | 167c10dcff54bfc92a2bc86ac5a899ed04c3aa67 (diff) | |
Add support for subscriber number notification
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/audio/headset.c b/audio/headset.c index 2fce7b8c..2dc1dbe5 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2208,3 +2208,14 @@ int telephony_list_current_call_ind(int idx, int dir, int status, int mode,  	return 0;  } + +int telephony_subscriber_number_ind(const char *number, int type, int service) +{ +	if (!active_devices) +		return -ENODEV; + +	send_foreach_headset(active_devices, "\r\n+CNUM:,%s,%d,,%d\r\n", +				number, type, service); + +	return 0; +} | 
