[Asterisk-bsd] FreePBX on FreeBSD

Doug Barton dougb at dougbarton.us
Thu Sep 22 01:59:50 CDT 2011


Howdy,

I'm working on a FreeBSD port of FreePBX. I've seen the posts from Kurt
and Ian about their success in getting it running, so I'm hopeful, but
I've run into a lot of problems.

My approach so far has been massive amounts of sed to try and get the
paths in the various scripts to match what FreeBSD ports usually do.
I've been partially successful in getting install_amp to run, and I've
gotten to the point that it's starting to run the update scripts in
freepbx-2.9.0/upgrades/ and I've hit a snag. It wants to connect to
something like this:

$astman = new AGI_AsteriskManager();
if ($res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] ,
$amp_conf["AMPMGRPASS"])) {

Is this something I need, or can it be safely ignored?

I'm also curious if anyone who has this running sees serious flaws in
the approach described above, and/or would be willing to share the
approach they used to get it installed. I started off trying to go with
the defaults as much as possible, but given the large number of odd
paths and internal consistencies trying to make things consistent seemed
to be the lesser of various evils. However I'm curious if I'm going to
run into unexpected problems with this method down the road.

Any help on this will be greatly appreciated.


Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




More information about the Asterisk-BSD mailing list