Skip to content

Get Extension Info

Get Extension Info is one of the Internal Data Ops operations. It searches for an extension and returns that user’s details, extension number, name, email address, and mobile number, then stores each value in a variable. Components further along the flow can read those variables or test them in a condition.

Point the component at an extension and it hands back four pieces of information about that user:

  • The extension number.
  • The extension name.
  • The email address on the extension.
  • The mobile number on the extension.

You can name the extension directly through the filters, or supply an expression so the target is chosen while the call runs. The lookup writes its results into variables you can pass to a following component or evaluate 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 Info.

    Choosing Get Extension Info from the Component Type list

  3. Narrow the search to the extension you want using any of the filters below.

    Setting the filters that identify the target extension

    FilterDescription
    KeywordSearch by first name, last name, email address, or extension number. Alternatively, click the fx icon and enter an expression to resolve the extension at runtime.
    NameEnter the extension’s first or last name, or click the fx icon to supply an expression.
    EmailEnter the extension’s email address, or click the fx icon to supply an expression.
    NumberEnter the extension number, or click the fx icon to supply an expression.
    Extension GroupChoose one or more extension groups to limit the search to those groups. Leave it empty to search every extension group.
    OrganizationChoose one or more departments to limit the search to those departments. Available only when Organization Management is turned on (PBX Settings > Preferences > Organization Management). When set, the search covers the selected departments and their sub-departments; leave it empty to search all departments.
  4. Click Confirm in the bottom-right corner.

Adding a Get Extension Info component writes the extension’s details into the variables below. Read them from any expression-aware component, Condition, for instance, to act on what the lookup returned.

VariableTypeDescriptionExample
$GetExtensionInfo{index}.numberStringExtension number."1001"
$GetExtensionInfo{index}.nameStringExtension name."Phillip Huff"
$GetExtensionInfo{index}.emailStringThe extension’s email address."phillip@sample.com"
$GetExtensionInfo{index}.mobileNumberStringThe extension’s mobile number."15880123456"

A Get Extension Info 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 DTMF key they press. DTMF (Dual-Tone Multi-Frequency) is the tone a phone sends when the caller presses a keypad digit.
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 (Structured Query Language) 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.