cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

338
Views
0
Helpful
1
Replies
Highlighted
Beginner

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

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

Everyone's tags (6)
1 REPLY 1
VIP Advisor

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

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.


Anthony Holloway

If you found this post helpful, please consider clicking that helpful button!

And for a limited time, by marking helpful posts, you're also helping Doctors Without Borders
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here