Updated PIAF 1.7.5.6

freepbx 2.8 is stable so it was time for a version upgrade to 2.8 on non purple. It also makes keeping our build system simple. What are your concerns?


Tom
 
No concerns to speak of. Was just dreading the "Manual" Outbound route entry thing. Eh. I'll probably get used to it.

Thanks and great work once again! :)
 
2.8 not really required. We're just trying to stay with a supported version of FreePBX. Keeping the version the same across all of the Asterisk platforms also makes upgrades easier.
 
Newby Upgrade Question

For an IncrediblePBX v. 1.7.5.5 user, with asterisk source v. 1.8.0, on CentOS 5.5, is there any need to upgrade to updated PIAF 1.7.5.6 or newer asterisk source? I am not currently using any FAX services. & if needed, are there instructions for doing the IncrediblePBX upgrade without reinstalling?

I would like to install the Incredible FAX soon. Thanks for your patience with a newb. I have run update-fixes before but am cloudy on exactly what that script is updating....
 
If you already have PIAF 1.7.5.5 and Incredible PBX in place, all you need to do is run the incrediblefax.sh script. No reason to upgrade anything else. See the article for details. Demo of the simple install is below:

[youtube]T1YP9mua0Nw[/youtube]
 
Thank you very much. Had a few minutes to backup and install tonight, the script worked like a champ! :) Thanks! The article says fax detection didn't work reliably in previous Asterisk 1.8 releases, so I surmise that upgrade from Asterisk 1.8.0 to Asterisk 1.8.3.3 would be recommended if for users not wanting a dedicated DID?
 
faxes are not showing up in the inbox and neither when I email a a copy of the sent fax to myself it appears in my inbox :confused5:
 
Upgrade from 1.7.5.5.5 to ..5.6

Hello,

I am digging around the threads here and have found no real instruction to upgrade from 5.5 to 5.6. Is this at all possible? If not what would be the best way to move from 5.5 to 5.6 to take advantage of the 'near perfect' distro available?
I am new to PIAF - and can not thank you enough for this wonderful distro - so upgrading and even the thought of going through a fresh install is not something of interest. Unless of course there is a easy way to transfer over vmail/extension/trunks/in-out routes/etc.
What is the recommended method to complete this process without a painful recreation of extensions and routes and trunks manually? Would like to test it out on a VM prior to making major changes of course. Please advise. Thank you in advance.
 
Hello,

I am digging around the threads here and have found no real instruction to upgrade from 5.5 to 5.6. Is this at all possible? If not what would be the best way to move from 5.5 to 5.6 to take advantage of the 'near perfect' distro available?
I am new to PIAF - and can not thank you enough for this wonderful distro - so upgrading and even the thought of going through a fresh install is not something of interest. Unless of course there is a easy way to transfer over vmail/extension/trunks/in-out routes/etc.
What is the recommended method to complete this process without a painful recreation of extensions and routes and trunks manually? Would like to test it out on a VM prior to making major changes of course. Please advise. Thank you in advance.

I've done something similar to what you are looking to do a few times. It is time consuming and if you don't have a lot of settings, it is easier to just manually redo everything.

However, if you have a system with enough vmail/extension/trunks/in-out routes/etc. that you think it would be too tedious to rebuild then you just need to do the following. I might forget something here because I have never documented my work, I do it off the top of my head each time.

Note: You should always compare the new file and old file to see if any include or global settings have changed. Similarly when migrating mysql data, you need to compare the table schemas. There have been some fields that were dropped.

Note #2: This is based on my particular setup. There are features I do not use and therefore I cannot speak from experience on migrating them. Ex: conference, dahdi, zaptel.

So here is what I did...

I am running under proxmox so I made my new PIAF server while still having my old one running. I set up NFS between the two which allowed me to copy over files.

1) Mysql - This is the most time consuming.You are using phpmyadmin for this. You have to go into the asterisk database and do one table at a time. You need to first compare the table schema between the old and new. There are a few tables that were changed (they just had fields dropped). I would quickly eyeball the values in the new table to see if anything pops out as new and outstanding. I don't remember seeing anything though.

Now, you don't want to do this for every table, just the tables that are relevant to your use of PIAF. You need to avoid any tables that contain versioning info. Once you have mentally approved a table for migration, rename the new table to tablename_backup. Then export your old table from your old server and import it using phpmyadmin on your new server. If the table schema has been adjusted, you need to understand the adjustments. You can either manually adjust your export SQL (shitty and slow) or you can replicate the old table on the new server and then adjust the table schema to match the schema of the new table (now renamed with _backup). I did if the second way because it always involved just dropping some fields.

2) /etc/asterisk/jabber.conf - The syntax in this file is pretty simple. You should be able to just use your old file.

3) /etc/asterisk/voicemail.conf - Same as #1

4) /etc/asterisk/extensions_custom.conf - Same as #1

5) Using NFS, say you mounted your old server root directory onto your new server as /mount/old

cp -a /mount/old/var/spool/asterisk/voicemail/* /var/spool/asterisk/voicemail/

This will copy over all saved voicemail, greetings, and extension voicemail folders plus their context hierarchy and preserve filetimes and permissions. It also copies over all the symbolic links.

6) Similar to number 5, is the /var/lib/asterisk/mohmp3/ directory if you have uploaded any custom music on hold

7) Similar to 5&6 is the /var/lib/asterisk/sounds/custom/ directory if you have uploaded any custom system messages or sound files.

8) If you are using travelinman, you'll want to reinstall it on your new server but copy over, in a similar way to 5&5&7 the /var/www/travelman/ folder. Also, you will want to copy the various include files that are in the /etc/asterisk/ directory named after your extension with the ".inc" filetype

****

Again, this is just from my experience with my system. The modules you have will alter the above. I added some PHP into Superfecta to allow for CID lookups into Sugar that include contacts categorized as leads, so I also had to remember to migrate over that PHP file. This process does take time but if you have a bunch of extensions and IVRs and ring groups, I've found it is faster then manually re-keying everything in.

One other important thing of note. For many of the auto-generated files in /etc/asterisk/ they do not get updated with the info you manually put into the SQL tables, even after an amportal restart. Extensions are one such example. I find myself having to use the PAIF web gui and go through every single extension and select any field, such as the name, and just hit enter. No setting values change and I don't have to re-type all the settings since it pulled them form MySQL. However, by doing this you are telling the system "hey update the flat file in /etc/asterisk/" otherwise you will be scratching your head wondering why the new values are in MySQL but not in your config files. This is not limited to extensions. Also has to be done for trunks.

I think that is about all. Hope that helps.
 
Do you guys recommend installing the 32bit or 64bit releases?

When I tried to install the 64bit install I got alot of warnings about Asterisk being a 32bit program and experimental in a 64bit environment.

The hardware I'm installing this on is a Xeon 2.3Ghz and 8Gb of ram. I'm assuming if I install the 32bit version it'll only see 4Gb of ram?
 
32bit version it'll only see 4Gb of ram?
Your assumption would be correct, unless the PAE kernel is used.

...Asterisk being a 32bit program and experimental in a 64bit environment.


I have not found any primary sources to support the view that Asterisk 1.8 compiled on a 64bit operating system is experimental.

Joe
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top