---
 src/voicecall.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/voicecall.c b/src/voicecall.c
index bd64432..b40d284 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -630,6 +630,7 @@ static void voicecall_emit_multiparty(struct voicecall 
*call, gboolean mpty)
 
 static void voicecall_set_call_status(struct voicecall *call, int status)
 {
+       struct ofono_modem *modem = __ofono_atom_get_modem(call->vc->atom);
        DBusConnection *conn = ofono_dbus_get_connection();
        const char *path;
        const char *status_str;
@@ -658,6 +659,8 @@ static void voicecall_set_call_status(struct voicecall 
*call, int status)
                const char *timestr;
 
                call->start_time = time(NULL);
+               __ofono_history_call_started(modem, call->call,
+                                               call->start_time);
                timestr = time_to_str(&call->start_time);
 
                ofono_dbus_signal_property_changed(conn, path,
-- 
1.7.0.4

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to