McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 38

↗ View in doc context
page
38
source
unity-connection/rest-api/cuti/cuti.md
chunk_id
unity-connection::rest-api::cuti::cuti::33

POST https://<connection-sever>/vmrest/voicefiles Accept: application/json Content-Type; application/json Connection: keep-alive Response Code: 201 0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav Step 2 Use the temporary file name to put the new audio data. The HTTP content type is "audio/wav" and the payload content is the audio data. The length of the greeting can be set under the System Settings > General Configuration settings. Here you can enter the maximum length for system call handler greetings. The range is 1 to 1,200 seconds and default setting is 90 seconds. Note The request is as follows: PUT https://<connection-server>/vmrest/voicefiles/<temporary file name> Response Code: 204 The content has been accepted and copied into the temporary file. JSON Example POST https://<connection-sever>/vmrest/voicefiles/<temporary file name> Accept: application/json Content-Type; application/json Connection: keep-alive Response Code: 204 Step 3 Add the file to the voice name. The request is as follows: PUT https://<connection-server>/vmrest/distributionlists/<distributionlistobjectid> Request Body: <Distributionlists> <VoiceName>0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav</VoiceName> </Distributionlists> Response Code: 201 JSON Example POST https://<connection-sever>/vmrest/distributionlists/<distributionlistobjectid> Accept: application/json Content-Type; application/json Connection: keep-alive { "VoiceName":"0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav" } Response Code: 201 Use the below URL in the browser to listen to the voice name. Cisco Unity Connection Telephony Interface (CUTI) API 34 Cisco Unity Connection Provisioning Interface (CUTI) API -- Voice Name Upload for Distribution Lists Add/Update the Voice Name for Users by Uploading a File from the Desktop