


Using development headers (libfreeswitch-dev) Please note that the file list should not contain the source file which has the same name as the module. If you want to work with multiple C or C++ files, you might add something like this to your module's Makefile: LOCAL_OBJS=file.o file2.o file3.o

LOCAL_LDFLAGS=$(switch_srcdir)/libs/libteletone/libteletone.la If you wish to use functionality from the libraries bundled with FreeSWITCH, you might add something like this to your module's Makefile: LOCAL_CFLAGS=-I$(switch_srcdir)/libs/libteletone/src The first time you perform a 'make' from freeswitch, a Makefile will be generated for your module Add your module to the list of modules to build in freeswitch/nf.Copy the skeleton from freeswitch/src/mod/applications/mod_skel/mod_skel to mod_yourmodule.Create your own module directory under freeswitch/src/mod/applications.It is possible to build your modules at the same time as FreeSWITCH. Review the bundled modules in freeswitch/src/mod/applications (particularly mod_skel) to get an understanding of how modules interface with FreeSWITCH and function.Collaborate with the original authors if there is something very close that just needs a minor change to accommodate what you need.Ensure that the functionality you're looking for has not already been implemented somewhere else.Wget -no-check-certificate $FS_INSTALL_REPO/freeswitch.init -O /etc/init.d/freeswitchĬp $FS_BASE_PATH/freeswitch/debian/eeswitch. Useradd -system -g freeswitch -G audio -g daemon \ If ! getent passwd freeswitch >/dev/null then If ! getent group freeswitch >/dev/null then Make & make install & make sounds-install & make moh-installĬd $FS_INSTALLED_PATH/conf/autoload_configs/ e "s/#applications\/mod_soundtouch/applications\/mod_soundtouch/g " \ e "s/#formats\/mod_shell_stream/formats\/mod_shell_stream/g " \ e "s/#endpoints\/mod_dingaling/endpoints\/mod_dingaling/g " \ e "s/#formats\/mod_shout/formats\/mod_shout/g " \ e "s/#asr_tts\/mod_tts_commandline/asr_tts\/mod_tts_commandline/g " \ e "s/#asr_tts\/mod_pocketsphinx/asr_tts\/mod_pocketsphinx/g " \ e "s/#asr_tts\/mod_flite/asr_tts\/mod_flite/g " \ e "s/#applications\/mod_curl/applications\/mod_curl/g " \ # FreeSWITCH Install Script for Ubuntu 12.04LTS and aboveįS_BRANCH=master #change to v1.4 for stableĮcho "FreeSWITCH will be installed in $FS_INSTALLED_PATH "Īpt-get -y install autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libedit-dev libldns-dev libpq-dev
