1

我想在 RingCentral 中获取来电者姓名和其他详细信息。到目前为止,我可以使用DetailedTelephonyState事件获取来电详细信息,但这不提供来电者姓名,它只提供来电号码。

提前致谢...

4

1 回答 1

0

该信息目前不在事件中。您可以在定义中ActiveCallInfo包含的定义中查看 OpenAPI 2.0 规范中的DetailedExtensionPresenceWithSIPEvent定义。我在下面包含了相关的摘录。

如果您想要实时获取此信息,您可能需要通过 (a) 用户的 RingCentral 个人通讯录、(b) 帐户的 RingCentral 公司通讯录、(c) 您的 CRM/帮助台应用程序或 (d) 进行查找第三方来电显示 (CNAM) API。

要查看我们是否可以将此作为增强功能添加到活动中,请通过我的个人资料页面上的电子邮件地址与我联系。

ActiveCallInfo定义

ActiveCallInfo:
  type: "object"
  properties:
    id:
      type: "string"
      description: "Internal identifier of a call"
    direction:
      type: "string"
      description: "Call direction"
      enum:
        - "Inbound"
        - "Outbound"
    from:
      type: "string"
      description: "Phone number or extension number of a caller"
    to:
      type: "string"
      description: "Phone number or extension number of a callee"
    telephonyStatus:
      type: "string"
      description: "Telephony call status"
      enum:
        - "NoCall"
        - "CallConnected"
        - "Ringing"
        - "OnHold"
        - "ParkedCall"
    sipData:
      $ref: "#/definitions/DetailedCallInfo"
    sessionId:
      type: "string"
      description: "Internal identifier of a call session"
    terminationType:
      type: "string"
      description: "Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices"
      enum:
        - "final"
于 2018-06-13T18:22:12.900 回答