cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
853
Views
0
Helpful
5
Replies

Consult Call asking for authentication

Patrick Curley
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

5 Replies 5

ewindgat
Level 5
Level 5

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

Patrick Curley
Level 1
Level 1

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.  

Could you do me a favor, and verify your browser is IE or Firefox, and that cookies are enabled?

Patrick Curley
Level 1
Level 1

I am using Firefox 37.0.1 & cookies are enabled.

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.

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: