Resources | system | virtualMediaGateway | mediaGatewayController

mediaGatewayController

The Media Gateway Controller of this Virtual Media Gateway.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring Name of the Media Gateway Controller.
addressTypeOenumerationipV4Addr Address Type of the Media Gateway Controller.
ipAddressV4Mipv4-address IPv4 address for this H248 signaling port.
ipAddressV6Mipv6-address IPv6 address for this H248 signaling port.
portNumberOint322944 UDP port number of the Media Gatewat Controller.
roleOenumerationprimary Role of the Media Gateway Controller.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusVirtualMediaGateway:virtualMediaGateway={name}/sonusMgc:mediaGatewayController={name}

RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusVirtualMediaGateway:virtualMediaGateway={name} --data '
<mediaGatewayController>
     <name>{name}</name>
     <ipAddressV4>{ipAddressV4}</ipAddressV4>
     <ipAddressV6>{ipAddressV6}</ipAddressV6>
</mediaGatewayController>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusVirtualMediaGateway:virtualMediaGateway={name}/sonusMgc:mediaGatewayController={name}

  • No labels