PIONEERS Ready: Incredible PBX 13-13 LEAN

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
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
14,954
Reaction score
2,580
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
497
Reaction score
73
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
14,954
Reaction score
2,580
Google Voice with OAuth 2 has been tested and works great.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
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.



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

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
497
Reaction score
73
status.png

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

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
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
497
Reaction score
73
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
14,954
Reaction score
2,580
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
497
Reaction score
73
Installer downloaded after 1PM yesterday.
Yes I rebooted after the installer finished
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
Will take CentOS 7 for another spin tomorrow. Thanks.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
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
497
Reaction score
73
Thats a winner!
Deleted a extension save & apply OK
added an extension save & apply OK
will continue on
thanks
 
  • Like
Reactions: wardmundy

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,954
Reaction score
2,580
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.
 
  • Like
Reactions: krzykat and jeff.h

Members online

Latest Posts

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,272
Messages
136,513
Members
14,504
Latest member
jebin