This script was created to upload prompts to UCCX for work purposes.
You can download the script from GitHub.
This script can only upload files, you should convert prompt files to the required audio format previously.
The upload functionality is implemented as a shell script. It contains basic cURL, so rewriting it for Windows is quite straightforward.
Upload UCCX prompts via REST Api.
Prompts should be converted to valid audio format (8kbit mono U-law).
Keys by order:
python3 uccxpu.py -f -a testupload.wav -u uccxadmin -p uccxadminpassword -d default 10.10.10.10
Uploading is implemented as a shell script. But it should be no big deal to port it on Windows, it uses a cURL with several parameters, so if you have free time, go ahead.
This post is a translation and an extension to this post – the script was made by the author as well.