Inbound call floater
When a customer calls in, agents should not hunt through menus. The inbound call floater is a floating bar that appears on top of whatever page they are on so they can Answer or Decline immediately.
It is the agent’s “doorbell” for live voice.
What it is
Section titled “What it is”A compact bar that shows:
- That a call is incoming
- The caller’s phone number
- A short note that audio connects on the desk phone when they answer
- Decline and Answer actions
After answer, the same bar becomes the active call controls (timer, hangup, mute, hold, and related actions when enabled).
src/assets/screenshots/25-call-floater.pngWhy it exists
Section titled “Why it exists”Agents live in Records, Jobs, Live Ops, and project pages. Forcing them to open Dialler every time a call arrives would mean missed rings. The floater follows them across the app so presence stays useful wherever they work.
CXGear only shows the bar to users who are set up as agents (role + extension). Admins who are not agents never see it — and that is intentional.
How it works (in plain language)
Section titled “How it works (in plain language)”- An inbound DID hits your PBX.
- Routing maps that DID to an agent extension.
- CXGear signals the agent’s browser that a call is ringing (via the live event stream).
- The floater appears.
- The agent clicks Answer or Decline.
- Voice audio runs on the desk phone (or SIP softphone), not inside the browser tab today.
The browser is for control and awareness. The phone is for hearing and speaking.
src/assets/screenshots/40-call-floater-active.pngPrerequisites
Section titled “Prerequisites”Before the floater can appear:
| Requirement | Where |
|---|---|
| Agent or Supervisor role (or custom role with dialler agent permissions) | Manage users |
| Extension saved | Dialler → Agent desk |
| Presence not Offline (usually Available) | Dialler → Agent desk |
| Inbound route for the DID | Dialler → Call routing |
| Telephony gateway healthy | Integrations → Telephony |
If any of those are missing, the bar stays hidden even when the PBX rings.
What success looks like
Section titled “What success looks like”- Agent is Available with a valid extension.
- Test inbound call shows the floater within a second or two.
- Answer connects audio on the desk phone; the bar switches to connected state with a timer.
- Decline clears the offer and the agent can take the next call.
- After hangup, presence moves toward wrap-up / available as your process expects.
Common problems
Section titled “Common problems”| Symptom | Likely cause | What to try |
|---|---|---|
| No floater at all | User is not an agent, or extension unset | Assign Agent role; save extension on Agent desk |
| Floater never for admins | Expected — admins do not open the agent stream | Use an agent account for live tests |
| Floater shows but no audio | Desk phone not registered / wrong extension | Fix PBX registration; match extension exactly |
| Missed calls while on another tab | Browser tab suspended or stream closed | Keep CXGear open; check network; refresh and go Available again |
| Bar stuck after call ends | Session status not updated from telephony events | Confirm gateway posts call lifecycle events with the correct API key |
Related ideas
Section titled “Related ideas”- Presence & live calls — statuses that control who gets offers
- Real-time events vs media — why the bar is not WebRTC audio
- Who can take calls — roles and setup checklist