Upgrading Asterisk from old version

Hello,
I got a task from my boss. In our company we’re using Asterisk.

Asterisk 11.6.0 built by root @ voip1 on a x86_64 running Linux on 2013-11-12 11:11:38 UTC

voip1*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description
1234567890/1234567890 xx.xx.xx.xx N A 5060 OK (19 ms)
200 (Unspecified) D N A 0 UNKNOWN
201/201 11.22.33.44 D N A 5060 OK (4 ms)
202/202 11.22.33.44 D N A 5060 OK (38 ms)
203/203 11.22.33.44 D N A 5060 OK (38 ms)
204/204 11.22.33.44 D N A 5060 OK (38 ms)
205/205 11.22.33.44 D N A 5060 OK (9 ms)
208 (Unspecified) D N A 0 UNKNOWN
209/209 11.22.33.44 D N A 54995 OK (45 ms)
211/211 11.22.33.44 D N A 5060 OK (40 ms)
212/212 11.22.33.44 D N A 5060 OK (4 ms)
220 (Unspecified) D N A 0 UNKNOWN
222/222 (Unspecified) D N A 0 UNKNOWN
gsmpbx/office xxx.xx.xx.xx D N A 5060 OK (12 ms)
incalls-from-provider xx.xx.xx.xx N A 5060 OK (19 ms)
15 sip peers [Monitored: 11 online, 4 offline Unmonitored: 0 online, 0 offline]

Possible to show me the right way how to update asterisk? I think we need to create backup first.
Thank you.

If you know all the directories used by Asterisk and the purposes of each one, would be easy the backup
The most important

/etc/asterisk/

The /etc/asterisk/ directory contains the Asterisk configuration files.

http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-CHP-3-SECT-12.html

Also if you are planning a real upgrade you will need to swtich from the legacy chan_sip module to pjsip

https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip

Findout the dependecies needed Asterisk 16. X current LTS

and recopile Asterisk with that version

Preferably setup new instance with upgrade environment.

Test your settings and swap the servers.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.