Resources | profiles | media | tonePackage

tonePackage

This object creates and configures a tone package, which defines a set of call progress tones for a given country or carrier.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of this tone package. This name should reflect the country or carrier which will be using this package.
packageIdMuint16 The tone package identifier defined by the Sonus Softswitch for this package.
toneTypeO This table contains elements which bind tone types to tone profiles for a given tone package.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusGen2Profiles:profiles/media/sonusGen2NrmTone:tonePackage={name}

RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusGen2Profiles:profiles/media --data '
<tonePackage>
     <name>{name}</name>
     <packageId>{packageId}</packageId>
</tonePackage>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusGen2Profiles:profiles/media/sonusGen2NrmTone:tonePackage={name}

  • No labels