UCCX Scripting: uploading recorded prompt to another webserver
I have a script that records a prompt and saves the resulting WAV to a folder in UCCX. Very basic and it works. Saving the prompt as a WAV file is secondary, what I really want to do with the recorded audio is send it, as a WAV, to another web server.
But, as I said, recording the prompt and saving it as a WAV to UCCX works great. I can download the WAV file from the CCX Administration site and it plays fine.
Now when I try to send that same WAV, or the audio from the "Recording" prompt, to the other webserver using the "Make REST Call" step the resulting file is not playable. When I open the WAV from UCCX and the resulting WAV that was transferred to the webserver side by side in a text editor it's clear that the transferred WAV is in a different encoding than the original. It's also a very different filesize.
But I'm out of ideas as to what I'm doing wrong since the "Make REST Call" it shouldn't be imposing any sort of encoding on the data unless it was told too in a header, which it's not.
Here's the relevant "SET" command that creates the body of the "Make REST Call" step (which is a Multipart POST):
I want to find out how many agents are configured for an attribute. I have followed all the steps which are provided by the Cisco UCCE 11.6 API guide but I could not get the count. Is it possible to get a count of agents or not?
Collaboration Management Knowledge Base
For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For other products, please contact Cisco TAC at https://www.cisco.com/c/en/us/support/index.html
Lately I have received a few requests from people asking if it was possible to Archive a Webex MessageSpace as in "download all messages".Interesting.
You can download all messages using the messages API but that leaves yo...
On May 10th 2021 a new API component was added: SPACE Tabs!
We call them ROOM tabs to be consistent with the room (space) API. Room Tabs represent an always available tab that is added as a tab in the space. It is co...
In a previous article I talked about the Cards & Buttons functionality of Webex Message. It's great to send nicely formatted or interactive messages.
What if you want to learn about Cards? There is a bot that teaches you all about Cards using...