Blogs

Showing 1 - 5 of 22 results.
Items per Page 5
of 5

Forums

« Back to General Questions

RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:

Combination View Flat View Tree View
Threads [ Previous | Next ]
Can a user be the part of more than one teams?

A user (agent) can NOT be part of more than one team.

There is a function in finesse.js,
/**
     * Getter for the team id.
     * @returns {String} The team id.
     */
    getId: function () {
        this.isLoaded();
        return this.getData().id;
    },
how can I access this method?

From the SampleGadget_Final that comes with the Finessse javascript library, here is an example:

document.getElementById('userId').innerHTML = user.getId();

Thanx David, but this will give me the userID i.e the ID user is logged in with, on the other hand I need to get the team ID of the user, functions name are same but they are definitely not going to be called via same object, so I need help with the object using which I can access getId() corresponding to teamId of a user.
 

Plus there is an API in finesse 9.1.1 "Dialog - Make a consult call request", its URI is "http://<server>/finesse/api/Dialog/<dialogId>", now if we have to make a consult call to one of the users from a given list, how do we get the "dialogId" of that user whom we want to transfer our call, inorder to complete the above API's URI.(the person transfering call is a non-administrator user).

The Finesse javascript library does not contain a function to get the teamid of a user, even though teamid is part of the WebServices API.

You do not use the dialogId of the user to make the consult call request to. You specify the media address of the destination.

With refrence to CISCO Finesse Web Services Guide for Release 9.1(1), page number 67, in "Dialog - Initiate Single Step Transfer" API,  "Therefore, the dialogId in the URL represents the Dialog ID of the active call."
URL is as follows : http://<server>/finesse/api/Dialog/<dialogId>
How can I get the value of this "dialogId" inorder to fire the corresponding http PUT request?

You should receive a list of dialogs which contains the dialog object in the XMPP message which contains the uri which has the dialog ID

See the Chapter on Cisco Finesse Notifications in the Cisco Finesse Web Services Guide. You will receive a Dialog notification when something changes to the User’s list of dialogs.
(When they login, each agent is automatically subscribed to the following notification feeds, where {id} represents the agent
ID for that agent:
• User - /finesse/api/User/{id}
• Dialogs - /finesse/api/User/{id}/Dialogs

From the Dialog object (see Dialog – Get Dialog) there is a uri

<Dialog>
<uri>/finesse/api/Dialog/12345678</uri>

</Dialog>

In finesse 9.1(1) can a supervisor supervise more than one teams?

Yes.  they should be added as supervisors to multiple teams in CCE, and then the drop-down team selector in the Team Performance gadget will show the teams that they can supervise.

In finesse 9.1.1 web services API's, "User - Get List of Dialogs Associated With User" API says in its security constraints that:
{ Role: Agent, Administrator
Limitations: Administrators can get a list of dialogs associated with any user. Agents can only get a list of their own dialogs.
}
Now, I am trying to access the dialogs of a user(Agent) by using the authentication credentials of an other user which is supervisor, but I am getting 401 error for that. Need some help to figure out what is wrong,
aren't the supervisor and administrator accounts same?

You can get the dialogs for a user (agent) by using the authentication credentials of an Administrator, not a Supervisor.

Can an Administrator subscribe to the dialogs of users(agents/supervisors) via open AJAX hub so that administrator can receive all the dialogs of users he/she is subscribed to? as I am able to get the dialogs of users with administrator credentials but I am still unable to subscribe to users' dialog using administrator credentials via pubsub' I am using pidgin & poster for testing'

The concept of administrator as super user is not currently supported.

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, April 11, 2013 9:45 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Absaar Javed in Finesse - General Questions: RE: Can a User be part of more than 1 team?

Absaar Javed has created a new message in the forum "General Questions": -------------------------------------------------------------- Can an Administrator subscribe to the dialogs of users(agents/supervisors) via open AJAX hub so that administrato can receive all the dialogs of users he/she is subscribed to? as I am able to access the dialogs of users with administrator credentials but I am still unable to subscribe to users' dialog using administrator credentials.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/finesse/community/-/message_boards/view_message/14155492 or simply reply to this email.

Collateral


No files available