unsigned int num_active = 0;
unsigned int num_held = 0;
GSList *notify_calls = NULL;
+ unsigned int mpty_ids;
if (!ok)
return;
- calls = at_util_parse_clcc(result);
+ calls = at_util_parse_clcc(result, &mpty_ids);
n = calls;
o = vd->calls;
g_slist_foreach(notify_calls, voicecall_notify, vc);
g_slist_free(notify_calls);
+ ofono_voicecall_mpty_hint(vc, mpty_ids);
+
g_slist_foreach(vd->calls, (GFunc) g_free, NULL);
g_slist_free(vd->calls);
{
struct ofono_voicecall *vc = user_data;
struct voicecall_data *vd = ofono_voicecall_get_data(vc);
+ unsigned int mpty_ids;
if (!ok)
return;
- vd->calls = at_util_parse_clcc(result);
+ vd->calls = at_util_parse_clcc(result, &mpty_ids);
g_slist_foreach(vd->calls, voicecall_notify, vc);
+ ofono_voicecall_mpty_hint(vc, mpty_ids);
}
static void hfp_voicecall_initialized(gboolean ok, GAtResult *result,