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
    Not currently.
     
  2. piaftnt

    piaftnt Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    2
    I installed pbx 13-13 lean, then Enchilada, then the fax on Centos 7 using your scripts. I can send and receive calls, etc.
    Speech to text and text to speech both work ( I see the American Airlines in the log after I dial 411 and say AA.). Even though I did the install after your last fixes I still had to apply the cdr fix and when I try to access asteridex or reminders all I get is a blank white screen with the fpbx header at the top and a grey border. I checked the asteridex db and it is populated and I set php logging to E_ALL but the logs do not show any errors.

    Any idea how to troubleshoot this problem?

    Also there is an error in http://nerdvittles.com/?p=23948. Your sed commands for setting up STT do not have colons and square brackets escaped. In the instructions earlier in this thread, you have the correct syntax.

    Thanks for all of the hard work putting this together.
    Regards,

    Tom
     
  3. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Sorry, but I can't reproduce your problem with AsteriDex, and the CDR fix was installed correctly. Are you sure you were using the latest installer??
     
  4. jeffmac

    jeffmac Guru

    Joined:
    Jan 16, 2008
    Messages:
    214
    Likes Received:
    3
    I just finished my Incredible PBX 13-13 with the Whole Enchilada and Fax. Everything looks good, although I did experience the problem with the sed commands, but I was able to determine what it was trying to do and did it manually. So TTS and STT are working great.

    I'm missing phpmyadmin, though. I usually export my Asteridex database and import it on my new PIAF instance. Am I blind, or is it really gone? Am I going to have to load all these Asteridex phone numbers by hand (or worse, learn native mysql commands)?

    I'm not above learning something new - on the contrary I've had to learn several new things on Centos 7. But I really do like familiar things...

    Jeff
     
  5. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    OK. I've fixed the sed issues in the Nerd Vittles tutorial. There are simple commands for exporting and importing AsteriDex, and I'll cover those in the next article. I'll also show you how to quickly add phpMyAdmin if you want it as well.
     
  6. piaftnt

    piaftnt Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    2
    I think so. I did the installation after you posted that centos 7 was good to go. How can I tell?

    Is there a sane way to troubleshoot this or do I have to start over again?

    If I have to start over again, is there a way to export and restore the configuration?

    Regards,

    Tom
     
  7. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    What are the file dates on your Incredible*.sh and Enchilada*.sh scripts??
     
  8. piaftnt

    piaftnt Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    2
    (ipbx13 pts5) # ll Incredible*.sh Enchilada*.sh
    -rwxr-xr-x 1 root root 6973 Nov 14 12:59 Enchilada-upgrade.sh
    -rwxr-xr-x 1 root root 47307 Nov 19 01:12 IncrediblePBX-13-13.sh
    (ipbx13 pts5) #
     
  9. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Looks like your IncrediblePBX-13-13.sh script is an older version that contained the bugs you encountered. If you download the package again, you'll get all of the correct pieces for CentOS 7.
     
  10. piaftnt

    piaftnt Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    2
    Thanks for the update

    Am I correct that I should start over or is there a way to fix this?
     
  11. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    If this is for a long-term server, I'd start over with a clean slate.
     
  12. piaftnt

    piaftnt Member

    Joined:
    Jul 16, 2010
    Messages:
    34
    Likes Received:
    2
    Thanks for the info.

    As suggested I started over and discovered that on a Vultr $2.50 vm. When I spin up a new centos 7 instance and follow the steps in your article, after it reboots the first time it never comes back up. I did a little investigating and found that SELinux is not being disabled. The file /etc/sysconfig/selinux does not exist even right before the first reboot. When the server tries to come back up it cannot load selinux policy so the boot stops. I tried this 3 times with the same results. The last time I saw a message on the console that said it was unable to load SElinux policy. I put the vm in run level 1 and looked at /etc/sysconfig/selinux. I found that selinux was set to enforcing. I changed it to disabled and the vm booted. As I type this the second stage of the incredible script is running. Maybe the third time is a charm. :)

    I have no idea what is setting selinux to enforcing but I thought you would want to know in case someone else runs into this problem..
     
  13. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    This is a new surprise just in the last couple days. One of the joys of dealing with open source projects with hundreds of moving parts. Will fix. Thanks.
     
    #173 wardmundy, Nov 24, 2017
    Last edited: Nov 24, 2017
  14. jeffmac

    jeffmac Guru

    Joined:
    Jan 16, 2008
    Messages:
    214
    Likes Received:
    3
    That's great, Ward. I'm happy to have my shiny IncrediblePBX 13-13 up and running on my NUC5PGYH. I've had it almost a year now, with it planned for my next PBX, but I had too many issues trying to get Centos up back then. I ran a Debian Jessie "backport" for a while, then upgraded successfully to "Stretch". I was going to go with Wazo, but I don't they support Stretch even yet. I ran the Centos install from CD several times due to hangs during installation - but I kept at it until it finally completed.

    I'll look forward to your next article ....

    Thanks!

    Jeff
     
    wardmundy likes this.
  15. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    @jeffmac: Hate to say it but CentOS 7 still is a huge can of worms. Stuff still gets broken regularly. In addition to the selinux problem, it looks like they've broken venet0 on SolusVM/OpenVZ platform. It works fine until you reboot. Then you have no network connection. This was a bug from several years ago with an initscripts update. Looks like it's back and worse than ever. Now you can't even back-rev initscripts. Fun, fun... :death:
     
    #175 wardmundy, Nov 25, 2017
    Last edited: Nov 27, 2017
  16. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Today's release includes latest updates to Asterisk (13.18.1) and WebMin.
     
  17. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    SMS Dictator for Incredible PBX 13-13

    [​IMG]

    We've reworked our old application for Asterisk that lets you dictate an SMS message and send it to any SMS number supported by Google Voice. Simply dial 767 (S-M-S) and enter a 10-digit SMS phone number. You then will be prompted to dictate the message to deliver.

    This code now has been added to today's build of the Enchilada installer that's included in incrediblepbx-13-13-LEAN.tar.gz.


    Requirements:

    1. You need a working Google Voice number that supports plain-text passwords from your PBX. Test whether it's working by logging in as root and issuing command: gvoice. Enter your credentials when prompted. If login fails, do the following and try again until it works:

    a. Perform the Google Voice Reset Procedure after logging into the same Google account from a browser.

    b. Also enable Less Secure Apps using this Google tool.

    2. You need Voice Recognition (STT) credentials from IBM (tutorial here).

    Installation:

    1. Issue the following commands to install the software:

    Code:
    cd /var/lib/asterisk/agi-bin
    wget http://incrediblepbx.com/sms-767.tar.gz
    tar zxvf sms-767.tar.gz
    rm -f sms-767.tar.gz
    ./install-sms767-dialplan.sh
    
    2. Edit /var/lib/asterisk/agi-bin/sms-gen.sh and enter your IBM STT credentials and your Google Voice credentials. Save the file.

    3. Dial 767 from an extension connected to your PBX to try things out.
     
    #177 wardmundy, Nov 26, 2017
    Last edited: Nov 26, 2017
  18. uspshooter

    uspshooter New Member

    Joined:
    Sep 11, 2011
    Messages:
    6
    Likes Received:
    1
    So is all of this still only for x64 systems? I'm running an OLD incrediblepbx on a 32-bit machine and would like to modernize. I know CentOS 6.9 runs x32 but how about incrediblebpx/whole Enchilada? I'd love to have some of the new toys!
    Thanks!
     
  19. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Still 64-bit only. Hey, it's Cyber Monday. Go shopping. :biggrinjester:
     
    uspshooter likes this.
  20. Jose Pinto

    Jose Pinto Member

    Joined:
    Oct 26, 2017
    Messages:
    144
    Likes Received:
    19
    Hi all
    As I'm in a learnning process, I'm having a hard time in try to install PIAF 13 13. I think that I saw here in Forum a script to Install PIAF 13 13 with GPL modules, but I'm not finding it anymore. Someone here could help me? Please. Thank you for your time attention and help
     

Share This Page