09-13-2021 01:24 AM
Hi Everyone
I have an request from our customer about notification sound end call like beep or anything our client used all cisco jabber. because the condition now we replace from Avaya to cisco PCCE and then our customer says on avaya now after end call can give notification sound so the agent know if the call is ended.
The challenges is cisco can give the notification sound after call ended?
as i know the script announcement is used for incoming not for end call and then i try on the cucm but no clue for the configuration.
Solved! Go to Solution.
09-13-2021 09:39 AM
Your best bet is going to be around creating a custom gadget that watches the state of the agent and when it goes from Talking to something else send some sort of notification. Playing a sound on the phone is not going to be possible as the call has now dropped, but maybe playing a local (computer) sound would be possible.
david
09-21-2021 06:44 AM
@david.macias wrote:Your best bet is going to be around creating a custom gadget that watches the state of the agent and when it goes from Talking to something else send some sort of notification. Playing a sound on the phone is not going to be possible as the call has now dropped, but maybe playing a local (computer) sound would be possible.
david
good news our team @septianadiherlambang28153 already try as you suggest and work for now. below snippet code w used for play the audio after reason change to WorkReady
handleUserChange = function(userevent) { var currentState = user.getState(); clientLogs.log("currentState :" + currentState); if(currentState==="WORK_READY"){ var audio2 = new Audio('https://(FQDN-Finesse)/3rdpartygadget/files/EndCall.wav'); audio2.play(); } };
09-13-2021 09:39 AM
Your best bet is going to be around creating a custom gadget that watches the state of the agent and when it goes from Talking to something else send some sort of notification. Playing a sound on the phone is not going to be possible as the call has now dropped, but maybe playing a local (computer) sound would be possible.
david
09-15-2021 12:54 AM
09-21-2021 06:44 AM
@david.macias wrote:Your best bet is going to be around creating a custom gadget that watches the state of the agent and when it goes from Talking to something else send some sort of notification. Playing a sound on the phone is not going to be possible as the call has now dropped, but maybe playing a local (computer) sound would be possible.
david
good news our team @septianadiherlambang28153 already try as you suggest and work for now. below snippet code w used for play the audio after reason change to WorkReady
handleUserChange = function(userevent) { var currentState = user.getState(); clientLogs.log("currentState :" + currentState); if(currentState==="WORK_READY"){ var audio2 = new Audio('https://(FQDN-Finesse)/3rdpartygadget/files/EndCall.wav'); audio2.play(); } };
09-21-2021 08:36 AM
02-07-2023 09:30 AM
Hello Yasid,
could you give me please an advisement how to implement that Gadget Code in the Desktop Layout of an dedicated Team Ressource? Can it be embedded for example in an HTML file?
Unfortunately it is the first time i need to implement an Gadget or to modify the Desktop layout configuration...
Just to tell you what i did already and maybe you have a hint for me what i missed...
- Create a Notepad ++ File and added the code like followed and stored it as EndCall.html:
<script type="text/javascript">
handleUserChange = function(userevent) {
var currentState = user.getState();
clientLogs.log("currentState :" + currentState);
if(currentState==="WORK_READY"){
var audio2 = new Audio('https://localhost:8445/3rdpartygadget/files/EndCall.wav');
audio2.play();
}
};
</script>
- SFTP Login on UCCX Node via 3rdpartygadget, uploaded EndCall.wav and the EndCall.html
- Go in Cisco Finesse Administration on the Team which need to be modified... Tick Override System Default
- add Gadget under:
<role>Agent<\role>
<columns>
<column>
<gadgets>
<gadget>https://localhost:8445/3rdpartygadget/files/EndCall_Notification/EndCall.html</gadget>
- Save
- restart the Cisco Finesse Tomcat service
Something i missed here? Cause unfortunately the desired notification is not coming up...
Thanks
02-13-2023 01:20 AM
I think for the template you can't create a new HTML file but you can use the sample widget in the cisco devnet and edit as the code as you want.
https://developer.cisco.com/learning/labs/finesse-add-a-gadget/download-a-finesse-sample-gadget/
I hope this can help you.
Thanks
yasid
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