trace_id
trace_id(entry, "from", &req->id1, req->id1name, req->id1domain);
trace_id(entry, "to", &res->id, req->id2name, req->id2domain);