FYI Incredible PBX GUI Bugs/Fixes

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
SendMailMP3 Fix

Rather than getting rid of the ability to send emails in MP3 format, I'd recommend you add the missing pieces. We will also fix this in today's update of the installers.

For CentOS-based systems, here's the patch:
Code:
#sendmailmp3 support
cd /usr/sbin
wget http://pbxinaflash.com/sendmailmp3.tar.gz
tar zxvf sendmailmp3.tar.gz
rm sendmailmp3.tar.gz
chmod 0755 sendmailmp3
yum -y install lame
yum -y install flac
yum -y install dos2unix
yum -y install unix2dos
ln -s /usr/sbin/sendmailmp3 /usr/bin/sendmailmp3

For Ubuntu 14 systems, here's the patch:
Code:
cd /usr/sbin
wget http://pbxinaflash.com/sendmailmp3.tar.gz
tar zxvf sendmailmp3.tar.gz
rm sendmailmp3.tar.gz
chmod 0755 sendmailmp3
apt-get -y install lame
apt-get -y install flac
apt-get -y install dos2unix
apt-get -y install unix2dos
sed -i -e 's/echo -e/echo/g' sendmailmp3
ln -s /usr/sbin/sendmailmp3 /usr/bin/sendmailmp3
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Fail2Ban Fix

Here is the fix for Fail2Ban. We will also fix this in today's update of the installers including the new Raspberry Pi 2 edition.

For CentOS-based systems, here's the patch:
Code:
cd /etc/fail2ban
wget http://incrediblepbx.com/jail-R.tar.gz
tar zxvf jail-R.tar.gz
rm -f jail-R.tar.gz
service fail2ban restart

For Ubuntu 14 systems, here's the patch:
Code:
cd /etc/fail2ban
wget http://incrediblepbx.com/jail-U.tar.gz
tar zxvf jail-U.tar.gz
rm -f jail-U.tar.gz
service fail2ban restart

EDIT: There was a typo originally in the patches above suggesting you should install jail-R on the Ubuntu servers. Should have been jail-U. If you were an early bird and used jail-R, you need to repeat the drill using jail-U as (now) shown above. Sorry.
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Spinning up a new build right now. Will it be ok to do an incredible backup/restore from a droplet that hasn't been patched, or do I need to patch the old one first?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Incredible Restore writes over the entire image of "things that matter" on the new server. If you want the latest, you'll need to get the older system up to current specs before doing the backup.
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Ok so I ran the patch for CentOS on the previous and put /usr/bin/sendmailmp3 back in the mailcmd field and it stopped sending emails. Once I took /usr/bin/sendmailmp3 out it started working again.
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
I can also confirm that on a brand new fresh build I am not getting emails unless I remove /usr/bin/sendmailmp3 from mailcmd. The only things I did were enable the flowrouteLA trunk, run autoconfig under sip settings, add an inbound route that pointed to 701, changed the voicemail password for 701 and gave it an email address.

I also still cannot delete or do anything with messages from the user portal (/recordings). I can select a message and the checkbox populates, but if I try to perform any action like delete, move to another folder or send via email the page just flashes and the message is still there with an unchecked box. The playback and download actions function properly.

EDIT: email_to just worked, took a few minutes though.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
I can also confirm that on a brand new fresh build I am not getting emails unless I remove /usr/bin/sendmailmp3 from mailcmd. The only things I did were enable the flowrouteLA trunk, run autoconfig under sip settings, add an inbound route that pointed to 701, changed the voicemail password for 701 and gave it an email address.


Might help if we got the name of the directory right. :death:

Code:
ln -s /usr/sbin/sendmailmp3 /usr/bin/sendmailmp3
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Missing nslookup in Ubuntu14 and RasPi2 Builds

There was a missing package in the original Ubuntu 14 and RasPi 2 builds which now has been fixed. This caused an issue with add-fqdn for TM3 whitelisting with IPtables. You can update your existing server with the following command. If you already had added whitelist FQDNs, delete them with del-acct and then add them in again after adding the missing package.

