I beg your pardon,
problem solved. However, i advise to update the documentation or the code because other users can fall in my same misunderstanding:
- in the doc of reg_fetch_contacts it is said that contact data could be accessed from the variable $imssulc;
- in the code the variable exported is $ulc, so the sintax is $(ulc(profile=>attribute)
Andrea