Skip to content

Get Extension Presence Status

Get Extension Presence Status is one of the Internal Data Ops operations. Point it at an extension and it looks up that extension’s live state, its presence profile, whether it is on a call, and whether it is ringing, then saves the answers in variables. Downstream components can read those variables to decide how the call should continue.

The component returns the current status of a single extension, covering:

  • The extension’s presence profile.
  • Whether the extension is on a call.
  • Whether the extension is ringing.

You can select the extension from a list, or supply an expression so the target is worked out while the call is running. The lookup results are written to variables, ready to feed into a following component or to test in a Condition.

  1. Drag the Internal Data Ops component onto the canvas, then click it to open its settings.

    The Internal Data Ops block placed on the call flow canvas

  2. In the Component Type drop-down list, choose Get Extension Presence Status.

    Choosing Get Extension Presence Status from the Component Type list

  3. Point the component at an extension using one of these methods:

    Selecting the target extension for the lookup

    • Extension: pick an extension from the drop-down list.

    • Expression: click the fx icon and enter an expression to resolve the extension at runtime.

      Entering an expression that resolves the target extension

      For example, $Session.ani uses the caller’s own number (Caller ID) as the extension to look up.

  4. Click Confirm in the bottom-right corner.

When you add a Get Extension Presence Status component, it writes the extension’s state into the variables below. Read them from any expression-aware component, Condition, for instance, to act on what the lookup returned.

VariableTypeDescriptionExample
$GetExtensionStatus{index}.currentProfileNameStringThe name of the extension’s current presence profile."Available"
$GetExtensionStatus{index}.currentProfileStringThe name of the current presence profile plus any extra detail attached to it."Available,work"
$GetExtensionStatus{index}.isUnavailableBooleanWhether the extension is unregistered, meaning no device is currently logged in to it.False
$GetExtensionStatus{index}.isInCallBooleanWhether the extension is on a call. True means at least one endpoint registered to the extension is on a call; False means none are.True
$GetExtensionStatus{index}.isInRingBooleanWhether the extension is ringing. True means at least one endpoint registered to the extension is ringing; False means none are.False

A Get Extension Presence Status component leads to exactly one downstream component. Any of the following can follow it:

ComponentPurpose
PromptPlay an audio file or a text-to-speech message to the caller.
Business HoursRoute the call to different destinations depending on the time of day.
MenuOffer callers a set of options and route them by the key they press (a DTMF, or Dual-Tone Multi-Frequency, tone: the sound a phone makes when a key is pressed).
User InputCollect DTMF digits from the caller, usually paired with Condition to act on what was entered.
LanguageChange the system prompt language for the rest of the flow.
RecordStart recording once the caller connects to another party, with optional notification prompts, or turn recording off for a call that would otherwise be recorded.
Dial by NumberLet callers dial a number directly to reach their destination.
Dial by NameAn end component that lets callers reach a user by typing the first three letters of their name.
TransferAn end component that sends the caller to a chosen destination, with optional prompts announcing the transfer.
Hang Up CallAn end component that disconnects the call.
ConditionRoute the call based on logical expressions.
LoopRepeat a group of components a set number of times or until a condition is met.
Internal Data OpsRead from and write to the Cloud Voice system’s own database. See Get Extension Presence Status, Set Extension Presence Status, Get Queue Agent, Get Queue Info, Get Agent Status, Set Agent Status, Get System Info, Get System Capacity, Get Extension Info, and Get Company Contact Info.
Email SenderSend an email for real-time notifications, alerts, or user-specific information.
Database AccessRun a SQL operation against an external database during the call flow.
HTTP RequestSend an HTTP request to an external server to exchange data with a third-party service.