Author Message
Joined: Aug 19, 2016
Messages: 36

Our team has made progress authenticating with Avaya Identity services and have followed the sample tutorials to create a clientSession. From that clientSession we have created an agent and work. From that work we have pulled the Interactions collection. At this point we have hit a bit of a wall. We believe that the Interactions collection is populated by ringing calls and that the agent has the ability to answer those calls but we have not seen any samples of this. Is there a resource we can go to that shows how a user would utilize Javascript to answer a call at a station? Furthermore, is our understanding of how the interactions collection is populated correct?

Joined: Dec 15, 2016
Messages: 22
Hi Don,

Your assumption is correct - the Interactions collection will be populated based on server events.

To understand how best to get working with interactions, have a look at the sample applications, or here:

To be notified when an interaction has been added to the collection:

//these events are attached to the Work object

and to add specific callbacks to an interaction object, example:

//this event is attached to the interaction object itself

Or, you could use a data-binding approach - as shown in one of the sample applications.
Both sample application show how to work with interactions, and carry out actions on an individual interaction - such as 'accept', 'end' etc.

It's also worth gaining an understanding of 'capabilities' at this point:

as these are also set by the server - they will give an indication on whether a requested action will be successful (i.e. on an interaction object there are a list of 'capabilities', if the 'canAccept' capability is false, then 'interaction.accept()' will likely fail)


CIS Package Support

Go to:   
Mobile view