04-01-2015 12:41 PM
I am working on a Finesse gadget to do a consult call. When I execute the consult I get an HTTP 200 back but it says "This request requires authentication" and nothing happens.
Use case;
1. An agent makes a call and the customer answers.
2. The agent then clicks on a button which calls the ExecuteConsultCall() method.
Here is a code snippet:
var m_dialog;
function ExecuteConsultCall() {
var callNumber = "916125551212";
var ext = user.getExtension();
console.log( "Transfer-Call to: " + callNumber);
console.log( "Extension: " + ext);
m_dialog.makeConsultCall(ext, callNumber, consultHandler);
}
handleDialogsLoaded = function(dialogs) {
dialogCollection = dialogs.getCollection();
for (var dialogId in dialogCollection) {
if (dialogCollection.hasOwnProperty(dialogId)) {
m_dialog = dialogCollection[dialogId];
break;
}
}
}
handleUserLoad = function (userevent) {
dialogs = user.getDialogs( {
onCollectionAdd : handleNewDialog,
onCollectionDelete : handleEndDialog,
onLoad : handleDialogsLoaded
});
};
Any ideas why I am getting an authentication error?
Thanks,
Patrick Curley
Solved! Go to Solution.
04-08-2015 10:39 AM
I solved the problem. I was using finesse-10.0.1.js instead of finesse-10.5.1.js. This is on UCCX 10.6. Now it works.
04-07-2015 09:16 AM
Making a consult call request does not need admin creds. It requires the creds of the agent who is requesting the consult and this agent needs to be a participant in the original active call.
http://cbabu-wiki.cisco.com:8080/display/Phoenix/Dialog+-+Make+a+Consult+Call+Request
04-07-2015 08:34 PM
I am calling the makeConsultCall method on the dialog object. See code snippet in original post. The agent is already logged in. The agent is a participant. It shouldn't need any authentication.
04-08-2015 07:46 AM
Could you do me a favor, and verify your browser is IE or Firefox, and that cookies are enabled?
04-08-2015 07:53 AM
I am using Firefox 37.0.1 & cookies are enabled.
04-08-2015 10:39 AM
I solved the problem. I was using finesse-10.0.1.js instead of finesse-10.5.1.js. This is on UCCX 10.6. Now it works.
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