cookbook 'freeswitch-rayo', '= 0.1.0'
freeswitch-rayo (2) Versions 0.1.0 Follow0
Installs/Configures FreeSWITCH as a Rayo server
cookbook 'freeswitch-rayo', '= 0.1.0', :supermarket
knife supermarket install freeswitch-rayo
knife supermarket download freeswitch-rayo
FreeSWITCH Rayo cookbook
This Chef cookbook installs FreeSWITCH either from source or packages and configures its basic settings. This cookbook specifically configures FreeSWITCH to behave as a Rayo server by altering defaults of the upstream freeswitch cookbook.
Requirements
Tested on Ubuntu 12.04, Debian 7.1 and CentOS 6.5.
Usage
Add recipe[freeswitch-rayo] to your node's run list
Attributes
-
node['freeswitch']['install_method']- the method by which to install FreeSWITCH. May bepackageorsource. This choice determines other applicable parameters. (defaultpackage) -
node['freeswitch']['user']- the user as which to run FreeSWITCH (defaultfreeswitch) -
node['freeswitch']['group']- the group as which to run FreeSWITCH (defaultfreeswitch) -
node['freeswitch']['service']- the service name as which to run FreeSWITCH (defaultfreeswitch) -
node['freeswitch']['binpath']- the path at which FreeSWITCH binaries are located (default/usr/bin) -
node['freeswitch']['confpath']- the path at which FreeSWITCH configuration is located (default/etc/freeswitch) -
node['freeswitch']['homedir']- the path at which FreeSWITCH's home directory is' located (default/var/lib/freeswitch) -
node['freeswitch']['local_ip']- the local IP FreeSWITCH listens on (defaultdefault['asterisk']['public_ip'] = node['ec2'] ? node['ec2']['public_ipv4'] : node['ipaddress']) -
node['freeswitch']['domain']- the domain at which FS acts as a registrar, etc (defaultnode['fqdn']) -
node['freeswitch']['vars_template']- the template file to use for placing FreeSWITCHvars.xml -
node['freeswitch']['vars_template_cookbook']- the cookbook from which to load the vars template -
node['freeswitch']['autoload_modules']- the list of modules which FreeSWITCH should load on startup (default%w[mod_console mod_logfile mod_enum mod_event_socket mod_rayo mod_sofia mod_loopback mod_commands mod_conference mod_db mod_dptools mod_expr mod_fifo mod_hash mod_esf mod_fsv mod_http_cache mod_dialplan_xml mod_g723_1 mod_g729 mod_amr mod_ilbc mod_speex mod_h26x mod_siren mod_sndfile mod_native_file mod_local_stream mod_tone_stream mod_ssml mod_flite mod_pocketsphinx mod_say])
Package install attributes
-
node['freeswitch']['package']['packages']- the FreeSWITCH packages to install (default%w(freeswitch-meta-vanilla freeswitch-mod-rayo freeswitch-mod-flite freeswitch-conf-rayo)) -
node['freeswitch']['package']['repo']['enable']- if the FreeSWITCH official repository should be enabled (defaulttrue) -
node['freeswitch']['package']['repo']['url']- the URL of the FreeSWITCH official repo (defaulthttp://files.freeswitch.org/repo/deb/debian) -
node['freeswitch']['package']['repo']['distro']- the distro to select from the repo (defaultwheezy) -
node['freeswitch']['package']['repo']['branches']- the branches of the repo to import (default%w(main)) -
node['freeswitch']['package']['repo']['keyserver']- the keyserver against which to auth the repo (defaultnil, this will use the cookbook's stored GPG key) -
node['freeswitch']['package']['repo']['key']- the repo's public GPG key (defaultfreeswitch.gpg)
Source install attributes
-
node['freeswitch']['source']['git_uri']- the URI of the FreeSWITCH git repository to use for installation (defaultgit://git.freeswitch.org/freeswitch.git) -
node['freeswitch']['source']['git_branch']- the branch of the git repository to install from (defaultv1.2.stable) -
node['freeswitch']['source']['dependencies']- the packages to be installed on which compilation depends (default%w[autoconf automake g++ git-core libjpeg62-dev libncurses5-dev libtool make python-dev gawk pkg-config gnutls-bin libsqlite3-dev bison libasound2-dev]) -
node['freeswitch']['source']['modules']- the modules to compile (default%w[loggers/mod_console loggers/mod_logfile loggers/mod_syslog applications/mod_commands applications/mod_conference applications/mod_dptools applications/mod_enum applications/mod_db applications/mod_hash applications/mod_http_cache applications/mod_expr applications/mod_esf applications/mod_fsv codecs/mod_g723_1 codecs/mod_amr codecs/mod_g729 codecs/mod_h26x codecs/mod_bv codecs/mod_ilbc codecs/mod_speex codecs/mod_siren dialplans/mod_dialplan_xml endpoints/mod_sofia endpoints/mod_loopback asr_tts/mod_flite asr_tts/mod_pocketsphinx event_handlers/mod_event_socket event_handlers/mod_cdr_csv event_handlers/mod_rayo formats/mod_native_file formats/mod_sndfile formats/mod_local_stream formats/mod_tone_stream formats/mod_ssml say/mod_say_en])
Recipes
-
freeswitch-rayo- Install FreeSWITCH and configure as a Rayo server
Author
[Ben Langfeld](@benlangfeld)
Dependent cookbooks
| freeswitch ~> 0.6.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.