From 1b971b060ba37714d970089e978fa720a2c9326c Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 5 Sep 2008 11:38:07 +0300 Subject: Implement last number dialed (AT+BLDN) support --- audio/telephony-dummy.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'audio/telephony-dummy.c') 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; } -- cgit