Description
openedon Apr 24, 2023
- Package Name: @azure/communication-calling
- Package Version: 1.10.1
- Operating system:
- browser
- name/version: Google Chrome/112.0.5615.165
Describe the bug
We use the JavaScript Calling API of the Azure Communication Services in our product to allow the user to accept and initiate Microsoft Teams calls (here is the documentation from Microsoft: https://learn.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/?view=azure-communication-services-js).
When a user receives a call via a call-queue, we get the following object (callerInfo) over the interface:
"callerInfo":{
"identifier":{
"kind":"unknown",
"id":"28:orgid:eae6bcce-b5ba-45db-8a2f-5bdfcdc95df9"
},
"displayName":""
}
- IncomingCall: https://learn.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/incomingcall?view=azure-communication-services-js
- CallerInfo: https://learn.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/incomingcall?view=azure-communication-services-js#@azure-communication-calling-incomingcall-callerinfo
On the one hand we get the value "unknown" as IdentifierKind and on the other hand the UUID we get is the UUID of the call-queue (without any readable name) which has nothing to do with the caller. So we currently have no possibility to identify the caller before the call is answered.
We expect some information about the caller (PhoneNumberKind with a phone-number or MicrosoftTeamsUserKind with a MicrosoftTeamsUserId) and additionally the information about the call-queue (preferably we could display the same information as the Microsoft Teams Client does: "Call Queue: Support / Caller: John Doe").
To Reproduce
- Create an azure-communication calling application with Teams interoperability (https://learn.microsoft.com/en-us/azure/communication-services/how-tos/cte-calling-sdk/manage-calls)
- Receive a call via a Teams call-queue
- We get information about the call-queue
Expected behavior
We get information about the actual caller (and the call-queue).
Additional context
The information about the caller is essential for our product because a lot of our customers are using call-queues (typically call-centers) and must identify the customer before the call is answered.