[Asterisk-Users] Initial release of AMPortal Debian/Xorcom-Rapid packages

Tzafrir Cohen tzafrir at cohens.org.il
Thu Sep 22 06:40:57 MST 2005


Hello Asteriskers,

We are proud to announce, our initial support for AMPortal in Debian
Sarge: we are releasing Debian packages containing AMPortal 1.10.008,
partially working under our Rapid distribution, the packages should also
run on "normal" Debian Sarge and hopefully also under Sid, Etch, Ubuntu 
or any other Debian variant without any problems (we hope ;)

The packages are not really stable , so we do not recommend using them
in production machines at this moment. We do encourage really brave men
(or women) to install the packages and report any problems found, as
this is still in "beta/alpha" stage.

To install those packages you need to add these lines into /etc/apt/sources:

	# rapid amp repository
	deb     http://rapid.dotsrc.org/ amportal/
	deb-src http://rapid.dotsrc.org/ amportal/

and then execute:

	apt-get update
	apt-get install amportal

If you do not have apache installed, this package should install apache1
(and the php4 packages needed), however this should also work with
apache2 (untested at the moment).


You should also note that those packages also modify
/etc/php4/cli/php.ini and /etc/php4/apache/php.ini to include mysql.so,
the user www-data is added to the asterisk group (otherwise you will not
be able to modify /etc/asterisk/* from the browser), and some
directories are "chmod g+rw by asterisk".


AMPortal is installed by default into /usr/share/amportal. You will need
to expose it to the web-root of apache. If your webroot is in /var/www
(Debian default), you have to run:

	cd /var/www
	ln -s /usr/share/amportal .

There is a bug in /etc/amportal.conf configuration provided in those
package, so you will also need to edit it manually. The line containing
AMPWEBADDRESS=127.0.0.1 should be modified into contain your correct
server name (I think localhost should be enough). Do not forget to run
apply_conf.sh after that change:

	/usr/lib/amportal/apply_conf.sh

You can find some other goodies on that dir (scripts for installing a
clean database for example, an upgrade script).


Next we we plan an upgrade to AMPortal 1.10.009, and then we plan on
fixing all the things we broke on the package... (MOH, voicemail... etc).

For more information, please see
	http://xorcom-rapid.berlios.de/
	http://xorcom.com/

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list