Freeswitch

From ArchWiki
Revision as of 18:16, 3 December 2011 by Bougyman (Talk | contribs) (Installing)

Jump to: navigation, search

The FreeSWITCH telephony engine is a powerful system enabling voice, video, presence, chat, and other media types via a variety of protocols.

Installing

The 'release' version of FreeSWITCH is available in the AUR as 'freeswitch'. The preferred version to run, however, is the git head from git.freeswitch.org. You can install FreeSWITCH from git head using the AUR package 'freeswitch-git' The following instructions assume you are using the freeswitch-git package.

Using Packer

# packer -S freeswitch-git

Manually

# cd /tmp; wget https://aur.archlinux.org/packages/fr/freeswitch-git/freeswitch-git.tar.gz

# tar zxvf freeswitch-git.tar.gz && cd freeswitch-git && makepkg -si

Whichever install method you choose, you may wish to configure FreeSWITCH build options. Open the PKGBUILD with your favorite editor when prompted by your AUR helper¸ or before 'makepkg -si' if installing manually. Edit any BUILD CONFIGURATION options to suit your desired usage.

Note to FreeSWITCH users: Editing the PKGBUILD will configure both modules.conf and autoload_configs/modules.conf.xml according to the modules listed in ENABLED_MODULES and DISABLED_MODULES.

Configuring

The FreeSWITCH configuration files with the custom modules.conf and modules.conf.xml reside in /etc/freeswitch. For following FreeSWITCH documentation, the base directory is /var/lib/freeswitch (generallly seen as /usr/local/freeswitch in FreeSWITCH documentation).