03-23-2016 08:23 AM
Hello,
I try to upload a voicefile as described there: Cisco Unity Connection Provisioning Interface (CUTI) API -- Voice Name Upload for Users - DocWiki
The PUT method always return:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>UNSUPPORTED_AUDIO_FORMAT</code><message>unsupported audio format</message></errors></ErrorDetails>
The content-type is "audio/wav" and the file is the first wav file that I have found on my computer.
What can explain this error ?
Thanks and regards,
Fabien
Solved! Go to Solution.
03-23-2016 05:46 PM
if the wav file is PCM at 8000 samples per second, 16 bits per sample and 1 channel (i.e. mono) Connection will always accept the file. This is why several of my tools that upload greetings/voice names/broadcast messages and such use SoX library to convert the audio format accordingly before updating.
There's some wiggle room in what it'll accept but it's pretty fussy - I always stick to that setup.
03-23-2016 05:46 PM
if the wav file is PCM at 8000 samples per second, 16 bits per sample and 1 channel (i.e. mono) Connection will always accept the file. This is why several of my tools that upload greetings/voice names/broadcast messages and such use SoX library to convert the audio format accordingly before updating.
There's some wiggle room in what it'll accept but it's pretty fussy - I always stick to that setup.
03-24-2016 03:35 AM
Thank you for the answer. When I send a file with the given configuration, it works! Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide