<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Introducing Version 3 of the Plug-and-Play Asterisk IP PBX for the Intel Mac	</title>
	<atom:link href="https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/</link>
	<description>Ward Mundy&#039;s Technobabblelog</description>
	<lastBuildDate>Thu, 02 Jun 2011 13:59:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2939</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Sun, 28 Oct 2007 23:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2939</guid>

					<description><![CDATA[one last thing needed is the perl modules DBI and DBD::mysql

open terminal and type perl -v to make sure perl is installed it should be by default.
Then type cpan
then force install DBI
then force install DBD::mysql
then chmod 777 /var/lib/asterisk/bin/.retreive_conf
then cd /var/lib/asterisk/bin/
then chmod 777 *.pl
now clicking on the red bar in freepbx reload the configs from mysql correctly.

All working now.]]></description>
			<content:encoded><![CDATA[<p>one last thing needed is the perl modules DBI and DBD::mysql</p>
<p>open terminal and type perl -v to make sure perl is installed it should be by default.<br />
Then type cpan<br />
then force install DBI<br />
then force install DBD::mysql<br />
then chmod 777 /var/lib/asterisk/bin/.retreive_conf<br />
then cd /var/lib/asterisk/bin/<br />
then chmod 777 *.pl<br />
now clicking on the red bar in freepbx reload the configs from mysql correctly.</p>
<p>All working now.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2938</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Sun, 28 Oct 2007 21:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2938</guid>

					<description><![CDATA[ok so on with the Leopard install of freepbx

The latest version 2.3.1 needs a lot of work to get going so im going to install version 2.2.2 as this installs without problems.

download it form sourceforge and cd to that folder
do a ./install_amp in the terminal
be sure to set the amp web root to /Library/WebServer/Document/fpbx
(or replace fpbx with your choice)
chown www -R /Library/Webserver/Documents/fpbx
chgrp www -R /Library/Webserver/Documents/fpbx
chown www /etc/amportal.conf
chgrp www /etc/amportal.conf
and i also added my user account to the file permission in the finder get info box for that file and the fpbx folder.
open up safari and goto localhost/fpbx
start configuring your pbx :)]]></description>
			<content:encoded><![CDATA[<p>ok so on with the Leopard install of freepbx</p>
<p>The latest version 2.3.1 needs a lot of work to get going so im going to install version 2.2.2 as this installs without problems.</p>
<p>download it form sourceforge and cd to that folder<br />
do a ./install_amp in the terminal<br />
be sure to set the amp web root to /Library/WebServer/Document/fpbx<br />
(or replace fpbx with your choice)<br />
chown www -R /Library/Webserver/Documents/fpbx<br />
chgrp www -R /Library/Webserver/Documents/fpbx<br />
chown www /etc/amportal.conf<br />
chgrp www /etc/amportal.conf<br />
and i also added my user account to the file permission in the finder get info box for that file and the fpbx folder.<br />
open up safari and goto localhost/fpbx<br />
start configuring your pbx 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2937</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Sun, 28 Oct 2007 21:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2937</guid>

					<description><![CDATA[OK, so Leopard has arrived, installed yesterday. so now on with Asterisk &amp; FreePBX.
Here&#039;s the steps needed, these were done with an Erase &amp; Install of Leopard so if youve upgraded from Tiger there may be other probs, but post here and i will try and hep!

Install Developer Tools &amp; a text editor i choose textwrangler

Edit /etc/apache2/httpd.conf and remove the # from the line that says LoadModule php5_module

Install Mysql 5.0.45 from mysql.com ( or compile it if you choose)
Install mysql startup item - but not the pref pane as its not leopard compatible.

In terminal open new window and do a sudo -s and enter admin password then do:
chown -R mysql /usr/local/mysql/data
echo &#039;export PATH=/usr/local/mysql/bin:$PATH&#039;&gt;&gt;~/.bash_profile
(This adds mysql commands to your prompt)
mysqld_safe &amp;
(start up mysql)
mysql_secure_installation
(secure mysql answer the prompts as you desire)

Download and install phpMyAdmin ( i used version 2.8.2.4)
Download and install SymbolicLinker.plugin ( this is a contextual menu item - i will post links to my site with all the files req later)

Setup SSL ( optional - see apple http://developer.apple.com/internet/serverside/modssl.html    *** if you do this note that the apple instructions are for Tiger - on Leopard copy the certificates to /etc/apache2/sslkey NOT etc/httpd )

install pear - (**note its no longer go-pear.php) 
so in terminal do # curl http://pear.php.net/go-pear &#124; php
and then # pear install DB
Now make a copy of  your php.ini file in /etc/php.ini.defaults called /etc/php.ini
open this file in textwrangler and change the line include_path to include_path=&quot;.:/usr/local/share/pear&quot;
save the file and restart websharing in system preferences.

Next download Server Admin tools 10.5 from Apple website and install it.
Open up workgroup manager and create a group and user called asterisk.

Download Asterisk 1.2.24, Asterisk addons and asterisk sounds.

cd to your downloaded asterisk folder
do a make
then a make install
then cd to asterisk addons
and do a make
and a make install
then cd to asterisk sounds
and do a make install

Next fix the mysql links that are not quite right, mysql is at /usr/local/mysql/lib but apache is looking for them at /usr/local/mysql/lib/mysql so make a folder called mysql inside /usr/local/mysql/lib and symlink the contents of mysql into it.
be careful to copy the contents and not the folder or you will double nest it.

Also the socket for mysql is wrong in apache to, its looking for it at /var/mysql/mysql.sock when infact its been installed at /etc/tmp/mysql.sock so just make a symlink again to that location.

remove the module res_odbc.so from /usr/lib/asterisk as it causes an error that stops asterisk starting on leopard and were using mysql anyway so we dont need it - (i may look for a solution to this at some time).

ok so thats got asterisk installed on Leopard, 

fire up asterisk with asterisk vvvvdgi.

Im of to install freepbx now so i will document that when its done.]]></description>
			<content:encoded><![CDATA[<p>OK, so Leopard has arrived, installed yesterday. so now on with Asterisk &#038; FreePBX.<br />
Here&#8217;s the steps needed, these were done with an Erase &#038; Install of Leopard so if youve upgraded from Tiger there may be other probs, but post here and i will try and hep!</p>
<p>Install Developer Tools &#038; a text editor i choose textwrangler</p>
<p>Edit /etc/apache2/httpd.conf and remove the # from the line that says LoadModule php5_module</p>
<p>Install Mysql 5.0.45 from mysql.com ( or compile it if you choose)<br />
Install mysql startup item &#8211; but not the pref pane as its not leopard compatible.</p>
<p>In terminal open new window and do a sudo -s and enter admin password then do:<br />
chown -R mysql /usr/local/mysql/data<br />
echo &#8216;export PATH=/usr/local/mysql/bin:$PATH&#8217;>>~/.bash_profile<br />
(This adds mysql commands to your prompt)<br />
mysqld_safe &#038;<br />
(start up mysql)<br />
mysql_secure_installation<br />
(secure mysql answer the prompts as you desire)</p>
<p>Download and install phpMyAdmin ( i used version 2.8.2.4)<br />
Download and install SymbolicLinker.plugin ( this is a contextual menu item &#8211; i will post links to my site with all the files req later)</p>
<p>Setup SSL ( optional &#8211; see apple <a href="http://developer.apple.com/internet/serverside/modssl.html" rel="nofollow ugc">http://developer.apple.com/internet/serverside/modssl.html</a>    *** if you do this note that the apple instructions are for Tiger &#8211; on Leopard copy the certificates to /etc/apache2/sslkey NOT etc/httpd )</p>
<p>install pear &#8211; (**note its no longer go-pear.php)<br />
so in terminal do # curl <a href="http://pear.php.net/go-pear" rel="nofollow ugc">http://pear.php.net/go-pear</a> | php<br />
and then # pear install DB<br />
Now make a copy of  your php.ini file in /etc/php.ini.defaults called /etc/php.ini<br />
open this file in textwrangler and change the line include_path to include_path=".:/usr/local/share/pear"<br />
save the file and restart websharing in system preferences.</p>
<p>Next download Server Admin tools 10.5 from Apple website and install it.<br />
Open up workgroup manager and create a group and user called asterisk.</p>
<p>Download Asterisk 1.2.24, Asterisk addons and asterisk sounds.</p>
<p>cd to your downloaded asterisk folder<br />
do a make<br />
then a make install<br />
then cd to asterisk addons<br />
and do a make<br />
and a make install<br />
then cd to asterisk sounds<br />
and do a make install</p>
<p>Next fix the mysql links that are not quite right, mysql is at /usr/local/mysql/lib but apache is looking for them at /usr/local/mysql/lib/mysql so make a folder called mysql inside /usr/local/mysql/lib and symlink the contents of mysql into it.<br />
be careful to copy the contents and not the folder or you will double nest it.</p>
<p>Also the socket for mysql is wrong in apache to, its looking for it at /var/mysql/mysql.sock when infact its been installed at /etc/tmp/mysql.sock so just make a symlink again to that location.</p>
<p>remove the module res_odbc.so from /usr/lib/asterisk as it causes an error that stops asterisk starting on leopard and were using mysql anyway so we dont need it &#8211; (i may look for a solution to this at some time).</p>
<p>ok so thats got asterisk installed on Leopard, </p>
<p>fire up asterisk with asterisk vvvvdgi.</p>
<p>Im of to install freepbx now so i will document that when its done.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2862</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Mon, 10 Sep 2007 22:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2862</guid>

					<description><![CDATA[BTW same setup is also running on my macpro with 10.4.10 lets see what happens with leopard next month.]]></description>
			<content:encoded><![CDATA[<p>BTW same setup is also running on my macpro with 10.4.10 lets see what happens with leopard next month.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2861</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Mon, 10 Sep 2007 22:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2861</guid>

					<description><![CDATA[ok well have just reinstalled from scratch onto g4 powerbook this time blogged as i went so for those still interested i&#039;ve pasted the entry here until my own blog goes up.

The Powerbook is a G4 1.67 with 1.5GB of Ram, Tiger 10.4.10 is the installed OS, with the following Apache 2.24 compiled from source to replace Apache 1.3 that apple ship, Mysql 5.0.45 again compiled form source and PHP 5.2.3, also installed / updated are PEAR with DB &amp; Bison. The software as i said was all compiled from source so you can guess that also installed is XCode 2.3. The location that i built the software to install into is usr/local/apache2 &amp; usr/local/mysql and usr/local/apache2/php. Some symbolic links were made to replace the apple versions so that tiger works correctly with them in place and apachectl was also linked to the new apache2 so that i can turn it on and off from web sharing in system preferences.

Ok so with the base system out of the way here are the steps I used to get Asterisk installed on Mac OS X with the FreePBX GUI.

These are the versions of the source i got that worked, ive tried older and newer version without success.

Asterisk-1.2.17

Asterisk-addons-1.2.5

Asterisk-sounds-1.2.1

FreePBX 2.2.2

Expanded the asterisk files into three folders asterisk1217, addons125 and sounds121

Moved those three folders into /usr/local/sources/asterisk/

Open up Terminal and sudo -s [Enter Admin Password]

cd /usr/local/sources/asterisk/asterisk1217

make
make install
make samples

ok thats got the base asterisk installed now change folders to the addons, so we can cd.. and cd asterisk-addons-125
folow that with a make
and then a make install

and do the same for the sounds
cd..
cd asterisk-sounds-121
make install

Ok if thats all done then asterisk is fully installed and ready to go, but we want to add the freePBX GUI to it so its easier to configure. Before I do that i will just quickly fire up asterisk to make sure it loads, so asterisk -vvvvcdgi and i get nice output from asterisk in the terminal as it starts, good, now to shut it down with stop now. Excellent all working so far so good.

Next up grab the source for freePBX, i got freePBX 2.2.2 as that was the latest version on the site, [ Note to self try FreePBX 2.3 &amp; check for diffs ].

Now expand the freePBX tar into a /usr/local/sources/freePBX.

Before installing freePBX we need to prepare the MySQL databases it will require, the two files that have the info we want are in the SQL folder in freePBX folder,
they are cdr_mysql_table.sql and newinstall.sql

Ok I have phpmyadmin installed on my setup ( you can do it from the terminal if you want ) and i need to create to mysql databases one called asterisk and one called asteriskcdrdb, so in phpMyAdmin enter asterisk into the create database box and click create, dont worry about making a table yet just return to the index page again and make the next database called asteriskcdrdb

Next import the data from the two .sql files into the corresponding database, i prefer to do this by running a sql query as sometimes importing files can cause phpmyadmin to hang, to im going to just open the newinstall.sql file in textedit then choose select all and copy, switch over to phpmyadmin and choose the asterisk database with that selected click on the sql tab and paste the content of the newinstall.sql file into the query box, hit go and seconds later you should have 17 or so tables in that database. Now do the same for the cdr-mysql-table.sql file.

OK return to the index page of phpmyadmin as we now need to set up the correct permissions for those two databases.
create a user called asterisk with a password of your choice ( the default is AMP109 ) and grant database-specific privileges to databases asterisk and asteriskcdrdb, i also specified only localhost in the hosts allowed to connect, to secure it even further but you may or may not want to do that.

Now restart mysql.

OK so nearly ready to install freepbx, but before lets just make a note of some paths we might need, when freepbx installs it will prompt you for the location to various folders such as your httpd docs folder and the cgi-bin folder, now on tiger these are in different locations to most other systems even if your using the apple defaults, [note were using apache2 and thats in a completely different location]

So my www path is /usr/local/apache2/htdocs/freepbx ( the apple default is /Library/Webserver/Documents )
my cgi-bin is /usr/local/apache2/cgi-bin ( the apple default is /Library/Webserver/CGI-Executables )
and i want FOP at /usr/local/apache2/htdocs/freepbx/panel

If you want your files in a different place or you have installed apache into /opt rather than /usr/local/apache2 you will need to lookup your paths now.

ok so once you know the paths lets cd to the freepbx source and ./install_amp remember you need to be sudo so if your opening a new terminal window do a sudo -s and enter your password before ./install_amp

The first question we get asked is for the USERNAME to connect to the asterisk database, just hit enter unless you have changed if to something other than asterisk

Next enter the password you created if you didnt use the default of AMP109 otherwise just hit enter

Next just hit enter for the hostname as mysql and asterisk are running on the same machine - obviousaly if this is not the case for you then enter the correct hostname here instead.

Now for the USERNAME for the Asterisk manager interface just hit enter as were using the default - again if your not change it to what your using.

And do the same for the PASSWORD for the Asterisk manager interface.

Now comes the paths to check carefully before hitting enter,
enter the path for the AMP ( FreePBX ) web-root folder, i choose /usr/local/apache2/htdocs/freepbx as i want a folder called freepbx with all the files in it on my webserver, you can call your folder anything but get the start of the path pointing to the right place or there will be problems.

Next enter the IP address of the machine, mine has a static address of 192.168.25.130 so i could enter that but im going to enter the localhost address of 127.0.0.1 just incase i want to change my actual ip later. you could also just enter localhost or even powerbook.local or whatever you hostname is.

Now enter a flash operator panel password or leave it set to the default of passw0rd by hitting enter, i hit enter 

Next hit enter to accept extensions ( this way phones and users are administered from the same page )

Again hit enter to store the exe’s in the /var/lib/asterisk/bin or change it if you want it elsewhere, again im hitting enter to use the default.

Do the same for super-user scripts at /usr/local/sbin just hit enter

FreePBX should now install, there will be a few permission errors at the end of the install but dont panic freepbx is installed and well fix the errors in a moment.

Ok so in the finder do a get info on your freepbx web root mine is /usr/local/apache2/htdocs/freePBX in the Ownership &amp; Permissions section of the Info window set the Owner to your user accound and set read &amp; write as the Access level, set the Group to WWW and the Access to read &amp; write and set Others to read &amp; write.

Ok so thats not very secure, but without changing apache to run as a different user and running into a bunch of other problems ( that i’ve experenced over the last year playing with this stuff ) im happy with that as my machine can only be access locally anyway.

Repeat those permission and owner settings for the following files and folders

/var/lib/asterisk - and choose Apply to enclosed items at the bottom of the info window

/var/spool/asterisk - and choose Apply to enclosed items at the bottom of the window

/etc/amportal.conf

/etc/asterisk - and choose Apply to enclosed items at the bottom of the windownow in the terminal goto /var/lib/asterisk/bin and chmod 777 *.pl this sets all the perl files to executable, and also chmod 777 retrieve_conf , to make that file executable too.

/var/lib/asterisk/agi-bin - and chmod 777 dialparties.agi and recordingcheck.agi

now execute ./retrieve_conf to make those files that the permission was denied for just a moment ago when we ran the install_amp script.

Now fire it up asterisk -vvvvcgdi

and in safari http://localhost/freePBX

So there is only one problem remaining in that clicking the red bar does not reload the configuration file - for some reason retrieve_conf is not being executed so remember to manually run that after making changes in the freePBX interface. when i find a solution to that last problem i will post it here.

But for now
Success ! A working system.]]></description>
			<content:encoded><![CDATA[<p>ok well have just reinstalled from scratch onto g4 powerbook this time blogged as i went so for those still interested i&#8217;ve pasted the entry here until my own blog goes up.</p>
<p>The Powerbook is a G4 1.67 with 1.5GB of Ram, Tiger 10.4.10 is the installed OS, with the following Apache 2.24 compiled from source to replace Apache 1.3 that apple ship, Mysql 5.0.45 again compiled form source and PHP 5.2.3, also installed / updated are PEAR with DB &#038; Bison. The software as i said was all compiled from source so you can guess that also installed is XCode 2.3. The location that i built the software to install into is usr/local/apache2 &#038; usr/local/mysql and usr/local/apache2/php. Some symbolic links were made to replace the apple versions so that tiger works correctly with them in place and apachectl was also linked to the new apache2 so that i can turn it on and off from web sharing in system preferences.</p>
<p>Ok so with the base system out of the way here are the steps I used to get Asterisk installed on Mac OS X with the FreePBX GUI.</p>
<p>These are the versions of the source i got that worked, ive tried older and newer version without success.</p>
<p>Asterisk-1.2.17</p>
<p>Asterisk-addons-1.2.5</p>
<p>Asterisk-sounds-1.2.1</p>
<p>FreePBX 2.2.2</p>
<p>Expanded the asterisk files into three folders asterisk1217, addons125 and sounds121</p>
<p>Moved those three folders into /usr/local/sources/asterisk/</p>
<p>Open up Terminal and sudo -s [Enter Admin Password]</p>
<p>cd /usr/local/sources/asterisk/asterisk1217</p>
<p>make<br />
make install<br />
make samples</p>
<p>ok thats got the base asterisk installed now change folders to the addons, so we can cd.. and cd asterisk-addons-125<br />
folow that with a make<br />
and then a make install</p>
<p>and do the same for the sounds<br />
cd..<br />
cd asterisk-sounds-121<br />
make install</p>
<p>Ok if thats all done then asterisk is fully installed and ready to go, but we want to add the freePBX GUI to it so its easier to configure. Before I do that i will just quickly fire up asterisk to make sure it loads, so asterisk -vvvvcdgi and i get nice output from asterisk in the terminal as it starts, good, now to shut it down with stop now. Excellent all working so far so good.</p>
<p>Next up grab the source for freePBX, i got freePBX 2.2.2 as that was the latest version on the site, [ Note to self try FreePBX 2.3 &#038; check for diffs ].</p>
<p>Now expand the freePBX tar into a /usr/local/sources/freePBX.</p>
<p>Before installing freePBX we need to prepare the MySQL databases it will require, the two files that have the info we want are in the SQL folder in freePBX folder,<br />
they are cdr_mysql_table.sql and newinstall.sql</p>
<p>Ok I have phpmyadmin installed on my setup ( you can do it from the terminal if you want ) and i need to create to mysql databases one called asterisk and one called asteriskcdrdb, so in phpMyAdmin enter asterisk into the create database box and click create, dont worry about making a table yet just return to the index page again and make the next database called asteriskcdrdb</p>
<p>Next import the data from the two .sql files into the corresponding database, i prefer to do this by running a sql query as sometimes importing files can cause phpmyadmin to hang, to im going to just open the newinstall.sql file in textedit then choose select all and copy, switch over to phpmyadmin and choose the asterisk database with that selected click on the sql tab and paste the content of the newinstall.sql file into the query box, hit go and seconds later you should have 17 or so tables in that database. Now do the same for the cdr-mysql-table.sql file.</p>
<p>OK return to the index page of phpmyadmin as we now need to set up the correct permissions for those two databases.<br />
create a user called asterisk with a password of your choice ( the default is AMP109 ) and grant database-specific privileges to databases asterisk and asteriskcdrdb, i also specified only localhost in the hosts allowed to connect, to secure it even further but you may or may not want to do that.</p>
<p>Now restart mysql.</p>
<p>OK so nearly ready to install freepbx, but before lets just make a note of some paths we might need, when freepbx installs it will prompt you for the location to various folders such as your httpd docs folder and the cgi-bin folder, now on tiger these are in different locations to most other systems even if your using the apple defaults, [note were using apache2 and thats in a completely different location]</p>
<p>So my www path is /usr/local/apache2/htdocs/freepbx ( the apple default is /Library/Webserver/Documents )<br />
my cgi-bin is /usr/local/apache2/cgi-bin ( the apple default is /Library/Webserver/CGI-Executables )<br />
and i want FOP at /usr/local/apache2/htdocs/freepbx/panel</p>
<p>If you want your files in a different place or you have installed apache into /opt rather than /usr/local/apache2 you will need to lookup your paths now.</p>
<p>ok so once you know the paths lets cd to the freepbx source and ./install_amp remember you need to be sudo so if your opening a new terminal window do a sudo -s and enter your password before ./install_amp</p>
<p>The first question we get asked is for the USERNAME to connect to the asterisk database, just hit enter unless you have changed if to something other than asterisk</p>
<p>Next enter the password you created if you didnt use the default of AMP109 otherwise just hit enter</p>
<p>Next just hit enter for the hostname as mysql and asterisk are running on the same machine &#8211; obviousaly if this is not the case for you then enter the correct hostname here instead.</p>
<p>Now for the USERNAME for the Asterisk manager interface just hit enter as were using the default &#8211; again if your not change it to what your using.</p>
<p>And do the same for the PASSWORD for the Asterisk manager interface.</p>
<p>Now comes the paths to check carefully before hitting enter,<br />
enter the path for the AMP ( FreePBX ) web-root folder, i choose /usr/local/apache2/htdocs/freepbx as i want a folder called freepbx with all the files in it on my webserver, you can call your folder anything but get the start of the path pointing to the right place or there will be problems.</p>
<p>Next enter the IP address of the machine, mine has a static address of 192.168.25.130 so i could enter that but im going to enter the localhost address of 127.0.0.1 just incase i want to change my actual ip later. you could also just enter localhost or even powerbook.local or whatever you hostname is.</p>
<p>Now enter a flash operator panel password or leave it set to the default of passw0rd by hitting enter, i hit enter </p>
<p>Next hit enter to accept extensions ( this way phones and users are administered from the same page )</p>
<p>Again hit enter to store the exe’s in the /var/lib/asterisk/bin or change it if you want it elsewhere, again im hitting enter to use the default.</p>
<p>Do the same for super-user scripts at /usr/local/sbin just hit enter</p>
<p>FreePBX should now install, there will be a few permission errors at the end of the install but dont panic freepbx is installed and well fix the errors in a moment.</p>
<p>Ok so in the finder do a get info on your freepbx web root mine is /usr/local/apache2/htdocs/freePBX in the Ownership &#038; Permissions section of the Info window set the Owner to your user accound and set read &#038; write as the Access level, set the Group to WWW and the Access to read &#038; write and set Others to read &#038; write.</p>
<p>Ok so thats not very secure, but without changing apache to run as a different user and running into a bunch of other problems ( that i’ve experenced over the last year playing with this stuff ) im happy with that as my machine can only be access locally anyway.</p>
<p>Repeat those permission and owner settings for the following files and folders</p>
<p>/var/lib/asterisk &#8211; and choose Apply to enclosed items at the bottom of the info window</p>
<p>/var/spool/asterisk &#8211; and choose Apply to enclosed items at the bottom of the window</p>
<p>/etc/amportal.conf</p>
<p>/etc/asterisk &#8211; and choose Apply to enclosed items at the bottom of the windownow in the terminal goto /var/lib/asterisk/bin and chmod 777 *.pl this sets all the perl files to executable, and also chmod 777 retrieve_conf , to make that file executable too.</p>
<p>/var/lib/asterisk/agi-bin &#8211; and chmod 777 dialparties.agi and recordingcheck.agi</p>
<p>now execute ./retrieve_conf to make those files that the permission was denied for just a moment ago when we ran the install_amp script.</p>
<p>Now fire it up asterisk -vvvvcgdi</p>
<p>and in safari <a href="http://localhost/freePBX" rel="nofollow ugc">http://localhost/freePBX</a></p>
<p>So there is only one problem remaining in that clicking the red bar does not reload the configuration file &#8211; for some reason retrieve_conf is not being executed so remember to manually run that after making changes in the freePBX interface. when i find a solution to that last problem i will post it here.</p>
<p>But for now<br />
Success ! A working system.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2814</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Thu, 09 Aug 2007 23:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2814</guid>

					<description><![CDATA[ok, well i&#039;ve upgraded to asterisk 1.2.17 and freepbx 2.2.2 all seems ok on MAC OS 10.4.10
have 3 DID&#039;s assigned to it and 4 Aastra SIP phones, also have added mezzo&#039;s app_notify to my setup to display growl notification and ical logging of incomming calls. Docs will come sometime.]]></description>
			<content:encoded><![CDATA[<p>ok, well i&#8217;ve upgraded to asterisk 1.2.17 and freepbx 2.2.2 all seems ok on MAC OS 10.4.10<br />
have 3 DID&#8217;s assigned to it and 4 Aastra SIP phones, also have added mezzo&#8217;s app_notify to my setup to display growl notification and ical logging of incomming calls. Docs will come sometime.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: aga		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2503</link>

		<dc:creator><![CDATA[aga]]></dc:creator>
		<pubDate>Sat, 24 Feb 2007 00:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2503</guid>

					<description><![CDATA[Tyler,
If you are still around, i&#039;d be willing to help you write the documentation if you don&#039;t mind sharing some more of what you have done so far.

Thanks.]]></description>
			<content:encoded><![CDATA[<p>Tyler,<br />
If you are still around, i&#8217;d be willing to help you write the documentation if you don&#8217;t mind sharing some more of what you have done so far.</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: aga		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2501</link>

		<dc:creator><![CDATA[aga]]></dc:creator>
		<pubDate>Fri, 23 Feb 2007 07:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2501</guid>

					<description><![CDATA[to install asterisk 1.4, i had to download wget. guess i could have linked curl or something. used fink to download and install it.

tyler, if you get the detailed instructions up here, that would be great.

Also, i downloaded the VMware beta for mac. running trixbox 2.0 in it. it works, but seems slow. have ethernet set to bridged, and can&#039;t connect to the trixbox from this machine, but can from the g4 400 [which might be why it&#039;s slow?]. anyhow, my imac is a coreduo 2Ghz/2GB ram/256MB video/250GB hd with 10.4.8 server running on it... in case anyone wanted to know.

a mac version will be out soon enough. as soon as i learn a little more, maybe i&#039;ll push a simple one out ;). Thanks for the info / tips guys.]]></description>
			<content:encoded><![CDATA[<p>to install asterisk 1.4, i had to download wget. guess i could have linked curl or something. used fink to download and install it.</p>
<p>tyler, if you get the detailed instructions up here, that would be great.</p>
<p>Also, i downloaded the VMware beta for mac. running trixbox 2.0 in it. it works, but seems slow. have ethernet set to bridged, and can&#8217;t connect to the trixbox from this machine, but can from the g4 400 [which might be why it&#8217;s slow?]. anyhow, my imac is a coreduo 2Ghz/2GB ram/256MB video/250GB hd with 10.4.8 server running on it&#8230; in case anyone wanted to know.</p>
<p>a mac version will be out soon enough. as soon as i learn a little more, maybe i&#8217;ll push a simple one out ;). Thanks for the info / tips guys.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2467</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 00:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2467</guid>

					<description><![CDATA[ok well pear was a pain, but easiest solution i cam up with was in terminal enter this as sudo
curl http://go-pear.org &#124; php
this will download and start the pear installer, again check the paths when in prompts to and point them to where youve installed php.
Choose yes to install the included pear packages
when installed is completed in terminal enter:
pear install DB
wait for it to download and complete
then do the ./install_amp but to complete freepbx install
HTH.
Im doing a fresh install now on a macpro and documenting as i go...wish me luck]]></description>
			<content:encoded><![CDATA[<p>ok well pear was a pain, but easiest solution i cam up with was in terminal enter this as sudo<br />
curl <a href="http://go-pear.org" rel="nofollow ugc">http://go-pear.org</a> | php<br />
this will download and start the pear installer, again check the paths when in prompts to and point them to where youve installed php.<br />
Choose yes to install the included pear packages<br />
when installed is completed in terminal enter:<br />
pear install DB<br />
wait for it to download and complete<br />
then do the ./install_amp but to complete freepbx install<br />
HTH.<br />
Im doing a fresh install now on a macpro and documenting as i go&#8230;wish me luck</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: RV		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2457</link>

		<dc:creator><![CDATA[RV]]></dc:creator>
		<pubDate>Tue, 13 Feb 2007 03:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2457</guid>

					<description><![CDATA[Hi Tyler

thanks for the info.
I have installed asterisk 1.2.15 following the instructions you provided.
i am stuck on freepbx install ([FATAL] PEAR must be installed (requires DB.php). Include path: .:)

I think i will wait for your document
Thanks in advance

&lt;i&gt;[WM: Note to everyone else -- This is a native install. The VMware and Parallels versions seem to be working just fine.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Hi Tyler</p>
<p>thanks for the info.<br />
I have installed asterisk 1.2.15 following the instructions you provided.<br />
i am stuck on freepbx install ([FATAL] PEAR must be installed (requires DB.php). Include path: .:)</p>
<p>I think i will wait for your document<br />
Thanks in advance</p>
<p><i>[WM: Note to everyone else &#8212; This is a native install. The VMware and Parallels versions seem to be working just fine.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2449</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Sat, 10 Feb 2007 18:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2449</guid>

					<description><![CDATA[ok if you go to the asterisk.org site and download the 1.2.15 version ( I havnt tried it with 1.4 yet), make sure youve got all the apple developer tools installed, if not get them of your system dvd. unzip the files you download into /usr/src/asterisk and then fire up terminal.
in terminal do sudo -s
and enter your root password, this will save you entering sudo b4 every command.
now build asterisk with

cd /usr/src/asterisk 
make clean;make; 
make install; 
make samples 

if all is well asterisk is now built and installed,
to start it you can use the command line, but i prefer a on/off swith on my desktop and so i use a application called  Asterisk Launcher from sunrise.

That should get you a basic virgin asterisks installed and running you will have to edit the config by hand inless you going to install the freepbx gui.

if you want to do that to similar steps are involved but before you start create a new user called asterisk on you system and set apache to run as asterisk not as www in the apache httpd.conf file.
then download freepbx gui copy the files to the websharing folder you want them to be served from, you will need to manually edit the configs of freepbx to point to your folder name and location.
You will need mysql installed so get the package from marc lineage website as its a nice double-click to install what you need in tiger.
if you&#039;ve got this far you should now just follow the instructions that come with freepbx to build and install that part of it.

If you need more help let me know, i&#039;ll try and do a more complete documentation of the process and knock up a webpage with it all on.]]></description>
			<content:encoded><![CDATA[<p>ok if you go to the asterisk.org site and download the 1.2.15 version ( I havnt tried it with 1.4 yet), make sure youve got all the apple developer tools installed, if not get them of your system dvd. unzip the files you download into /usr/src/asterisk and then fire up terminal.<br />
in terminal do sudo -s<br />
and enter your root password, this will save you entering sudo b4 every command.<br />
now build asterisk with</p>
<p>cd /usr/src/asterisk<br />
make clean;make;<br />
make install;<br />
make samples </p>
<p>if all is well asterisk is now built and installed,<br />
to start it you can use the command line, but i prefer a on/off swith on my desktop and so i use a application called  Asterisk Launcher from sunrise.</p>
<p>That should get you a basic virgin asterisks installed and running you will have to edit the config by hand inless you going to install the freepbx gui.</p>
<p>if you want to do that to similar steps are involved but before you start create a new user called asterisk on you system and set apache to run as asterisk not as www in the apache httpd.conf file.<br />
then download freepbx gui copy the files to the websharing folder you want them to be served from, you will need to manually edit the configs of freepbx to point to your folder name and location.<br />
You will need mysql installed so get the package from marc lineage website as its a nice double-click to install what you need in tiger.<br />
if you&#8217;ve got this far you should now just follow the instructions that come with freepbx to build and install that part of it.</p>
<p>If you need more help let me know, i&#8217;ll try and do a more complete documentation of the process and knock up a webpage with it all on.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: RV		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2435</link>

		<dc:creator><![CDATA[RV]]></dc:creator>
		<pubDate>Tue, 06 Feb 2007 00:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2435</guid>

					<description><![CDATA[Hi Tyler
Can you explain how you did to run asterisk natively on a imac? i am a bit interessed by your solution]]></description>
			<content:encoded><![CDATA[<p>Hi Tyler<br />
Can you explain how you did to run asterisk natively on a imac? i am a bit interessed by your solution</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tyler		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2425</link>

		<dc:creator><![CDATA[tyler]]></dc:creator>
		<pubDate>Wed, 31 Jan 2007 21:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2425</guid>

					<description><![CDATA[If you&#039;ve got the patience you can sucessfully compile Asterisk to run natiivly on the intel mac, im runnung on a MacPro, with freepbx interface, not an easy install by far but great fun doing it.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve got the patience you can sucessfully compile Asterisk to run natiivly on the intel mac, im runnung on a MacPro, with freepbx interface, not an easy install by far but great fun doing it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Duc		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2418</link>

		<dc:creator><![CDATA[Duc]]></dc:creator>
		<pubDate>Mon, 29 Jan 2007 14:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2418</guid>

					<description><![CDATA[Thank you for your answer to my comments. 

The root password is &quot;password&quot; (without quotes obviously). I successfully run the Parallels image, to answer Dave, you have to choose the i386-up kernel (the second one), if you choose the first one Parallels stuck on  “Uncompressing Linux….Ok, booting the kernel.”. 

Hope this help. Enjoy your new VoIP system.]]></description>
			<content:encoded><![CDATA[<p>Thank you for your answer to my comments. </p>
<p>The root password is "password" (without quotes obviously). I successfully run the Parallels image, to answer Dave, you have to choose the i386-up kernel (the second one), if you choose the first one Parallels stuck on  “Uncompressing Linux….Ok, booting the kernel.”. </p>
<p>Hope this help. Enjoy your new VoIP system.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2409</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 18:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2409</guid>

					<description><![CDATA[I downloaded the Parallels image, loaded in Parallels and is stuck on &quot;Uncompressing Linux....Ok, booting the kernel.&quot;
Thoughts?]]></description>
			<content:encoded><![CDATA[<p>I downloaded the Parallels image, loaded in Parallels and is stuck on "Uncompressing Linux&#8230;.Ok, booting the kernel."<br />
Thoughts?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravenii		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2408</link>

		<dc:creator><![CDATA[Ravenii]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 18:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2408</guid>

					<description><![CDATA[Thanks NV,
I tried the VMware version on my Intel Mac Mini. Worked perfect. Tested in a real world scenario for a short while. By the way password for root is password, on my version. Link has a tiny report.
Ravenii]]></description>
			<content:encoded><![CDATA[<p>Thanks NV,<br />
I tried the VMware version on my Intel Mac Mini. Worked perfect. Tested in a real world scenario for a short while. By the way password for root is password, on my version. Link has a tiny report.<br />
Ravenii</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Duc		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2407</link>

		<dc:creator><![CDATA[Duc]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 09:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2407</guid>

					<description><![CDATA[Hmm, perfect, I succesfully installed it. But was the root password ?  Is there any documentation about this image ? Thank you anyway for the good job.

&lt;i&gt;[WM: See the comment and our response above. If that doesn&#039;t work, try &quot;abcdef&quot; for the root password. That was in an earlier build that I thought had been fixed. Let me know so we can let others know. Thanks.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Hmm, perfect, I succesfully installed it. But was the root password ?  Is there any documentation about this image ? Thank you anyway for the good job.</p>
<p><i>[WM: See the comment and our response above. If that doesn&#8217;t work, try "abcdef" for the root password. That was in an earlier build that I thought had been fixed. Let me know so we can let others know. Thanks.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jon		</title>
		<link>https://nerdvittles.com/introducing-version-3-of-the-plug-and-play-asterisk-ip-pbx-for-the-intel-mac/comment-page-1/#comment-2406</link>

		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 03:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=165#comment-2406</guid>

					<description><![CDATA[Got the parallels vm of version 3. What is the user/pass? I tried the default names I know and none of them work.

&lt;i&gt;[WM: Root user is password. Take a look at our &lt;a href=&quot;http://nerdvittles.com/index.php?p=151&quot;&gt;Newbie&#039;s Guide to TrixBox 1.2.3&lt;/a&gt; for the other account names and how to change the passwords.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Got the parallels vm of version 3. What is the user/pass? I tried the default names I know and none of them work.</p>
<p><i>[WM: Root user is password. Take a look at our <a href="http://nerdvittles.com/index.php?p=151">Newbie&#8217;s Guide to TrixBox 1.2.3</a> for the other account names and how to change the passwords.]</i></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
