FreePBX with Asterisk 1.6 not applying changes

Last week, while trying to upgrade Asterisk to branch 1.6 for an Electrosystems Project (I had to mention) , besides other issues I found that the last FreePBX 2.5.1.5 version is not able to make the reload by default.

This is because in Asterisk 1.6 the CLI command ‘reload’ it’s missing, or it has been renamed to ‘module reload’.

So, what I did was change the file functions.inc.php inside the FreePBX installation folder. This is what I did:

cd /var/www/html/admin/

Edit the file functions.inc.php

Replace this line:

$astman->send_request(‘Command’, array(‘Command’=>’reload’));
For this Line:

$astman->send_request(‘Command’, array(‘Command’=>’module reload’));

And that’s it. Now the Apply changes bar is working as expected.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s