cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
762
Views
10
Helpful
1
Replies

Finesse Gadgets initiateDirectTransfer and makeConsultCall

kenneth.nnani
Beginner
Beginner

Hi,

I am currently working on implementing a couple of gadgets, and more specifically, Implementing a CallTransfer and CallConsult feature, I have read the docs from the site on how to use the interfaces from the finesse.restservices.Dialog classes.

finesse.restservices.Dialog.initiateDirectTransfer(mediaAddress, toAddress, handlers);

and also

finesse.restservices.Dialog.makeConsultCall(mediaAddress, toAddress, handlers)

https://developer.cisco.com/docs/finesse/#!javascript-library

I have tried the documented way of instantiating these methods as well as other approaches, however they don't seem to be working...please, can anyone help me to fix this issue...or maybe show me the right approach.

Best regards.

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi Kenneth,

These classes are not static methods so you need to call the initiateDirectTransfer and makeConsultCall on the dialog object itself. I would take a look at the LearningSampleGadget to see how to get the dialog object.

Thanx,

Denise

Getting Started

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: