PIONEERS Ready: Incredible PBX 13-13 LEAN

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Completed a fresh install this afternoon.
All good so far except I'm not getting any CDR records
What should I check?
 

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
So what's the status on this? Are we good to go? Do we still have a few more weeks until everything is ironed out?
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
See if this doesn't fix it:

Code:
yum -y install --enablerepo="epel" php-mcrypt

We'll add it to the next version of installer.

@ward :
Happy Halloween. All systems go with latest Asterisk 13 release. Smooth sailing today on Vultr with 512MB Miami build and WootHosting with 1GB build in NYC...

DNd3c7DU8AAccgv.jpg
It looks like centos64x6. 9?
May be better than 64x7?
Why?
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
See if this doesn't fix it:

Code:
yum -y install --enablerepo="epel" php-mcrypt

We'll add it to the next version of installer.

Definitely removed the error message, but did not send my growl notification?
Had to investigate more! Thx
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
- fail2ban takes longtime to shutdown or restart :
have these lines whan doing this :

Stopping fail2ban: [FAILED]
Starting fail2ban: mkdir: cannot create directory `/var/run/fail2ban': File exists
[ OK ]
ln: creating symbolic link `/usr/sbin/iptables': File exists
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done

how to fix if issue ?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Still were some problems with HylaFax/Avantfax setup. Incredible PBX 13-13 installer now has been updated.

IF YOU ALREADY HAVE INSTALLED INCREDIBLE PBX 13-13...

If you already have run incrediblefax13.sh, here are the fixes to get your server squared away:
Code:
cd /
wget http://incrediblepbx.com/faxgetty-fix.tar.gz
tar zxvf faxgetty-fix.tar.gz
rm -f faxgetty-fix.tar.gz
chmod -R 777 /var/www/html/avantfax
chown -R asterisk:asterisk /var/www/html/avantfax
chmod -R 0770 /var/www/html/avantfax/tmp /var/www/html/avantfax/faxes
chown -R asterisk:uucp /var/www/html/avantfax/tmp /var/www/html/avantfax/faxes
cd /root
./iaxmodem-restart

If you have not yet run incrediblefax13.sh, then download a fresh copy before proceeding:
Code:
cd /root
wget http://incrediblepbx.com/incrediblefax13.tar.gz
tar zxvf incrediblefax13.tar.gz
./incrediblefax13.sh
reboot
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
If you want to implement SIP Fax Detection on Inbound Routes so you don't tie up a trunk just for incoming faxes, you'll need to add the following to the bottom of /etc/asterisk/extensions_custom.conf and reload your dialplan. We've added this in the 11:05 am releases of the Incredible PBX 13-13 installer and incrediblefax13.tar.gz.
Code:
[ext-did-custom]
exten => fax,1,Noop(Fax detected!)
exten => fax,2,Goto(custom-fax-iaxmodem,s,1)

DNjlSwNW4AAXpyy.jpg

Fax Detection Time of 4 seems to work just fine.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Don't forget to create your Fax (HylaFax) Custom Destination. You can do it in the GUI (Admin:Custom Destinations) or just run this script. You need this for Fax Detection among other things.
Code:
cd /root
wget http://incrediblepbx.com/create-custom-fax-dest.tar.gz
tar zxvf create-custom-fax-dest.tar.gz
./create-custom-fax-dest.sh
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Fax a PDF Document from the Linux Command Line

Code:
sendfax -n -d 8009999999 /usr/share/doc/libsrtp-1.5.4/libsrtp.pdf

Just tested sending this 56-page PDF document between two Incredible PBX 13-13 servers in Miami (Vultr) and New York (WootHosting). Each has a Google Voice trunk with fax detection enabled. Worked perfectly.
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
- fail2ban takes longtime to shutdown or restart :
have these lines when doing this :



how to fix if issue ?

Restarted with fresh install on vultr centos 6.9, everything is fine unless few things :
- Issue with fail2an : see above (working but long time when system system) ?

- Pbxstatus shows "Incredible PBX/FAX 13-13.2 for cent os 6" : and not 13-13.3 like @ward screenshot ?
my script is update ?

