Set participant's name based on external data

Hi there,

I want to set up a jitsi instance with verification of call participant’s identities. I have an external service available which can provide me with names and other data given a token. What I would like to do is set each participant’s name to a value retrieved from the external service, and to disallow the participant to change their name in Jitsi.

I have been looking at intecepting XMPP messages in prosidy, which seems doable. Which messages would I need to send to update a participant’s screen name?

Is there some other easy way to achieve my goal?

Many thanks