Breadcrumbs

EFSwitch Installation guide

EFSwitch is a component necessary to enable CX-Voice or WebRTC-to-SIP.

Prerequisites

Hardware requirements

Update in Hardware sizing | Requirements for a CX Switch Standalone deployment

Software requirements

Item

Recommended

Installation guide

Operating System

Debian 12

-

Port Utilization Requirements

The following ports must be open on the server for the voice connector to function.

FireWall Ports

Network Protocol

Application Protocol

Description

5060

UDP & TCP

SIP UAS

Used for SIP signaling.

5070

UDP & TCP

SIP UAS

Used for SIP signaling.

5080

UDP & TCP

SIP UAS

Used for SIP signaling.

8021

TCP

ESL

EF Switch Event Socket

16384-32768

UDP

RTP/ RTCP multimedia streaming

Used for audio/video data in SIP, WSS, and other protocols

5066

TCP

Websocket

Used for WebRTC

7443

TCP

Websocket

Used for WebRTC

The ports can be opened as follows:

  • SSH into the Debian server.

    • Use command ssh username@server-ip

    • Enter user password.

    • Use command su.

    • Enter root password

  • Run the following command and replace PORT with the required ports listed above:

    • sudo iptables -A INPUT -p tcp -m tcp --dport PORT -j ACCEPT

  • Save this port configuration with command: sudo iptables-save.

Install CX Switch

  • SSH into the Debian server onto which the database will be deployed.

    • Use command ssh username@server-ip

    • Enter user password.

    • Use command su.

    • Enter root password.

  • Run commands:

  • Once the installation has finished, some information will be shown as below:

    image2023-9-6_13-52-2.png?version=1&modificationDate=1693990320818&cacheVersion=1&api=v2&height=250
    • In a web browser, open the domain name URL and use the provided username and password to log on.

      • A screen like below should open for a successful installation:

        image2023-9-6_13-53-54.png?version=1&modificationDate=1693990433086&cacheVersion=1&api=v2&height=250
  • In the command line, use the command fs_cli to access the Freeswitch command line as show below:

    image2023-9-6_13-55-57.png?version=1&modificationDate=1693990556102&cacheVersion=1&api=v2&height=250