Mail archive

Re: [alpine-devel] [PATCH] Updated freeswitch.initd to include missing path switches.

From: Tobie Booth <>
Date: Sun, 13 Apr 2014 03:37:01 -0500

I definitely think that would be the way to go. 

The problem is, in my mind (possibly spoiled by other distros) I expect to install freeswitch, freeswitch-sample-config, and freeswitch-sounds-* and have at least voicemail and other basic apps. However they fail and crash due to the incorrect file paths. Do you guys agree/disagree with this thought process? 

Unfortunately they can only be changed globally via the switches.

> On April 13, 2014 at 3:00:02 AM, Natanael Copa ( wrote:
> On Sun, 13 Apr 2014 09:32:55 +0200
> Der Tiger <> wrote:

>> Hi,
>> In order to make those switches adjustable by the user, I suggest to set
>> them in /etc/conf.d/freeswitch utilizing the ${OPTS} variable in the
>> init.d script rather than make them hard-coded in /etc/init.d/freeswitch
>> itself, because some folks my want to store recordings on a different
>> drive or use their own set of grammar and voice files.

> Yes, and it will break things for those who actually have things stored
> other location.

> Maybe we should introduce variables with sane values:

> -recordings ${recordings_dir:-/var/lib/freeswitch/recordings} \
> -grammar ${grammar_dir:-/var/lib/freeswitch/grammar} \
> -sounds ${sounds_dir:-/usr/share/freeswitch/sounds} \
> -storage ${storage_dir:-/var/lib/freeswitch} \ 
> ${OPTS}

Received on Sun Apr 13 2014 - 03:37:01 UTC