Page tree
Skip to end of metadata
Go to start of metadata

About

This article contains FreeSWITCH™ installation instructions on hosts with CentOS7 or RHEL7 operating system.

 

 Click to expand Table of Contents

Installing from RPM Packages

Easy Way

Release

FreeSWITCH™ can be installed from packages as follows

FreeSWITCH™ is now installed and can be accessed with

FreeSwitch CLI

Master for Testing

WARNING not suitable for production

The master branch of FreeSWITCH™ can be installed from packages as follows

Edit /etc/yum.repos.d/freeswitch-testing.repo and update the highlighted lines

freeswitch-testing.repo

[freeswitch-testing]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch
baseurl=http://files.freeswitch.org/yum_unstable/$releasever/$basearch
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-freeswitch$releasever&arch=$basearch
#failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH

[freeswitch-testing-debuginfo]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch - Debug
baseurl=http://files.freeswitch.org/yum/testing/$releasever/$basearch/debug
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-debug-freeswitch$releasever&arch=$basearch
#failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
gpgcheck=1

[freeswitch-testing-source]
name=FreeSwitch Packages for Enterprise Linux $releasever - Testing - $basearch - Source
baseurl=http://files.freeswitch.org/yum/testing/$releasever/SRPMS
#mirrorlist=http://mirrors.freeswitch.org/mirrorlist?repo=testing-source-freeswitch$releasever&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
gpgcheck=1

 

You can then install as follows

Compiling from source code

Building from source

Release

FreeSWITCH™ can be built from source if you desire but it is not recommended.

 

Master for Testing

WARNING not suitable for production

FreeSWITCH™ can be built from source if you desire but it is not recommended.

 

 

 

 

Building packages from source

Release

FreeSWITCH™ can be built from source as a packages if you desire but it is not recommended as we host the package builds already (see above)

Master for Testing

WARNING not suitable for production

FreeSWITCH™ can be built from source as a packages if you desire but it is not recommended as we host the package builds already (see above)

3 Comments

  1. Hi

    I am looking for the scripts/perl/add_user script but my  /usr/share/freeswitch/scripts  is empty.

    i did  find / -name add_user -print and its missing from my system

     

    my OS is centos-release-7-3.1611.el7.centos.x86_64

     

    I installed using

    yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release

    yum install -y freeswitch-config-vanilla freeswitch-lang-* freeswitch-sounds-*
    systemctl enable freeswitch
    1. All source code is available on the FreeSWITCH repository. I searched there for "add_user" and found this https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/scripts/perl/add_user

      Hope this helps.

  2. Thanks John,  sorted now