I followed a tutorial to install asterisk 13 and freepbx 13 on Ubuntu 14.04 but I was installing on 16.04. I finish all the steps but when I point my browser to the freepbx server I can't see anything coming up for me to log on to web interface. When I do this I get this error You don't have permission to access /admin on this server. Server unable to read htaccess file, denying access to be safe Apache/2.4.18 (Ubuntu) Server at 192.168.122.182 Port 80 I want to use Ubuntu not CentOS freepbx system My Apache configuration is: ServerAdmin [email protected] ServerName domain.com DocumentRoot /var/www/html/admin Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all.
Version 2.1 of A2Billing is released. We have released a new version of A2Billing, fixing a number of bugs and updated some libraries. We remind anyone who is running earlier versions of A2Billing prior to version 2.0 that an upgrade to this latest version is required as a matter of urgency for both. A2billing is a LAMP (Linux Apache Mysql(Postgresql) PHP) application that interfaces with Asterisk using both the AMI and AGI interfaces. This documentation has been tested using Debian etch, Debian etch and half, Ubuntu 8.04 and Ubuntu 8.10 and A2Billing.
![]()
You have mixed and matched your virtual site directives. Apache has changed the configuration a bit from 2.2 to 2.4, namely the access control.
2.2 configuration: Order allow,deny Allow from all 2.4 configuration: Require all granted As you can see, you're using a 2.2 configuration on what I am assuming is apache 2.4. The following should work for you. ServerAdmin [email protected] ServerName domain.com DocumentRoot /var/www/html/admin Options Indexes FollowSymLinks MultiViews Require all granted.
Step 4: Fix permissions, files and folders In this step, we will tweak the file permissions of Asterisk to fit the A2Billing software. We will also create a number of additional files and folders that A2Billing needs, which does not come with the default installation. SIP and IAX First we will set a few file permissions (chmod, chown) and create (touch) the SIP and IAX configuration files for Asterisk. :/usr/share/asterisk/sounds# ls -lah total 28K drwxr-xr-x 3 root root 4.0K May 6 14:00. Drwxr-xr-x 9 root root 4.0K May 6 14:58. Lrwxrwxrwx 1 root root 36 May 6 14:58 custom -./././local/share/asterisk/sounds lrwxrwxrwx 1 root root 36 May 6 14:00 en - /etc/alternatives/asterisk-prompt-en lrwxrwxrwx 1 root root 39 May 6 14:00 enUS - /etc/alternatives/asterisk-prompt-en-us drwxr-xr-x 8 root root 20K May 6 14:58 enUSfAllison lrwxrwxrwx 1 root root 31 May 6 14:58 recordings - /var/lib/asterisk/sounds/custom. :/usr/local/share/asterisk/sounds# ls -lah total 20K drwxrwsr-x 3 root staff 4.0K May 13 12:46.
Drwxr-sr-x 3 root staff 4.0K May 6 14:01. So what I'm thinking is put the 'en' directory that comes with a2billing in to /usr/local/share/asterisk/sounds, but if I do this will the a2billing scripts be able to find it's audio files or can I set a prefix setting somewhere so it uses custom/en (to follow the symlink to that dir) instead?. In Step 4.2: Why is a digits directory made inside each language directory by the sound install script when nothing is copied in to it?. In Step 5: I think this step is meant to come before Step 6 but it's ordered wrong (or numbered wrong) in the text file. In Step 5: It says to make the directory holding the admin/agent/customers/common dirs owned by www-data:www-data, whatever for? Especially when it doesn't ask you to make the subdirectories owned by www-data, surely if there was a php security hole in a2billing this would make it easier to make new files?. In Step 6: I think this step is meant to come after Step 5 but it's ordered wrong (or numbered wrong) in the text file.
In Step 6: It says to make /usr/share/asterisk/agi-bin owned by asterisk:asterisk, why when the files and dir your copying over won't be and are mode 755 perfectly readable by asterisk?. In Step 7: Should this step mention the thing your pasting needs it's pipes changing for commas when using Asterisk 1.6 or above?.
In Step 8: Not everyone wants to keep their sources laying around, so if were copying the directory Cronjobs to someplace else, where is an appropriate place to put it? Maybe with the admin/agent/customer/common directories?. In Step 8: Is /var/spool/cron/a2billing meant to owned by any particular user/group so it'll run as any particular user/group?. In Step 9: When you run the easyinstall you get this (other forum posts talking about this have gone unanswered). Update-rc.d: using dependency based boot sequencing insserv: warning: script 'a2b-callback-daemon' missing LSB tags and overrides. In Step 10: Is there actually anything that needs to be done here? Or is this just informational?.
In Step 11: This seems informational too, perhaps neither section 10 or 11 are really needed for the install but rather configuration. With these clarifications I'd be more than happy to rewrite this guide updated for Asterisk 1.8 and Debian 6 if it will be of help. I've had the same problems with the documentation as well. If I actually follow the instructions, I get a non-functional A2B installation. Also, I use CallWithUs, for some reason when I am able to get A2B working properly (I think) it appends a bunch of Asterisk Dial options right out to the SIP connection string. This, of course, fails. The biggest problem with the documentation I find is the lack of detailed system/environment requirements.
You know, a list of things that are known and guaranteed to work. Most Open Source software I have installed comes with very detailed instructions and requirements for initial installation of the software. For example, the Asterisk documentation, very clear and detailed information of what you must have and what has been tested to be able to compile and install the software. I never ever had a problem compiling and installing Asterisk. Now, before everybody complains that if I want better documentation, I should write it; I would, and I am in the process of writing a very detailed tutorial to install A2B on Debian 6 with Asterisk but I have not been able to get a properly working install for the last 3 months. In my opinion, the documentation for this project is in a very bad state. Someone needs to clarify a lot of things (very basic things).
I'm willing to do it, but I need help from the community. I hope I don't sound arrogant, I just want to make installing and using A2B easier for everybody.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |