Author Message
dkalinasch
Joined: May 16, 2019
Messages: 35
Offline
Hello,

following the Avaya Aura Presence ServicesREST API Guide, the Event Delivery Snapin is mandatory to subscribe to presence updates (long polling).

We have installed the PresenceServices Snapin with version 7.1.2. and the EventingConnector in version 3.2.0.1.

I was not able to find a download or documentation about the Event Delivery Snapin.

Where can i download the Event delivery snapin?

Is there another way to receive Presence Status updates in an application (java web application), that runs outside the avaya environment.

Kind regards,
Domenic
MilosPujic2
Joined: Jul 10, 2019
Messages: 4
Offline
Hi Domenic,

The "Presence Services bundle", which you have probably downloaded to get the Presence Services snap-in svar file from, also contains the Event Delivery snap-in svar file e.g.

The PS bundle file: PresenceServices-Bundle-7.1.2.0.276.zip
Sub-directory: PresenceServices-OptionalComponents-7.1.2.0.212
File: EventDelivery-7.1.2.0.9.svar

The same directory contains the Presence REST API guide: REST-API-guide-176163.pdf

The best way to consume Avaya presence from an application that runs outside of the Avaya environment is to use the REST API, so I think you are on the right track.

Regards,
Milos

dkalinasch
Joined: May 16, 2019
Messages: 35
Offline
Hi Milos,

thanks for your response.I was able to install the Event Delivery SnapIn.

We are able to pull the presence state of a user via Adhoc Presence Retrieval.

But the following use case does not work (receive presence update events via long polling):

1) Login
2) pubSubContainersCreate

{
"pubSubContainer": {
"additionalResources": {
"capabilitiesPublication": {},
"presencePublication": {},
"serviceCapabilitiesSubscription": {},
"presenceSubscriptions": [ {}, {} ],
"watcherAuthReqSubscription": {},
"imSubscription": {},
"sentImSubscription": {},
"presentity": {}
},
"restPostbackUri": "https://subscribing-server.domain:port/EventDelivery/events"
}
}


3) presenceSubscriptionsReplace

{
"additionalProperties": {},
"resourceList": {
"additionalProperties": {},
"listDefaults": {
"aclConfirmHandling": "BLOCK",
"action": "ADD",
"additionalProperties": {},
"docType": "SUMMARY"
},
"presentities": [
{
"userIdentity": {
"addressSpaceId": "self"
}
},
{
"userIdentity": {
"addressSpaceId": "AVAYA_SMGR",
"userId": "user@domain.com"
}
},
]
}
}


4) long polling


In the presence services snapin (ps.log) log file we found the following warn message:

2019-09-16 14:06:32,709 [health-monitor-0] presence.health.HealthMonitorTask WARN - Health check failed - raising alarm HLTH_01 for issue: Number of configured users (1000) is over the support limit (0) for VM_PROFILE_1

In the event delivery snapin we receive the following warning:
2019-09-17 07:49:11,849 [GS-LRMI Connection-pool-1-thread-2] EventDelivery WARN - EventDelivery-7.1.2.0.9 - onEvent() Unacceptable content type application/vnd.avaya.presence-im.container.event.v1+json
2019-09-17 07:49:11,849 [GS-LRMI Connection-pool-1-thread-2] EventDelivery WARN - EventDelivery-7.1.2.0.9 - onEvent() Client accepted content type is application/*+json, application/json, /, text/plain
Go to:   
Mobile view