Skip to content
Minimalistic FreeSWITCH configuration as a start for new projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload_configs updated autoload_configs/local_stream.conf.xml so that MOH works with… Sep 15, 2016
dialplan
directory
docs Update tutorial_01_simple_pbx.md Mar 19, 2015
ivr_menus
lang/en
sip_profiles added IPv6 profiles from vanilla config, commented out force-register… Mar 9, 2015
tls 1.6 compatibility Sep 11, 2015
README
freeswitch.xml
vars.xml first version Sep 28, 2013

README

Minimal FreeSWITCH configuration
================================

This is a minimalistic FreeSWITCH configuration. It does not do anyting,
yet it allows starting the FreeSWITCH daemon and connecting to its
console with fs_cli.

The purpose of this configuration is to provide a base for new projects,
so that you don't have to clean up the vanilla configuration from
unneeded features.

Tested on Debian with packages from [http://files.freeswitch.org].


Usage if you do everethyng as root:
-----------------------------------
cd /etc
git clone https://github.com/voxserv/freeswitch_conf_minimal.git freeswitch



Usage if you work as multiple non-root users:
---------------------------------------------
echo "umask 0007" >>~/.profile 
umask 0007
sudo adduser jsmith freeswitch
sudo mkdir /etc/freeswitch
sudo chgrp freeswitch /etc/freeswitch
sudo chmod g+ws /etc/freeswitch
cd /etc/freeswitch
git init --shared=0660
git pull https://github.com/voxserv/freeswitch_conf_minimal.git master



Installing FreeSWITCH on Debian Jessie
--------------------------------------

apt-get update && apt-get install -y curl git

cat >/etc/apt/sources.list.d/freeswitch.list <<EOT
deb http://files.freeswitch.org/repo/deb/debian/ jessie main
EOT

curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub \
| apt-key add -

apt-get update && apt-get install -y freeswitch-all 





Further on, you may want to set up your own project-specific Git
repository and push new changes to it.

The following files are empty and are placed there to keep the XML
preprocessor happy. Feel free to delete them after placing your own XML
files:

directory/stub.xml
ivr_menus/stub.xml
lang/en/ivr/stub.xml
sip_profiles/external/stub.xml
sip_profiles/internal/stub.xml


The SIP profiles are modified to allow multiple domains, as described in
http://wiki.freeswitch.org/wiki/Multi-tenant

sip_profiles/internal.xml
is modified not to alias with any domain in the directory

autoload_configs/local_stream.conf.xml
is modified to match the MOH paths in Debian packages

autoload_configs/logfile.conf.xml
logfile rotation is enabled, debug loglevel is disabled


See also: tutorials in docs/ subfolder


Author
------

Stanislav Sinyagin
ssinyagin@k-open.com


You can’t perform that action at this time.