Code:
apt-get -y install dnsutils
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
Just spun up a new build on CentOS 6.5 and Incredible 11. I'm getting the Kennonsoft menu now when I wasn't before. The issue I have with that is that I can no longer get to the pbx.url/recordings page without a login prompt that requires "admin"/"password" to get to the actual extension login. Is there a way to change the username from admin to something else and change the password from password to something else? Or is there a way to disable that login pop up altogether?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
jeff.h: Create a secondary password for Joe User to access web apps:

Code:
htpasswd -b /etc/pbx/wwwpasswd joeuser
 

TomS

Guru
Joined
Oct 18, 2007
Messages
240
Reaction score
6
(TomS) I found that the RAM in the status screen will not show correctly for my T105 Dell on CentOS 6.6.
I see that some of the other screen shots also have the same problem.

I went into my RPi-2 with the Ast-GUI and found that the status screen lines for RAM are different.

I edited the /usr/local/sbin/status script to match the following and now it works for me:

# Fix for RAM in the 'status' screen from the RPi-2 release with Asterisk GUI
RAM=`free -m | tr -s ' ' | grep -m 2 ^ | tail -1 | cut -f 4 -d " "`MB
#RAM=`free | grep -m 2 ^ | tail -1 | cut -f 20 -d " "`

Hope this helps someone else too.

Thanks
Tom Schmitt
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Google Voice patch for a harmless Asterisk error:
Code:
sed -i 's| noload = res_jabber.so|;noload = res_jabber.so|' /etc/asterisk/modules.conf
sed -i 's| noload = chan_gtalk.so|;noload = chan_gtalk.so|' /etc/asterisk/modules.conf
amportal restart
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
In the process of building the new Asterisk 13 release, we discovered a few (more) bugs in the initial Incredible PBX GUI builds. New versions are now on line as of 9:30 am (EDT). You do NOT need to upgrade. Just log into your server as root and issue the following commands:

Code:
sed -i 's|<? |<?php|' /var/lib/asterisk/agi-bin/nv-callwho.php
sed -i 's|<? |<?php|' /var/lib/asterisk/agi-bin/reminder.php
sed -i 's|<? |<?php|' /var/lib/asterisk/agi-bin/checkdate.php
sed -i 's|<? |<?php|' /var/lib/asterisk/agi-bin/checktime.php
sed -i 's|<? |<?php|' /var/lib/asterisk/agi-bin/nv-callwho2.php
echo srvlookup=yes >> /etc/asterisk/sip_general_custom.conf
amportal restart
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
FYI: The status screen is supposed to show the amount of FREE RAM (free) and DISK (df). If you're not getting that, let us know.

CJuJF7sWsAA3IwV.jpg
 

jeff.h

Guru
Joined
Dec 1, 2010
Messages
502
Reaction score
71
OK don't that this is necessarily a bug or not, but I am running Incredible 11-11.1 on CentOS6.6 on 4 droplets. Three of them seem to auto redirect https://fqdn to https://fqdn/admin/config.php and bypass the Kennonsoft menu. I have one that does not redirect and does show the Kennonsoft menu. They were all built off the same core snapshot and the one that does show the Kennonsoft menu is not the original droplet that I took the snapshot of.

Not sure how only 1 in 4 has it in this scenario, but how do I get it back?
 

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
I'll look at the logging tonight.

Can we get the registration stuff into a (hot)fix?

the whine is:
[2015-08-27 02:10:43] NOTICE[3535] chan_iax2.c: Restricting registration for peer 'iax-fax3' to 60 seconds (requested 300)
[2015-08-27 02:10:43] NOTICE[3537] chan_iax2.c: Restricting registration for peer 'iax-fax0' to 60 seconds (requested 300)
[2015-08-27 02:11:38] NOTICE[3531] chan_iax2.c: Restricting registration for peer 'iax-fax2' to 60 seconds (requested 300)
[2015-08-27 02:11:38] NOTICE[3538] chan_iax2.c: Restricting registration for peer 'iax-fax1' to 60 seconds (requested 300)
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
These are trivial notices, not bugs. It's way down my list. Sorry.
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
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