Hi, for the customer field try to change macro in the following way:
uuid who;
string cntpersid, cntpersid2;
send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");
who=msg[0];
cntpersid = format("cnt:%s",who);
if (customer.persistent_id == cntpersid) {
set_return_data(TRUE);
} else {
set_return_data(FALSE);
}
But first of all i would suggest you to try solution that was provided by Brett.Zipkin. From my point of view it should work without any problem.