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

Lack of user feedback in regards to webrtc phone #5764

Closed
alepolidori opened this issue Mar 31, 2020 · 9 comments
Closed

Lack of user feedback in regards to webrtc phone #5764

alepolidori opened this issue Mar 31, 2020 · 9 comments
Labels
bug A defect of the software nethcti Relative to NethCTI client or server verified All test cases were verified successfully

Comments

@alepolidori
Copy link

Steps to reproduce

  • stop janus-gateway service
  • no visual feedback is provided to the end-user, but only the white color of the web phone on top bar
  • no feedback also for the web phone reconnection

Expected behavior

Whatever bad situation happen, a warning message has to appear on the front-end client, to inform user of the fact that he does not make a phone call anymore. Phone call is a crucial feature, so it has to be clear to the end-user what is happening.

Actual behavior

There is a very bad lack of information in regard of web phone problems.

Components

NethCTI Client: nethcti3

@alepolidori alepolidori self-assigned this Mar 31, 2020
@alepolidori alepolidori added bug A defect of the software nethcti Relative to NethCTI client or server labels Mar 31, 2020
@alepolidori
Copy link
Author

alepolidori commented Mar 31, 2020

Covered scenario:

  • stopped/restarted janus-gateway service
  • webphone registration failed
  • webphone disconnection/reconnection
  • cti server restart/reload
  • asterisk stop: this scenario is not managed. Janus webrtc continue to be online, no feedback is provided to the end-user who is able to make new calls which do not work. Also after asterisk restart some problems may arise on webphone. So new issue 5765 has been created.

A full-colored icon show the webphone status.
Each time the webphone is reconnecting or have a problem, the following feedback is provided to the end-user:

  • a loader on the webphone icon into the top bar will appear
  • the webphone icon into the top bar will change its color
  • a popup will be shown under the webphone icon into the top bar
  • the title of the browser will be changed blinking until the webphone has been registered correctly or the user has closed the popup
  • if the cti app is in background also a permanent desktop notification will appear:
    • the user can close it
    • it is automatically closed if the webphone has been registered correctly
    • the user can click it to immediately show the cti app in foreground

@alepolidori
Copy link
Author

Some graphical feedback status are:

  • online webphone:
    image
  • busy webphone:
    image
  • offline webphone: (this is a condition to be shown to the end-user because the webphone is a crucial feature)

a popup
image

favicon modified
image

dekstop notification
image

all the showed feedback for offline webphone can be closed and are automatically closed if the webphone can register correctly.
Desktop notification is showed only if the cti page is in background.

@alepolidori
Copy link
Author

How to test

  • verify with janus-gateway stop/start/restart
  • verify with nethcti-server stop/start/restart/reload
  • verify all above with cti in background and foreground

@alepolidori alepolidori added the testing Packages are available from testing repositories label Apr 3, 2020
@nethbot
Copy link
Member

nethbot commented Apr 3, 2020

in 7.7.1908/nethesis-testing:

  • nethcti3-3.18.0-1.4.ge404ffb.ns7.noarch.rpm x86_64

@andrea-marchionni andrea-marchionni removed their assignment Apr 3, 2020
@andrea-marchionni andrea-marchionni added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Apr 3, 2020
@andrea-marchionni
Copy link

Verified.

@nethbot
Copy link
Member

nethbot commented Apr 3, 2020

in 7.7.1908/nethesis-testing:

  • nethcti3-3.18.0-1.5.gb794810.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Apr 3, 2020

in 7.7.1908/nethesis-testing:

  • nethcti3-3.18.0-1.6.gcebe97f.ns7.noarch.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Apr 5, 2020

in 7.7.1908/nethesis-updates:

  • nethcti3-3.18.1-1.ns7.noarch.rpm x86_64

@federicoballarini
Copy link

Only aesthetics note: after logout, login page title starts to flash like when webrtc is not connected.

image

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