Minimal FreeSWITCH configuration

It’s always a bit of an effort to remove unneeded features from the default FreeSWITCH configuration. So, I made the minimal configuration which still allows to start the server, but does completely nothing. It’s now much easier to start a new server configuration for any new project.

The configuration is placed at Github. It’s very straightforward to use with FreeSWITCH Debian packages, and can also be used if you compile it from sources:

cd /etc
git clone https://github.com/xlab1/freeswitch_conf_minimal.git freeswitch

The configuration contains a number of empty “stub.xml” files in order to make the XML pre-processor happy.

It also makes sense to start using Git for your own FreeSWITCH configurations 🙂

Advertisements

, , , ,

  1. #1 by David MacKinnon (blaedd) on January 28, 2014 - 10:59 am

    So always been kind of curious why the use of a pre-processor? If the goal is to centralize certain settings, that can’t be done with element id’s or xpath? (which means you could validate your configs against a DTD without the need for a freeswitch binary to compile it for you..)

    • #2 by txlab on January 28, 2014 - 11:12 am

      the main purpose of pre-processor is to assemble the target XML from pieces which you include one into another. I guess the global pre-processor variables are some historical left-over, and still kept for compatibility. But I’m not in the core devs team 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: