> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# SmartQueueAgentStatus (enum)

[SmartQueue](/api-reference/websdk5/smartqueue/overview)

Enum that represents SmartQueue statuses that can be set by an agent.

Use the [SmartQueue.setCallStatus](/api-reference/websdk5/smartqueue/smartqueue#setcallstatus) method to set the status for calls and
the [SmartQueue.setMessagingStatus](/api-reference/websdk5/smartqueue/smartqueue#setmessagingstatus) method to set the status for messaging.

**Values**

* [DND](/api-reference/websdk5/smartqueue/smartqueueagentstatus#dnd)
* [Offline](/api-reference/websdk5/smartqueue/smartqueueagentstatus#offline)
* [Online](/api-reference/websdk5/smartqueue/smartqueueagentstatus#online)
* [Ready](/api-reference/websdk5/smartqueue/smartqueueagentstatus#ready)

## Values

### DND

`DND: "DND"`

Agent is in Do Not Disturb state and not ready to handle incoming calls or chats (e.g., working on another call).

### Offline

`Offline: "OFFLINE"`

Agent is offline.

### Online

`Online: "ONLINE"`

Agent is logged in, but not ready to handle incoming calls and chats yet.

### Ready

`Ready: "READY"`

Agent is ready to handle incoming calls and chats.