Install Process for Gentoo
This is a work in progress
Basic gentoo knowledge is required, if you don't know what a USE flag then this will be hard to follow.
Look the the requirements in the INSTALL file and get your apache/php flags correct and reemerge dev-lang/php if needed.
emerge asterisk >= 1.2 - http://gentoo-portage.com/net-misc/asterisk
and asterisk-addons - http://gentoo-portage.com/net-misc/asterisk-addons
note: as of this writing the correct ebuild is asterisk-1.2.9_p1
Both are masked with ~x86 so (if you're not on x86 modify as needed) umask them with
`echo "net-misc/asterisk ~x86" >> /etc/portage/package.keywords`
`echo "net-misc/asterisk-addons ~x86" >> /etc/portage/package.keywords`
`emerge asterisk asterisk-addons`
Note: I have `net-misc/asterisk zaptel speex mysql -vmdbmysql` in
my package.use for asterisk but you may need otherwise, read the use
flags descriptions at gentoo-portage.com
This will get asterisk to be ready to futher configure.
- It appears some gentoo paths are not compatible with amportal:
in /usr/sbin/safe_asterisk change
- amportal can't run the safe_opserver because the asterisk user on my machine had /bin/false for it's shell
check in /etc/passwd and make the asterisk user have /bin/bash as the shell if it's not already such.
I also needed asterisk ownership on the htdocs folder above the freepbx files.
- note: this article used to tell you how to implement it
with lighthttpd but I've cleared out that info as it is more specific
than it needs to be and novices may make serious mistakes following