+BT_EXPORT_API int bluetooth_hf_request_call_list_async(void)
+{
+ GVariant *reply = NULL;
+ GError *err = NULL;
+ int ret = BLUETOOTH_ERROR_INTERNAL;
+
+ BT_CHECK_ENABLED(return);
+
+ reply = __bt_hf_agent_dbus_send(BT_HF_OBJECT_PATH, BT_HF_INTERFACE,
+ "RequestCallListAsync", &err, NULL);
+ if (!reply) {
+ BT_ERR("Error returned in method call\n");
+ if (err) {
+ BT_ERR("Error = %s", err->message);
+ if (strstr(err->message, "No data"))
+ ret = BLUETOOTH_ERROR_NO_DATA;
+ else if (strstr(err->message, "NotConnected"))
+ ret = BLUETOOTH_ERROR_NOT_CONNECTED;
+ g_clear_error(&err);
+ }
+ return ret;
+ }
+
+ g_variant_unref(reply);
+ return BLUETOOTH_ERROR_NONE;
+}
+