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.

19/2/2019

We released a free WebRTC to SIP gateway with GUI

We’ve been working on this free WebRTC to SIP gateway for several months and are happy to release it into the wild.

We think it’s more valuable, than other WebRTC to SIP Gateways, because it:

  • is free,
  • has a GUI,
  • passes the customer ID and name to the contact center.

In a nutshell, this is a free version of RichCall without video. If you would like to see how RichCall works with video, schedule a demo and let one of us show you everything..

4/2/2019