Free script to upload the prompts to Cisco UCCX via REST API

A scheme of an IVR in a contact center.

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.

How to use

Upload UCCX prompts via REST Api.

Prompts should be converted to valid audio format (8kbit mono U-law).
Keys by order:

  • -s [–ssl] validate ssl connection
  • -f [–force] force overwrite existing prompt
  • -a [–promptname] full or relative prompt file name | mandatory
  • -u [–username] uccx rest api user name | mandatory
  • -p [–password] uccx rest api user password | mandatory
  • -d [–directory] uccx prompt storage directory | mandatory

Usage example

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.

You can skip to the end and leave a response. Pinging is currently not allowed.

19/2/2019

Leave a Reply

Your email address will not be published.