Integrate an external application with FreeSWITCH over the Event Socket Library (ESL).

domain: developer.signalwire.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Connect to the event socket on port 8021 (inbound mode) and send auth <password> before any other command.
  2. Subscribe to events with event plain ALL or a specific list (e.g. event plain CHANNEL_CREATE CHANNEL_DESTROY CUSTOM conference::maintenance).
  3. Use api <command> for a blocking call or bgapi <command> for an async call whose result arrives via a later BACKGROUND_JOB event (correlate with Job-UUID).
  4. To originate a call, send bgapi originate {origination_uuid=...}<target> <extension>.
  5. For outbound mode, configure the socket dialplan app so FreeSWITCH connects out to your listening application instead.

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans