Monitoring Gateway 订阅
您可以直接访问联络中心的健康和监控数据。Monitoring Gateway 订阅功能可让您将这些数据从 NiCE CXone 中提取出来,导入您自己的监控平台。 在您自己的平台中,您可以按照自己的需求可视化呈现此数据,并对联络中心的运行状况拥有更多的控制权和洞察力。 这些订阅可使您访问两种类型的数据:
-
在Voice Quality Metrics中提供的所有信息,例如丢包率、抖动率、MOS分数等。
-
有关 API 调用和来自 Studio 脚本的响应的信息。
NiCE CXone 通过 webhooks 生成这些数据。 您可以订阅特定类型的数据,例如脚本 API 响应或语音质量数据。 在设置与您的监控平台的订阅和连接后,NiCE CXone 会持续将数据推送到您的平台。 这可实现实时警报和分析,从而使您在出现问题时做出明智的决策。 它还有助于您识别趋势和模式,以便您能在任何质量问题影响联系人体验之前预测并主动预防它们。 这是与 Monitoring Gateway 的原生集成,因此您可以立即开始使用这些见解,无额外的开销或延迟。
场景 1:触发语音质量阈值违规的即时警报
情况
您希望尽量减少呼叫质量下降所造成的干扰。您已经使用企业监控平台来监测系统健康状况和警报,并且需要对语音质量指标进行实时可视化监控。
操作:
IT 团队设置 Monitoring Gateway 订阅,以便将语音质量数据从 NiCE CXone 流式传输到您的监控平台。他们为关键阈值配置警报,例如:
-
丢包率:> 2%
-
抖动:> 30 ms
-
MOS 分数:< 3.5
当呼叫超出上述任一阈值时,监控平台会立即向网络操作团队触发警报。
结果:
在峰值小时期间,针对多个呼叫的高抖动触发了告警。团队迅速识别出发生故障的网络段,并在呼叫质量大面积下降之前重新路由了流量。这种主动的方式可防止对客户造成影响,并减少重复事件的发生。
场景 2:识别 Studio 脚本 API 调用中的延迟和失败模式
情况:
您注意到自动化工作流程(例如呼叫路由和 IVR
交互式语音应答。联系人通过语音或按键输入使用的自动电话菜单,用于获取信息、路由呼入语音通话,或兼具两者。 响应)存在间歇性延迟。这些延迟会影响客户体验并增加呼叫处理时间。
操作:
您的技术团队设置 Monitoring Gateway 个订阅,以将 Studio 脚本 API 调用和应答数据流式传输到您的企业监控平台中。他们配置仪表板和警报以跟踪:
-
API 应答时间
-
错误率
-
跨 Scripts 的失败模式
几小时之内,监控平台便发现某一特定脚本在峰值流量期间反复出现延迟峰值这一亮点。
结果:
团队进行调查,发现脚本中存在低效的 API 调用序列。他们通过减少冗余调用并改进错误处理来优化工作流程。因此,应答时间显著缩短,自动化流程运行顺畅。这种主动监控可防止未来发生中断,并提高系统的总体性能。
设置 Monitoring Gateway 订阅
订阅 webhook 需要在 NiCE CXone 和您的监控平台中都进行设置。 这可使您在这两个服务器之间建立 webhook。
先决条件
您必须设置自己的服务器来接收此监控数据。 该服务器的要求如下:
-
实施签名或 MTLS 身份验证方法。 在NiCE CXone界面中注册您的订阅时,您需要添加身份验证方法的详细信息,例如输入所需的密钥或证书。
-
公开 NiCE CXone 可以向其发送事件有效负载的端点。 该端点应是可公开访问的 URL,并且能够接收 POST 请求。 对于要接收的每个数据类型,您都必须有一个唯一端点。
查看示例 Voice Quality Metrics 有效负载
以下是脚本 API 响应的示例 JSON 有效负载。 凭借此有效负载,您可以:
{ \"ContactId\":8675309, \"DataSource\": "SBC EXMS", \"MasterContactId\":86753099, \"BusinessUnit\":1337, \"SkillId\":4, \"SkillName\":\"Mysteries Report\", \"TeamId\":1010, \"TeamName\":\"Mysteries\", \"AgentId\":1174, \"Agent\":\"Sherlock Holmes\", \"DbKey\":null, \"StartDateTime\":\"2024-03-26T13:57:41.727Z\", \"EndDateTime\":\"2024-03-26T13:57:47.009Z\", \"From\":\"+18018675309\", \"To\":\"1174\", \"Direction\":null, \"AvgJitter\":null, \"AvgPktLoss\":null, \"AvgMos\":null, \"AvgRFactor\":null, \"CallScore\":null, \"Poc\":\"MysteriesReportLine\", \"LineType\":\"webRTC\", \"DisconnectReason\":\"1\", \"Disposition\":\"Very Mysterious\", \"Callduration\":561, \"Ringtime\":null, \"Disconnecttime\":null, \"Cluster\":\"L69\", \"SipResponseCode\":null, \"SipFailureCode\":null, \"SipIsDroppedCode\":null, \"SipAbandonedByOriginator\":null, \"AvgBitrate\":0.0, \"AvgRtt\":0, \"IspProvider\":\"London Speed\", \"CallSetupTime\":898.0, \"OperatingSystem\":\"Windows\", \"OsVersion\":\"10\", \"LocationCountry\":\"England\", \"LocationCity\":\"London\", \"SdkVersion\":\"1.30.9\", \"Browser\":\"Firefox\", \"ConnectionType\":\"TURN\", \"MediaTransport\":\"udp\", \"AgentConsoleType\":\"MAX\", \"AgentConsoleVersion\":\"24.2\", \"spearlineAnalysis\":null }
查看示例脚本 API 有效负载
以下是脚本 API 响应的示例 JSON 有效负载。 凭借此有效负载,您可以:
-
跟踪成功和错误的 API 响应。
-
访问 API 消息以了解何时发生了错误。
-
显示并发调用、脚本和操作数量。
-
显示 API 延迟数据。
-
显示以下内容的分发:
-
最常使用的 Scripts。
-
最常使用的操作。
-
API 错误。
-
{ "source":"NICE", "event":"SCRIPT_API_MONITORING ", "timestamp":"4/20/2024 06:13:37 AM", "metadata":"[{ \"busNo\":\"4600000\", \"messageId\":\"123ed4d5-06bc-78a9-bf0-0f12345eb678\", \"contactId\":\"460000000000\", \"masterContactId\":\"460000000000\", \"scriptId/version\":\"130000000\", \"scriptName\":\"sub_webservice\", \"actionId\":\"40\", \"actionName\":\"Snippet\", \"actionLabel\":\"Do RESTful web service API call\", \"dateTime\":\"4/21/2023 11:20:20 AM\", \"apiEndpoint\":\"https://callbackurl.com", \"apiResponseCode\":\"200\", \"apiResponseMessage\":\"SUCESS\", \"responseTime\":\"1.000000\" }]” } -
创建订阅注册
所需权限:网关订阅 > 创建
-
在 NiCE CXone 中,导航到“网关订阅”:
- 单击应用选择器
并选择 Monitoring Gateway。 - 单击网关订阅。
- 单击应用选择器
- 单击创建。
- Select either MTLS or SIGNATURE AUTH for your authentication method. This is the authentication between NiCE CXone and your monitoring platform.
Learn more about fields in this stepAuth Type Details MTLS Mutual TLS (MTLS) authentication ensures secure communication by authenticating both the server and client using mutually approved keys.
The NiCE CXone webhook service authenticates itself using the key when prompted by the receiving server.
Signature
Signature authentication validates the payload of the webhook. It requires a secret key known by both the webhook producer and consumer. The consumer (your server) calculates the signature using a secret key and matches it with the one sent by the producer (NiCE CXone).
- 输入您在您服务器上实施的端点的回调 URL。
- 从选择要接收的数据下拉列表中,选择您要接收的数据。
了解有关此步骤中字段的更多信息数据类型 详细信息 脚本 API 监控 这是在 Studio scripts 中进行的 API 调用的任意请求或应答。 Voice Quality Metrics 此为您坐席客户端中跟踪的 WebRTC 数据。 此类数据也可在Voice Quality Metrics界面中获取。 - 单击添加。
- 您可以选择将多个数据类型添加到同一订阅。 如果添加更多数据类型,则每种数据类型都必须有自己的唯一回调 URL。 重复先前步骤以添加其他数据类型。
- Configure your authentication details. The fields that display depend on the authentication method you selected earlier in this task.
If you selected MTLSFIeld Details UPLOAD CERTIFICATE DATA This is a TLS certificate that contains a public key, issuer information, and an expiration date. ENTER KEY
The private key from your server. NiCE CXone presents this key and certificate to your server with each communication.
If you selected SIGNATURE AUTHField Details CONSUMER ID A unique identifier used to reference the client or consumer making the request. This ID is an essential part of the authentication process, helping to establish the identity of the requester and linking that identity to a specific cryptographic key.
PRIVATE KEY
The private key used to create a digital signature. The process of creating a digital signature typically involves generating a hash of the message or data. That hash is then encrypted with the sender's private key. The resulting digital signature is unique to both the message and the private key used to generate it. KEY VERSION A specific version or iteration of a cryptographic key used for signing digital data. Key versioning is particularly important in environments where cryptographic keys need to be rotated or updated regularly for security purposes. SIGNATURE URL The URL used to generate a digital signature. This is typically a full URL, including the protocol, hostname, path, and any query string parameters of a request. This URL is used as part of the data input when generating a digital signature.
To ensure the integrity and authenticity of a request, the URL and any headers or a body are used to create a string. The string is then signed using a cryptographic algorithm. This signature is then appended to the request, either in the query string or as a header.
REFRESH RATE How frequently the key is refreshed, like every 5 minutes. - 您可以选择添加希望 NiCE CXone 就此集成与其联系的人员的电子邮件地址。如果 webhook 未能传递其有效负载,NiCE CXone 会在此处通过电子邮件发送这些地址。
- 单击提交。