Hello Glyn,
If you expand the API Responses section for that call in the API Explorer, you can see the following explanations for those fields:
inService:
(boolean) True if this trunk is in-service. This comes from the trunk_enabled property of the referenced trunk base.
enabled:
(boolean) True if the Edge used by this trunk is in-service.
While the trunk is out of service ("inService": false,) it is out of service and calls will not use that trunk.
------------------------------
Jason Kleitz
Online Community Manager/Moderator
------------------------------
Original Message:
Sent: 11-07-2025 05:55
From: Glyn Hayes
Subject: Trunk setting to disabled
Hi all,
I have a test external trunk to a SBC I don't always use so disabled it when not is use, i've disabled the below but for some reason Virsae monitoring systems still alerting as the general trunk page just shows OUT-OF-SERVICE:
set TRUNK STATE = OUT-OF-SERVICE
set SITE > OUTGOING ROUTE > SBC TRUNK = DISABLED
If I run the API GET /api/v2/telephony/providers/edges/trunks to check, still shows:
"inService": false,
"enabled": true,
I can only change the SITE > OUTGOING ROUTE > TRUNK status - GET /api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}
"enabled": false,
??? How can I basically just disable the trunk group ???
#Telephony
------------------------------
Glyn Hayes
Engineer
------------------------------