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

Finesse Gadgets initiateDirectTransfer and makeConsultCall

kenneth.nnani
Level 1
Level 1

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