For my application that leverages webhook to get telephony session notifications I need a way to uniquely identify calling/answering agent. The typical notification that I receive looks like this one below:
Currently for user identification I use name field. I marked the field that is currently used for identification. I need this information to uniquely map calling/answering agent with some entity in my system.
So my questions here:
1. Is it possible that two agents have same name in the system? In this case the field name cannot be used to uniquely identify agents.
2. Can extensionId be used to uniquely identify agents? If yes, then where can I get the extensionId for a particular agent, as this information available in notification only and not in Admin Console (at least I wasn't able to find it there). I assume that what is displayed in Ext. column is not actual extension as for user with the name Nikolai Chashchin Ext.101 is displayed while with the notification I get 315395004
3. Are there any other options to get agent identify from the notification?
4. Is Admin Console the only way to enter users to the system. Is there a way to import users from Microsoft Active Directory f.ex?