Should the below code work?
var audio = new Audio('https://uccx-001-app-prod.statebridgecompany.com:8445/3rdpartygadget/files/audio/dialer.mp3');
Can you explain further on hoe exactly you want it to play over the phone instead of the computer?
Do you want it to play to only the agent? When? Does the agent click a button on the Finesse gadget and it plays?
Or, do you want it to play to the customer? For music on hold? Before the agent answers?
We have VDI's and the headset is plugged into the phone.
When the agent answers a call, the gadget now plays a computer audio file based on the type of call or info in the call variables.
Since in our setup there is no audio device except for the phone headset cp8851 phone, is it possible to port these alerts somehow into the headset from the computer or some other way. Maybe even a ringtone?
Hm. To be honest, I don't have any experience with this use case. It is a valid one, but just never researched it.
I will say that Finesse doesn't have any direct control of the phone itself. That would be all CUCM. So maybe there is something on the CUCM side that can change the ringtone?
Sorry, that is all I can contribute to your question.