Hi Harshit,
You could use Notifications API to monitor the health of your external sip trunks. Please check following for more info.
Available topics (genesys.cloud)v2.telephony.providers.edges.trunks.{id}
Schema
{
"id": "string",
"connectedStatus": {
"connected":
true,
"connectedStateTime": "string"
},
"optionsStatus": [
{
"proxyAddress": "string",
"optionState":
true,
"optionStateTime": "string",
"errorInfo": {
"text": "string",
"code": "string",
"details": {
"code": "string",
"message": "string",
"hostname": "string"
}
------------------------------
Asad Saqlain
------------------------------
Original Message:
Sent: 07-09-2021 00:40
From: Harshit Parsai
Subject: Monitor BYOC trunk status and auto-alert
Hi Team
I would like to know if there is some way/mechanism to monitor the health of the BYOC SIP trunks (External Trunks), so that if the Trunk goes out of service there can be an alert generated for the Partner and Customer Admin to investigate the issue.
#ArchitectureandDesign
#PlatformAdministration
#SIP/VolP
#Telephony
------------------------------
Harshit Parsai
CALLSCAN AUSTRALIA PTY. LTD.
------------------------------