Skip to content

Telephony gateways & trunks

Telephony is the bridge between CXGear and the phones your agents actually use. CXGear coordinates who should ring, when a call starts, and what the agent sees in the browser. Your gateway and trunks carry the real voice audio.

Think of it this way: CXGear is the control room; telephony is the phone network.

PieceWhat it isWhy it matters
GatewayYour PBX or SIP platform (for example Asterisk)CXGear talks to one gateway per org setup
TrunkA path for outbound or inbound calls on that gatewayRoutes and calling lists pick a trunk
ExtensionAn agent’s desk-phone number on the PBXInbound offers and click-to-call need it

You set gateways and trunks under Integrations. Agents set their extension on the Dialler Agent desk.

Screenshot needed
Telephony section listing a gateway and outbound/inbound trunks.
Where: Integrations → Telephony
Save as: src/assets/screenshots/35-telephony-gateways.png

Messaging channels (WhatsApp, SMS, email) send templates and messages. Telephony is for live human voice:

  • Outbound lists and click-to-call
  • Inbound DIDs ringing agents
  • Human agent call steps in outreach spinners

You can have WhatsApp fully working and still have a silent dialler if telephony is missing.

  1. Open Integrations → Telephony.
  2. Add a gateway (Asterisk is the common type today).
  3. Enter the connection details your telephony team provides (host, credentials, API key for call events).

The gateway is the “brain” CXGear calls when it needs to originate or control a session.

Trunks are the lines on that gateway:

  • Outbound trunks — used when CXGear places a call (lists, click-to-call, spinner human-call steps)
  • Inbound trunks — used when the PSTN or carrier delivers a call into your PBX

Give each trunk a clear name (“India mobile outbound”, “Main DID inbound”) so routing rules are easy to read later.

Screenshot needed
Add trunk form with direction and gateway selected.
Where: Integrations → Telephony → Add trunk
Save as: src/assets/screenshots/36-telephony-trunk-form.png

After trunks exist:

  1. Open Dialler → Call routing and map dial patterns / DIDs to trunks and extensions.
  2. Each agent opens Dialler → Agent desk, enters their extension, and goes Available.

Without those two steps, trunks alone do not ring anyone.

  • Gateways and trunks appear under Integrations with sensible names.
  • An outbound route matches a pattern (for example numbers starting with +91) to an outbound trunk and caller ID.
  • An inbound route maps a DID to an agent extension (or queue).
  • An agent with that extension set can receive the floating call bar and hear audio on their desk phone.
  • Starting a calling list no longer fails with “configure outbound trunks.”
SymptomLikely causeWhat to try
List start failsNo outbound trunk or routeAdd trunk under Integrations, then a route under Call routing
Agent never ringsExtension missing or wrong gatewayAgent desk → save extension; confirm gateway is Asterisk type
UI shows ring but no audioMedia is on the desk phone / SIP, not the browserCheck the physical phone or softphone registration on the PBX
Events never update in CXGearGateway event API key mismatchConfirm the key Asterisk posts matches the gateway config
Admin sees no call barAdmins are not agents by defaultAssign Agent/Supervisor and configure extension + presence

CXGear is a communication OS: outreach automation, dialler for live voice, and Post Call Analyzer for recordings. Telephony is the shared foundation for the dialler (and for any spinner step that places a human call). Messaging integrations stay under Channels; AI keys stay under AI providers.