[Asterisk-bsd] Is there a good Asterisk webapp (candidate)?

Ian FREISLICH ianf at clue.co.za
Wed Aug 3 01:32:24 CDT 2011


Kurt Lidl wrote:
> I've actually got FreePBX up and running on FreeBSD 8.2 (started
> on 8.0, then 8.1).  I submitted a bunch of changes upstream to the
> FreePBX people, most of those made it into their tree.  That was
> probably a year ago or so.  The only thing that really rankles is this:
> just give up about sticking the amportal.conf file anyplace other
> than /etc/amportal.conf.
> 
> If you give up on that, you can configure everything else to live out of
> /usr/local without serious issues.

What he said.

I have FreePBX running on many machines ranging from 8.0 to 9-CURRENT.
It wasn't that hard to get working provided you're preapred to make
the following compromises:

1. Symlink /usr/local/etc/asterisk to /etc/asterisk
2. Symlink /usr/local/bin/php to /usr/bin/php
3. Put amportal.conf in /etc

You will need to perform several post install chores:
1. Put your www user into group asterisk
2. Fix all the errors that reloading FreePBX shows when it reloads
   and updates modules.  These will mostly be permission related.

I think the only module that doesn't install correctly is fw_langpacks
(localization updates) because it uses the -u option to cp.  The
linux cp man page says "copy only when the SOURCE file is newer
than  the  destination file or when the destination file is missing"
and our cp doesn't have an equivalent option.  I haven't had the
time to produce a patch that uses install instead when the OS is
FreeBSD or to make a compatibility patch to our cp.

Ian

-- 
Ian Freislich



More information about the Asterisk-BSD mailing list