Skip to main content

Salesforce Open CTI panel

MonoPbx hosts a small calling panel your Salesforce org can load in the Service Console, built on Salesforce's own Open CTI framework. It lets an agent click a phone number on any Salesforce record to call it, and pops the right record when a call comes in. Calls themselves ring and run on the agent's own MonoPbx device (a desk phone, the MonoPhone app, or an open web console tab): the panel is a signalling adapter, not a softphone, so audio never plays in the Salesforce browser tab.

Open CTI itself matches the record by the number the agent is calling or being called by, the same way as Screen pop and the CRM templates lookup your Salesforce integration already uses, so set that up first if you have not.

caution

Salesforce has put Open CTI in maintenance mode and plans to retire it in February 2028; it is also unavailable for newly created Agentforce Service orgs. This panel works with every org that still has it. If Salesforce's own migration guidance moves your org to Salesforce Voice or another softphone framework before then, this panel will need a successor built against that framework.

What the agent sees​

A small panel docked in the Service Console softphone area. Clicking an enabled phone number on a Salesforce page (the Lightning lightning-click-to-dial component, or a standard phone field) rings the agent's own MonoPbx device; once the agent is on the call, the record for the number on the other side opens by itself. Hang up in the panel ends the call for both sides.

Set up in Salesforce​

  1. Create a Call Center. Setup → Call Centers → Continue, then Edit the fields of the demo adapter (or import a definition file): set CTI Adapter URL to https://<your MonoPbx console host>/cti/salesforce.
  2. Assign agents. On the Call Center, Manage Call Center Users → Add Users for every agent who should see the panel.
  3. Add the Open CTI Softphone utility to the agent's Lightning App (App Manager → the app → Utility Items → Open CTI Softphone), so the panel docks at the bottom of the console.

Connect the panel to MonoPbx​

The panel authenticates itself to MonoPbx with a personal API key, not the agent's console sign-in: Salesforce loads it on its own domain, inside an iframe, so it cannot carry a MonoPbx browser session. Each agent (or an administrator, for them) does this once:

  1. In the MonoPbx console, Admin → Security → API keys → New key, scoped to Control calls and Read contacts. Copy the secret: it is shown once.
  2. Open the panel (it appears once the Call Center and utility are set up) and enter:
    • Salesforce domain: your org's domain, with no https:// and no path (for example acme.my.salesforce.com, from Setup → My Domain).
    • MonoPbx API key: the secret from step 1.

The key is kept in the panel's own browser storage, scoped to Salesforce's domain; signing in again in another browser, or the first time in a different CRM panel, asks for it again. Revoking the key in Admin → Security → API keys disconnects the panel immediately.

What a human still needs to verify​

This panel is built from Salesforce's published Open CTI reference and tested against the MonoPbx API it calls, but the two were never driven against each other inside a live Salesforce org during development (no Salesforce sandbox was available). Before relying on it, a Salesforce admin should, in a sandbox or Developer Edition org:

  • confirm the Call Center definition file above loads the panel in the Service Console without a Salesforce security warning (mixed content, frame-ancestors);
  • confirm clicking a phone number on a Contact, Lead or Case rings the agent's device;
  • confirm an inbound call opens the right record (Open CTI's screenPop, a relative Lightning path built from this company's CRM integration);
  • confirm Hang up ends the call on both sides.

See also​

Screen pop and CRM templates (the Salesforce lookup this panel's screen pop reuses), the HubSpot calling panel (same idea, HubSpot's SDK) and OAuth connections.