From: Pekka Pessi <[email protected]>
---
src/voicecall.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/voicecall.c b/src/voicecall.c
index 2833fc6..d61ddd1 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -234,6 +234,7 @@ static void append_voicecall_properties(struct voicecall *v,
const char *callerid;
const char *timestr;
ofono_bool_t mpty;
+ ofono_bool_t mo;
status = call_status_to_string(call->status);
callerid = phone_number_to_string(&call->phone_number);
@@ -262,6 +263,13 @@ static void append_voicecall_properties(struct voicecall
*v,
ofono_dbus_dict_append(dict, "Multiparty", DBUS_TYPE_BOOLEAN, &mpty);
+ if (call->direction)
+ mo = FALSE;
+ else
+ mo = TRUE;
+
+ ofono_dbus_dict_append(dict, "Originated", DBUS_TYPE_BOOLEAN, &mo);
+
if (v->message)
ofono_dbus_dict_append(dict, "Information", DBUS_TYPE_STRING,
&v->message);
--
1.7.0.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono