<410>:fs_cli -x 'global_getvar'| grep dir
base_dir=/usr
recordings_dir=/var/lib/freeswitch/recordings
sounds_dir=/usr/share/freeswitch/sounds
conf_dir=/etc/freeswitch
log_dir=/var/log/freeswitch
run_dir=/var/run/freeswitch
db_dir=/var/lib/freeswitch/db
mod_dir=/usr/lib/freeswitch/mod
htdocs_dir=/usr/share/freeswitch/htdocs
script_dir=/usr/share/freeswitch/scripts
temp_dir=/tmp
grammar_dir=/usr/share/freeswitch/grammar
fonts_dir=/usr/share/freeswitch/fonts
images_dir=/var/lib/freeswitch/images
certs_dir=/etc/freeswitch/tls
storage_dir=/var/lib/freeswitch/storage
cache_dir=/var/cache/freeswitch
data_dir=/usr/share/freeswitch
localstate_dir=/var/lib/freeswitch
:)
Or if using systemd, edit /etc/systemd/system/freeswitch.service to specify those arguments
Additionally, Raphael discovered that the FS packages use the FHS file locations while FS built from master installs under the /usr/local/freeswitch tree.
That might account for some confusion.
Bote
From: Avi Marcus
Sent: Wednesday, 16 September, 2015 00:56
Subject: Re: [Freeswitch-users] location of scripts directory FS 1.6 debian package
In debian, you can edit /etc/init.d/freeswitch
and add a path to the daemon_args, e.g. setting it to be in the same place as the rest of the configs:
DAEMON_ARGS="-u $USER -ncwait -scripts /etc/freeswitch/scripts -nonat"
-Avi
On Tue, Sep 15, 2015 at 4:36 PM, Raphael Lechner <raphael.lechner@gmail.com> wrote:
Thanks Italo for the hint!
( Using the debian package it is /usr/share/freeswitch/scripts )
On 15 Sep 2015, at 15:32, Ítalo Rossi <italo@freeswitch.org> wrote:
global_getvar script_dir
/etc/freeswitch/scripts probably
On Tue, Sep 15, 2015 at 9:50 AM, Raphael Lechner <raphael.lechner@gmail.com> wrote:
Hi,
With FS 1.4 I used the following dial plan to call a python script located under /usr/local/freeswitch/scripts/
<action application="python" data="send-xmpp”/>
Is the scripts directory still available somewhere with the FS 1.6 debian package?
Thanks!
Raphael
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest