cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
747
Views
0
Helpful
1
Replies

UCCX 10.5 - Playback on UCCX Repository Prompts from HTML Page.

Steven McGoff
Level 1
Level 1

Hello team,

 

I'm interested in trying to playback UCCX repository prompts from a page generated by a Send Http Response.  It's possible to list the prompts that are on the system using http://<server>/adminapi/

prompt/en_US/<etc>.  Just not sure how to go about playing the file.  I see the link if you click on the prompt in the repository, https://<server>/appadmin/Prompt?request_type=pgd.play&&filename=appStart.wav&&currentDir=/en_US/IVR_Callback/&&fileType=file.  Since this is a link that needs authentication, I'm not sure where to go from here.

 

I've come up with a solution that dumps the prompt to an SFTP and it would be up to the client to play the file from there, but I was trying to come up with a solution that keeps the file on the UCCX server.

 

Regards,

 

Steve

1 Reply 1

Anthony Holloway
Cisco Employee
Cisco Employee

Do I understand correctly, that you want a 3rd party web server to show a listing of all Prompts within the UCCX Prompt Repository, and also provide hyperlinks to access the file without the user providing credentials to do so?

 

If so, you would need server side scripting to perform the following tasks:

 

1) List the folders and files in the root of the prompt repository with an HTTP GET

https://{{UCCX}}/adminapi/prompt

 

2) List the folders and files in a specific folder with an HTTP GET

https://{{UCCX}}/adminapi/prompt/{{folder}}

 

3) Retrieve a specific file with an HTTP GET 

https://{{UCCX}}/adminapi/prompt/download/{{folder}}/{{file}}

 

How that all works on the server side, is dependent on what type of web server, the server side language you use, and the client side languages used as well.