Author Message
DanielStingl
Joined: Nov 20, 2013
Messages: 41
Offline
Hello,

we have some trouble with the presence module of JS SDK 4.15.0.0.

We used the samples from https://www.devconnectprogram.com/site/global/products_resources/avaya_client_sdk/programming_docs/current/javascript/communication/guide/publishing_presence.gsp

After login, we publish automatic presence like following:

selfPresence.setPhoneState(AvayaClientServices.Services.Presence.PhonePresenceState.PRESENCE_STATE_AVAILABLE);
selfPresence.setVideoState(AvayaClientServices.Services.Presence.VideoPresenceState.PRESENCE_STATE_AVAILABLE);
selfPresence.setEnterpriseIMState(AvayaClientServices.Services.Presence.IMPresenceState.PRESENCE_STATE_AVAILABLE);
presenceService.publishAutomaticPresence();


Then, the user publishes manual presence state:

presenceService.publishManualState(AvayaClientServices.Services.Presence.PresenceManualState.PRESENCE_STATE_BUSY);


The manual state will be published and distributed to other clients.

But how should we clear the manual state correctly? We are resetting the manual state with unspecified:

presenceService.publishManualState(AvayaClientServices.Services.Presence.ManualPresenceState.PRESENCE_STATE_UNSPECIFIED);


With this, there is a strange behavior:
We receive 2 presenceupdate events, one with overall-availability "offline" and a following one with "available".
But many times we are receiving the events in reversed order. At first the "available" and then the "offline" event. So, the last user presence received from the JS SDK is "offline".
IX Workplace for Windows also receives the offline presence.

Please see the attached log file which contains the chrome console log output from JS SDK.

Are we anything missing here? Is the publishManualState with unspecified the incorrect way to reset a manual state?
Any other ideas where to investigate?

Thanks
Daniel
Filename localhost-1631793036697.log [Disk] Download
aKhalimov012024
Joined: Sep 24, 2021
Messages: 1
Offline
Hi DanielStingl,

Could you, please, provide versions that you are using of Javascript SDK, AAWG, PMM?
Thank you in advance!

Best regards,
Albert,
Avaya DevConnect support team.
DanielStingl
Joined: Nov 20, 2013
Messages: 41
Offline
Hi,

the following versions are we using:

Javascript SDK: 4.15.0.0

Avaya Aura Web Gateway Services
Version: 3.9.0.0.625

PMM: I found following version in System Manager - Elements - Avaya Breeze - Service Management - Services:
PresenceServices: 8.1.4.0.69
CallEventControl: 3.8.0.2.380204
EventingConnector: 3.8.0.2.380204

Breeze:
Breeze Version: 3.8.0.2.380204


Thanks for investigating.

Daniel
aKhalimov012024
Joined: Sep 24, 2021
Messages: 1
Offline
DanielStingl,

Thank you for your information.
We were able to reproduce it and started to work on it. We will keep you posted about progress regarding this issue.

Best regards,
Albert,
Avaya DevConnect support team.

DanielStingl
Joined: Nov 20, 2013
Messages: 41
Offline
Hey Albert,

do you have any informations about this issue? When will it be fixed or is there a workaround?

Thanks
Daniel
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
This issue has been resolved and will be available in the next release.
DanielStingl
Joined: Nov 20, 2013
Messages: 41
Offline
Hi, great to hear!

Thanks for info.
DanielStingl
Joined: Nov 20, 2013
Messages: 41
Offline
Hi,

is there a release date of the next release announced?

Thanks
Go to:   
Mobile view