GetDeviceStatus

Metreos.Native.CiscoExtensionMobility.GetDeviceStatus

Summary

Parses the results of the QueryDevices action to determine if a user is logged into the device.

Usage

Once the QueryDevices action has been used to determine which user, if any, is logged into some number of devices, this action can be further used to parse the results for individual devices queried in the QueryDevices action.

The branch conditions must be incorporated into your script in order to correctly use this action. An explanation of the conditions are as follows:

HasDevices

LoggedIn indicates that the specified DeviceName is logged in to by a user. This is the only branch path in which one should use the Username result data parameter.

NoDevice

NoDevice indicates that the specified DeviceName is not located in the QueryDeviceResults varibale.

NoUser

NoUser indicates that there is no user logged into the device.

Remarks

This action does not communicate with the Extension Mobility service. It only parses the data returned by the QueryDevices action.

Action Parameters
Parameter Name.NET TypeDefaultDescription
DeviceName *System.StringThe name of the device, of the form SEPXXXXXXXXXXXX.
QueryDeviceResults *Metreos.Types.CiscoExtensionMobility.QueryDeviceResultsThe result from a QueryDevices action.
Result Data
Parameter Name.NET TypeDescription
UsernameSystem.StringIf the branch condition is LoggedIn, this result data parameter will be populated with the user logged into the device specified by DeviceName.

Branch Conditions 

failure

No description.

NoDevice

No description.

NoUser

No description.

LoggedIn

No description.