cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
668
Views
1
Helpful
7
Replies

"JSP files cannot be uploaded" Error When Uploading Prompts to UCCX

Kim Nielsen
Level 1
Level 1

Hi 

We have upgraded some 12.5(1)SU3 UCCX systems to the newest ES07 due to the security CVE-2025-20354 (CVSS-score: 9.8).

After this we have discovered that we can no longer upload UCCX wav files. We can download an existing file, upload it again, and it will fail with this error: "JSP files cannot be uploaded"

We also see an error like this: "Failed to upload file with path:/1.wav/" 

From what I can read on reddit, then this is also something happening on the newest 15.1 ES01 version of UCCX. 

There I can see that if you upload your wav file to CUCM as an MoH file, and download the ulaw file again from the cucm CLI, then it would work. 

We tried that and it worked.

But uploading every file to CUCM and back is not an option. 

Any other seen this? Any other solution than uploading the wav file to CUCM?

\Kim Nielsen

7 Replies 7

The g711.org method that is mentioned in the Reddit thread worked for me for ONE file, then would not work again. It's beyond frustrating.

Kim Nielsen
Level 1
Level 1

Heps,

It seems that there's gonna be an bug on this. CSCws06843. It's still not visible to the general audience. 

But there's not an fix on this. Only that you could convert the file to alaw and back to ulaw, and the upload it. 

I know that the workaround also mentioned in the Reddit link works. For us it does.

  1. Upload the WAV file to CUCM as a MoH file through the Web UI

  2. Download the converted WAV file to an SFTP server from the CUCM CLI

  3. Upload the downloaded/converted WAV file to UCCX through the Web UI

TAC said that the BUG only was on the 12.5(1)SU3 ES07, but I would imagine that there's gonna be a similar bug for 1501 ES01.

\Kim Nielsen

 

 

 

The bug report is now Customer Visible with some notes.  Using your method of using CUCM's MoH file conversion process worked well enough for me, thanks for sharing the details.  I plan to keep using that method until a final patch is implemented but in case anyone wants to read the post from the Bug Search tool here is the relevant portion.

 

Conditions: Uploading either .wav or zipped prompt file via UCCX Prompt management throws the error "JSP files cannot be uploaded" Steps to recreate 1) Login to CCX Administration -> Prompt Management -> Select language -> Upload prompt -> Upload .wav or zipped prompt file 2) Getting an error "JSP files cannot be uploaded" 3) Change the codec specification from ulaw to alaw and it works fine

Workaround: Convert the Codec format from Ulaw to Alaw and then retry the operation

 

robo764
Level 1
Level 1

I have a TAC case open for v15 ES01, and they've just sent me the above Bug ID (CSCws06843), even though it doesn't list v15 as affected. The suggested workaround (from the Bug page) also doesn't work (at least for v15).  I had to perform the "upload to CUCM as MoH" workaround.  I'm curious if just changing the codec works for v12.5.  I know in my own experience, it doesn't matter whether I convert it to u-law or a-law, it doesn't work.  

I'm on 12.5.1 SU3 ES7, and changing the codec did not work for me. I had to do the MoH conversion as recommended by TAC.

Kim Nielsen
Level 1
Level 1

The workaround mentioning to convert to alaw is also not working for us. We have a bunch of systems, on both 1501ES01 and 12.5(1)SU3ES07.

We always use ulaw when generating new prompts. Remember that alaw have given us problems in the past. System prompts come in ulaw format out of the ccx box. 

So the workaround is still the MoH way:

Upload the file to CUCM Steps to upload the prompt file:

* Login to CUCM.

* Go to Media Resource-->Music On Hold Audio File Management

* Upload the prompt (accept only .Wav format file)

* Login to CLI of CUCM same node.

* Run the below command and get list of prompts:

"file list activelog /mohprep/*"

  1. Download the ulaw.wav prompt to sftp server using below command: "file get activelog /mohprep/abc.ulaw.wav"
  2. Upload the file to UCCX.

 

It should be mentioned that we also sometime gets another error, that seems to be fixed with the MoH workaround. When uploading an prompt that for an example is named 16.wav, we could also get an error like this: 

Failed to upload file with path:/16.wav/

For now the only fix is the MoH workaround, or run the security risk and stay on 1501 or 12.5(1)SU3ES06.