-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15, 16
-
Component/s: System Dashboard
-
Labels:None
When setting a Trunk to qualify_frequency = 0 (as the endpoint does not support SIP OPTIONS), Dashboard graph status is always Offline.
Status is parsed from 'pjsip show endpoints' Contact lines being Avail or not in admin/modules/dashboard/classes/AsteriskInfo.class.php (line 236).
Would it not be reasonable to consider Avail or NonQual as Online, with Unvail (or else) as Offline?
Asterisk is going to assume the Endpoint is Online for the purposes of making calls to it, so the Dashboard should probably reflect this also.
It's also worth noting that the Reports/Asterisk Info page displays qualify_frequency=0 Trunks as ONLINE - it pulls info via an ARI call to /ari/endpoints. It's also confusing that the Dashboard and this data conflicts.