- Cid Superfecta and send-to-growl module : no erreor messages - in debugging : popup notification si sent - but NOTHING when calling inbound routes --- !!!
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
13-13.2 means you chose plain-text passwords for Google Voice. 13-13.3 means OAuth authentication.

Fail2Ban is what it is. Turn it off if you don't like the delay. How often do you restart iptables??

CID Superfecta is a FreePBX GPL module. You might want to Google a bit and see if someone else has encountered the problem with Growl.
 

kdaffef02

Member
Joined
Apr 29, 2011
Messages
114
Reaction score
8
Fail2Ban is what it is. Turn it off if you don't like the delay. How often do you restart iptables?? .

:clap: Thank you Ward for your help, personally prefer waiting than big Bill as i'm poor man on this earth !! - Cid Superfecta : I continue googling!
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Still some permissions conflict issues between Incredible Fax 13 and FreePBX GPL code. If you've already installed it, just add the following to the bottom of /usr/local/sbin/iptables-restart:
Code:
if [ -d "/var/www/html/avantfax" ]; then
 chmod -R 777 /var/www/html/avantfax
 chown -R asterisk:asterisk /var/www/html/avantfax
 chmod -R 0770 /var/www/html/avantfax/tmp /var/www/html/avantfax/faxes
 chown -R asterisk:uucp /var/www/html/avantfax/tmp /var/www/html/avantfax/faxes
fi
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
We would strongly recommend against using CentOS 7 if you plan to implement Incredible Fax 13. Still lots of wrinkles to be ironed out.
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Another fresh install no CDR records.

Any suggestions?

Master.csv contains records
running mysqlcheck -r -p --all-databases
results with
asterisk.voicemail_admin OK
asteriskcdrdb.cdr
Error : Unknown storage engine 'InnoDB'
error : Corrupt
asteriskcdrdb.cel
Error : Unknown storage engine 'InnoDB'
error : Corrupt
mysql.columns_priv OK
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Another fresh install no CDR records.

Any suggestions?

Master.csv contains records
running mysqlcheck -r -p --all-databases
results with
asterisk.voicemail_admin OK
asteriskcdrdb.cdr
Error : Unknown storage engine 'InnoDB'
error : Corrupt
asteriskcdrdb.cel
Error : Unknown storage engine 'InnoDB'
error : Corrupt
mysql.columns_priv OK

What happens in the GUI when you click Reports:CDR and then click Search?? Works every time for me. mysqlcheck also shows everything is OK. Are you installing as shown in the tutorial? What OS? What hardware?? InnoDB is turned off if you used our installer. /etc/my.cnf should look like this:
Code:
[mysqld]
innodb=OFF
default-storage-engine=MyISAM
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
 
Last edited:

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
When I click Search the page refreshes but no call records are displayed.
I'm following the instructions from page 2 of this thread.
Dedicated hardware w/4gigs ram centos 7 minimal iso and your install script
Code:
 cat  /etc/my.cnf
[mysqld]
innodb=OFF
default-storage-engine=MyISAM
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
Same hardware as above.
Downloaded and burnt a new DVD of CentOS 7 Minimal iso.
Followed the tutorial and the installer step by step.
After the installation
/etc/my.cnf on my fresh install is different from yours posted above
Code:
root@localhost:~ $ cat /etc/my.cnf
[mysqld]
innodb=OFF
default-storage-engine=MyISAM
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

