12-02-2020 12:41 PM
We are able to updateCallVaribale with Gadget but looking to invoke this updateCallVaribale logic when agent transfer call to specific entry in/from PhoneBook.Below info is in ClientLog when i transferred to phoneNumber XXXXXXXX from Phonebook but not sure how to get this event check in JS file.
CallControl : _phonePadActionCallback(): invoking phonepad action with mode=MAKECALL number=XXXXXXX.
Any idea is really appreciated.
Solved! Go to Solution.
12-03-2020 07:54 AM
Thanks for quick response Denise. Let me look into this.
12-02-2020 01:08 PM
Hi,
Unfortunately there isn't a way for a custom gadget to be able to get that specific event because that is happening in another gadget (CallControl). The custom gadget can get events as a result of that action. In your scenario, is the agent doing a direct transfer or a consult transfer? If they are doing a consult transfer, maybe the gadget can listen to the event as a result of the consult call and perform the update call variable action. If it is a direct transfer, the only way to invoke the update call variable is for the agent to go to wrap up after the transfer is completed.
Thanx,
Denise
12-02-2020 01:30 PM
Thanks for quick response. In our scenario agent will do consult transfer.Can you please elaborate on - "maybe the gadget can listen to the event as a result of the consult call"?
12-02-2020 01:49 PM
Hi,
Sure. When the agent does a consult, the agent will get a dialog event(s) as a result of that action. Basically, the agent's dialog collection will increase with the new dialog. The custom gadget will get that event and when it does, you can do some checks and trigger the update call variable code you already have. I suggest taking a look at the learning sample gadget (https://github.com/CiscoDevNet/finesse-sample-code/tree/master/LearningSampleGadget) because it has the code to get the event as a result of the consult (handleNewDialog).
I hope that helps.
Thanx,
Denise
12-03-2020 07:54 AM
Thanks for quick response Denise. Let me look into this.
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: