Resources | profiles | media | announcementPackage

announcementPackage

The ANNOUNCEMENT PACKAGE object combines related announcements and maps the Segment ID of each unique announcement (.wav file) to an announcement name.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of this announcement package.
packageIdMuint16 The announcement package identifier defined by the Sonus Softswitch for this package.
elementO This table contains elements which bind announcement names to segment ID values for a given announcement package
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusGen2Profiles:profiles/media/sonusGen2NrmAnnouncement:announcementPackage={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 '
<announcementPackage>
     <name>{name}</name>
     <packageId>{packageId}</packageId>
</announcementPackage>
'

RESTCONF API: DELETE Example

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

  • No labels