running the command mysqlcheck -r -p --all-databases results in
root@localhost:~ $ mysqlcheck -r -p --all-databases
Enter password:
asterisk.admin OK
asterisk.ampusers OK
asterisk.announcement OK
asterisk.backup OK
asterisk.backup_cache OK
asterisk.backup_details OK
asterisk.backup_items OK
asterisk.backup_server_details OK
asterisk.backup_servers OK
asterisk.backup_template_details OK
asterisk.backup_templates OK
asterisk.callback OK
asterisk.callrecording OK
asterisk.callrecording_module OK
asterisk.certman_cas OK
asterisk.certman_certs OK
asterisk.certman_csrs OK
asterisk.certman_mapping OK
asterisk.cronmanager OK
asterisk.custom_extensions OK
asterisk.dahdi OK
asterisk.dahdichandids OK
asterisk.daynight OK
asterisk.devices OK
asterisk.directory_details OK
asterisk.directory_entries OK
asterisk.disa OK
asterisk.endpointman_brand_list OK
asterisk.endpointman_custom_configs OK
asterisk.endpointman_global_vars OK
asterisk.endpointman_line_list OK
asterisk.endpointman_mac_list OK
asterisk.endpointman_model_list OK
asterisk.endpointman_oui_list OK
asterisk.endpointman_product_list OK
asterisk.endpointman_template_list OK
asterisk.extensions OK
asterisk.fax_details OK
asterisk.fax_incoming OK
asterisk.fax_users OK
asterisk.featurecodes OK
asterisk.findmefollow OK
asterisk.freepbx_log OK
asterisk.freepbx_settings OK
asterisk.globals OK
asterisk.hotelwakeup OK
asterisk.hotelwakeup_calls OK
asterisk.iax OK
asterisk.iaxsettings OK
asterisk.incoming OK
asterisk.indications_zonelist OK
asterisk.ivr_details OK
asterisk.ivr_entries OK
asterisk.kvstore OK
asterisk.logfile_logfiles OK
asterisk.logfile_settings OK
asterisk.manager OK
asterisk.meetme OK
asterisk.miscapps OK
asterisk.miscdests OK
asterisk.module_xml OK
asterisk.modules OK
asterisk.motif OK
asterisk.music OK
asterisk.notifications OK
asterisk.outbound_route_patterns OK
asterisk.outbound_route_sequence OK
asterisk.outbound_route_trunks OK
asterisk.outbound_routes OK
asterisk.paging_autoanswer OK
asterisk.paging_config OK
asterisk.paging_groups OK
asterisk.parkplus OK
asterisk.pjsip OK
asterisk.presencestate_list OK
asterisk.presencestate_prefs OK
asterisk.queueprio OK
asterisk.queues_config OK
asterisk.queues_details OK
asterisk.recordings OK
asterisk.restapi_general OK
asterisk.restapi_log_event_details OK
asterisk.restapi_log_events OK
asterisk.restapi_token_details OK
asterisk.restapi_token_user_mapping OK
asterisk.restapi_tokens OK
asterisk.ringgroups OK
asterisk.setcid OK
asterisk.sip OK
asterisk.sipsettings OK
asterisk.soundlang_customlangs OK
asterisk.soundlang_packages OK
asterisk.soundlang_prompts OK
asterisk.soundlang_settings OK
asterisk.superfecta_mf OK
asterisk.superfecta_mf_child OK
asterisk.superfecta_to_incoming OK
asterisk.superfectacache OK
asterisk.superfectaconfig OK
asterisk.timeconditions OK
asterisk.timegroups_details OK
asterisk.timegroups_groups OK
asterisk.trunk_dialpatterns OK
asterisk.trunks OK
asterisk.ucp_sessions OK
asterisk.userman_directories OK
asterisk.userman_groups OK
asterisk.userman_groups_settings OK
asterisk.userman_users OK
asterisk.userman_users_settings OK
asterisk.users OK
asterisk.vmblast OK
asterisk.vmblast_groups OK
asterisk.voicemail_admin OK
asteriskcdrdb.cdr
Error : Unknown storage engine 'InnoDB'
error : Corrupt
asteriskcdrdb.cel
Error : Unknown storage engine 'InnoDB'
error : Corrupt
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@localhost:~ $
Still no CDR recordsdisplayed
Changed /etc/my.cnf to match yours - rebooted - still no CDR records
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
@islandtech: Ah, you didn't mention you were running CentOS 7, or maybe I missed it. Your my.cnf would be correct for that platform. Must be a problem with CDR and CEL components with CentOS 7. As you probably know by now, CentOS 7 support is still a work in progress. I'll add it to the list. :cool:
 
Last edited:

Members online

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
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