Resources | global | monitorEndpoint | mct

mct

The Media capture Tool (MCT) is used for recording calls.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring the name of the monitor endpoint
trunkGroupMreference trunkgroup used by MCT
ipAddressMip-address The logical IP Address of the Interface.
portNumberOint325060 UDP/TCP port number of SIP signaling port.
stateOenumerationdisabled Administrative state of MCT. Changes may only be made while disabled and will only take effect when enabled next.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusGlobal:global/sonusMonitor:monitorEndpoint/mct={name}

RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusGlobal:global/sonusMonitor:monitorEndpoint --data '
<mct>
     <name>{name}</name>
     <trunkGroup>{trunkGroup}</trunkGroup>
     <ipAddress>{ipAddress}</ipAddress>
</mct>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusGlobal:global/sonusMonitor:monitorEndpoint/mct={name}

  • No labels