Skip to main content

Call security

Four checks protect a call. Each has its own key under Security & Access › Call security. All except signed customer details are set per tenant.

Check Key Default What it checks
Customer call token CALL_TOKEN_MODE Observe Customer requests (call page, mobile SDK, queue socket) carry the token of their own call.
Agent call token AGENT_SOCKET_CALL_TOKEN_MODE Observe Agent client actions on a call carry that call's agent token.
Routed-agent check AGENT_ROUTED_CHECK_MODE Enforce The agent who joins a call is one the call was routed to. If the routing system cannot be reached, the agent is let in.
Signed customer details CALLER_TOKEN_CONFIG Observe Customer details on a dial come in a token signed by your own backend.

Modes: Off does not check. Observe lets the request through and logs it. Enforce refuses it.

  • RTCID_SOURCE: who creates the Call ID. With Server, a dial cannot name an existing call without that call's token.
  • CALL_TOKEN_TTL_HOURS (24): how long call tokens stay valid. Keep it longer than your longest call.
  • AGENT_TOKEN_DISABLED: turns every agent token check off, for troubleshooting only. While it is on, the agent call token check is off and customer Enforce does not cover requests the agent page also makes.

Order to switch them on

  1. Leave AGENT_ROUTED_CHECK_MODE on Enforce.
  2. Agent call token: update the desktop clients, then Enforce. See Rolling out call token checks.
  3. Customer call token: update the customer apps, then Enforce. Same page.
  4. RTCID_SOURCE to Server once dial-first apps are released. See Moving call IDs to the server.
  5. CALLER_TOKEN_CONFIG Mode to Enforce once every app sends signed details. See Signed customer details.

Run each step in Observe until the logs are clean, then switch. A change reaches every DMZ server within about five minutes, without a restart. To roll back, set the mode back to Observe.