1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PIONEERS Ready: Incredible PBX 13-13 LEAN

Discussion in 'Today's Tech News & Events' started by wardmundy, Oct 16, 2017.

  1. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    CDR Fix for CentOS 7 Installs

    Sorry this took so long. I think this is the last remaining CentOS 7 bug... except for Incredible Fax which still is reportedly broken. CDR issue has been fixed in the installer for future installs.

    1. Run this test on your CentOS 7 server to be sure you need the fix. Applying it needlessly will clean out your CDR and CEL data!
    Code:
    mysql -u root -ppassw0rd asteriskcdrdb -e "select * from cdr"
    2. If you get an ERROR, then do the following:
    Code:
    cd /root
    amportal stop
    
    wget http://incrediblepbx.com/asteriskcdrdb.tar.gz
    tar zxvf asteriskcdrdb.tar.gz
    rm asteriskcdrdb.tar.gz
    mysql -u root -ppassw0rd < asteriskcdrdb.sql
    amportal start
    
    3. Then run the test from step#1 again. You should get a blank result instead of an error.

    4. Place a test call to/from your PBX. Then check the CDR log in the GUI: Reports -> CDR Reports -> Search. Your call should appear.
     
    #141 wardmundy, Nov 11, 2017
    Last edited: Nov 20, 2017
    islandtech likes this.
  2. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Incredible PBX 13-13.3 Whole Enchilada Upgrade

    PIONEERS:
    Here's the drill to install the WHOLE ENCHILADA UPGRADE. You must have an existing Incredible PBX 13-13.3 server, i.e. with GV OAuth option. All existing configuration settings will be overwritten including extensions, trunks, routes, etc. All passwords will have to be reset and this is included in the upgrade script. Numerous tutorials on Nerd Vittles for individual components. All of the pieces for most add-ons are already in place so it's just a matter of inserting your credentials. We strongly recommend the use of IBM TTS and STT engines in lieu of Google, FLITE, and Pico. Typical home/SOHO use will be totally free forever!

    WARNING: Install the Full Enchilada Upgrade before installing Incredible Fax 13, or you will overwrite a number of fax components which cannot be restored.

    Code:
    cd /root
    wget http://incrediblepbx.com/enchilada-upgrade.tar.gz
    tar zxvf enchilada-upgrade.tar.gz
    rm enchilada-upgrade.tar.gz
    ./Enchilada*
    ./incrediblefax13.sh
    
    Features: Voice Dialing (411) with Google and IBM, Headline News (951), Weather by ZIP Code (947), Today in History (86329), IBM TTS, ODBC Lookup (222), ODBC Calling with AsteriDex (223), Telephone Reminders (123), AsteriDex (web GUI), Reminders (web GUI), PortKnocker, Travelin' Man 4, Time of Day (*61), SMS Dictator (767), Wakeup Calls (*68), Demo IVR (3366), Lenny (53669), Call Parking (**70), Call Pickup (71), Blacklist Add (*30), Blacklist Remove (*31), Blacklist Last Caller (*32), Call Forward Activate (*72), Call Forward DeActivate (*73), Conferencing (2663 C-O-N-F), Call Pickup (*8), Dictation (*34), Email Dictation (*35), DND Activate (*78), DND DeActivate (*79), SpeedDial to American Airlines (000263 - dialcodes are first three letters of AsteriDex entry mapped to phone keypad), Email Delivery of Voicemails (default and with IBM).

    Comments/suggestions/problem reports are all welcomed! :alucard:

    Creating an IBM Bluemix Speech to Text Account

    1. Create Bluemix account here.

    2. Confirm your registration by replying to email from IBM.

    3. Login to Bluemix using your new credentials.

    4. Agree to terms and conditions, name your organization, and name your space (STT).

    5. Choose Watson Speech to Text service and click Create.

    6. When Speech to Text-kb opens, click Service Credentials tab.

    7. In Actions column, click View Credentials and copy your username and password.

    8. Insert deciphered Bluemix STT API username and password below.

    9. Logout by clicking on image icon in upper right corner of dialog window.

    10. Insert IBM STT credentials in /var/lib/asterisk/agi-bin/getnumber.sh.

    11. Replace the Call by Name Context (411) in /etc/asterisk/extensions_custom.conf using the next 3 lines:
    Code:
    sed -i '\:// BEGIN Call by Name:,\:// END Call by Name:d' /etc/asterisk/extensions_custom.conf
    sed -i '/\[from-internal-custom\]/r /var/lib/asterisk/agi-bin/ibm-411.txt' /etc/asterisk/extensions_custom.conf
    asterisk -rx "dialplan reload"
    

    Getting Started with IBM Bluemix TTS Service


    You can start your free, 30-day trial of IBM Bluemix services without providing a credit card. Just sign up here. Once your account is activated, here’s how to obtain credentials for the TTS service to use with Incredible PBX for Issabel. Start by logging in to your IBM Bluemix account. Once you’re logged in, click on your account name (1) in the upper right corner of your web page to reveal the pull-down to select your Region, Organization, and Space. Follow the blue links at the bottom of the pull-down menu to create an Organization and Space for your TTS service.


    [​IMG]


    Next, click the Menu icon which is displayed as three horizontal bars on the left side of the web page. Choose Watson. Click Create Watson Service and select Text to Speech from the applications listing. Watson will generate a new TTS service template and display it. Make certain that your Region, Organization, and Space are shown correctly. Then verify that the Standard Pricing Plan is selected. When everything is correct, click the Create button.

    When your Text to Speech application displays, click Service Credentials and then click New Credential (+). When the Add New Credential dialog appears, leave the default settings as they are and click Add. Your Credentials Listing then will appear. Click View Credentialsbeside the new entry you just created. Write down your URL, username, and password. You’ll need these to configure the IBM Bluemix TTS service in Issabel momentarily. Logout of the IBM Cloud by clicking on the little face in the upper right corner of your browser window and choose Log Out. Confirm that you do, indeed, wish to log out.

    Insert IBM TTS credentials in /var/lib/asterisk/agi-bin/ibmtts.php.

    Adjust TTS option to ibmtts.php in 951 and 947 contexts in extensions_custom.conf and reload Asterisk dialplan: asterisk -rx "dialplan reload"
     
    #142 wardmundy, Nov 11, 2017
    Last edited: Nov 13, 2017
  3. Eliad

    Eliad New Member

    Joined:
    Aug 13, 2017
    Messages:
    19
    Likes Received:
    6
    I installed the Enchilada on Centos7 and Centos6, IncredibleFax13 does not install on Centos7. On Centos6 installs fine.
     
    wardmundy likes this.
  4. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    Big Thanks
    Applied the cdr fix and call records are there!
     
    wardmundy likes this.
  5. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    There still were ARE a few broken pieces in the Enchilada install on CentOS 7. No need to test on CentOS 7 platform just yet.
     
    #145 wardmundy, Nov 11, 2017
    Last edited: Nov 11, 2017
  6. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    I think we've gotten the kinks out of CentOS 7 now. Full Enchilada should install correctly.

    Remember the correct install sequence:

    1. Incredible PBX 13-13.3 with GV Oauth

    2. Full Enchilada Upgrade

    3. Incredible Fax 13 (CentOS 6 platform only for the time being)
     
  7. kdaffef02

    kdaffef02 Member

    Joined:
    Apr 29, 2011
    Messages:
    107
    Likes Received:
    6

    - Seems that the issue was related in freepbx forum : example
    > here : https://community.freepbx.org/t/superfecta-only-works-in-debug-mode/43812/8
    or here https://issues.freepbx.org/browse/FREEPBX-15770

    Pbxinaflash & freepbx member @wa4zlw (Leon Zetekoff) worked around, may can he help ??
     
    #147 kdaffef02, Nov 11, 2017
    Last edited: Nov 12, 2017
  8. wa4zlw

    wa4zlw Member

    Joined:
    Feb 14, 2008
    Messages:
    836
    Likes Received:
    22
    Hi there....I remember something awhile back but believe I got the answer from Lorne over on the freepbx forum.

    leon
     
  9. kdaffef02

    kdaffef02 Member

    Joined:
    Apr 29, 2011
    Messages:
    107
    Likes Received:
    6
    thx for fast reply, did you have today a workig incrediblePBX 13-13 with Cid Superfecta ?. If yes, plz share your configuration, that may be help!
     
    wardmundy likes this.
  10. wa4zlw

    wa4zlw Member

    Joined:
    Feb 14, 2008
    Messages:
    836
    Likes Received:
    22
  11. Eliad

    Eliad New Member

    Joined:
    Aug 13, 2017
    Messages:
    19
    Likes Received:
    6
    I installed full enchilada and incrediblefax 13 on Centos 6.9 minimal install. I tested one extension, IVR, Google voice, Vitelity and VoipMS and they all worked well at least for the incoming calls. Tomorrow at work I will test the outgoing calls.
     
    wardmundy likes this.
  12. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    [​IMG]
    Photo credit: wenchilada.com (Great food, by the way. Add it to your Bucket List if you're ever around Monterey Bay, CA)

    Lots of changes over the weekend. Whole Enchilada and Incredible Fax 13 now work with CentOS 7. Excellent time to start anew with a fresh Incredible PBX 13-13 LEAN install.

    If you installed Incredible PBX 13-13 LEAN before a minute ago, download the new Whole Enchilada upgrade tarball which includes all the new pieces. Or, if you don't want the Whole Enchilada, you can simply download the update Incredible Fax 13 tarball:
    Code:
    cd /root
    wget http://incrediblepbx.com/enchilada-upgrade.tar.gz
    tar zxvf enchilada-upgrade.tar.gz
    rm -f enchilada-upgrade.tar.gz
    ./Enchilada*
    # fax install is optional
    ./incrediblefax13.sh
    
    Code:
    cd /root
    wget http://incrediblepbx.com/incrediblefax13.tar.gz
    tar zxvf incrediblefax13.tar.gz
    rm -f incrediblefax13.tar.gz
    ./incrediblefax13.sh
    
    Remember, you MUST install the Whole Enchilada upgrade BEFORE Incredible Fax if you ever intend to use the Whole Enchilada components. All of the Incredible Fax pieces are included in the Whole Enchilada tarball so no need to download both.

    Nerd Vittles tutorial will be available later today hopefully.
     
    #152 wardmundy, Nov 13, 2017
    Last edited: Nov 13, 2017
  13. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
  14. Eliad

    Eliad New Member

    Joined:
    Aug 13, 2017
    Messages:
    19
    Likes Received:
    6
    Yesterday, I installed Lean followed by Enchilada and the Fax13 on Centos 6.9, so far it works well, Are there new changes which will require a full reinstall with Whole Enchilada?
     
  15. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Kinda depends on the time of day yesterday. If you can send and receive a fax as well as accessing AvantFax GUI, you should be good to go. Didn't really get AvantFax squared away until this morning on CentOS 7. If you're on CentOS 6.9, you're probably good to go.
     
  16. completetech

    Joined:
    Apr 17, 2009
    Messages:
    825
    Likes Received:
    9
    Thought I would post my results here as it appears as though others are as well.

    Wanted to try this out so went for the Vultr testing platform. I chose CentOS7 and did the Lean install, then the Enchilada install then the Fax.

    I was able to log in via web browser and start gaining some access when after a few seconds ( I may have jumped the gun with trying to login originally) I was greeted with Chromes lovely "xxx.xxx.xxx.xxx didn’t send any data. ERR_EMPTY_RESPONSE"

    I then tried to login back in via SSH and port 22 refused the connection. I then tried even though it shouldn't be needed, to knock the 3 ports. then tried logging in again, tried the knock and login about 4 more times and still locked out. Tried a hard reboot from Vultr site and still can not get in either via browser or SSH.

    I then, just as a last ditch effort used Vultr Console access and logged in and manually added my IP again and tried and again, nothing. No access. Am I being a total n00b here and forgetting something???
     
  17. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    If you can login from the Vultr console, then it sounds like you're whitelisting the wrong IP address. Try turning off the firewall momentarily and see if you can login.
     
  18. mainenotarynet

    mainenotarynet Not really a Guru - Just a long time user

    Joined:
    May 29, 2010
    Messages:
    454
    Likes Received:
    48
    That and turn off Fail2ban as that may have time blocked you if you have actual hard phones trying to register extensions that do not yet exist -- That blocks you faster that you can add your home IP to the jail.conf file and restart Fail2ban service. Believe me I have run into this more times than I care to mention.

    Mr. Mundy, is this ready for me to reload now? My calls go out okay but incoming calls get trapped by Lenny (comes up on Ast13.12 as DID 's') or recently on othernumbers as DID 'c' and get not in service messages.

    Also will the 'Lenny Blacklist Mod' from a few years ago work on the Piaf 13-13 (currently does on with what I have as I found the Module AND all 15 recordings so I can do it locally instead on 53669@sip2sip.com way. The Enchilada probably adds extension 53669 as a custom -- I usually delete that and add the BL Mod and a custom Destination/application [keep getting them confused]).And befor I destrooy my current one will copy all of the Lenny code to add later if I needed it.
     
  19. completetech

    Joined:
    Apr 17, 2009
    Messages:
    825
    Likes Received:
    9
    @wardmundy
    Thats what I thought. So I ended up trying to add
    "./add-fqdn mylaptop mylaptop.fqdn.aaddress.com" and I was getting invalid FQDN everytime. I finally added my static IP and did an iptables-restart and life seems good now.
     
    wardmundy likes this.
  20. dallas

    dallas Member

    Joined:
    Oct 21, 2007
    Messages:
    152
    Likes Received:
    12
    So now that CentOS is sorted and the pi version is asterisk 13.18 is there a path to upgrade the freePBX modules to 13?
     

Share This Page