nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

Errors setting user presence from API and phone codes #6211

Closed SebastianMB-IT closed 11 months ago

SebastianMB-IT commented 1 year ago

Steps to reproduce

Change user presence more times and note that some requests fail leaving the user's presence in an undefined status

Expected behavior

User presence switch requests must be successful and consistent

Actual behavior

Sometimes the /user/presence API fails and logs a generic error independently of the used client.

Components

SebastianMB-IT commented 1 year ago

The same inconsistency is reproducible using the phone codes like *78 to set the presence, in this case only some extensions of the user takes the right status.

andrea-marchionni commented 1 year ago

http://packages.nethesis.it/nethserver/enterprise/7.9.2009/nethesis-testing/x86_64/Packages/nethcti-server3-3.28.8-1.7.g8b6def5.ns7.x86_64.rpm

SebastianMB-IT commented 1 year ago

A diagram to explain how setPresence works:

Digrams (1)
andrea-marchionni commented 1 year ago

http://packages.nethesis.it/nethserver/enterprise/7.9.2009/nethesis-testing/x86_64/Packages/nethserver-nethvoice14-14.18.3-1.9.gba5d7df.ns7.noarch.rpm

nethbot commented 11 months ago

in 7.9.2009/nethesis-updates: