How to safely upgrade Asterisk

Dear All,

I am running FreePBX 2.9.x (Asterisk 1.6.2) … how to safely upgrade the Asterisk to 1.8.x?

please advise

thanks & regards

What kind of system is this? Did you install it from scratch? What OS?

I installed FreePBX from AsteriskNow Linux ISO, it already ran and now I want to upgrade Asterisk to 1.8.4…

hmmm now, I am looking for safe and fast way to upgrade the Asterisk to 1.8.4 …do you have any idea or suggestion?

thanks & regards

What version Asterisk is in the yum repository for Asterisk Now?

If it’s not 1.8.4 you need to download Asterisk from the asterisk.org and install it manually.

Hi… thanks … but after I upgraded it … The Asterisk Server Status was ERROR (RED)

the FreePBX notices:

Reload failed because retrieve_conf encountered an error: 1
Added 2 minutes ago
(freepbx.RCONFFAIL)

I tried below:

[[email protected] bin]# sh /var/lib/asterisk/bin/retrieve_conf
/var/lib/asterisk/bin/retrieve_conf: line 2: ?php: No such file or directory
/var/lib/asterisk/bin/retrieve_conf: line 4: //include: No such file or directory
/var/lib/asterisk/bin/retrieve_conf: line 5: [freepbx_auth]: command not found
/var/lib/asterisk/bin/retrieve_conf: line 6: syntax error near unexpected token getenv' /var/lib/asterisk/bin/retrieve_conf: line 6:if (!@include_once(getenv(‘FREEPBX_CONF’) ? getenv(‘FREEPBX_CONF’) : ‘/etc/freepbx.conf’)) {’
[[email protected] bin]#

please help

Thanks & Regards

Is Asterisk running?

The Asterisk Server Status was ERROR (RED) and I checked by /etc/rc.d/init.d/asterisk status is running