http://wiki.fusionpbx.com/api.php?action=feedcontributions&user=Rneese&feedformat=atomFusionPBX - User contributions [en]2024-03-29T10:24:14ZUser contributionsMediaWiki 1.28.1http://wiki.fusionpbx.com/index.php?title=Debian_Install&diff=3583Debian Install2015-06-09T21:43:53Z<p>Rneese: /* Debian 7 Wheezy / 8 Jessie Install Package or Build from Source */</p>
<hr />
<div>==Debian 7 Wheezy / 8 Jessie Install Package==<br />
*Ubuntu Not Supported<br />
<br />
*http://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install [[ Debian_Fusionpbx_Pkg_or_Source_Install ]]<br />
<br />
*This script uses Debian FHS compliant Pkgs for Intel/Amd/ArmHF OR Source Install allows for a more modified install for Intel/Amd/ArmHF/ArmEL (for now)<br />
<br />
*This script uses pkgs for fusionpbx. and follows the proper debian fhs layout.<br />
<br />
==Debian 7 \ Ubuntu 12.x 14.x Build From src\svn==<br />
<br />
*There is a scripted installation for Debian/Ubuntu. [[Easy_FusionPBX|More info here.]]<br />
<br />
*This script pulls and builds freeswitch from src and installs it in /usr/local/freeswitch.<br />
<br />
*It uses svn to pull down the full gui into /var/www/fusionpbx</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3582Debian Fusionpbx Pkg or Source Install2015-06-09T21:19:10Z<p>Rneese: /* Version Notice */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Stable/Release) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports installing stable packages for freeswitch and fusionpbx gui.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX/Freeswitch only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3581Debian Fusionpbx Pkg or Source Install2015-06-09T21:08:23Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Stable/Release) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3580Debian Fusionpbx Pkg or Source Install2015-06-09T21:07:24Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3579Debian Fusionpbx Pkg or Source Install2015-06-09T21:04:25Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3403Debian Fusionpbx Pkg or Source Install2015-01-26T14:56:28Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3402Debian Fusionpbx Pkg or Source Install2015-01-26T14:56:13Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using Freeswitch source all the modules needed are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3401Debian Fusionpbx Pkg or Source Install2015-01-26T14:55:10Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note: That if you used Freeswitch Source and not Freeswitch Packages ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default when using freeswitch souce all the modules are installed so you just need to install the <br />
<br />
fusionpbx-app-* packages.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3400Debian Fusionpbx Pkg or Source Install2015-01-26T14:42:49Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Please note that if you used src and not pkgs for freeswitch ... Do not install anythings that says freeswitch-mod-* as <br />
<br />
this will break the install. By default all the modules are installed so you just need to install the fusionpbx-app-* pkgs.<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3399Debian Fusionpbx Pkg or Source Install2015-01-25T18:23:22Z<p>Rneese: /* After Installing Optional Modules/Apps */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing/ Enabling Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3398Debian Fusionpbx Pkg or Source Install2015-01-25T18:21:55Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install Script, if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3397Debian Fusionpbx Pkg or Source Install2015-01-25T18:20:57Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3396Debian Fusionpbx Pkg or Source Install2015-01-25T18:20:37Z<p>Rneese: /* Version Notice */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3395Debian Fusionpbx Pkg or Source Install2015-01-25T18:19:27Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
#######################################<br />
#Use for configuring odroid arm boards<br />
#######################################<br />
odroid_boards="n"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3394Debian Fusionpbx Pkg or Source Install2015-01-25T18:15:22Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
######################################<br />
# ( Optional Not Required)<br />
######################################<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3393Debian Fusionpbx Pkg or Source Install2015-01-25T18:11:10Z<p>Rneese: /* Version Notice */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for Freeswitch and Fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the Debian FHS layout.<br />
<br />
This script also expect the operator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3392Debian Fusionpbx Pkg or Source Install2015-01-25T18:10:32Z<p>Rneese: /* Version Notice */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for freeswitch and fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the debian FHS layout.<br />
<br />
This script also expect the opteator/admin to have a basic understanding of linux and its layout.<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3391Debian Fusionpbx Pkg or Source Install2015-01-25T18:04:32Z<p>Rneese: /* Install Debian Wheezy with iso */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Version Notice==<br />
<br />
This script supports building or installing for both stable and devel source and or packages.<br />
<br />
Please make sure you select the correct option you need for freeswitch and fusionpbx<br />
<br />
FusionPBX only installs from debian packages and follows the debian FHS layout.<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3390Debian Fusionpbx Pkg or Source Install2015-01-25T16:46:41Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3389Debian Fusionpbx Pkg or Source Install2015-01-25T16:44:18Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
#if [[ $use_optional_modules == "y" ]]; then<br />
# optional_modules_add=( )<br />
#fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
#if [[ $use_freeswitch_contrib == "y" ]]; then<br />
# contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
#fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_freetdm == "y" ]]; then<br />
# freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
#fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#if [[ $use_gsmopen == "y" ]]; then<br />
# gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
#fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3388Debian Fusionpbx Pkg or Source Install2015-01-25T16:42:38Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3387Debian Fusionpbx Pkg or Source Install2015-01-25T16:42:16Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3386Debian Fusionpbx Pkg or Source Install2015-01-25T16:39:32Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
freeswitch_sounds_language="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
multi_cores=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_freetdm="n"<br />
<br />
#add sangoma support<br />
#sangoma_freetdm="n"<br />
<br />
#add rhino support<br />
#rhino_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_mod_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_optional_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
#enable freetdm in the freeswitch /fusionpbx build<br />
if [[ $use_mod_freetdm == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8\<br />
../../libs/freetdm/mod_freetdm )<br />
#enable gsmopen in the freeswitchch / fusionpbx build<br />
elif [[ $use_mod_gsmopen == "y" ]]; then<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random \<br />
mod_v8 gsmopen mod_siren mod_xml_curl )<br />
#use defualt set of modules for freeswitc/fusionpbx<br />
else<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random mod_v8 )<br />
fi<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3385Debian Fusionpbx Pkg or Source Install2015-01-25T16:33:30Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
And You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3384Debian Fusionpbx Pkg or Source Install2015-01-25T16:32:38Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
OS Support:<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
Database:<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
<br />
This Install if you do not select extra options will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3383Debian Fusionpbx Pkg or Source Install2015-01-25T16:30:39Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3382Debian Fusionpbx Pkg or Source Install2015-01-25T16:30:01Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
NOTICE:<br />
<br />
( "Not Ment For L.a.m.p Installs" )<br />
<br />
( "L.A.M.P = Linux Apache Mysql PHP" )<br />
<br />
"THIS IS A ONE TIME INSTALL SCRIPT."<br />
<br />
"IT IS NOT INTENDED TO BE RUN MULTIPLE TIMES"<br />
<br />
This Script Is Ment To Be Run On A Fresh Install Of Debian 7 (Wheezy)<br />
<br />
or Fresh Install Of Debian 8 (Jessie).<br />
<br />
If It Fails For Any Reason Please Report To r.neese@gmail.com.<br />
<br />
Please Include Any Screen Output You Can To Show Where It Fails.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3381Debian Fusionpbx Pkg or Source Install2015-01-25T16:26:35Z<p>Rneese: /* Postgresql Gui Configuration */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3380Debian Fusionpbx Pkg or Source Install2015-01-25T16:25:19Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3379Debian Fusionpbx Pkg or Source Install2015-01-25T16:24:36Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3378Debian Fusionpbx Pkg or Source Install2015-01-25T16:24:00Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3377Debian Fusionpbx Pkg or Source Install2015-01-25T16:22:42Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 4: save file<br />
<br />
Step 5: chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 6: run ./FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the base configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3376Debian Fusionpbx Pkg or Source Install2015-01-25T16:20:52Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
Step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step 3 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
Step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
Step <br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3375Debian Fusionpbx Pkg or Source Install2015-01-25T16:16:21Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3374Debian Fusionpbx Pkg or Source Install2015-01-25T16:15:38Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3373Debian Fusionpbx Pkg or Source Install2015-01-25T16:14:43Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3372Debian Fusionpbx Pkg or Source Install2015-01-25T16:14:19Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3371Debian Fusionpbx Pkg or Source Install2015-01-25T16:13:28Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3370Debian Fusionpbx Pkg or Source Install2015-01-25T16:12:50Z<p>Rneese: /* Steps for Install */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3369Debian Fusionpbx Pkg or Source Install2015-01-25T16:09:55Z<p>Rneese: /* Pre Install Information */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Wheezy (Stable) | Debian Jessie (Testing) | UBUNTU (UnSupported)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3368Debian Fusionpbx Pkg or Source Install2015-01-25T15:47:13Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3367Debian Fusionpbx Pkg or Source Install2015-01-25T15:45:44Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query \<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3366Debian Fusionpbx Pkg or Source Install2015-01-25T15:45:02Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic &&\<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center \<br />
fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active \<br />
fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo \<br />
fusionpbx-app-fifo-list fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query\<br />
fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra \<br />
fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom \<br />
fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3365Debian Fusionpbx Pkg or Source Install2015-01-25T15:41:44Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic &&\<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx- app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \<br />
fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \<br />
fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices \<br />
fusionpbx-app-provision fusionpbx-provisioning-template-aastra fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible \<br />
fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
==After Installing Optional Modules/Apps==<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3364Debian Fusionpbx Pkg or Source Install2015-01-25T15:38:08Z<p>Rneese: /* Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
<br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
<br />
Schemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;<br />
<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic &&\<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \<br />
fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \<br />
fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices \<br />
fusionpbx-app-provision fusionpbx-provisioning-template-aastra fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible \<br />
fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
<br />
After Installing Optional Modules/Apps<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3363Debian Fusionpbx Pkg or Source Install2015-01-25T15:36:16Z<p>Rneese: /* Post Install Options */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
<br />
==Post Install Of Optional/Extra Modules/Apps for Fusionpbx Web Gui==<br />
<br />
Adminer:<br />
apt-get -y --force-yes install fusionpbx-app-adminer<br />
Backup:<br />
apt-get -y --force-yes install fusionpbx-app-backup<br />
Call Broadcast:<br />
apt-get -y --force-yes install fusionpbx-app-call-broadcast<br />
Call Center:<br />
apt-get -y --force-yes install freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active<br />
Call Flows<br />
apt-get -y --force-yes install fusionpbx-app-call-flows<br />
Conference Center:<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings<br />
Conferences: (old Conferences Tool)<br />
apt-get -y --force-yes install freeswitch-mod-conference fusionpbx-app-conferences fusionpbx-app-conferences-active fusionpbx-app-meetings <br />
Content Editor:<br />
apt-get -y --force-yes install fusionpbx-app-content<br />
Editing Tools pages:<br />
apt-get -y --force-yes install fusionpbx-app-edit<br />
Execution tools Page:<br />
apt-get -y --force-yes install fusionpbx-app-exec<br />
Faxing application:<br />
apt-get -y --force-yes install ghostscript libreoffice-common fusionpbx-app-fax<br />
Fifo: (First In First Out Queues)<br />
apt-get -y --force-yes install freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list<br />
Hot Desking:<br />
apt-get -y --force-yes install fusionpbx-app-hot-desking<br />
Shemas: (Database Schemas tools)<br />
apt-get -y --force-yes install fusionpbx-app-schemas<br />
Services: (Optional Services page)<br />
apt-get -y --force-yes install fusionpbx-app-services<br />
RTPM: (Html5 Sip Soft Phone)<br />
apt-get -y --force-yes install fusionpbx-app-sipml5 freeswitch-mod-rtmp<br />
SQL Query:<br />
apt-get -y --force-yes install fusionpbx-app-sql-query<br />
Traffic Graph:<br />
apt-get -y --force-yes install fusionpbx-app-traffic-graph<br />
Xmpp: Xmpp interface / Mod Dingaling Interface Page<br />
apt-get -y --force-yes install freeswitch-mod-dingaling fusionpbx-app-xmpp;<br />
Aastra: (aastra phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-aastra && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/aastra /etc/fusionpbx/resources/templates/provision/<br />
Atcom: (atcom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-atcom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/atcom /etc/fusionpbx/resources/templates/provision/<br />
Cisco: (cisco phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-cisco && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/cisco /etc/fusionpbx/resources/templates/provision/<br />
Grandstream: (grandstream phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-grandstream && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/grandstream /etc/fusionpbx/resources/templates/provision/<br />
Linksys: (linksys phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-linksys && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/linksys /etc/fusionpbx/resources/templates/provision/<br />
Panasonic: (Panasonig phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-panasonic &&\<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/panasonic /etc/fusionpbx/resources/templates/provision/<br />
Polycom: (polycom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-polycom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/polycom /etc/fusionpbx/resources/templates/provision/<br />
Snom: (snom phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-snom && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/snom /etc/fusionpbx/resources/templates/provision/<br />
Yealink: (aastr phone teplates + provisioning pages/tools)<br />
apt-get -y --force-yes install fusionpbx-app-devices fusionpbx-app-provision fusionpbx-provisioning-template-yealink && \<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/yealink /etc/fusionpbx/resources/templates/provision/<br />
Verto:<br />
apt-get -y --force-yes install freeswitch-mod-verto<br />
Accessible Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-accessible<br />
Classic Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-classic<br />
Default Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-default<br />
Minimized Gui Interface Theme:<br />
apt-get -y --force-yes install freeswitch-theme-minimized<br />
All extra modules/Apps<br />
apt-get -y --force-yes install fusionpbx-app-adminer fusionpbx-app-backup fusionpbx-app-call-broadcast freeswitch-mod-callcenter fusionpbx-app-call-center fusionpbx-app-call-center-active fusionpbx-app-call-flows freeswitch-mod-conference \<br />
fusionpbx-app-conference-centers fusionpbx-app-conferences-active fusionpbx-app-meetings fusionpbx-app-conferences fusionpbx-app-content fusionpbx-app-edit fusionpbx-app-exec freeswitch-mod-fifo fusionpbx-app-fifo fusionpbx-app-fifo-list \<br />
fusionpbx-app-hot-desking fusionpbx-app-schemas fusionpbx-app-services fusionpbx-app-sipml5 freeswitch-mod-rtmp fusionpbx-app-sql-query fusionpbx-app-traffic-graph freeswitch-mod-dingaling fusionpbx-app-xmpp fusionpbx-app-devices \<br />
fusionpbx-app-provision fusionpbx-provisioning-template-aastra fusionpbx-provisioning-template-atcom fusionpbx-provisioning-template-cisco fusionpbx-provisioning-template-grandstream fusionpbx-provisioning-template-linksys \<br />
fusionpbx-provisioning-template-panasonic fusionpbx-app-provision fusionpbx-provisioning-template-polycom fusionpbx-app-provision fusionpbx-provisioning-template-snom fusionpbx-provisioning-template-yealink fusionpbx-theme-accessible \<br />
fusionpbx-theme-classic fusionpbx-theme-default fusionpbx-theme-minimized freeswitch-mod-verto<br />
Copy all installed phone templates into place :<br />
cp -rp /usr/share/examples/fusionpbx/resources/templates/provision/* /etc/fusionpbx/resources/templates/provision/<br />
After Installing Optional Modules/Apps<br />
<br />
Login to the Gui, Goto Advanced ==> upgrade ==> and check all the boxes and hit apply.<br />
Logout of the gui and Re-Login and the new functions will appear and function properly...</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install&diff=3362Debian Fusionpbx Pkg or Source Install2015-01-25T15:33:23Z<p>Rneese: /* Postgresql Gui Configuration */</p>
<hr />
<div>==Pre Install Information==<br />
<br />
Debian Squeeze (EOL) Unsupported | Wheezy (Stable) | Jessie (Testing)<br />
<br />
This script uses Sqlite by default for the fusionpbx database.<br />
<br />
If you wish to use Postgresql locally or on a remote database server.<br />
<br />
You need to edit the script and enable the pgsql-client or pgsql-server option.<br />
<br />
You will need to fill in the required information following the option.<br />
<br />
This Install if you do not select extra options . Will Install A very Minimal But operational pbx system.<br />
<br />
==Install Debian Wheezy with iso==<br />
Download and install a minimal Debian wheezy<br />
<br />
Get iso's here:<br />
<br />
Offline Install Iso:<br />
<br />
amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso<br />
<br />
Net Install iso:<br />
<br />
net-amd64: http://cdimage.debian.org/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso<br />
<br />
Burn the iso to disk Or use http://unetbootin.sourceforge.net/ to create your installation thumb stick. (Win/Linux)<br />
<br />
==Steps for Install==<br />
Step 1 : Install a minimal version of debian. (Including ssh server)<br />
<br />
step 2 : ssh into the system..<br />
<br />
(MENT FOR STABLE / PRODUCTION SYSTEM INSTALLS / USE AT OWN RISK ... FOR TESTING AND DEVELOPMENT)<br />
<br />
then get: wget http://fusionpbx.googlecode.com/svn/trunk/scripts/install/Debian/FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 3 : chmod +x FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh<br />
<br />
step 4 : nano / vi the FusionPbx-Debian-Optional-Pkgs-or-Source-Install.sh script and select the extra options you want<br />
<br />
In this script section change the ( n to y ) to enable or ( y to n ) to disable the option.<br />
<br />
Please read all the information in the top of the script and make sure you understand it.<br />
<br />
################### FreeSWITCH Debian FHS Configuration ########################<br />
<br />
" FreeSWITCH Debian FHS Configuration "<br />
<br />
Locations:<br />
prefix: /usr<br />
exec_prefix: ${prefix}<br />
bindir: ${exec_prefix}/bin<br />
sysconfdir: /etc/freeswitch<br />
libdir: ${exec_prefix}/lib<br />
<br />
certsdir: /etc/freeswitch/tls<br />
dbdir: /var/lib/freeswitch/db<br />
grammardir: /usr/share/freeswitch/grammar<br />
htdocsdir: /usr/share/freeswitch/htdocs<br />
logfiledir: /var/log/freeswitch<br />
modulesdir: /usr/lib/freeswitch/mod<br />
pkgconfigdir: ${exec_prefix}/lib/pkgconfig<br />
recordingsdir: /var/lib/freeswitch/recordings<br />
runtimedir: /var/run/freeswitch<br />
scriptdir: /var/lib/freeswitch/scripts<br />
soundsdir: /usr/share/freeswitch/sounds<br />
storagedir: /var/lib/freeswitch/storage<br />
cachedir: /var/cache/freeswitch<br />
<br />
################################################################################<br />
########################################<br />
#<------Start/Begin Edit HERE---------><br />
########################################<br />
########################<br />
# Freeswitch Options<br />
########################<br />
############################################################<br />
# Select to use the Release or head branch of freeswitch<br />
# if you select to change y to n it will use 1.5 head branch<br />
############################################################<br />
freeswitch_stable="y"<br />
<br />
################################################################################ <br />
# If you select to use the freeswitch pkgs it will use the prebuilt debian pkgs.<br />
# If you select not to use the freeswitch debian pkgs it will use git and pull<br />
# down all the build deps and and git the freeswitch src and build and install<br />
# from the freeswitch source code using the debian fhs lay out.<br />
################################################################################<br />
use_freeswitch_pkgs="n"<br />
<br />
#####################################################################################################<br />
# Set what language lang/say pkgs and language sound files to use. ( Only if pkgs install is selected )<br />
# en-ca=English/CA en-us=English/US (default) fr-ca=French/Canadian pt-br=Portuguese/Brazill<br />
# ru-ru=Russian/Russia sv-se=Swedish/Sweden zh-cn=chinese/Mandarin zh-hk=chinese/HongKong<br />
#####################################################################################################<br />
use_lang="en-us"<br />
<br />
################################################################################<br />
#Set what sounds to use when using the freeswitch source build.<br />
# cdsounds = 8k / 16k / 32k / 48k <br />
# if you select not to use cd sounds it will use<br />
# hdsounds = 8k / 16k sounds only<br />
################################################################################<br />
use_cd_sounds=="y" <br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# set how many COU_CORES are used to compile with<br />
################################################################################<br />
CPU_CORES=1<br />
<br />
################################################################################<br />
# If you select not to use pkgs but to build from source. Here is a option to<br />
# pull and use the freeswitch contribs src for extra modules. (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freeswitch_contrib="n"<br />
<br />
################################################################################<br />
# Enable / Build Freetdm into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_freetdm="n"<br />
<br />
################################################################################<br />
# Enable / Build GsmOpen into freeswitch (UNDER DEVELOPMENT)<br />
################################################################################<br />
use_gsmopen="n"<br />
<br />
################################################################################<br />
#Freeswutch Modules Selection<br />
################################################################################<br />
use_extra_modules="n"<br />
<br />
#####################################################<br />
#Freeswitch Default Enabled Modules ( Required for base build )<br />
#####################################################<br />
#applications/mod_commands #applications/mod_conference #applications/mod_db<br />
#applications/mod_dptools #applications/mod_enum #applications/mod_esf<br />
#applications/mod_expr #applications/mod_fifo #applications/mod_fsv<br />
#applications/mod_hash #applications/mod_httapi #applications/mod_sms<br />
#applications/mod_spandsp #applications/mod_valet_parking #applications/mod_voicemail<br />
#codecs/mod_amr #codecs/mod_bv #codecs/mod_b64<br />
#codecs/mod_g723_1 #codecs/mod_g729 #codecs/mod_h26x<br />
#codecs/mod_vp8 #codecs/mod_opus #dialplans/mod_dialplan_asterisk<br />
#dialplans/mod_dialplan_xml #endpoints/mod_rtc #endpoints/mod_verto<br />
#endpoints/mod_loopback #endpoints/mod_skinny #endpoints/mod_sofia<br />
#event_handlers/mod_cdr_csv #event_handlers/mod_cdr_sqlite #event_handlers/mod_event_socket<br />
#formats/mod_local_stream #formats/mod_native_file #formats/mod_portaudio_stream<br />
#formats/mod_sndfile #formats/mod_tone_stream #languages/mod_lua<br />
#loggers/mod_console #loggers/mod_logfile #loggers/mod_syslog<br />
#say/mod_say_en #xml_int/mod_xml_cdr #xml_int/mod_xml_rpc<br />
#xml_int/mod_xml_scgi<br />
<br />
#####################################################<br />
# Fusionpbx Default enabled Modules<br />
#####################################################<br />
#applications/mod_blacklist #applications/mod_callcenter #applications/mod_cidlookup<br />
#applications/mod_curl #applications/mod_distributor #applications/mod_esl<br />
#applications/mod_lcr #applications/mod_memcache #codecs/mod_amrwb<br />
#codecs/mod_celt #codecs/mod_codec2 #codecs/mod_ilbc<br />
#codecs/mod_isac #codecs/mod_silk #codecs/mod_siren<br />
#codecs/mod_theora #mod_portaudio #mod_portaudio_stream<br />
#mod_dingaling #mod_spy #mod_translat<br />
#mod_flite #mod_pocketsphinx #mod_tts_commandline<br />
#mod_event_multicast #mod_event_test #mod_shout<br />
#mod_rtmp (sipml5) #mod_random<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
fusionpbx_modules_add=( mod_blacklist mod_callcenter mod_cidlookup mod_curl mod_distributor \<br />
mod_esl mod_lcr mod_memcache mod_amrwb mod_celt mod_codec2 mod_isac mod_silk mod_siren \<br />
mod_theora mod_portaudio mod_dingaling mod_spy mod_translate mod_flite mod_pocketsphinx \<br />
mod_tts_commandline mod_event_multicast mod_event_test mod_shout mod_rtmp mod_random )<br />
<br />
#############################<br />
# Optional Freeswitch Modules<br />
#############################<br />
#applications/mod_abstraction #applications/mod_avmd #applications/mod_bert<br />
#applications/mod_cluechoo #applications/mod_directory #applications/mod_easyroute<br />
#applications/mod_fsk #applications/mod_http_cache #applications/mod_ladspa<br />
#applications/mod_mongo #applications/mod_mp4 #applications/mod_nibblebill<br />
#applications/mod_oreka #applications/mod_osp #applications/mod_prefix<br />
#applications/mod_rad_auth #applications/mod_redis #applications/mod_rss<br />
#applications/mod_sonar #applications/mod_snapshot #applications/mod_snipe_hunt<br />
#applications/mod_snom #applications/mod_soundtouch #applications/mod_stress<br />
#applications/mod_vmd #applications/mod_voicemail_ivr #applications/mod_random<br />
#asr_tts/mod_cepstral #asr_tts/mod_unimrcp #codecs/mod_com_g729<br />
#codecs/mod_dahdi_codec #codecs/mod_mp4v #codecs/mod_sangoma_codec<br />
#dialplans/mod_dialplan_directory #directories/mod_ldap #endpoints/mod_alsa<br />
#endpoints/mod_h323 #endpoints/mod_khomp #endpoints/mod_opal<br />
#endpoints/mod_skypopen #endpoints/mod_unicall #event_handlers/mod_cdr_mongodb<br />
#event_handlers/mod_cdr_pg_csv #event_handlers/mod_erlang_event #event_handlers/mod_event_zmq<br />
#event_handlers/mod_format_cdr #event_handlers/mod_json_cdr #event_handlers/mod_radius_cdr<br />
#event_handlers/mod_odbc_cdr #event_handlers/mod_rayo #event_handlers/mod_snmp<br />
#formats/mod_shell_stream #formats/mod_ssml #formats/mod_vlc<br />
#languages/mod_basic #languages/mod_java #languages/mod_managed<br />
#languages/mod_perl #languages/mod_python #languages/mod_v8<br />
#languages/mod_yaml #loggers/mod_graylog2 #say/mod_say_de<br />
#say/mod_say_es #say/mod_say_es_ar #say/mod_say_fa<br />
#say/mod_say_fr #say/mod_say_he #say/mod_say_hr<br />
#say/mod_say_hu #say/mod_say_it #say/mod_say_ja<br />
#say/mod_say_nl #say/mod_say_pl #say/mod_say_pt<br />
#say/mod_say_ru #say/mod_say_th #say/mod_say_zh<br />
#say/mod_say_sv #xml_int/mod_xml_ldap #xml_int/mod_xml_radius <br />
#mod_posix_timer #mod_timerfd<br />
<br />
#../../libs/freetdm/mod_freetdm<br />
<br />
# Experimental Modules (don't cry if they're broken)<br />
#../../contrib/mod/xml_int/mod_xml_odbc<br />
<br />
################################################################################<br />
# Please Select from the optional modules above and put them in the ( ). Use only<br />
# the 2nd part of the name so like applications/mod_abstraction use only the<br />
# mod_abstraction part. (UNDER DEVELOPMENT )<br />
################################################################################<br />
###################################################<br />
# Add / Enable optional modules from list above here<br />
###################################################<br />
if [[ $use_extra_modules == "y" ]]; then<br />
extra_modules_add=( )<br />
fi<br />
<br />
#################################<br />
# Freeswitch Contrib Modules<br />
#################################<br />
<br />
#../../contrib/ledr/c/mod_odbc_<br />
<br />
#################################################################################################<br />
# Options contrib modules (only if you selected to use the contribs git option )<br />
# (future Option) (UNDER DEVELOPMENT )<br />
#################################################################################################<br />
if [[ $use_freeswitch_contrib == "y" ]]; then<br />
contrib_modules_add=( ../../contrib/ledr/c/mod_odbc_query cd mo )<br />
fi<br />
<br />
###############################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_freetdm == "y" ]]; then<br />
freetdm_modules_add=( ../../libs/freetdm/mod_freetdm )<br />
fi<br />
<br />
################################################################################<br />
#Enable optional modules from list above here used for fusionpnbx build !!!!!!<br />
################################################################################<br />
if [[ $use_gsmopen == "y" ]]; then<br />
gsmopen_modules_add=( gsmopen mod_siren mod_xml_curl )<br />
fi<br />
<br />
################################################################<br />
# Option to disable some loging execpt for warnings and errors<br />
################################################################<br />
logging_level="n"<br />
<br />
####################<br />
# FUSIONPBX OPTIONS<br />
####################<br />
########################################################<br />
# Select to use the Stable or Dev Branch of fusionpbx<br />
# Change the y to n to use the dev branch for fusionpbx<br />
########################################################<br />
use_stable="y"<br />
<br />
#############################################################################<br />
#Set how long to keep freeswitch/fusionpbx log files 1 to 30 days (Default:5)<br />
#############################################################################<br />
keep_logs=5<br />
<br />
#######################################################################<br />
#Set mp3/wav file upload/post size limit ( Must Have the M on the end )<br />
#######################################################################<br />
upload_size="25M"<br />
<br />
##########################################<br />
#----Optional Fusionpbx Apps/Modules----<br />
##########################################<br />
#######################################<br />
# DO NOT SELECT FROM BOTH !!!!!!!!!!<br />
#######################################<br />
###################################################################<br />
# If you wish to install all options use THE ALL OPTION ONLY!!!!!!!<br />
###################################################################<br />
all="n" #: Install all extra modules for fusionpbx and related freeswitch deps<br />
<br />
###############################################################<br />
# Else select options fusionpbx module/appsfrom here........<br />
###############################################################<br />
adminer="n" # : integrated for an administrator in the superadmin group to enable easy database access<br />
backup="n" # : pbx backup module. backup sqlite db / configs/ logs<br />
call_broadcast="n" # : Create a recording and select one or more groups to have the system call and play the recording<br />
call_center="n" # : display queue status, agent status, tier status for call centers using mod_callcenter call queues<br />
call_flows="n" # : Typically used with day night mode. To direct calls between two destinations.<br />
conference_centers="n" # : tools for multi room confrences and room contol<br />
conference="n" # : tools for single room confrences and room contol<br />
content="n" # : Advanced-Content Manager<br />
edit="n" # : multi tools for editing (templates/xmlfiles/configfiles/scripts) files<br />
exec="n" # : comman shells pages for executing (php/shells) commands<br />
fax="n" # : fusionpbx send/recieve faxes service<br />
fifo="n" # : first in first out call queues system<br />
hot_desk="n" # : allows users to login and recieve calls on any office phone<br />
schemas="n" # :<br />
services="n" # : allows interaction with the processes running on your server<br />
sipml5="n" # : php base softphone<br />
sql_query="n" # : allows you to interactively submit SQL queries to the database used in FusionPBX<br />
traffic_graph="n" # : php graph for monitoing the network interface traffic<br />
xmpp="n" # : Configure XMPP to work with Google talk or other jabber servers<br />
aastra="n" # : phone provisioning tool & templates for aastra phones<br />
atcom="n" # : phone provisioning tool & templates for atcom phones<br />
cisco="n" # : phone provisioning tool & templates for cisco phones<br />
grandstream="n" # : phone provisioning tool & templates for grandstream phones<br />
linksys="n" # : phone provisioning tool & templates for linksys phones<br />
panasonic="n" # : phone provisioning tool & templates for panasonic phones<br />
polycom="n" # : phone provisioning tool & templates for polycom phones<br />
snom="n" # : provisioning tool & templates for snom phones<br />
yealink="n" # : phone provisioning tool & templates for yealink phones<br />
verto="n" # (x86/amd64 Only) (future option on arm)<br />
accessible_theme="n" # : accessible theme for fusionpbx<br />
classic_theme="n" # : classic theme for fusionpbx<br />
default_theme="n" # : default theme for fusionpbx<br />
minimized_theme="n" # : minimal theme for fusionpbx<br />
<br />
######################################<br />
# POSTGRESQL ( Optional Not Required)<br />
######################################<br />
################################################<br />
# Please Select Server or Client not both !!!!!!<br />
################################################<br />
<br />
#################################################################################<br />
# Install postgresql Client 9.4 for connection to remote postgresql servers (y/n)<br />
#################################################################################<br />
postgresql_client="n"<br />
<br />
#################################################################################<br />
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)<br />
# Notice:<br />
# You should not use postgresql server on a nand/emmc/sd. It cuts the performance<br />
# life in half due to all the needed reads and writes. This cuts the life of<br />
# your pbx emmc/sd in half.<br />
#################################################################################<br />
postgresql_server="n"<br />
<br />
##########################################################<br />
# Set Postgresql Server Admin username ( Lower case only )<br />
##########################################################<br />
pgsql_admin=pgsqladmin<br />
<br />
######################################<br />
# Set Postgresql Server Admin password<br />
######################################<br />
pgsql_admin_passwd=pgsqladmin2015<br />
<br />
####################################################################################<br />
# Set Database Name used for fusionpbx in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_name=fusionpbx<br />
<br />
####################################################################################<br />
# Set FusionPBX database admin name.(used by fusionpbx to access the database table<br />
# in the postgresql server (Default: fusionpbx)<br />
####################################################################################<br />
db_user_name=fusionpbxadmin<br />
<br />
###################################################################################<br />
# Set FusionPBX database admin password .(used by fusionpbx to access the database <br />
# table in the postgresql server). Please set a very secure password !!!!!!<br />
###################################################################################<br />
db_user_passwd=fusionpbx2015<br />
<br />
###############################################################################<br />
# Disable xml_cdr files in /var/log/freeswitch/xml_cdr and only log cdr to the <br />
# sqlite or pgsql database only. <br />
###############################################################################<br />
xml_cdr_files == "y"<br />
<br />
################################################################<br />
#Install Ajenti Optional Admin Portal Optional (Not Required)<br />
################################################################<br />
install_ajenti="n"<br />
<br />
####################################<br />
#<------Stop/End Edit Here--------><br />
####################################<br />
<br />
Step 5: save file<br />
<br />
step 6 : ./ = period slash ./Fusionpbx-Debian-Package-Install.sh<br />
<br />
About 10 min into the install it will ask you to goto the gui and do the configuration.. and then once you have done the gui configuration ...<br />
<br />
Once you have finished the gui setup give it about 3 min to do the final setup/configuration and it will state your system is now ready for use.<br />
<br />
Happy PBX'ing......<br />
<br />
==Postgresql Gui Configuration==<br />
<br />
If you Selected to use postgresql DB in the script on page 1 of the install select data base type of postgresql.<br />
<br />
Set a Admin Name and password. and click next<br />
<br />
ON this page enter the information echo'ed to you explaing to goto the web gui ip or domain name.<br />
<br />
[[File:Gui-instl-1.jpg]] <br />
[[File:Gui-instl-2.jpg]]<br />
<br />
<br />
then click on next.. wait for the data base to populate.<br />
<br />
IF THE SCREEN SHOULD TIME OUT. WAIT A FEW MINUTES AND THEN GOTO <br />
<br />
https://ip or domain/logout.php....<br />
<br />
It will end the session and return you to the Login Screen.<br />
<br />
at this point return to the terminal and wait for the system to say :<br />
<br />
The install is now complete and your system is ready for use<br />
<br />
Please send any feed back to r.neese@gmail.com<br />
<br />
== Post Install Options==</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Installation&diff=3361Installation2015-01-25T15:31:04Z<p>Rneese: /* Editing the config safely */</p>
<hr />
<div>==Internet Connection VoIP test==<br />
If you are going to be using SIP connections for incoming/outgoing calls it is helpful to know if your internet connection<br><br />
is going to be able to handle it. Speed tests like this one http://myspeed.visualware.com/voip/ are helpful in checking your connection.<br><br />
<br />
==Installation==<br />
<br />
FusionPBX is multi-platform and can be installed on many operating systems.<br />
<br />
If you are wanting to install FusionPBXon an existing FreeSWITCH system then you should choose the relevant platform below and follow the appropriate <br />
<br />
instructions (before starting this, do note the warnings further down this page about the implications for your existing FreeSWITCH installation).<br />
<br />
If you are just wanting to test FusionPBX simply, then the best place to start is one of the ISO installs as it will get you up and running quickly <br />
<br />
(note that the draw back with ISO installs is that they normally start by erasing your harddrive so you need an unused machine to try them on OR you <br />
<br />
can try them in a virtual machine such as VirtualBox or VMware).<br />
<br />
Below are instructions that have been provided for a few of the operating systems if yours is not listed the ones that exist should hint<br><br />
towards the general install process.<br />
===Scripted Installs===<br />
*[[Debian_Fusionpbx_Pkg_or_Source_Install]] Supports Debian 7 Wheezy and working to support Debian 8 Jessie. (Supports native PGSQL and Native ODBC by Default)<br />
<br />
*[[Easy FusionPBX]] A scripted install that currently supports Debian Squeeze, Ubuntu 10.04LTS, and Ubuntu 12.04LTS.<br />
<br />
*[[CentOS 6.2 with PostgreSQL]]<br />
<br />
===Manual Install===<br />
*Installing from scratch - Linux & Unix OS variants:<br />
** [[FreeBSD Install]]<br />
** [[CentOS Install]]<br />
** [[Debian Install]]<br />
** [[Ubuntu Install]]<br />
** [[FreeSWITCH compile]]<br />
** OpenWRT http://tech.psgv.ca/2011/06/installing-fusionpbx-on-openwrt-wip/<br />
<br />
===Mac===<br />
*Installing from scratch - Mac OS:<br />
** [[Mac OS X Install]]<br />
<br />
===Windows===<br />
*Installing from scratch - Windows:<br />
** [[Windows Install]]<br />
** [[Web Platform Installer]]<br />
<br />
===Raspberry Pi===<br />
* [[Raspberry Pi Script]] Script install<br />
<br />
===pfSense 2.1===<br />
* [[pfSense EasyInstall script]]<br />
* [[pfSense FusionPBX package]]<br />
* [[Installing FusionPBX behind pfSense]]<br />
<br />
===Other Installs:===<br />
* [[Embedded Image]]<br />
* [[G729 Install]]<br />
*VPS Specific<br />
* [[ChunkHost Install]]<br />
[If you need to run the FusionPBX install.php again simply remove the includes/config.php file then browse to the index.php <br />
<br />
page on the root of the website - if you want to reinitialize the database, drop the entire DB, not just the tables]<br />
<br />
==General Tips==<br />
<br />
<br />
===Installing onto an existing FreeSWITCH system===<br />
<br />
Installing FusionPBX onto an existing install of FreeSWITCH will reset all your files in the FreeSWITCH conf folder to the FusionPBX defaults. <br />
<br />
Although FusionPBX tries to make a backup of your config, located in the folder conf.orig, it is still a good idea to back them up.<br><br />
<br />
Comments from IRC conversation about this:<br />
* the main thing overwritten during the install would be freeswitch's default dialplan<br />
* in fusionpbx I prefix most files with a v_ that way fusionpbx indicates to you the majority of the files it creates<br />
* the autoload_config files are not renamed but extensions, inbound routes, ivr menu, outbound routes, and dialplan entries uses the v_ file<br />
<br />
prefix and the gui ignores files without that prefix allowing you to have custom settings anywhere you want in the config. Fusionpbx <br />
<br />
doesn't import the custom settings <br />
* the difference between freeswitch default dialplan is that the feature codes are prefixed with a * to free up numbers for user defined things <br />
<br />
and allow extension numbers to be whatever you want between 2-7 digits<br />
* great care has been made to let people access to controlling freeswitch at any level desired with fusionpbx with as little or as much as you want. <br />
<br />
The gui has been designed to make it easier to use freeswitch but also have had smart people in mind as well<br />
<br />
===Testing:===<br />
<br />
* http://doc.pfsense.org/index.php/FreeSWITCH#General_Tips<br />
* http://doc.pfsense.org/index.php/FreeSWITCH<br />
<br />
===Editing the config safely===<br />
<br />
Guide to [[Editing Config Files Safely]]. FusionPBX guide for editing the config files manually. Got a handle on the graphical interface and <br />
<br />
want to dig deeper into the power of FreeSWITCH? This guide describes what files are written by FusionPBX and should help indicate what files <br />
<br />
can be edited without losing changes.<br />
<br />
* http://www.fusionpbx.com/index.php?c=/editingconfigfiles.php<br />
<br />
===If your menus don't show===<br />
Go to http://domain_or_ip/core/menu/menu_list.php and press Restore Default. That should fix it.<br />
<br />
===Links===<br />
<br />
* [http://www.fusionpbx.com FusionPBX.com]<br />
* [http://www.freeswitch.org FreeSWITCH.org]</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Installation&diff=3360Installation2015-01-25T15:30:33Z<p>Rneese: /* Installing onto an existing FreeSWITCH system */</p>
<hr />
<div>==Internet Connection VoIP test==<br />
If you are going to be using SIP connections for incoming/outgoing calls it is helpful to know if your internet connection<br><br />
is going to be able to handle it. Speed tests like this one http://myspeed.visualware.com/voip/ are helpful in checking your connection.<br><br />
<br />
==Installation==<br />
<br />
FusionPBX is multi-platform and can be installed on many operating systems.<br />
<br />
If you are wanting to install FusionPBXon an existing FreeSWITCH system then you should choose the relevant platform below and follow the appropriate <br />
<br />
instructions (before starting this, do note the warnings further down this page about the implications for your existing FreeSWITCH installation).<br />
<br />
If you are just wanting to test FusionPBX simply, then the best place to start is one of the ISO installs as it will get you up and running quickly <br />
<br />
(note that the draw back with ISO installs is that they normally start by erasing your harddrive so you need an unused machine to try them on OR you <br />
<br />
can try them in a virtual machine such as VirtualBox or VMware).<br />
<br />
Below are instructions that have been provided for a few of the operating systems if yours is not listed the ones that exist should hint<br><br />
towards the general install process.<br />
===Scripted Installs===<br />
*[[Debian_Fusionpbx_Pkg_or_Source_Install]] Supports Debian 7 Wheezy and working to support Debian 8 Jessie. (Supports native PGSQL and Native ODBC by Default)<br />
<br />
*[[Easy FusionPBX]] A scripted install that currently supports Debian Squeeze, Ubuntu 10.04LTS, and Ubuntu 12.04LTS.<br />
<br />
*[[CentOS 6.2 with PostgreSQL]]<br />
<br />
===Manual Install===<br />
*Installing from scratch - Linux & Unix OS variants:<br />
** [[FreeBSD Install]]<br />
** [[CentOS Install]]<br />
** [[Debian Install]]<br />
** [[Ubuntu Install]]<br />
** [[FreeSWITCH compile]]<br />
** OpenWRT http://tech.psgv.ca/2011/06/installing-fusionpbx-on-openwrt-wip/<br />
<br />
===Mac===<br />
*Installing from scratch - Mac OS:<br />
** [[Mac OS X Install]]<br />
<br />
===Windows===<br />
*Installing from scratch - Windows:<br />
** [[Windows Install]]<br />
** [[Web Platform Installer]]<br />
<br />
===Raspberry Pi===<br />
* [[Raspberry Pi Script]] Script install<br />
<br />
===pfSense 2.1===<br />
* [[pfSense EasyInstall script]]<br />
* [[pfSense FusionPBX package]]<br />
* [[Installing FusionPBX behind pfSense]]<br />
<br />
===Other Installs:===<br />
* [[Embedded Image]]<br />
* [[G729 Install]]<br />
*VPS Specific<br />
* [[ChunkHost Install]]<br />
[If you need to run the FusionPBX install.php again simply remove the includes/config.php file then browse to the index.php <br />
<br />
page on the root of the website - if you want to reinitialize the database, drop the entire DB, not just the tables]<br />
<br />
==General Tips==<br />
<br />
<br />
===Installing onto an existing FreeSWITCH system===<br />
<br />
Installing FusionPBX onto an existing install of FreeSWITCH will reset all your files in the FreeSWITCH conf folder to the FusionPBX defaults. <br />
<br />
Although FusionPBX tries to make a backup of your config, located in the folder conf.orig, it is still a good idea to back them up.<br><br />
<br />
Comments from IRC conversation about this:<br />
* the main thing overwritten during the install would be freeswitch's default dialplan<br />
* in fusionpbx I prefix most files with a v_ that way fusionpbx indicates to you the majority of the files it creates<br />
* the autoload_config files are not renamed but extensions, inbound routes, ivr menu, outbound routes, and dialplan entries uses the v_ file<br />
<br />
prefix and the gui ignores files without that prefix allowing you to have custom settings anywhere you want in the config. Fusionpbx <br />
<br />
doesn't import the custom settings <br />
* the difference between freeswitch default dialplan is that the feature codes are prefixed with a * to free up numbers for user defined things <br />
<br />
and allow extension numbers to be whatever you want between 2-7 digits<br />
* great care has been made to let people access to controlling freeswitch at any level desired with fusionpbx with as little or as much as you want. <br />
<br />
The gui has been designed to make it easier to use freeswitch but also have had smart people in mind as well<br />
<br />
===Testing:===<br />
<br />
* http://doc.pfsense.org/index.php/FreeSWITCH#General_Tips<br />
* http://doc.pfsense.org/index.php/FreeSWITCH<br />
<br />
===Editing the config safely===<br />
<br />
Guide to [[Editing Config Files Safely]]. FusionPBX guide for editing the config files manually. Got a handle on the graphical interface and <br />
want to dig deeper into the power of FreeSWITCH? This guide describes what files are written by FusionPBX and should help indicate what files can be edited without losing changes.<br />
<br />
* http://www.fusionpbx.com/index.php?c=/editingconfigfiles.php <br />
<br />
===If your menus don't show===<br />
Go to http://domain_or_ip/core/menu/menu_list.php and press Restore Default. That should fix it.<br />
<br />
===Links===<br />
<br />
* [http://www.fusionpbx.com FusionPBX.com]<br />
* [http://www.freeswitch.org FreeSWITCH.org]</div>Rneesehttp://wiki.fusionpbx.com/index.php?title=Installation&diff=3359Installation2015-01-25T15:29:52Z<p>Rneese: /* Installing onto an existing FreeSWITCH system */</p>
<hr />
<div>==Internet Connection VoIP test==<br />
If you are going to be using SIP connections for incoming/outgoing calls it is helpful to know if your internet connection<br><br />
is going to be able to handle it. Speed tests like this one http://myspeed.visualware.com/voip/ are helpful in checking your connection.<br><br />
<br />
==Installation==<br />
<br />
FusionPBX is multi-platform and can be installed on many operating systems.<br />
<br />
If you are wanting to install FusionPBXon an existing FreeSWITCH system then you should choose the relevant platform below and follow the appropriate <br />
<br />
instructions (before starting this, do note the warnings further down this page about the implications for your existing FreeSWITCH installation).<br />
<br />
If you are just wanting to test FusionPBX simply, then the best place to start is one of the ISO installs as it will get you up and running quickly <br />
<br />
(note that the draw back with ISO installs is that they normally start by erasing your harddrive so you need an unused machine to try them on OR you <br />
<br />
can try them in a virtual machine such as VirtualBox or VMware).<br />
<br />
Below are instructions that have been provided for a few of the operating systems if yours is not listed the ones that exist should hint<br><br />
towards the general install process.<br />
===Scripted Installs===<br />
*[[Debian_Fusionpbx_Pkg_or_Source_Install]] Supports Debian 7 Wheezy and working to support Debian 8 Jessie. (Supports native PGSQL and Native ODBC by Default)<br />
<br />
*[[Easy FusionPBX]] A scripted install that currently supports Debian Squeeze, Ubuntu 10.04LTS, and Ubuntu 12.04LTS.<br />
<br />
*[[CentOS 6.2 with PostgreSQL]]<br />
<br />
===Manual Install===<br />
*Installing from scratch - Linux & Unix OS variants:<br />
** [[FreeBSD Install]]<br />
** [[CentOS Install]]<br />
** [[Debian Install]]<br />
** [[Ubuntu Install]]<br />
** [[FreeSWITCH compile]]<br />
** OpenWRT http://tech.psgv.ca/2011/06/installing-fusionpbx-on-openwrt-wip/<br />
<br />
===Mac===<br />
*Installing from scratch - Mac OS:<br />
** [[Mac OS X Install]]<br />
<br />
===Windows===<br />
*Installing from scratch - Windows:<br />
** [[Windows Install]]<br />
** [[Web Platform Installer]]<br />
<br />
===Raspberry Pi===<br />
* [[Raspberry Pi Script]] Script install<br />
<br />
===pfSense 2.1===<br />
* [[pfSense EasyInstall script]]<br />
* [[pfSense FusionPBX package]]<br />
* [[Installing FusionPBX behind pfSense]]<br />
<br />
===Other Installs:===<br />
* [[Embedded Image]]<br />
* [[G729 Install]]<br />
*VPS Specific<br />
* [[ChunkHost Install]]<br />
[If you need to run the FusionPBX install.php again simply remove the includes/config.php file then browse to the index.php <br />
<br />
page on the root of the website - if you want to reinitialize the database, drop the entire DB, not just the tables]<br />
<br />
==General Tips==<br />
<br />
<br />
===Installing onto an existing FreeSWITCH system===<br />
<br />
Installing FusionPBX onto an existing install of FreeSWITCH will reset all your files in the FreeSWITCH conf folder to the FusionPBX defaults. <br />
<br />
Although FusionPBX tries to make a backup of your config, located in the folder conf.orig, it is still a good idea to back them up.<br><br />
<br />
Comments from IRC conversation about this:<br />
* the main thing overwritten during the install would be freeswitch's default dialplan<br />
* in fusionpbx I prefix most files with a v_ that way fusionpbx indicates to you the majority of the files it creates<br />
* the autoload_config files are not renamed but extensions, inbound routes, ivr menu, outbound routes, and dialplan entries uses the v_ file<br />
<br />
prefix and the gui ignores files without that prefix allowing you to have custom settings anywhere you want in the config. Fusionpbx <br />
<br />
doesn't import the custom settings <br />
* the difference between freeswitch default dialplan is that the feature codes are prefixed with a * to free up numbers for user defined things <br />
<br />
and allow extension numbers to be whatever you want between 2-7 digits<br />
* great care has been made to let people access to controlling freeswitch at any level desired with fusionpbx with as little or as much as you want. <br />
<br />
The gui has been designed to make it easier to use freeswitch but also have had smart people in mind as well<br />
<br />
===Testing:===<br />
<br />
* http://doc.pfsense.org/index.php/FreeSWITCH#General_Tips<br />
* http://doc.pfsense.org/index.php/FreeSWITCH<br />
<br />
===Editing the config safely===<br />
<br />
Guide to [[Editing Config Files Safely]]. FusionPBX guide for editing the config files manually. Got a handle on the graphical interface and <br />
want to dig deeper into the power of FreeSWITCH? This guide describes what files are written by FusionPBX and should help indicate what files can be edited without losing changes.<br />
<br />
* http://www.fusionpbx.com/index.php?c=/editingconfigfiles.php <br />
<br />
===If your menus don't show===<br />
Go to http://domain_or_ip/core/menu/menu_list.php and press Restore Default. That should fix it.<br />
<br />
===Links===<br />
<br />
* [http://www.fusionpbx.com FusionPBX.com]<br />
* [http://www.freeswitch.org FreeSWITCH.org]</div>Rneese