我怎么知道一个实体是队列还是在团队中参加的自动参加?
我正在通过图形查询团队客户,当我通过呼叫记录API下载记录时,我会看到许多参与者,每个参与者由他们的ID引用。 其中一些似乎是呼叫队列或自动服务员,如果我向团队询问他们的/user
,我会得到一个记录:
%{
"@odata.type": "#microsoft.graph.user",
businessPhones: [],
displayName: "Phone Menu",
givenName: nil,
id: "xxxx-xxxx-451a-b6a9-ab6ab32744c0",
jobTitle: nil,
mail: nil,
mobilePhone: nil,
officeLocation: nil,
preferredLanguage: nil,
surname: nil,
userPrincipalName: "phonemenu.pbx@customer"
}
我可以说这是一个队列或自动参与者以他们的名义,但是有更好的方式知道这不是人类吗?
I am querying a Teams customer via Graph, and when I download a record for a call through the Call Record API, I see many participants, each of them referenced by their ID.
Some of them appear to be call queues or auto attendants, and if I ask Teams for their /user
I will get a record like:
%{
"@odata.type": "#microsoft.graph.user",
businessPhones: [],
displayName: "Phone Menu",
givenName: nil,
id: "xxxx-xxxx-451a-b6a9-ab6ab32744c0",
jobTitle: nil,
mail: nil,
mobilePhone: nil,
officeLocation: nil,
preferredLanguage: nil,
surname: nil,
userPrincipalName: "phonemenu.pbx@customer"
}
I can tell that this is a queue or an auto-attendant by looking at their name, but is there a better way of knowing this is not a human?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以扩展
sessions
,该会议代表呼叫中涉及的会话列表。caller
和callee
Endpoint 资源类型。endpoint
具有属性useragent
useragent 类型。如果
useragent
是service useragent
类型,则可以检查属性角色
。某些可能的值应为SkypeForBusinessCallqueues
和SkypeforBusinessautoattendant
。You can expand
sessions
which represents a list of sessions involved in the call.Session has
caller
andcallee
properties of endpoint resource type.Endpoint
has propertyuserAgent
of userAgent type. The clientUserAgent and serviceUserAgent types inherit from this type.If
userAgent
isserviceUserAgent
type then you can check propertyrole
. Some of possible values should beskypeForBusinessCallQueues
andskypeForBusinessAutoAttendant
.