Upload Voice Prompt via API
Customers now can use the “Upload Prompts User Configuration” to upload/replace voice prompt files as an
alternative method to the manual upload method on UCM PBX Settings→ Voice Prompt→ Custom Prompt.
The workflow of the prompt file upload goes as:
An HTTP/HTTPS request is sent to the UCM to upload/replace a voice prompt file, the request should include
authentication details to the UCM and the name of the file to be uploaded. Then the UCM will contact an FTP
server that should be hosted on the same IP address of the HTTP/HTTPS requester and download the prompt
file from the FTP server.
The steps and conditions to upload the voice prompt via API are listed below:
1. Configure the prompt User under value-added Features → API Configuration → Upload Prompts
User Configuration. By default, the username and password for voice prompt user are “Username:
uploader; Password: uploader123”.
Figure 262: Upload Prompt User Configuration
2. Hash the password of the user configured to an MD5 Encryption format.
3. Set the permission on the FTP server to Anonymous on the local computer hosting the FTP server and
make sure that the default FTP port 21 is used.
4. Send an HTTP/HTTPS command to trigger the Prompt file upload on the UCM. If UCM's HTTP server
is set to HTTPS, the example of the request sent to the UCM is: