/mcpC H A P T E R 7 Cisco Unity Connection Provisioning Interface (CUTI) API -- Voice Name Upload for Directory Handlers Links to Other API pages: Cisco_Unity_Connection_APIs • Voice Name Upload for Directory Handlers, on page 45 Voice Name Upload for Directory Handlers This API is used to upload voice name to the Directory Handler. There are three ways of uploading the voice name: • 1. Upload a .wav file from the desktop. • 2. Record using CUTI(Cisco Unity Telephony Interface) and then upload the recording. • 3. Pass the .wav file as the input stream to upload the voice name. Add/Update the Voice Name for Directory Handler by Uploading a File from the Desktop It is a 3 step process: Step 1 A placeholder for the WAV file must be created with a POST request. This is a temporary file placeholder that can be used for up to 30 minutes. If it is not used within 30 minutes (assigned to a resource), the file is assumed to be abandoned and is automatically cleaned. The request is as follows: POST https: //<connection-server>/vmrest/voicefiles Response Code: 201 The content will be the name of the newly created temporary .wav file. Cisco Unity Connection Telephony Interface (CUTI) API 45
