mirror of git://git.sysmocom.de/ofono
tools: Decode the Multiparty property in Huawei audio utility
This commit is contained in:
parent
5879048ee4
commit
16ded192ac
|
@ -186,6 +186,13 @@ static void call_set(struct call_data *call, const char *key,
|
|||
if (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_STRING)
|
||||
dbus_message_iter_get_basic(iter, &str);
|
||||
|
||||
if (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_BOOLEAN) {
|
||||
dbus_bool_t val;
|
||||
|
||||
dbus_message_iter_get_basic(iter, &val);
|
||||
str = (val == TRUE) ? "yes" : "no";
|
||||
}
|
||||
|
||||
g_print("updating call (%s) [ %s = %s ]\n", call->path,
|
||||
key, str ? str : "...");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue