我怎么知道一个实体是队列还是在团队中参加的自动参加?

发布于 2025-01-24 23:18:54 字数 595 浏览 2 评论 0原文

我正在通过图形查询团队客户,当我通过呼叫记录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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Spring初心 2025-01-31 23:18:54

您可以扩展sessions,该会议代表呼叫中涉及的会话列表。

GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}?$expand=sessions

callercallee Endpoint 资源类型。

endpoint具有属性useragent useragent 类型。

如果useragentservice useragent类型,则可以检查属性角色。某些可能的值应为SkypeForBusinessCallqueuesSkypeforBusinessautoattendant

You can expand sessions which represents a list of sessions involved in the call.

GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}?$expand=sessions

Session has caller and callee properties of endpoint resource type.

Endpoint has property userAgent of userAgent type. The clientUserAgent and serviceUserAgent types inherit from this type.

If userAgent is serviceUserAgent type then you can check property role. Some of possible values should be skypeForBusinessCallQueues and skypeForBusinessAutoAttendant.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文