Hi!
It is very easy, just set "contactName" in the UserAgentOptions object you're passing to the register command.
Here's an example from my code:
const userAgentOptions: UserAgentOptions = {
authorizationPassword: password,
authorizationUsername: username,
contactName: username,
viaHost: userDomain,
transportOptions,
uri,
delegate: {
onInvite: (invitation) => this.onCallRecieve(invitation, self)
}
};