Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors setting user presence from API and phone codes #6211

Closed
b9874e40962149eee62a8fd3bc4e709e opened this issue Jul 6, 2023 · 5 comments
Closed
Labels
bug A defect of the software nethcti Relative to NethCTI client or server verified All test cases were verified successfully

Comments

@b9874e40962149eee62a8fd3bc4e709e

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

  • nethcti-server
  • astproxy
@b9874e40962149eee62a8fd3bc4e709e b9874e40962149eee62a8fd3bc4e709e added bug A defect of the software nethcti Relative to NethCTI client or server labels Jul 6, 2023
@b9874e40962149eee62a8fd3bc4e709e
Copy link
Author

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.

b9874e40962149eee62a8fd3bc4e709e pushed a commit to nethesis/nethcti-server that referenced this issue Jul 10, 2023
Enhance user presence management and make it clearer

nethesis/dev#6211
b9874e40962149eee62a8fd3bc4e709e pushed a commit to nethesis/astproxy that referenced this issue Jul 10, 2023
@b9874e40962149eee62a8fd3bc4e709e
Copy link
Author

A diagram to explain how setPresence works:
Digrams (1)

@andrea-marchionni andrea-marchionni added the testing Packages are available from testing repositories label Jul 13, 2023
@andrea-marchionni andrea-marchionni added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jul 14, 2023
@andrea-marchionni andrea-marchionni removed their assignment Jul 14, 2023
@nethbot
Copy link
Member

nethbot commented Jul 26, 2023

in 7.9.2009/nethesis-updates:

  • nethcti-server3-3.29.0-1.ns7.x86_64.rpm x86_64
  • nethcti-server3-debuginfo-3.29.0-1.ns7.x86_64.rpm x86_64

@Stell0 Stell0 closed this as completed Jul 26, 2023
b9874e40962149eee62a8fd3bc4e709e pushed a commit to nethesis/nethcti-server that referenced this issue Sep 5, 2023
Fix auto dnd on logout and login

Related to: nethesis/dev#6211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software nethcti Relative to NethCTI client or server verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

4 participants