JTapiGetDeviceStatus

Metreos.Providers.JTapi.JTapiGetDeviceStatus

Summary

Gets the device status of a phone using JTAPI.

Usage

JTapiGetDeviceStatus gets the device status of a monitored phone using JTAPI.

Remarks
None.
Action Parameters
Parameter Name.NET TypeDefaultDescription
TimeoutSystem.Int32The Timeout property specifies to the Application Runtime Environment how long to wait for a response from the provider for the current action. The ReturnValue returned in this case is Timeout. The value must be a literal value in milliseconds.
DeviceName *System.StringThe name of a controlled device to query.
Result Data
Parameter Name.NET TypeDescription
DeviceStatusSystem.StringThe current status of the queried device. Possible values are:
Idle

The phone is not in a call. It could be either on hook or off hook.

Active

The phone is in a call, and is actively talking (not on hold).

Alerting

The phone is ringing.

Held

The phone is in a call, and is not actively talking (is on hold).

Unknown

Undefined.

ResultCodeSystem.StringDescribes the result of the action with a textual success or error message.

Branch Conditions 

Success

No description.

Failure

No description.

Timeout

No description.