@dialstack/sdk-dev / js/src / deviceReadiness
Function: deviceReadiness()
TypeScript
function deviceReadiness(device, options?): DeviceReadiness;
Defined in: sdk/js/src/utils/device-readiness.ts:146
Derive the readiness conditions for a device.
The spine is provisioned → online → ready to call → first call (DECT
handsets start at online; Snom and Yealink phones start at contacted), but it is not a strict sequence: assigned floats and gates readyToCall, so e.g. a
userless device can be online while blocked on assignment.