PIONEERS Ready: Incredible PBX 13-13 LEAN

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
More little surprises. If you downloaded the installer before 5:20 p.m. EDT today, you'll need to build yourself a little script and run it to apply following patch. Otherwise, you won't be able to save extensions in the GUI. The installer now has been updated to add this. Don't run the script more than once!
Code:
ASTMGRPASS=`grep AMPMGRPASS /etc/amportal.conf.orig | cut -f 2 -d "="`
echo "[admin2]"  >> /etc/asterisk/manager_custom.conf
echo "secret = $ASTMGRPASS" >> /etc/asterisk/manager_custom.conf
echo "deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 5000
" >> /etc/asterisk/manager_custom.conf
fwconsole restart

p.s. This is how sausage is actually made. :beta1:
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
On CentOS 7, the linkage on the Asterisk modules was different. This has been fixed in the 6:20 p.m. release today. Wasn't a problem with CentOS 6.9.

To fix existing CentOS 7 servers:
Code:
cd /usr/src/asterisk-13*
make install
cd /usr/src/Asterisk-Flite*
make
make install
amportal restart
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Installed yesterday afternoon. Fail2Ban was down on the status screen. could not start.
Noticed that the installer was updated. Reinstalling now
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Google Voice with OAuth 2 has been tested and works great.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
TIP: You can add more than a dozen preconfigured trunk setups for FreePBX in seconds using this script. Just tested with FreePBX 13, and it works fine.

DMr12stXcAE7TcC.jpg


Lots of other time-saving command line nuggets for FreePBX in this thread.
 
Last edited:

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
status.png

After reinstalling CentOS 7, the Incredible script failed.
wget command not found, ran yum install wget
The script ran without a hitch.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
View attachment 2127

After reinstalling CentOS 7, the Incredible script failed.
wget command not found, ran yum install wget
The script ran without a hitch.

That has traditionally not been part of the initial setup with CentOS, but most providers now have added wget to the base install. We'll revise the instructions anyway. Thanks.
 
Last edited:

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
first extension creation resulted with this error after clicking apply
Reload failed because retrieve_conf encountered an error: 1

running fwconsole restart allowed the next apply to work ok

Edit:
Rebooted, tried to enter the third extension and got the following again

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Exception: Unable to connect to Asterisk through the CLI in file /var/lib/asterisk/bin/retrieve_conf on line 41
Stack trace:
1. Exception->() /var/lib/asterisk/bin/retrieve_conf:41
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
first extension creation resulted with this error after clicking apply
Reload failed because retrieve_conf encountered an error: 1

running fwconsole restart allowed the next apply to work ok

Did you reboot after the install finished?? And when did you download the installer that you used??
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Installer downloaded after 1PM yesterday.
Yes I rebooted after the installer finished
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Will take CentOS 7 for another spin tomorrow. Thanks.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Installer downloaded after 1PM yesterday.
Yes I rebooted after the installer finished

Try running the following and reboot. See if that doesn't fix things up:
Code:
echo "/usr/sbin/fwconsole chown" >> /usr/local/sbin/iptables-restart
reboot
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Thats a winner!
Deleted a extension save & apply OK
added an extension save & apply OK
will continue on
thanks
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Beginning development of the open source, FreePBX 13 GPL package repository from GitHub that is integrated into the Incredible PBX GUI. Now available with Module Admin from within GUI. Note that Framework, Core, and Dashboard packages will display in pink. These have been blocked from updates intentionally. It's nothing to worry about.

ALERT TO PIONEERS: When we switched on the module repo and Module Admin this afternoon, another bug reared its ugly head. The installer now has been patched; however, if you have a previous build and attempt to install a new module using Module Admin, you will get some ugly errors that render the GUI unusable. The simple fix is to download and install the patch below BEFORE attempting to use Module Admin:
Code:
cd /
wget http://incrediblepbx.com/13-13-patch1.tar.gz
tar zxvf 13-13-patch1.tar.gz
rm 13-13-patch1.tar.gz

Once you've installed the patch, login to the web GUI and choose Admin:Module Admin:Check Online. When the package list displays, install Asterisk API in the Settings section. Return to the Dashboard after it is successfully installed. You may (or may not) see a red security warning at the top of the window. If it does appear, click the X in the upper right corner of the dialog box to close the alert. That should be the end of the warnings.
 

dallas

Active Member
Joined
Oct 21, 2007
Messages
844
Reaction score
247
Hmm.. I applied this patch and then couldn't login to the web GUI. Does this apply only to CentOS?
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top