diff options
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;  }  | 
