提交 9181e8e5 authored 作者: Travis Cross's avatar Travis Cross

debian: start over

上级 073e4056
差异被折叠。
差异被折叠。
差异被折叠。
opt/freeswitch/log
opt/freeswitch/db
opt/freeswitch/bin/scripts
etc/monit
opt/freeswitch/include/*
opt/freeswitch/lib/*.a
opt/freeswitch/lib/*.la
opt/freeswitch/mod/*.a
opt/freeswitch/mod/*.la
opt/freeswitch/conf/tones.conf
opt/freeswitch/conf/autoload_configs/freetdm.conf.xml
opt/freeswitch/conf/pika.conf
opt/freeswitch/conf/freetdm.conf
opt/freeswitch/conf/wanpipe.conf
opt/freeswitch/conf/zt.conf
opt/freeswitch/conf/tones.conf
opt/freeswitch/conf/autoload_configs/freetdm.conf.xml
opt/freeswitch/conf/pika.conf
opt/freeswitch/conf/freetdm.conf
opt/freeswitch/conf/wanpipe.conf
opt/freeswitch/conf/zt.conf
opt/freeswitch/lib/libfreetdm.so*
opt/freeswitch/mod/mod_freetdm.so*
opt/freeswitch/mod/ftm*.so*
/opt/freeswitch/conf/lang/de/demo/demo.xml
/opt/freeswitch/conf/lang/de/de.xml
/opt/freeswitch/conf/lang/de/vm/tts.xml
/opt/freeswitch/conf/lang/de/vm/sounds.xml
opt/freeswitch/conf/lang/de/demo/demo.xml
opt/freeswitch/conf/lang/de/de.xml
opt/freeswitch/conf/lang/de/vm/tts.xml
/opt/freeswitch/conf/lang/de/vm/sounds.xml
opt/freeswitch/mod/mod_say_de.so*
/opt/freeswitch/conf/lang/en/demo/demo-ivr.xml
/opt/freeswitch/conf/lang/en/demo/demo.xml
/opt/freeswitch/conf/lang/en/dir/sounds.xml
/opt/freeswitch/conf/lang/en/dir/tts.xml
/opt/freeswitch/conf/lang/en/en.xml
/opt/freeswitch/conf/lang/en/vm/sounds.xml
/opt/freeswitch/conf/lang/en/vm/tts.xml
opt/freeswitch/conf/lang/en/demo/demo-ivr.xml
opt/freeswitch/conf/lang/en/demo/demo.xml
opt/freeswitch/conf/lang/en/dir/sounds.xml
opt/freeswitch/conf/lang/en/dir/tts.xml
opt/freeswitch/conf/lang/en/en.xml
opt/freeswitch/conf/lang/en/vm/sounds.xml
opt/freeswitch/conf/lang/en/vm/tts.xml
opt/freeswitch/mod/mod_say_en.so*
opt/freeswitch/mod/mod_say_es.so*
/opt/freeswitch/conf/lang/fr/fr.xml
/opt/freeswitch/conf/lang/fr/demo/demo.xml
/opt/freeswitch/conf/lang/fr/dir/sounds.xml
/opt/freeswitch/conf/lang/fr/dir/tts.xml
/opt/freeswitch/conf/lang/fr/vm/sounds.xml
opt/freeswitch/conf/lang/fr/fr.xml
opt/freeswitch/conf/lang/fr/demo/demo.xml
opt/freeswitch/conf/lang/fr/dir/sounds.xml
opt/freeswitch/conf/lang/fr/dir/tts.xml
opt/freeswitch/conf/lang/fr/vm/sounds.xml
opt/freeswitch/mod/mod_say_fr.so*
/opt/freeswitch/conf/lang/he/demo/demo-ivr.xml
/opt/freeswitch/conf/lang/he/demo/demo.xml
/opt/freeswitch/conf/lang/he/dir/sounds.xml
/opt/freeswitch/conf/lang/he/he.xml
/opt/freeswitch/conf/lang/he/vm/sounds.xml
opt/freeswitch/conf/lang/he/demo/demo-ivr.xml
opt/freeswitch/conf/lang/he/demo/demo.xml
opt/freeswitch/conf/lang/he/dir/sounds.xml
opt/freeswitch/conf/lang/he/he.xml
opt/freeswitch/conf/lang/he/vm/sounds.xml
opt/freeswitch/mod/mod_say_he.so*
opt/freeswitch/mod/mod_say_it.so*
opt/freeswitch/mod/mod_say_nl.so*
/opt/freeswitch/conf/lang/ru/demo/demo-ivr.xml
/opt/freeswitch/conf/lang/ru/demo/demo.xml
/opt/freeswitch/conf/lang/ru/dir/sounds.xml
/opt/freeswitch/conf/lang/ru/dir/tts.xml
/opt/freeswitch/conf/lang/ru/ru.xml
/opt/freeswitch/conf/lang/ru/vm/sounds.xml
/opt/freeswitch/conf/lang/ru/vm/tts.xml
opt/freeswitch/conf/lang/ru/demo/demo-ivr.xml
opt/freeswitch/conf/lang/ru/demo/demo.xml
opt/freeswitch/conf/lang/ru/dir/sounds.xml
opt/freeswitch/conf/lang/ru/dir/tts.xml
opt/freeswitch/conf/lang/ru/ru.xml
opt/freeswitch/conf/lang/ru/vm/sounds.xml
opt/freeswitch/conf/lang/ru/vm/tts.xml
opt/freeswitch/mod/mod_say_ru.so*
/opt/freeswitch/conf/autoload_configs/lua.conf.xml
opt/freeswitch/conf/autoload_configs/lua.conf.xml
opt/freeswitch/mod/mod_lua.so*
/opt/freeswitch/conf/autoload_configs/perl.conf.xml
opt/freeswitch/conf/autoload_configs/perl.conf.xml
opt/freeswitch/mod/mod_perl.so*
opt/freeswitch/perl/*
opt/freeswitch/conf/autoload_configs/python.conf.xml
opt/freeswitch/conf/autoload_configs/python.conf.xml
opt/freeswitch/mod/mod_python.so*
usr/lib/python2.*/*-packages/freeswitch.py*
usr/lib/python2.*/*-packages/ESL.py*
usr/lib/python2.*/*-packages/_ESL.so*
/opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml
opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml
opt/freeswitch/lib/libjs.so*
opt/freeswitch/lib/libnspr4.so*
opt/freeswitch/lib/libplc4.so*
opt/freeswitch/lib/libplds4.so*
opt/freeswitch/mod/mod_spidermonkey*.so*
/opt/freeswitch/conf/autoload_configs/acl.conf.xml
/opt/freeswitch/conf/autoload_configs/alsa.conf.xml
/opt/freeswitch/conf/autoload_configs/callcenter.conf.xml
/opt/freeswitch/conf/autoload_configs/cdr_csv.conf.xml
/opt/freeswitch/conf/autoload_configs/cidlookup.conf.xml
/opt/freeswitch/conf/autoload_configs/conference.conf.xml
/opt/freeswitch/conf/autoload_configs/console.conf.xml
/opt/freeswitch/conf/autoload_configs/db.conf.xml
/opt/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml
/opt/freeswitch/conf/autoload_configs/dingaling.conf.xml
/opt/freeswitch/conf/autoload_configs/directory.conf.xml
/opt/freeswitch/conf/autoload_configs/easyroute.conf.xml
/opt/freeswitch/conf/autoload_configs/enum.conf.xml
/opt/freeswitch/conf/autoload_configs/event_multicast.conf.xml
/opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
/opt/freeswitch/conf/autoload_configs/fax.conf.xml
/opt/freeswitch/conf/autoload_configs/fifo.conf.xml
/opt/freeswitch/conf/autoload_configs/ivr.conf.xml
/opt/freeswitch/conf/autoload_configs/java.conf.xml
/opt/freeswitch/conf/autoload_configs/lcr.conf.xml
/opt/freeswitch/conf/autoload_configs/local_stream.conf.xml
/opt/freeswitch/conf/autoload_configs/logfile.conf.xml
/opt/freeswitch/conf/autoload_configs/memcache.conf.xml
/opt/freeswitch/conf/autoload_configs/modules.conf.xml
/opt/freeswitch/conf/autoload_configs/mongo.conf.xml
/opt/freeswitch/conf/autoload_configs/nibblebill.conf.xml
/opt/freeswitch/conf/autoload_configs/opal.conf.xml
/opt/freeswitch/conf/autoload_configs/pocketsphinx.conf.xml
/opt/freeswitch/conf/autoload_configs/portaudio.conf.xml
/opt/freeswitch/conf/autoload_configs/post_load_modules.conf.xml
/opt/freeswitch/conf/autoload_configs/rss.conf.xml
/opt/freeswitch/conf/autoload_configs/shout.conf.xml
/opt/freeswitch/conf/autoload_configs/skinny.conf.xml
/opt/freeswitch/conf/autoload_configs/sofia.conf.xml
/opt/freeswitch/conf/autoload_configs/switch.conf.xml
/opt/freeswitch/conf/autoload_configs/syslog.conf.xml
/opt/freeswitch/conf/autoload_configs/timezones.conf.xml
/opt/freeswitch/conf/autoload_configs/tts_commandline.conf.xml
/opt/freeswitch/conf/autoload_configs/unicall.conf.xml
/opt/freeswitch/conf/autoload_configs/voicemail.conf.xml
/opt/freeswitch/conf/autoload_configs/xml_cdr.conf.xml
/opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml
/opt/freeswitch/conf/autoload_configs/xml_rpc.conf.xml
/opt/freeswitch/conf/autoload_configs/zeroconf.conf.xml
/opt/freeswitch/conf/dialplan/default/00_pizza_demo.xml
/opt/freeswitch/conf/dialplan/default/01_example.com.xml
/opt/freeswitch/conf/dialplan/default.xml
/opt/freeswitch/conf/dialplan/features.xml
/opt/freeswitch/conf/dialplan/public/00_inbound_did.xml
/opt/freeswitch/conf/dialplan/public.xml
/opt/freeswitch/conf/dialplan/skinny-patterns/20-Demo.xml
/opt/freeswitch/conf/dialplan/skinny-patterns/99-Default_Drop.xml
/opt/freeswitch/conf/dialplan/skinny-patterns/20-Local_extension.xml
/opt/freeswitch/conf/dialplan/skinny-patterns/90-External.xml
/opt/freeswitch/conf/dialplan/skinny-patterns.xml
/opt/freeswitch/conf/directory/default/1000.xml
/opt/freeswitch/conf/directory/default/1001.xml
/opt/freeswitch/conf/directory/default/1002.xml
/opt/freeswitch/conf/directory/default/1003.xml
/opt/freeswitch/conf/directory/default/1004.xml
/opt/freeswitch/conf/directory/default/1005.xml
/opt/freeswitch/conf/directory/default/1006.xml
/opt/freeswitch/conf/directory/default/1007.xml
/opt/freeswitch/conf/directory/default/1008.xml
/opt/freeswitch/conf/directory/default/1009.xml
/opt/freeswitch/conf/directory/default/1010.xml
/opt/freeswitch/conf/directory/default/1011.xml
/opt/freeswitch/conf/directory/default/1012.xml
/opt/freeswitch/conf/directory/default/1013.xml
/opt/freeswitch/conf/directory/default/1014.xml
/opt/freeswitch/conf/directory/default/1015.xml
/opt/freeswitch/conf/directory/default/1016.xml
/opt/freeswitch/conf/directory/default/1017.xml
/opt/freeswitch/conf/directory/default/1018.xml
/opt/freeswitch/conf/directory/default/1019.xml
/opt/freeswitch/conf/directory/default/brian.xml
/opt/freeswitch/conf/directory/default/default.xml
/opt/freeswitch/conf/directory/default/example.com.xml
/opt/freeswitch/conf/directory/default/skinny-example.xml
/opt/freeswitch/conf/directory/default.xml
/opt/freeswitch/conf/extensions.conf
/opt/freeswitch/conf/freeswitch.xml
/opt/freeswitch/conf/fur_elise.ttml
/opt/freeswitch/conf/ivr_menus/demo_ivr.xml
/opt/freeswitch/conf/jingle_profiles/client.xml
/opt/freeswitch/conf/jingle_profiles/server.xml
/opt/freeswitch/conf/mime.types
/opt/freeswitch/conf/notify-voicemail.tpl
/opt/freeswitch/conf/sip_profiles/external/example.xml
/opt/freeswitch/conf/sip_profiles/external.xml
/opt/freeswitch/conf/sip_profiles/internal/example.xml
/opt/freeswitch/conf/sip_profiles/internal-ipv6.xml
/opt/freeswitch/conf/sip_profiles/internal.xml
/opt/freeswitch/conf/skinny_profiles/internal.xml
/opt/freeswitch/conf/tetris.ttml
/opt/freeswitch/conf/vars.xml
/opt/freeswitch/conf/voicemail.tpl
/opt/freeswitch/conf/web-vm.tpl
# Startup settings for FreeSWITCH
# Enable initd (let init handle start and stop of freeswitch).
# Set to "true" (lowercase) to enable.
FREESWITCH_ENABLED="false"
# The parameters Freeswitch should be started with
FREESWITCH_PARAMS="-nc"
#! /bin/sh
### BEGIN INIT INFO
# Provides: freeswitch
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $network $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: The FreeSWITCH Voice Switching System
# Description: An advanced platform for voice services
### END INIT INFO
# Author: Anthony Minesalle II <anthm@freeswitch.org>
#
# Do NOT "set -e"
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/opt/freeswitch/bin
DESC="FreeSWITCH Voice Switching System"
NAME=freeswitch
DAEMON=/opt/freeswitch/bin/$NAME
USER=freeswitch
PIDFILE=/opt/freeswitch/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
WORKDIR=/opt/$NAME
# Check if we are being executed by init
CALLEDSCRIPT=`basename $0`
if [ -r /etc/default/$NAME ]; then . /etc/default/$NAME; fi
if [ "$FREESWITCH_ENABLED" != "true" ]; then
echo "$DESC not enabled yet. Edit /etc/default/$NAME first."
exit 0 ;
fi
# Exit if the package is not installed
# [ -x "$DAEMON" ] || exit 0
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
#
# Function that sets ulimit values for the daemon
#
do_setlimits() {
ulimit -c unlimited
ulimit -d unlimited
ulimit -f unlimited
# ulimit -i unlimited
ulimit -n 999999
# ulimit -q unlimited
# ulimit -u unlimited
ulimit -v unlimited
# ulimit -x unlimited
ulimit -s 240
ulimit -l unlimited
return 0
}
#
# Function that starts the daemon/service
#
do_start()
{
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon -d $WORKDIR -c $USER --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
do_setlimits
start-stop-daemon -d $WORKDIR -c $USER --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$FREESWITCH_PARAMS \
|| return 2
# Add code here, if necessary, that waits for the process to be ready
# to handle requests from services started subsequently which depend
# on this one. As a last resort, sleep for some time.
}
#
# Function that stops the daemon/service
#
do_stop()
{
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
$DAEMON -stop
start-stop-daemon -d $WORKDIR -c $USER --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
# and if the daemon is only ever run from this initscript.
# If the above conditions are not satisfied then add some other code
# that waits for the process to drop all resources that could be
# needed by services started subsequently. A last resort is to
# sleep for some time.
start-stop-daemon -d $WORKDIR -c $USER --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.
rm -f $PIDFILE
return "$RETVAL"
}
#
# Function that sends a SIGHUP to the daemon/service
#
do_reload() {
#
# If the daemon can reload its configuration without
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
start-stop-daemon -c $USER --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
return 0
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
reload|force-reload)
#
# If do_reload() is not implemented then leave this commented out
# and leave 'force-reload' as an alias for 'restart'.
#
log_daemon_msg "Reloading $DESC" "$NAME"
do_reload
log_end_msg $?
;;
restart)
#
# If the "reload" option is implemented then remove the
# 'force-reload' alias
#
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
#echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
:
opt/freeswitch/bin/freeswitch
opt/freeswitch/bin/fs_cli
opt/freeswitch/bin/fs_encode
opt/freeswitch/bin/fs_ivrd
opt/freeswitch/bin/fsxs
opt/freeswitch/bin/gentls_cert
opt/freeswitch/conf/autoload_configs/acl.conf.xml
opt/freeswitch/conf/autoload_configs/alsa.conf.xml
opt/freeswitch/conf/autoload_configs/callcenter.conf.xml
opt/freeswitch/conf/autoload_configs/cdr_csv.conf.xml
opt/freeswitch/conf/autoload_configs/cidlookup.conf.xml
opt/freeswitch/conf/autoload_configs/conference.conf.xml
opt/freeswitch/conf/autoload_configs/console.conf.xml
opt/freeswitch/conf/autoload_configs/db.conf.xml
opt/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml
opt/freeswitch/conf/autoload_configs/dingaling.conf.xml
opt/freeswitch/conf/autoload_configs/directory.conf.xml
opt/freeswitch/conf/autoload_configs/easyroute.conf.xml
opt/freeswitch/conf/autoload_configs/enum.conf.xml
opt/freeswitch/conf/autoload_configs/event_multicast.conf.xml
opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
opt/freeswitch/conf/autoload_configs/fax.conf.xml
opt/freeswitch/conf/autoload_configs/spandsp.conf.xml
opt/freeswitch/conf/autoload_configs/fifo.conf.xml
opt/freeswitch/conf/autoload_configs/ivr.conf.xml
opt/freeswitch/conf/autoload_configs/java.conf.xml
opt/freeswitch/conf/autoload_configs/lcr.conf.xml
opt/freeswitch/conf/autoload_configs/local_stream.conf.xml
opt/freeswitch/conf/autoload_configs/logfile.conf.xml
opt/freeswitch/conf/autoload_configs/memcache.conf.xml
opt/freeswitch/conf/autoload_configs/modules.conf.xml
opt/freeswitch/conf/autoload_configs/mongo.conf.xml
opt/freeswitch/conf/autoload_configs/nibblebill.conf.xml
opt/freeswitch/conf/autoload_configs/opal.conf.xml
opt/freeswitch/conf/autoload_configs/pocketsphinx.conf.xml
opt/freeswitch/conf/autoload_configs/portaudio.conf.xml
opt/freeswitch/conf/autoload_configs/post_load_modules.conf.xml
opt/freeswitch/conf/autoload_configs/rss.conf.xml
opt/freeswitch/conf/autoload_configs/shout.conf.xml
opt/freeswitch/conf/autoload_configs/skinny.conf.xml
opt/freeswitch/conf/autoload_configs/sofia.conf.xml
opt/freeswitch/conf/autoload_configs/switch.conf.xml
opt/freeswitch/conf/autoload_configs/syslog.conf.xml
opt/freeswitch/conf/autoload_configs/timezones.conf.xml
opt/freeswitch/conf/autoload_configs/tts_commandline.conf.xml
opt/freeswitch/conf/autoload_configs/unicall.conf.xml
opt/freeswitch/conf/autoload_configs/voicemail.conf.xml
opt/freeswitch/conf/autoload_configs/xml_cdr.conf.xml
opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml
opt/freeswitch/conf/autoload_configs/xml_rpc.conf.xml
opt/freeswitch/conf/autoload_configs/zeroconf.conf.xml
opt/freeswitch/conf/dialplan/default/00_pizza_demo.xml
opt/freeswitch/conf/dialplan/default/01_example.com.xml
opt/freeswitch/conf/dialplan/default.xml
opt/freeswitch/conf/dialplan/features.xml
opt/freeswitch/conf/dialplan/public/00_inbound_did.xml
opt/freeswitch/conf/dialplan/public.xml
opt/freeswitch/conf/dialplan/skinny-patterns/20-Demo.xml
opt/freeswitch/conf/dialplan/skinny-patterns/99-Default_Drop.xml
opt/freeswitch/conf/dialplan/skinny-patterns/20-Local_extension.xml
opt/freeswitch/conf/dialplan/skinny-patterns/90-External.xml
opt/freeswitch/conf/dialplan/skinny-patterns.xml
opt/freeswitch/conf/directory/default/1000.xml
opt/freeswitch/conf/directory/default/1001.xml
opt/freeswitch/conf/directory/default/1002.xml
opt/freeswitch/conf/directory/default/1003.xml
opt/freeswitch/conf/directory/default/1004.xml
opt/freeswitch/conf/directory/default/1005.xml
opt/freeswitch/conf/directory/default/1006.xml
opt/freeswitch/conf/directory/default/1007.xml
opt/freeswitch/conf/directory/default/1008.xml
opt/freeswitch/conf/directory/default/1009.xml
opt/freeswitch/conf/directory/default/1010.xml
opt/freeswitch/conf/directory/default/1011.xml
opt/freeswitch/conf/directory/default/1012.xml
opt/freeswitch/conf/directory/default/1013.xml
opt/freeswitch/conf/directory/default/1014.xml
opt/freeswitch/conf/directory/default/1015.xml
opt/freeswitch/conf/directory/default/1016.xml
opt/freeswitch/conf/directory/default/1017.xml
opt/freeswitch/conf/directory/default/1018.xml
opt/freeswitch/conf/directory/default/1019.xml
opt/freeswitch/conf/directory/default/brian.xml
opt/freeswitch/conf/directory/default/default.xml
opt/freeswitch/conf/directory/default/example.com.xml
opt/freeswitch/conf/directory/default/skinny-example.xml
opt/freeswitch/conf/directory/default.xml
opt/freeswitch/conf/extensions.conf
opt/freeswitch/conf/freeswitch.xml
opt/freeswitch/conf/fur_elise.ttml
opt/freeswitch/conf/ivr_menus/demo_ivr.xml
opt/freeswitch/conf/jingle_profiles/client.xml
opt/freeswitch/conf/jingle_profiles/server.xml
opt/freeswitch/conf/mime.types
opt/freeswitch/conf/notify-voicemail.tpl
opt/freeswitch/conf/sip_profiles/external/example.xml
opt/freeswitch/conf/sip_profiles/external.xml
opt/freeswitch/conf/sip_profiles/internal/example.xml
opt/freeswitch/conf/sip_profiles/internal-ipv6.xml
opt/freeswitch/conf/sip_profiles/internal.xml
opt/freeswitch/conf/skinny_profiles/internal.xml
opt/freeswitch/conf/tetris.ttml
opt/freeswitch/conf/vars.xml
opt/freeswitch/conf/voicemail.tpl
opt/freeswitch/conf/web-vm.tpl
opt/freeswitch/htdocs/*
opt/freeswitch/lib/libfreeswitch*.so*
opt/freeswitch/mod/mod_avmd.so*
opt/freeswitch/mod/mod_bv.so*
opt/freeswitch/mod/mod_callcenter.so*
opt/freeswitch/mod/mod_cdr_csv.so*
opt/freeswitch/mod/mod_celt.so*
opt/freeswitch/mod/mod_cidlookup.so*
opt/freeswitch/mod/mod_cluechoo.so*
opt/freeswitch/mod/mod_console.so*
opt/freeswitch/mod/mod_codec2.so*
opt/freeswitch/mod/mod_commands.so*
opt/freeswitch/mod/mod_conference.so*
opt/freeswitch/mod/mod_console.so*
opt/freeswitch/mod/mod_curl.so*
opt/freeswitch/mod/mod_db.so*
opt/freeswitch/mod/mod_dialplan*.so*
opt/freeswitch/mod/mod_dingaling.so*
opt/freeswitch/mod/mod_directory.so*
opt/freeswitch/mod/mod_distributor.so*
opt/freeswitch/mod/mod_dptools.so*
opt/freeswitch/mod/mod_easyroute.so*
opt/freeswitch/mod/mod_enum.so*
opt/freeswitch/mod/mod_esf.so*
opt/freeswitch/mod/mod_event_*.so*
opt/freeswitch/mod/mod_expr.so*
opt/freeswitch/mod/mod_fifo.so*
opt/freeswitch/mod/mod_flite.so*
opt/freeswitch/mod/mod_fsv.so*
opt/freeswitch/mod/mod_hash.so*
opt/freeswitch/mod/mod_h26x.so*
opt/freeswitch/mod/mod_ilbc.so*
opt/freeswitch/mod/mod_lcr.so*
opt/freeswitch/mod/mod_limit.so*
opt/freeswitch/mod/mod_local_stream.so*
opt/freeswitch/mod/mod_logfile.so*
opt/freeswitch/mod/mod_loopback.so*
opt/freeswitch/mod/mod_memcache.so*
opt/freeswitch/mod/mod_mp4v.so*
opt/freeswitch/mod/mod_native_file.so*
opt/freeswitch/mod/mod_nibblebill.so*
opt/freeswitch/mod/mod_portaudio.so*
opt/freeswitch/mod/mod_portaudio_stream.so*
opt/freeswitch/mod/mod_redis.so*
opt/freeswitch/mod/mod_rss.so*
opt/freeswitch/mod/mod_shout.so*
opt/freeswitch/mod/mod_silk.so*
opt/freeswitch/mod/mod_siren.so*
opt/freeswitch/mod/mod_skinny.so*
opt/freeswitch/mod/mod_skypopen.so*
opt/freeswitch/mod/mod_sndfile.so*
opt/freeswitch/mod/mod_snom.so*
opt/freeswitch/mod/mod_cdr_sqlite.so*
opt/freeswitch/mod/mod_sofia.so*
opt/freeswitch/mod/mod_spandsp.so*
opt/freeswitch/mod/mod_speex.so*
opt/freeswitch/mod/mod_spy.so*
opt/freeswitch/mod/mod_syslog.so*
opt/freeswitch/mod/mod_theora.so*
opt/freeswitch/mod/mod_timerfd.so*
opt/freeswitch/mod/mod_tone_stream.so*
opt/freeswitch/mod/mod_tts_commandline.so*
opt/freeswitch/mod/mod_valet_parking.so*
opt/freeswitch/mod/mod_vmd.so*
opt/freeswitch/mod/mod_voicemail.so*
opt/freeswitch/mod/mod_xml_*.so*
.TH "FREESWITCH" "1" "October 10, 2007" "" ""
.nh
.ad l
.SH "NAME"
freeswitch \- Open Source telephony platform
.SH "SYNOPSIS"
.HP 7
\fBfreeswitch\fR [\fIoption\fR...]
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
\fBfreeswitch\fR
command.
.PP
This manual page was written for the
Debian
distribution because we're too lame to write a real manual page. But we have a superb website over here:
.UR http://www.freeswitch.org/
.BR http://www.freeswitch.org/
.SH "SEE ALSO"
.PP
\fBundocumented\fR(7).
check process freeswitch with pidfile /opt/freeswitch/run/freeswitch.pid
group voice
start program = "/etc/init.d/freeswitch start"
stop program = "/etc/init.d/freeswitch stop"
# Checks sip port on localhost, not wlways suitable
# if failed port 5060 type UDP then restart
# Checks mod_event_socket on localhost. Maybe more suitable
if failed port 8021 type TCP then restart
if 5 restarts within 5 cycles then timeout
depends on freeswitch_bin
depends on freeswitch_rc
check file freeswitch_bin with path /opt/freeswitch/bin/freeswitch
group voice
if failed checksum then unmonitor
if failed permission 750 then unmonitor
if failed uid freeswitch then unmonitor
# if failed gid daemon then unmonitor
check file freeswitch_rc with path /etc/init.d/freeswitch
group voice
if failed checksum then unmonitor
if failed permission 755 then unmonitor
if failed uid root then unmonitor
if failed gid root then unmonitor
#! /bin/sh
# set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure)
if ! getent passwd freeswitch >/dev/null; then
adduser --disabled-password --quiet --system \
--home /opt/freeswitch \
--gecos "FreeSWITCH Voice Platform" --ingroup daemon \
freeswitch
adduser freeswitch audio
else
if [ "$(getent passwd freeswitch | cut -d : -f 6)" != "/opt/freeswitch" ]; then
echo "Error: pre-existing freeswitch user with non-standard home directory." >&2
exit 1
fi
usermod -d /opt/freeswitch -c "FreeSWITCH daemon,,," \
-g daemon -G audio freeswitch
fi
mkdir -p /opt/freeswitch
chown -R freeswitch:daemon /opt/freeswitch/
chmod -R o-rwx /opt/freeswitch/
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# postrm script for freeswitch
#
# see: dh_installdeb(1)
# set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge)
rm -Rf /etc/opt/freeswitch
rm -Rf /opt/freeswitch
userdel freeswitch
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
差异被折叠。
#!/bin/bash
sounds_location=$1
for rate in 32000 16000 8000
do
for i in ascii base256 conference currency digits ivr misc phonetic-ascii time voicemail zrtp
do
mkdir -p $sounds_location/$i/$rate
for f in `find $sounds_location/$i/48000 -name \*.wav`
do
echo "generating" $sounds_location/$i/$rate/`basename $f`
sox $f -r $rate $sounds_location/$i/$rate/`basename $f`
done
done
done
freeswitch-sounds-en-us-callie (1.0.14~git.master.20101222.1-1) unstable; urgency=low
* Bumped up to 1.0.14 version
* Clean ups
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Wed, 22 Dec 2010 22:55:02 +0200
freeswitch-sounds-en-us-callie (1.0.head~git.master.20101014.1-1) unstable; urgency=low
* Change upstream package version numbering scheme for unreleased versions: new format is major.minor.micro~git.branch.date.commits-1
* Change source format to 3.0 (quilt).
* Upgrade debhelper compatibility to version 7.
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Fri, 14 Oct 2010 05:05:02 +0200
freeswitch-sounds-en-us-callie (1.0.12-0ubuntu1) jaunty; urgency=low
* Initial: This is the initial working build of the en-us-callie sounds
-- William King <quentusrex@gmail.com> Sun, 20 Sep 2009 06:56:46 -0700
Source: freeswitch-sounds-en-us-callie
Maintainer: Freeswitch Debian Team <debian@freeswitch.org>
Section: net
Priority: extra
Build-Depends: debhelper (>= 7), sox
Homepage: http://www.freeswitch.org/
Standards-Version: 3.8.4
Package: freeswitch-sounds-en-us-callie-8000
Architecture: all
Conflicts: freeswitch-sounds-en-us-callie
Description: English language sounds for the FreeSWITCH(TM) (8000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-en-us-callie-16000
Architecture: all
Conflicts: freeswitch-sounds-en-us-callie
Description: English language sounds for the FreeSWITCH(TM) (16000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-en-us-callie-32000
Architecture: all
Conflicts: freeswitch-sounds-en-us-callie
Description: English language sounds for FreeSWITCH(TM) (32000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-en-us-callie-48000
Architecture: all
Description: English language sounds for the FreeSWITCH(TM) (48000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-en-us-callie
Architecture: all
Depends: sox, freeswitch-sounds-en-us-callie-48000
Conflicts: freeswitch-sounds-en-us-callie-omega,
freeswitch-sounds-en-us-callie-8000, freeswitch-sounds-en-us-callie-16000,
freeswitch-sounds-en-us-callie-32000
Description: English language files for FreeSWITCH(TM)
This package generates the 8k, 16k, and 32k from the installed 48k
sounds. You can select which ones you want.
Package: freeswitch-sounds-en-us-callie-omega
Architecture: all
Depends: freeswitch-sounds-en-us-callie-48000,
freeswitch-sounds-en-us-callie-32000, freeswitch-sounds-en-us-callie-16000,
freeswitch-sounds-en-us-callie-8000
Conflicts: freeswitch-sounds-en-us-callie
Description: English language files for FreeSWITCH(TM)
This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds
which are downloaded from binary data files.
These files are licensed under the terms of the creative commons Attribution 3.0 license: http://creativecommons.org/licenses/by-sa/3.0/
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS
export DH_COMPAT=4
export DEB_DH_INSTALL_SOURCEDIR=debian/tmp
build:
dh_testdir
mkdir -p debian/tmp/opt/freeswitch/sounds
cp -a en debian/tmp/opt/freeswitch/sounds/
./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/en/us/callie
clean:
dh_testdir
dh_testroot
dh_clean -k
rm -f build-stamp
rm -Rf debian/tmp
install:
dh_testdir
dh_testroot
dh_installdirs -A --sourcedir=debian/tmp
dh_install --sourcedir=debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_compress
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary install
#!/bin/bash
sounds_location=$1
for rate in 32000 16000 8000
do
mkdir -p $sounds_location/$rate
for f in `find $sounds_location/48000 -name \*.wav`
do
echo "generating" $sounds_location/$rate/`basename $f`
sox $f -r $rate $sounds_location/$rate/`basename $f`
done
done
freeswitch-sounds-music (1.0.8~git.master.20101222.1-1) unstable; urgency=low
* Clean ups
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Wed, 22 Dec 2010 22:55:02 +0200
freeswitch-sounds-music (1.0.head-git.master,20101014.1-1) unstable; urgency=low
* Change upstream package version numbering scheme for unreleased versions:
new format is major.minor.micro~git.branch.date.commits-1
* Change source format to 3.0 (quilt).
* Upgrade debhelper compatibility to version 7.
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Fri, 14 Oct 2010 05:05:02 +0200
freeswitch-sounds-music (1.0.8-0ubuntu3) jaunty; urgency=low
* Fixed: empty binary files for some packages
-- William King <quentusrex@gmail.com> Thu, 24 Sep 2009 15:54:17 -0700
freeswitch-sounds-music (1.0.8-0ubuntu2) jaunty; urgency=low
* Initial: This is the initial working build of the music on hold
-- William King <quentusrex@gmail.com> Sun, 20 Sep 2009 08:28:48 -0700
Source: freeswitch-sounds-music
Maintainer: Freeswitch development Team <freeswitch-dev@freeswitch.org>
Section: net
Priority: extra
Build-Depends: debhelper (>= 7), sox
Homepage: http://www.freeswitch.org/
Standards-Version: 3.8.4
Package: freeswitch-sounds-music-8000
Architecture: all
Conflicts: freeswitch-sounds-music
Description: music for FreeSWITCH(TM) (8000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-music-16000
Architecture: all
Conflicts: freeswitch-sounds-music
Description: music for FreeSWITCH(TM) (16000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-music-32000
Architecture: all
Conflicts: freeswitch-sounds-music
Description: music for FreeSWITCH(TM) (32000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-music-48000
Architecture: all
Description: music for FreeSWITCH(TM) (48000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-music
Architecture: all
Depends: sox, freeswitch-sounds-music-48000
Conflicts: freeswitch-sounds-music-omega,
freeswitch-sounds-music-8000, freeswitch-sounds-music-16000,
freeswitch-sounds-music-32000
Description: Music for FreeSWITCH(TM)
This package generates the 8k, 16k, and 32k from the installed 48k
sounds. You can select which ones you want.
Package: freeswitch-sounds-music-omega
Architecture: all
Depends: freeswitch-sounds-music-48000,
freeswitch-sounds-music-32000, freeswitch-sounds-music-16000,
freeswitch-sounds-music-8000
Conflicts: freeswitch-sounds-music
Description: Music for FreeSWITCH(TM)
This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds
which are downloaded from binary data files.
MUSOPEN
Musopen is an online music library of copyright free music (public domain music).
We want to give the world access to music, without the legal hassles so common today.
There is a great deal of music that has expired copyrights, but almost no recordings
of this music is in the public domain. We aim to record or obtain recordings that
have no copyrights so that our visitors may listen, re-use, or in any way enjoy music.
Put simply, our mission is to set music free.
Musopen is a U.S. registered 501(c)(3) tax-deductible nonprofit charity.
http://www.musopen.com
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS
export DH_COMPAT=4
export DEB_DH_INSTALL_SOURCEDIR=debian/tmp
build:
dh_testdir
mkdir -p debian/tmp/opt/freeswitch/sounds
cp -a music debian/tmp/opt/freeswitch/sounds/
./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/music
clean:
dh_testdir
dh_testroot
dh_clean -k
rm -f build-stamp
rm -Rf debian/tmp
install:
dh_testdir
dh_testroot
dh_installdirs -A --sourcedir=debian/tmp
dh_install --sourcedir=debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_compress
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary install
#!/bin/bash
sounds_location=$1
for rate in 32000 16000 8000
do
for i in ascii base256 conference currency digits ivr misc phonetic-ascii time voicemail zrtp
do
mkdir -p $sounds_location/$i/$rate
for f in `find $sounds_location/$i/48000 -name \*.wav`
do
echo "generating" $sounds_location/$i/$rate/`basename $f`
sox $f -r $rate $sounds_location/$i/$rate/`basename $f`
done
done
done
freeswitch-sounds-ru-ru-elena (1.0.8~git.master.20101222.1-1) unstable; urgency=low
* Clean ups
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Wed, 22 Dec 2010 22:55:02 +0200
freeswitch-sounds-ru-ru-elena (1.0.head-git.master,20101014.1-1) unstable; urgency=low
* Change upstream package version numbering scheme for unreleased versions:
new format is major.minor.micro~git.branch.date.commits-1
* Change source format to 3.0 (quilt).
* Upgrade debhelper compatibility to version 7.
-- Michal Bielicki <michal.bielicki@seventhsignal.de> Fr, 14 Oct 2010 05:05:02 +0200
freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu3) jaunty; urgency=low
* Fixed: Empty binary package bug caused by the second ru folder being
capitalized. The sounds are in ru/RU/elena/*
-- William King <quentusrex@gmail.com> Sun, 20 Sep 2009 08:21:58 -0700
freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu2) jaunty; urgency=low
* Fixed: Fixed a copy/paste bug in the rules file which was trying to
copy the en directory when it should have been copying the ru
directory.
-- William King <quentusrex@gmail.com> Sun, 20 Sep 2009 07:59:20 -0700
freeswitch-sounds-ru-ru-elena (1.0.12-0ubuntu1) jaunty; urgency=low
* Initial: This is the initial working build of the ru-ru-elena sounds
-- William King <quentusrex@gmail.com> Sun, 20 Sep 2009 06:56:46 -0700
Source: freeswitch-sounds-ru-ru-elena
Maintainer: Freeswitch Debian Team <debian@freeswitch.org>
Section: net
Priority: extra
Build-Depends: debhelper (>= 5), fakeroot, sox
Standards-Version: 3.7.3
Package: freeswitch-sounds-ru-ru-elena-8000
Architecture: all
Conflicts: freeswitch-sounds-ru-ru-elena
Description: English language sounds for the FreeSWITCH(TM) (8000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-ru-ru-elena-16000
Architecture: all
Conflicts: freeswitch-sounds-ru-ru-elena
Description: English language sounds for the FreeSWITCH(TM) (16000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-ru-ru-elena-32000
Architecture: all
Conflicts: freeswitch-sounds-ru-ru-elena
Description: English language sounds for FreeSWITCH(TM) (32000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-ru-ru-elena-48000
Architecture: all
Description: English language sounds for the FreeSWITCH(TM) (48000)
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to
a soft-switch. It can be used as a simple switching engine, a media gateway
or a media server to host IVR applications using simple scripts or XML to
control the callflow.
Package: freeswitch-sounds-ru-ru-elena
Architecture: all
Depends: sox, freeswitch-sounds-ru-ru-elena-48000
Conflicts: freeswitch-sounds-ru-ru-elena-omega, freeswitch-sounds-ru-ru-elena-8000, freeswitch-sounds-ru-ru-elena-16000, freeswitch-sounds-ru-ru-elena-32000
Description: English language files for FreeSWITCH(TM)
This package generates the 8k, 16k, and 32k from the installed 48k
sounds. You can select which ones you want.
Package: freeswitch-sounds-ru-ru-elena-omega
Architecture: all
Depends: freeswitch-sounds-ru-ru-elena-48000, freeswitch-sounds-ru-ru-elena-32000, freeswitch-sounds-ru-ru-elena-16000, freeswitch-sounds-ru-ru-elena-8000
Conflicts: freeswitch-sounds-ru-ru-elena
Description: English language files for FreeSWITCH(TM)
This package depends on the pregenerated 8khz, 16khz, 32khz, and 48khz sounds
which are downloaded from binary data files.
These files are licensed under the terms of the creative commons Attribution 3.0 license: http://creativecommons.org/licenses/by-sa/3.0/
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS
export DH_COMPAT=4
export DEB_DH_INSTALL_SOURCEDIR=debian/tmp
build:
dh_testdir
mkdir -p debian/tmp/opt/freeswitch/sounds
cp -a ru debian/tmp/opt/freeswitch/sounds/
./debian/buildsounds.sh debian/tmp/opt/freeswitch/sounds/ru/RU/elena
clean:
dh_testdir
dh_testroot
dh_clean -k
rm -f build-stamp
rm -Rf debian/tmp
install:
dh_testdir
dh_testroot
dh_installdirs -A --sourcedir=debian/tmp
dh_install --sourcedir=debian/tmp
# Build architecture-independent files here.
binary-indep: build install
dh_compress
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary install
#!/bin/bash
sounds_en_us_callie="freeswitch-sounds-en-us-callie-48000-1.0.14.tar.gz"
sounds_music="freeswitch-sounds-music-48000-1.0.8.tar.gz"
sounds_ru_RU_elena="freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz"
cd freeswitch-sounds-music
if [ ! -f $sounds_music ]
then
wget http://files.freeswitch.org/$sounds_music
fi
tar zxvf $sounds_music
cd ..
cd freeswitch-sounds-en-us-callie
if [ ! -f $sounds_en_us_callie ]
then
wget http://files.freeswitch.org/$sounds_en_us_callie
fi
tar zxvf $sounds_en_us_callie
cd ..
cd freeswitch-sounds-ru-RU-elena
if [ ! -f $sounds_ru_RU_elena ]
then
wget http://files.freeswitch.org/$sounds_ru_RU_elena
fi
tar zxvf $sounds_ru_RU_elena
cd ..
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论