<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FusionPBX &#8211; Diary of an Emacs tragic</title>
	<atom:link href="https://emacstragic.net/tag/fusionpbx/feed/" rel="self" type="application/rss+xml" />
	<link>https://emacstragic.net</link>
	<description>Jason Lewis</description>
	<lastBuildDate>Thu, 06 Mar 2014 02:28:30 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://emacstragic.net/wp-content/uploads/2018/12/cropped-jason-lewis-profile-picture-square-150x150.jpg</url>
	<title>FusionPBX &#8211; Diary of an Emacs tragic</title>
	<link>https://emacstragic.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">38469313</site>	<item>
		<title>Tips on installing FreeSWITCH and FusionPBX in debian</title>
		<link>https://emacstragic.net/uncategorized/tips-installing-freeswitch-fusionpbx-debian/</link>
					<comments>https://emacstragic.net/uncategorized/tips-installing-freeswitch-fusionpbx-debian/#comments</comments>
		
		<dc:creator><![CDATA[Jason]]></dc:creator>
		<pubDate>Thu, 06 Mar 2014 02:28:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[FreeSWITCH]]></category>
		<category><![CDATA[FusionPBX]]></category>
		<guid isPermaLink="false">http://emacstragic.net/?p=950</guid>

					<description><![CDATA[I&#8217;ve been testing out FreeSWITCH and FusionPBX. I found it non trivial to install in debian. Here are my tips for installing. Don&#8217;t bother with the install script. I found it to be broken. And when it breaks during install, it leaves you in a state that&#8217;s very hard to understand and fix. In the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been testing out <a title="The FreeSWITCH Project" href="https://www.freeswitch.org/">FreeSWITCH</a> and <a title="The FusionPBX Project" href="http://www.fusionpbx.com/">FusionPBX</a>. I found it non trivial to install in debian. Here are my tips for installing.</p>
<ol>
<li>Don&#8217;t bother with the install script. I found it to be broken. And when it breaks during install, it leaves you in a state that&#8217;s very hard to understand and fix. In the end it was easier to install FreeSWITCH by hand, get that working, to the extend that you can make inter extension calls, then proceed with the FusionPBX install.</li>
<li> Install FreeSWITCH by following the <a title="FreeSWITCH Quick Install Guide" href="http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide#Download">Quick Install Guide</a>.</li>
<li>Commit the entire FreeSWITCH configuration to git so its easy to roll back when you reinstall FusionPBX. Switch to a new branch before making further changes.
<pre>cd /usr/local/freeswitch
      git init
      echo 'db/*' &gt;&gt; .gitignore
      echo 'log/*' &gt;&gt; .gitignore
      echo '.svn*' &gt;&gt; .gitignore
      git add -A
      git commit -m "Initial Commit"
      git checkout -b try1
</pre>
</li>
<li>Get the latest version of FusionPBX from svn.
<pre>cd /usr/src
         svn checkout http://fusionpbx.googlecode.com/svn/trunk/ fusionpbx
         cd fusionpbx
         cp -a fusionpbx /var/www/fusionpbx
</pre>
</li>
<li>Create a fusionpbx site for apache and enable it. Note that this makes fusionpbx appear at the root of your site. Create file called fusionpbx in your /etc/apache2/sites-available directory and put the following in it:
<pre>      &lt;VirtualHost *:80&gt;
        ServerAdmin webmaster@localhost
        ServerName freepbx.example.com
        DocumentRoot /var/www/fusionpbx
        &lt;Directory /&gt;
                Options FollowSymLinks
                AllowOverride None
        &lt;/Directory&gt;
        &lt;Directory /var/www/fusionpbx/&gt;
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        &lt;/Directory&gt;
        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        &lt;Directory "/usr/lib/cgi-bin"&gt;
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        &lt;/Directory&gt;
        ErrorLog /var/log/apache2/error.log
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel debug
        CustomLog /var/log/apache2/access.log combined
    Alias /doc/ "/usr/share/doc/"
    &lt;Directory "/usr/share/doc/"&gt;
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>
<p>Then enable the site with <code>a2ensite fusionpbx/</code></li>
<li>after installing FusionPBX, commit the entire configuration to git to make rolling back easier. Switch to a new branch before making further changes.</li>
<li>set up a FQDN for the box running FreeSWITCH and FusionPBX</li>
<li>use ACL to allow www-data to make changes to the /usr/share/freeswitch directory</li>
</ol>
<p>And after you install and you realise it didn&#8217;t quite go as planned</p>
<ol>
<li>Reset the postgresql database:
<pre>root@fusionpbx: # su - postgres
postgres@fusionpbx:~$ psql
postgres=# drop database fusionpbx;
postgres=# create database fusionpbx;
postgres=# alter user fusionpbx with password 'XXXX';
grant ALL PRIVILEGES ON DATABASE fusionpbx to fusionpbx;
</pre>
</li>
<li>revert your FreeSWITCH configuration using git</li>
<li>revert your FusionPBX configuration using git</li>
</ol>
<p><!-- Local Variables: --><br />
<!-- eval: (html-mode) --><br />
<!-- eval: (toggle-truncate-lines) --><br />
<!-- End: --></p>
]]></content:encoded>
					
					<wfw:commentRss>https://emacstragic.net/uncategorized/tips-installing-freeswitch-fusionpbx-debian/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">950</post-id>	</item>
	</channel>
</rss>
