Back to services

Eqivo

Eqivo implements an API layer on top of FreeSWITCH facilitating integration between web applications and voice/video-enabled endpoints such as traditional phone lines (PSTN), VoIP phones, webRTC clients etc.

View alternatives to Eqivo
Suggest edit
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Eqivo is an open-source telephony and real-time communications API platform. It started as a tribute to, and a reimplementation of, the unmaintained Plivo Framework (referred to below as the legacy framework). It has no connection to Plivo's cloud service, and the developers of the two projects are not affiliated in any way. In most scenarios, Eqivo can be used as a drop-in replacement for the legacy framework, and it also adds a few extensions.

How It Works

Eqivo hands both signaling (SIP, Verto, etc.) and media (RTP) over to FreeSWITCH. It sits between FreeSWITCH and your business application:

  • Initiating actions: Your application calls Eqivo's RestAPI to start and control calls. All requests use the POST method and RFC 7617 Basic authentication, parameters are encoded as application/x-www-form-urlencoded, and responses are JSON. The API is backward compatible with the legacy framework, and an official OpenAPI specification is also provided.
  • Handling events: When an event such as an incoming call occurs, Eqivo requests a webhook endpoint provided by your application. The application returns RestXML, which describes how to handle the call. RestXML is also compatible with the legacy framework, and can be seen as a dialplan that is easier to program dynamically.

Key Features

RestXML Directives

  • Conference: multi-party conferences, with support for muting, enter/exit tones, hold music, moderator controls, conference recording and DTMF callbacks
  • Dial: places a new call and bridges it; can dial several destinations at once, and once the first one answers the others are canceled automatically
  • GetDigits: collects keypress (DTMF) input
  • GetSpeech: speech recognition input; the default engine is pocketsphinx
  • Speak: text-to-speech; the default engine is flite
  • Play: plays local files, remote media or generated tones
  • Record: records audio, with support for wav and mp3
  • Others: PreAnswer (early media), Redirect, SIPTransfer, Hangup, Wait

RestAPI

  • Calls: single call (Call), concurrent bulk outbound calls (BulkCall), race-style group calls (GroupCall), hangup, scheduled hangup, playing media into a call in progress, starting and stopping recording, sending DTMF, SoundTouch audio effects, call transfer, and more
  • Conferences: listing conferences and members, muting and unmuting, hold, kick, playing audio or TTS in a conference, conference recording, and more

Eqivo Extensions

  • M:N deployment: multiple Eqivo instances can connect to multiple FreeSWITCH instances (cores), no longer limited to the legacy framework's one-to-one relationship
  • Answering machine detection (AMD): supports synchronous and asynchronous modes, with configurable detection timeout and speech and silence thresholds
  • You can use CoreUUID to specify which FreeSWITCH instance handles a request
  • You can set an instance identifier, which makes it easy to tell which node handled a request when running behind a load balancer

Target Users

  • Developers and companies that need self-hosted programmable voice capabilities
  • Former Plivo Framework users who need a maintained alternative
  • Teams building call centers, IVR and outbound dialing systems on FreeSWITCH

Installation and Deployment

The officially recommended way is to deploy with containers:

docker pull rtckit/eqivo
docker run rtckit/eqivo

Each release comes with two kinds of images: the production image contains only Eqivo and the PHP runtime, while the debug image with the -full suffix includes a complete Debian userland to make troubleshooting easier.

Other installation methods:

  • Phar package: download eqivo.phar from GitHub Releases
  • PHIVE: phive install eqivo
  • Source code: clone the GitHub repository, run composer update, then run ./bin/eqivo

The official rtckit/eqivo-sandbox repository provides examples of common scenarios and Docker Compose configurations.

Technical Requirements

  • PHP 8.1 or later, along with the required extensions (usually shipped with PHP core). When using the container images, you don't need to prepare these separately
  • At least one FreeSWITCH instance with Event Socket (ESL) enabled
  • The network must allow traffic in both directions: Eqivo must be able to reach FreeSWITCH's ESL port and your application's webhooks; FreeSWITCH must be able to reach Eqivo's Outbound service (default port 8084); and your application must be able to reach Eqivo's REST service (default port 8088)

Configuration

  • Supports JSON and YAML configuration files, command-line arguments and environment variables. These can be combined, which makes it suitable for managing secrets in orchestration systems such as Kubernetes
  • Compatible with the legacy framework's configuration file format
  • The default configuration can't be used as-is in real-world scenarios; you need to configure it for your own application

Security Features

  • The REST API uses Basic authentication (restAuthId and restAuthToken)
  • IP allowlists restrict where requests can come from, with support for CIDR ranges (not supported by the legacy framework)
  • Outgoing RestXML requests and notification requests are signed with an authentication token
  • Remote TLS certificates and hostnames are verified by default
  • Input is sanitized

Community

The source code is hosted on GitHub (rtckit/eqivo), and images are published on DockerHub. For community discussion, you can join the Zulip chat room or GitHub Discussions.