Setting up FusionPBX


  • Service Provider

    Ok first go at setting up Fusion PBX and I find their install instructions missed a small thing.

    They say to install minimal, and to run a wget command.
    Problem, minimal does not include wget.

    https://www.fusionpbx.com/download.php

    0_1501773607747_e1a9365e-7f82-4cbb-a300-35b8e92a8bb9-image.png

    I am breaking things intentionally by installing on Fedora 26 Minimal. SO far it is installing normally.


  • Service Provider

    I don't expect this to actually work, but I had this VM already there to be cloned. I am installing a CentOS 7 minimal instance now to actually run this on.


  • Service Provider

    And nope...

    0_1501774591060_fc8bb740-cd66-4a0a-b273-c06992f271f8-image.png

    Though I suspected that at the start because this was how it started off.
    0_1501774641273_e69804ce-79de-4c7a-9024-a76f6a05173d-image.png

    Looks like the killer was pstgresql
    0_1501774722479_862a1397-74bd-4290-be01-c15603c7eeae-image.png

    Then some FreeSwitch bits. So it almost worked on Fedora 26. I bet it could be done by hand.
    0_1501775145477_41f5d4fb-6708-43ce-9cc2-15509cc64816-image.png



  • @jaredbusch Sorry most effort has gone into Debian then FreeBSD and CentOS script was added by another developer based on the Debian script I'll give it another couple test installs. I haven't tried it on Fedora.


  • Service Provider

    @markjcrane said in Setting up FusionPBX:

    @jaredbusch Sorry most effort has gone into Debian then FreeBSD and CentOS script was added by another developer based on the Debian script I'll give it another couple test installs. I haven't tried it on Fedora.

    Don't be sorry. I never expected it to work there. it was just something I already had ready. Nothing on the FusionPBX site led me to believe it would work.

    Is Debian the recommended then? I will use Debian 9.1 then.


  • Service Provider

    Also, work happened. did not get time to do this this afternoon as I expected.


  • Service Provider

    Starting from a clean Debian 9.1 install as noted in my prior guide.

    switch to root if not already

    su -
    

    Install packages that will be needed to run the install script.

    apt-get install -y ssh sudo ca-certificates
    

    Add your user to sudo

    adduser jbusch sudo
    

    Run the install script

    wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh
    cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
    

    And it fails with a bunch of missing dependencies and packages. It seems a lot of things are pulling for jessie and not stretch?

    I did not expect Debian 9.1 to fail like this when the recommend OS is Debian 8.

    /sigh

    Not going to bother with Debian 8 tonight.



  • @jaredbusch You need Debian 8 currently. You can get it from here.
     https://cdimage.debian.org/cdimage/archive/


  • Service Provider

    @markjcrane said in Setting up FusionPBX:

    @jaredbusch You need Debian 8 currently. You can get it from here.
     https://cdimage.debian.org/cdimage/archive/

    Yeah, I will do it tomorrow.



  • @jaredbusch said in Setting up FusionPBX:

    Starting from a clean Debian 9.1 install as noted in my prior guide.

    switch to root if not already

    su -
    

    Install packages that will be needed to run the install script.

    apt-get install -y ssh sudo ca-certificates
    

    Add your user to sudo

    adduser jbusch sudo
    

    Run the install script

    wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh
    cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
    

    And it fails with a bunch of missing dependencies and packages. It seems a lot of things are pulling for jessie and not stretch?

    I did not expect Debian 9.1 to fail like this when the recommend OS is Debian 8.

    /sigh

    Not going to bother with Debian 8 tonight.

    Is it failing because you've chosed to install Debian 9.1 has a minimal install?



  • @black3dynamite It's failing because Debian 9 was just released and FreeSWITCH doesn't have a package repo for Debian 9 'stretch' yet. ClueCon is next week maybe they will share some information on it then.


  • Service Provider

    @markjcrane said in Setting up FusionPBX:

    @black3dynamite It's failing because Debian 9 was just released and FreeSWITCH doesn't have a package repo for Debian 9 'stretch' yet. ClueCon is next week maybe they will share some information on it then.

    Yeah, I knew debian 9 was new, just. Again like my Fedora go this morning, it is what I already had on my hypervisor.


  • Service Provider

    Debian 9 is from mid-June. At a full month and a half now. New-ish, but not new. In Fedora or Ubuntu terms, that would be a full 25% through a release life cycle.


  • Service Provider

    @markjcrane said in Setting up FusionPBX:

    @black3dynamite It's failing because Debian 9 was just released and FreeSWITCH doesn't have a package repo for Debian 9 'stretch' yet. ClueCon is next week maybe they will share some information on it then.

    That's crappy that they do not have anything for Debian 9 yet. What distro(s) are FreeSWITCH focused on?



  • @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows


  • Service Provider

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.



  • @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.

    Again from their docs:

    Debian 9 "Stretch" was released 17th June 2017 at this time FreeSWITCH™ version 1.6 is not built for the platform. It is expected to be fully supported when version 1.8 is released.


  • Service Provider

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.

    Again from their docs:

    Debian 9 "Stretch" was released 17th June 2017 at this time FreeSWITCH™ version 1.6 is not built for the platform. It is expected to be fully supported when version 1.8 is released.

    Um..... how active is FreeSWITCH? Is it a bit stalled perhaps? I know that they aren't dead, but this sounds a lot like a project that has very, very little going on.



  • They have freeSWITCH 1.9 in development which makes me think 1.8 should already be out.

    1.6 branch originally came out in 2015, 1.6.18 which is the current recommended release came out June 15,2017. So they look pretty active.


  • Service Provider

    @romo said in Setting up FusionPBX:

    They have freeSWITCH 1.9 in development which makes me think 1.8 should already be out.

    1.6 branch originally came out in 2015, 1.6.18 which is the current recommended release came out June 15,2017. So they look pretty active.

    Actively releasing "something" doesn't take much effort. That they are not releasing for the last month and a half on the current OS version of their selected OS worries me just a little. I know that these things take time, but generally extremely little time AND they should have been working on it before the OS released. They chose their OS and there is nothing wrong with Debian, but if they are going to choose it, they need to embrace it.



  • @scottalanmiller
    Dependency changes have delayed the FreeSWITCH package release for Debian 9. FreeSWITCH development is actively developed. But open source does sometimes require some patience.

    Announcements for FreeSWITCH will be given at ClueCon which is next week Keynote is on Tuesday morning. ClueCon is an annual open source telephony event in Chicago. Anthony is the keynote speaker and will be speaking on Tuesday morning. Here is the schedule https://www.cluecon.com/schedule.html. FreeSWITCH project is certainly alive and actively moving forward.



  • @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    They have freeSWITCH 1.9 in development which makes me think 1.8 should already be out.

    1.6 branch originally came out in 2015, 1.6.18 which is the current recommended release came out June 15,2017. So they look pretty active.

    Actively releasing "something" doesn't take much effort. That they are not releasing for the last month and a half on the current OS version of their selected OS worries me just a little. I know that these things take time, but generally extremely little time AND they should have been working on it before the OS released. They chose their OS and there is nothing wrong with Debian, but if they are going to choose it, they need to embrace it.

    Thats an interesting view in regards to Freeswitch. My view before coming into this community and picking up FreePBX was that freeswitch had a many many more active developers and related projects than asterisk. I have been to a lot of conferences and I cant think of any CLEC or ITSP that is running something asterisk anymore, and almost everyone is using FreePBX, Kamailio and OpenSIPS in their stack.

    I believe one of the original reasons freeswitch started was disagreements over dropping AIX for SIP. So the core freeswitch devs were once part of Asterisk.

    I will say that FreePBX has become very well put together and easy to install, etc. From talking with developers thus far I am not sure Fusion wants to be that. My original though was "lets really make a FreePBX competitor" but the more I get into it I feel like "I am going to develop an app that works like Dialpad that works with Fusion" and forget all about my original motives... :D



  • @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.

    Debian 9 has a lot of great security stuff. I am working on hardening my new stretch install (tmux, lynx and netwalker installed) for a sort of terminal based replacement for my RDSH install.

    I worked with a guy who was all terminal, I always wanted to give it a try.


  • Service Provider

    @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.

    Again from their docs:

    Debian 9 "Stretch" was released 17th June 2017 at this time FreeSWITCH™ version 1.6 is not built for the platform. It is expected to be fully supported when version 1.8 is released.

    Um..... how active is FreeSWITCH? Is it a bit stalled perhaps? I know that they aren't dead, but this sounds a lot like a project that has very, very little going on.

    I would not say this, unless you apply it globally. RHEL 7 has been out for what 3 years now and Sangoma has just last month released FreePBX for it.


  • Service Provider

    @jaredbusch said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    @romo said in Setting up FusionPBX:

    @scottalanmiller said in Setting up FusionPBX:

    FreeSWITCH

    From their documentation:

    Debian 8 Jessie (preferred) The development team uses and builds against Debian 8 "Jessie". They recommend Debian because of its stable, yet updated, kernel and wide support.

    The also have prebuilt binaries for Centos /RHEL 7 and Windows

    Seems like they'd be pretty anxious to be on Debian 9 if Debian is their focus. You'd think that they would have been testing on beta before the release date.

    Again from their docs:

    Debian 9 "Stretch" was released 17th June 2017 at this time FreeSWITCH™ version 1.6 is not built for the platform. It is expected to be fully supported when version 1.8 is released.

    Um..... how active is FreeSWITCH? Is it a bit stalled perhaps? I know that they aren't dead, but this sounds a lot like a project that has very, very little going on.

    I would not say this, unless you apply it globally. RHEL 7 has been out for what 3 years now and Sangoma has just last month released FreePBX for it.

    Good point, although that's a downstream. Asterisk was out for RHEL 7 at release date, I believe.



  • Debian 9 install.
    Had someone look at the install on Debian 9.
    In the install script debian/resource/config.sh set php_version=7

    wget http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
    apt install ./libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb

    With this dependency change the FreeSWITCH package install should work.
    Not a perfect solution however as the repo is still Jessie.


  • Service Provider

    @markjcrane said in Setting up FusionPBX:

    Debian 9 install.
    Had someone look at the install on Debian 9.
    In the install script debian/resource/config.sh set php_version=7

    wget http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
    apt install ./libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb

    With this dependency change the FreeSWITCH package install should work.
    Not a perfect solution however as the repo is still Jessie.

    Nice. I can poke at that in a bit. I was still going to install on 8 though. My point was to test out FusionPBX, so I am not too worried about making it work on $preferredos01 just for testing.


  • Service Provider

    Well Tuesday = Last friday right?

    I finally setup FusionPBX on a Debian 8 system Tuesday afternoon.

    I have done nothing with it, but the install was flawless.

    0_1502261716423_7e398f24-74b1-43da-ad2f-a1fd089b22dd-image.png



  • @jaredbusch said in Setting up FusionPBX:

    Well Tuesday = Last friday right?

    I finally setup FusionPBX on a Debian 8 system Tuesday afternoon.

    I have done nothing with it, but the install was flawless.

    0_1502261716423_7e398f24-74b1-43da-ad2f-a1fd089b22dd-image.png

    I have blown mine up three now, but learned a decent amount in the process. At Cluecon this week a customer was there with 40,000 end points on Fusion with multiple servers. I think they said it was Bank of Brazil.

    Be sure to use the new letsencrypt.sh script under resources as opposed to the instrucitons on the docs site, way easier.


Log in to reply
 

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.