Currently, we are using the SMACK library, where we can only get the subscription via AgentID, however, in finesse, we can log in with a username or login name.
Can anyone guide me on how we can subscribe to the XMPP events using a username?
Your tag is using CCX so is this a CCX deployment?
For CCX, the agent's login is the User ID in the CUCM end user configuration which can be alphanumeric or just numeric. Login to XMPP is done with that User ID.