summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-21 16:32:53 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commite5cc17d4a1047c87aab213c171c18f98f1c4d5e2 (patch)
treea67dc1064fd4f3887afd55364dfa734781a8946f /audio
parentb2fe1d3c22c0001baa194d8a37540dcefb374906 (diff)
Also check for proceeding state when looking for incoming calls
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 6619dcb1..813fd770 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -252,6 +252,9 @@ void telephony_answer_call_req(void *telephony_device)
call = find_call_with_status(CSD_CALL_STATUS_MT_ALERTING);
if (!call)
+ call = find_call_with_status(CSD_CALL_STATUS_PROCEEDING);
+
+ if (!call)
telephony_answer_call_rsp(telephony_device,
CME_ERROR_NOT_ALLOWED);