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. jeff.h

    jeff.h Guru

    Joined:
    Dec 1, 2010
    Messages:
    465
    Likes Received:
    67
    The probably falls under #4, but IncredibleFax install breaks it.

    Screen Shot 2017-10-20 at 11.52.27 AM.png
     
    wardmundy likes this.
  2. krzykat

    krzykat Guru

    Joined:
    Aug 2, 2008
    Messages:
    1,258
    Likes Received:
    300
    Yeah, I'm keeping all the new sample VM's up till Ward say's that those items are available. I was actually going to try that myself, but glad I didn't.
     
  3. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    I'll tackle this one next week when we're back in town. Thanks.
     
  4. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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:
     
  5. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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
    
     
  6. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    Installed yesterday afternoon. Fail2Ban was down on the status screen. could not start.
    Noticed that the installer was updated. Reinstalling now
     
  7. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Google Voice with OAuth 2 has been tested and works great.
     
  8. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Logs??
     
  9. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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.

    [​IMG]

    Lots of other time-saving command line nuggets for FreePBX in this thread.
     
    #49 wardmundy, Oct 21, 2017
    Last edited: Oct 21, 2017
  10. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    status.png

    After reinstalling CentOS 7, the Incredible script failed.
    wget command not found, ran yum install wget
    The script ran without a hitch.
     
    wardmundy likes this.
  11. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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.
     
    #51 wardmundy, Oct 22, 2017
    Last edited: Oct 22, 2017
  12. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    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
     
    #52 islandtech, Oct 22, 2017
    Last edited: Oct 22, 2017
  13. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Did you reboot after the install finished?? And when did you download the installer that you used??
     
  14. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    Installer downloaded after 1PM yesterday.
    Yes I rebooted after the installer finished
     
  15. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Will take CentOS 7 for another spin tomorrow. Thanks.
     
  16. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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
    
     
  17. islandtech

    islandtech Wassamassaw

    Joined:
    Jan 11, 2009
    Messages:
    476
    Likes Received:
    67
    Thats a winner!
    Deleted a extension save & apply OK
    added an extension save & apply OK
    will continue on
    thanks
     
    wardmundy likes this.
  18. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    Good news. I've added it to the latest installer.
     
  19. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    13,819
    Likes Received:
    2,293
    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.
     
    krzykat and jeff.h like this.
  20. dallas

    dallas Member

    Joined:
    Oct 21, 2007
    Messages:
    152
    Likes Received:
    12
    Hmm.. I applied this patch and then couldn't login to the web GUI. Does this apply only to CentOS?
     

Share This Page