Call quality levels
The MonoPhone app watches the audio of every call it is on and shows how good it is: good, fair or poor, with an estimated score next to it. The grade is worked out every few seconds from three measurements of the last interval:
| Measurement | What it is |
|---|---|
| Packet loss | The share of audio packets that did not arrive (or that the other side did not receive), in percent |
| Jitter | How unevenly the packets arrive, in milliseconds |
| Round-trip time | How long a packet takes to reach the other side and come back, in milliseconds |
A call is fair when any measurement reaches its fair level and poor when any reaches its poor level. The built-in levels suit most networks:
| Measurement | Fair from | Poor from |
|---|---|---|
| Packet loss | 2 % | 8 % |
| Jitter | 30 ms | 60 ms |
| Round-trip time | 200 ms | 400 ms |
Setting the levels for your company
Open Settings > Telephony > Call quality (/admin/call-quality) and change any of the six numbers. Each poor level must be higher than its fair level, and every value has a range: loss 1 to 50 % for fair (up to 100 % for poor), jitter 5 to 2000 ms (poor up to 5000 ms) and round-trip time 20 to 5000 ms (poor up to 10000 ms). The page has its own Save bar; Discard puts the saved values back.
Reading the page needs settings:read, changing it settings:write. Every change is recorded in the audit log as Call quality levels changed.
Lower levels make the app warn earlier, which suits a company with good networks where any degradation matters. Higher levels stop the app from flagging calls over a mobile or satellite link where some delay is normal.
When the app picks them up
The app reads the levels when it starts and again whenever it refreshes its connection details, and it applies them to the next measurement of every call, including one already in progress. Until then, and with an older server that does not have the setting, the app uses the built-in levels. The levels only change how a call is labelled in the app; they do not change the call itself, and the call quality report in Monitoring and reports is not affected.
For integrators
The levels are available as GET /api/v1/call-quality/settings (any signed-in user) and PUT /api/v1/call-quality/settings (settings:write, with If-Match taken from the ETag of the last GET). A level that is out of range, or a poor level that is not above its fair level, is refused with a 400 that names the field.