04-08-2015 10:08 AM
Hello,
We need to develop a customzised finesse call control gadget, which includes features like makeCall, Transfer, Consult transfer, Hold, Answer, Drop. We are using Cisco Finesse - JavaScript Library, Version 10.5(1). We are developing our own custom call control gadget and hosting this and supporting resources in Finesse server itself.
I tried for direct transfer by calling "initiateDirectTransfer" function passing two arguments extension(source agent extension) and destExtnNo (destination extension). But we are not getting expected result.
As I am new to this, please let me know which functions should i need to call from our javascript for Transfer, Consult transfer, Hold, Answer, Drop features to work. Please correct me if I am wrong in this process.
Regards,
Vasim
04-13-2015 08:46 AM
For gadget javascript use:
dialog.initiateDirectTransfer(userExt, toAddress, callbackHandlers);
where userExt is the extension of the user requesting the transfer
and toAddress is the extension to transfer to
I tested the following and the transfer works for me
mySSTransfer : function (target){
clientLogs.log("transferring to " + target);
var options = {};
currdialog.initiateDirectTransfer(user.getExtension(), target, );
},
04-15-2015 12:03 AM
The initiateDirectTransfer only works with CCE.
What is the event for UCCX
As far as i found i can make a consultCall. But this is only opening a new call. Have can i make this as a "blind" transfer.
Im thinking the sequense of a one button event will be:
1. consultCall
2. waittimer 1 sec
3. transferCall
What is the commands i javascript for this
Best regards
Thomas
04-15-2015 04:26 AM
I have tried with
BlindTransfer: function (number) { | |
clientLogs.log("transferring to " + number); | |
currdialog.makeConsultCall(user.getExtension(), number, { success: SSTSuccess, error: SSTError }); | |
sleep(2000); | |
currdialog.requestAction(user.getExtension(), "TRANSFER", { success: SSTSuccess, error: SSTError }) | |
} |
function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds) {
break;
}
}
}
but this is not working... Anyone up for a solution for this ?
04-15-2015 01:44 PM
I didn't think that blind transfer was supported with Finesse and UCCX at the moment.
04-19-2015 10:01 AM
I know that blind transfer is not supported - that why i will make this as a consulted transfer with a waittime for 1 sek and then make the transfer. (automatic)
1. consultCall
2. waittimer 1 sec
3. transferCal
These 3 steps should be one button
11-10-2015 08:58 AM
Did you ever get this to work?
I know that 11.0 has new functionality that will address this but not every customer wants to upgrade to 11.0 right when it comes out.
11-29-2016 09:21 PM
There are a couple of things wrong on your code:
1. TRANSFER action should be sent to the previous call, not the new call (use a second variable as prevdialog).
2. sleeping will not work, you need to add a handler to your new call and whenever it goes to active, send the TRANSFER action to the previous dialog.
3. CUCCX script needs to answer the call, then put it on hold and wait before getting enterprise info
This can all be gone with version 11, but SingleStepTransfer is possible with CUCCX for this case.
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