summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-19 17:46:33 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-19 18:35:08 -0500
commitd704ba7fc282f19b98bc31085145502a7251fafc (patch)
treec1c5b0fa6df7affede7c5fc1c2c25d562af7fa5e
parentc5bee0bb6b154c1ebc5836fc98dafdf620e53d4a (diff)
downloadofono-d704ba7fc282f19b98bc31085145502a7251fafc.tar.bz2
Make sure call history handles waiting calls
Missed waiting calls were not being handled properly
-rw-r--r--src/voicecall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 47e293b5..35ffe59e 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1224,7 +1224,8 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id,
/* TODO: Emit disconnect reason */
voicecall_set_call_status(call, CALL_STATUS_DISCONNECTED);
- if (prev_status == CALL_STATUS_INCOMING)
+ if (prev_status == CALL_STATUS_INCOMING ||
+ prev_status == CALL_STATUS_WAITING)
__ofono_history_call_missed(modem, call->call, ts);
else
__ofono_history_call_ended(modem, call->call,