1Tool

1Tool for FusionPBX · Plugin for your phone system

Every call shows the name from 1Tool on the phone

When a contact calls, the phone shows their name from 1Tool. The call is logged in 1Tool under contact calls, and at the extension being called the contact opens in 1Tool.

  • FusionPBX 5
  • FreeSWITCH with mod_lua and lua-http
  • Free
1Tool for FusionPBX
  • Name on the phoneOn every incoming call the phone shows the contact name from 1Tool instead of just the number.
  • Call loggedEvery call is recorded in 1Tool under contact calls.
  • Contact opensAt the extension being called the contact opens in 1Tool right away, if the user is signed in to 1Tool.
  • Unknown numbersIf a number calls that does not belong to a contact yet, create the contact straight from the call list.

How it works

  1. 1

    Connect in 1Tool

    Settings → Allgemein (general) → Telefonanlage (phone system) → "Telefonanlage verbinden" (connect phone system). 1Tool creates a key that only works for caller lookup. Enter each user's extension in their user profile.

  2. 2

    Option A (recommended): Lua script

    In 1Tool, "Telefonanlage verbinden" (connect phone system) shows a ready Lua script with address and key. Save it on the server as /etc/freeswitch/scripts/setCallerName.lua. If you already use the old script, just replace its content.

  3. 3

    Option A: call the script from the dialplan

    An inbound route (context public, order 10, "Continue" on) sets the caller and called number and starts the script. Existing systems with the old script already have this route.

    <extension name="caller-details" continue="true">
      <condition field="" expression="" break="never">
        <action application="set" data="caller=${caller_id_number}"/>
        <action application="set" data="called=${destination_number}"/>
        <action application="lua" data="/etc/freeswitch/scripts/setCallerName.lua"/>
      </condition>
    </extension>
  4. 4

    Option B: no installation, dialplan only

    Add this entry in the dialplan manager (context public, order 15). FreeSWITCH needs mod_curl for this. When you connect, 1Tool shows it ready to copy with your key. The key then sits in the phone system configuration - but it opens nothing except caller identification.

    <extension name="onetool_caller_lookup" continue="true">
      <condition field="caller_id_number" expression="^\\+?[0-9]+$">
        <action application="set" data="curl_timeout=3" inline="true"/>
        <action application="curl" data="https://my.1tool.com/suite/api/phone/incoming/${caller_id_number}/${destination_number} append_headers 'Authorization: Bearer YOUR_KEY'" inline="true"/>
      </condition>
      <condition field="${curl_response_code}" expression="^200$">
        <action application="set" data="effective_caller_id_name=${curl_response_data}"/>
      </condition>
    </extension>

What the app does

Name on the phone

On every incoming call the phone shows the contact name from 1Tool instead of just the number.

Call logged

Every call is recorded in 1Tool under contact calls.

Contact opens

At the extension being called the contact opens in 1Tool right away, if the user is signed in to 1Tool.

Unknown numbers

If a number calls that does not belong to a contact yet, create the contact straight from the call list.

Its own key

The phone system gets a key that only works for caller lookup. You can revoke it in 1Tool at any time.

Only two numbers

The phone system only sends the caller's number and the number called – no conversations, no recordings.

Connected directly to 1Tool

The phone system's key only works for this one function: looking up callers and logging the call. It gives no access to other data in 1Tool and can be revoked in 1Tool at any time. The phone system only sends the caller's number and the number called.

Frequently asked questions

What do I need?

FusionPBX 5 on FreeSWITCH with mod_lua (standard) – for option B also mod_curl –, a 1Tool account with administrator rights and each user's extension in their 1Tool user profile.

What does it cost?

Nothing. It is free for all 1Tool customers.

Option A or B?

Option A if you can access the phone system server: the script calls 1Tool with its own time limit. Option B needs no server access, only mod_curl.

When does the contact open in 1Tool?

When the extension being called is stored in a user's profile and that user is signed in to 1Tool.

What if the key falls into the wrong hands?

It can only be used to look up callers and log calls. Revoke it in 1Tool under Settings → Allgemein (general) → Telefonanlage and create a new one.

We still use the old script with my.1tool.com/phone/getNameToNumber. What now?

Please switch to one of the two options above.

Let us show you

Thirty minutes on screen, with your own workflows – and a clear answer on whether the app is right for you.

A quote for your business

Tell us how many technicians you have — we get back to you within one working day with a concrete price and a date for the demo.

Prefer to call? +43-1-312-312