[Asterisk-bsd] FreePBX on FreeBSD

Doug Barton dougb at dougbarton.us
Thu Sep 22 20:19:18 CDT 2011


On 09/22/2011 08:50, Jim Lucas wrote:
> On 9/21/2011 11:59 PM, Doug Barton wrote:
>> 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
>>
> 
> In trying to get FreePBX 2.6.0 to work on OpenBSD v4.7 I wrote these two scripts
> last year.
> 
> It does most of what you describe as "making things consistent"
> 
> ftp://ftp.cmsws.com/patches/freepbx/

Thanks!  I will definitely give those a closer look but it seems that we
are doing similar things just with different methods.

Out of curiosity, why did you choose 2.6.0 instead of 2.9.0? (Note,
that's an honest question, I just started with the latest version by
default.)


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