ABE C 3.0.3 and FreePBX 2.5

Hi

I recently started installing FreePBX over Asterisk Business Edition C3.0.3, I had good results with FreePBX 2.5 and ABE C 2.1.2 and thought it would bring more stability to my deployments…

During the installation everything goes well but now every time the machine boots up there are no calls between extensions, nor can a call from an IVR go to the desired destination. The only way to fix this is by running amportal restart which solves the issue immediately.

Checking the logs there seems to be a problem with permissions when asterisk tries to access files like dialparties.agi and recordingcheck which are located in /var/lib/asterisk/agi-bin, it says:

dialparties.agi: Failed to execute ‘/var/lib/asterisk/agi-bin/dialparties.agi’: Permission denied

I checked the files and they all belong to user and group asterisk and have permissions -rwxrwxr-- which are the same after running amportal restart.

I realize there might not be that many people using FreePBX over ABE C3 but maybe someone could shed some light on what amportal restart does or why it doesn’t do it automatically when the machine boots (I already have /usr/local/sbin/amportal start in /etc/rc.local)

The full log on an incoming call which first goes to an IVR then, after dialing 0, tries to go to extension 200 (with verbose and debug 255) can be found at http://pastebin.com/md130703 (So this post is readable).

The pastebin link shows just the part where I pressed 0 and the call was transferred to the extension (or at least it tried).