07-06-2017 07:40 AM
I am creating a gadget to add notes to customer records in our database. I have all that working but would like to end the call when the user clicks the save button in the gadget. I can't seem to find anything on how to do that. Any help will be much appreciated.
Solved! Go to Solution.
07-10-2017 01:10 PM
I found it by looking at the start recording sample, and editing it...
_dialog.requestAction(user.getExtension(), finesse.restservices.Dialog.Actions.DROP);
07-10-2017 12:09 PM
Hi Scott,
Ending a call in Finesse is taking an action on a participant for the dialog with an action of "DROP". The Finesse JavaScript library has a function requestAction from the Dialog class to do this: JsDoc Reference - finesse.restservices.Dialog
where the action is DROP: JsDoc Reference - finesse.restservices.Dialog.Actions
I hope this helps.
Thanx,
Denise
07-10-2017 01:10 PM
I found it by looking at the start recording sample, and editing it...
_dialog.requestAction(user.getExtension(), finesse.restservices.Dialog.Actions.DROP);
10-30-2018 02:20 AM
Hello,
But is it possible to DROP the a call if I am not answered yet? I tried other actions too, like REJECT, CLOSE and etc., but none of them are working if I not answered a call yet. So is it possible to reject incoming call through REST API?
10-30-2018 09:58 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: