I would like some guidance from the community regarding the correct procedure to upgrade the Asterisk version inside a FreePBX installation.
Current environment
FreePBX: 17 (installed using the official installation script)
Asterisk: 22.6.0 (compiled during FreePBX installation)
Recently the system had library updates and I started experiencing PJSIP related issues (authentication errors and transport problems). Because of that, I am considering upgrading Asterisk from 22.6 → 22.8, but I want to do it in the supported way and avoid breaking FreePBX modules or dialplan compatibility.
If anyone has already done this upgrade path or has official documentation, I would appreciate the guidance.
Thanks Sergio, could you tell me if version 23 is compatible with FreePBX 17 or which version is better after 22.6, which is the one I’m currently using and has errors?
There is no “better” really for what you’re experiencing. There’s no known Asterisk issues, aside from configuration related, that would cause authentication and transport errors in 22.6.
I just went though this and in fact I’ll probably need to do it again. This is for when you compile Asterisk during the FreePBX install which you said you did. If you mis-spoke and ARE using the Sangoma binaries then do what siobera said to do.
Run the backup in FreePBX
Copy the extension post configs (if you have one) since the FreePBX backup does not do that
Go to your build directory and do a make uninstall. Do NOT do a make uninstall-all!
Do an apt-get update and update your toolchains and everything in Debian
Download and build 22.8
Do a make install. Do NOT do a make install samples or make install pbx