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

TUTORIAL Upgrading FreePBX 2.9 w/Asterisk 1.8 to latest versions

Discussion in 'Help' started by otter, Feb 23, 2014.

  1. otter

    otter
    Expand Collapse
    Member

    Joined:
    Nov 17, 2010
    Messages:
    32
    Likes Received:
    1
    What is the best path to upgrade to the latest version of PIAF from whichever version I have of PIAF now, which is the version that installed FreePBX 2.9 w/Asterisk 1.8? (Is there a place I can go to see which version of PIAF I have?)I'm almost positive it was PIAF Green from June, 2012.

    I have no need to do an in place upgrade, it is a relatively small and simple configuration, but I would like it if I could keep my recordings, trunks, extensions and the user settings for the extensions, etc. Can I backup these items, do a fresh install of PIAF, do all the patches and then restore my configuration from the backup? How is this accomplished? If not, what is the best way to move from the older install to the most recent?
     
  2. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,484
    Likes Received:
    1,818
    Run status and post the results. Then we can go from there. If you say it's Asterisk 1.8, then it's not PIAF-Green.
     
  3. otter

    otter
    Expand Collapse
    Member

    Joined:
    Nov 17, 2010
    Messages:
    32
    Likes Received:
    1
    Ah yes, you are correct, it is PURPLE. Wonder why I used that?

    PIAF Installed Version = 2.0.6.2 under *HARDWARE*
    FreePBX Version = 2.9.0.12
    Running Asterisk Version = 1.8.13.0
    Asterisk Source Version = 1.8.13.0
    Dahdi Source Version = 2.6.1+2.6.1
    Libpri Source Version = 1.4.12
    IP Address = 10.11.9.120 on eth0
    Operating System = CentOS release 6.2 (Final)
    Kernel Version = 2.6.32-220.17.1.el6.i686 - 32 Bit
    Incredible PBX 3 Version = 3.0.9
     
  4. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,484
    Likes Received:
    1,818
    Assuming you want to get to PIAF-Green with Asterisk 11 and FreePBX 2.11, the drill goes like this.

    On your existing system, use FreePBX's Module Admin to migrate from FreePBX 2.9 to 2.10 to 2.11. Be sure everything still works before proceeding!!

    The use Incredible Backup 11 to make yourself a good backup. Also do a full system backup with one of the products such as Clonezilla or Acronis if you plan to reuse the hardware.

    Then build the new server with the latest PIAF-Green, Asterisk 11 and FreePBX 2.11. Run Incredible PBX 11. Run Incredible Fax 11 if you're using it now. Then restore your Incredible Backup from Incredible Backup 11.
     
  5. otter

    otter
    Expand Collapse
    Member

    Joined:
    Nov 17, 2010
    Messages:
    32
    Likes Received:
    1
    So I did all of the above and ran incrediblererstore. The extensions make calls fine in my testing so far, but all the extensions except one ran the system unavailable message instead of ringing. I found that simply by going in and pushing the submit button on each extension and then the apply config button in the Free PBX web interface, they started ringing normally.
     
  6. otter

    otter
    Expand Collapse
    Member

    Joined:
    Nov 17, 2010
    Messages:
    32
    Likes Received:
    1
    Another issue I have just discovered, although my conference settings carried over and I can use at least one of the conferences by dialing into it from an outside line or dialing into it by using the outside DID from an internal phone, when I try to dial 2663 from any internal extension I get "call failed." This worked before I upgraded and restored. Where would I look for the reason 2663 no longer works?
     
  7. otter

    otter
    Expand Collapse
    Member

    Joined:
    Nov 17, 2010
    Messages:
    32
    Likes Received:
    1
    Here is what I believe is the relevant entry from the logs:

    [2014-03-04 17:07:04] WARNING[7281][C-0000002e] pbx.c: No application 'MeetMe' for extension (from-internal, 2663, 1)
    [2014-03-04 17:07:04] VERBOSE[7281][C-0000002e] pbx.c: == Spawn extension (from-internal, 2663, 1) exited non-zero on 'SIP/707-0000003f'
    [2014-03-04 17:07:04] VERBOSE[7281][C-0000002e] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/707-0000003f", "") in new stack
    [2014-03-04 17:07:04] VERBOSE[7281][C-0000002e] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/707-0000003f'
     
  8. randy7376

    randy7376
    Expand Collapse
    Guru

    Joined:
    Sep 29, 2010
    Messages:
    812
    Likes Received:
    95
    otter

    Try re-submitting the conference without making any changes to it first.

    There are two applications for conferencing - app_meetme and app_confbridge. In Asterisk 11, the default application is app_confbridge. If that doesn't work, delete the conference and re-create it.
     
  9. rlust@mac.com

    rlust@mac.com
    Expand Collapse
    Member

    Joined:
    Feb 17, 2009
    Messages:
    35
    Likes Received:
    0
    Checking to see if I have the option as stated above to do an upgrade to the latest Green version.
    Here is my info from status screen.

    Asterisk = ONLINE | Zap/Dahdi = UNKNOWN | MySQL = ONLINE
    SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE
    Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE
    Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE
    SendMail = ONLINE | Samba = ONLINE | Webmin = ONLINE
    Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A

    PIAF Installed Version = 2.0.6.2 under *HARDWARE* │
    FreePBX Version = 2.11.0.24 │
    Running Asterisk Version = 1.8.8.0 │
    Asterisk Source Version = 1.8.8.0 │
    Zap/Dahdi Source Version = N/A
    Libpri Source Version = 1.4.12 │
    IP Address = 192.168.1.192 on eth0 │
    Operating System = CentOS release 6.5 (Final) │
    Kernel Version = 2.6.32-431.5.1.el6.i686 - 32 Bit │

    Incredible PBX 3 Version = 3.0.6
     
  10. hecatae

    hecatae
    Expand Collapse
    resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    618
    Likes Received:
    147
    ran into the same issue running freepbx 2.9 and asterisk 11, freepbx 2.9 is trying to use meetme, and there is nowhere to set confbridge.

    looks like I will be updating to freepbx 2.11 to fix.
     

Share This Page