diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-05 11:38:07 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-05 11:38:07 +0300 |
commit | 1b971b060ba37714d970089e978fa720a2c9326c (patch) | |
tree | 14b87bf835c41d3c6664d06259064c5c65769dc1 /audio/telephony-dummy.c | |
parent | a3634219a1f00b7386c55f34d6707690ff73b605 (diff) |
Implement last number dialed (AT+BLDN) support
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r-- | audio/telephony-dummy.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 6c003066..46637b95 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -43,7 +43,7 @@ static gboolean events_enabled = FALSE; */ static int response_and_hold = -1; -static struct indicator indicators[] = +static struct indicator dummy_indicators[] = { { "battchg", "0-5", 5 }, { "signal", "0-5", 5 }, @@ -71,11 +71,19 @@ int telephony_response_and_hold_req(int rh) return 0; } +int telephony_last_dialed_number(void) +{ + /* Notify outgoing call set-up successfully initiated */ + telephony_update_indicator(dummy_indicators, "callsetup", 2); + + return 0; +} + int telephony_init(void) { uint32_t features = 0; - telephony_ready(features, indicators, response_and_hold); + telephony_ready(features, dummy_indicators, response_and_hold); return 0; } |