Page 1 of 1

Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 7:25 am
by richa.chandna
In which revision I can see all code changes related to Asterisk 16 upgradation from Asterisk 13?

Re: Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 7:32 am
by mflorell
There is no single svn/trunk revision for Asterisk 16 changes. There are a few changes made over the last two years that we made to also work better with Asterisk 13 that make it work with Asterisk 16. The oldest VICIdial revision you should be using with Asterisk 16 is 3422, from April 2021.

Re: Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 7:39 am
by carpenox
Just to add to what Matt said, me and a couple guys in a group chat I run have been running asterisk 16 for a little while now, in the install.pl script you still need to specify 13.x and on the server in the gui, you need to specify 13.29-vici (yes this is correct) because if not, there seems to be a time sync issue. We are also running it on centos8 though, so perhaps the time sync issue wont happen on leap, but just wanted to throw that out there in case you were planning to upgrade. Also, I have instructions for it on my blog if you need help with it. Finally, for changes, check directly with asterisk for the changes compared to ast 13, they should have good documentation on this.

I hope this helps

Chris

Re: Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 12:51 pm
by mflorell
I would be curious to know what exactly was causing the time-sync issue. Because looking at the code, putting "16.1.2..." should work fine for the VICIdial scripts that interact with Asteirsk.

Re: Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 1:11 pm
by carpenox
im curious to know myself, lol, i was putting 16.17.1-viciand was getting the time sync, steve from genx was the one who told me to change to 13.29-vici i believe on either Kumba or michaels say so

Steve you wanna queue in?

Re: Asterisk 16 upgradation from Asterisk 13

PostPosted: Fri Aug 13, 2021 1:33 pm
by GenXOutsourcing
Ok, Carpenox asked me to chime in here.

All of my installs are scratch, ever since Centos5. With Centos7 and Centos8, when installing 13.29 no issues at all. But as Carpenox said, with Ast16 need to take a few extra steps.

If you put 16 or 16.X or 16.17 in the astguiclient.conf AND in the server admin, all you see in the CLI is updatecron scrolling the screen. No matter how many times you rebuild config files or reboot.

That said, go into astguiclient.conf and change to 13.X and in the server admin change to 13.29.2-vici, and rebuild config files, the CLI will show the rebuild but you still have the updatecron scrolling the cli. So, the ONLY way to make it work is to reboot again manually. After this reboot, the time sync is correct and the updatecron is not scrolling the cli.

I have Ast16 on about 7-8 servers in production without issue, just the install made me pull my hair out until i got frustrated and reboot the system. Then all was normal. Seems that there is something in the config rebuild that isnt triggered by changing to Y in the server admin, it is only rebuilding on a reboot.

And yes, asterisk is being started by /usr/share/astguiclient/start_asterisk_boot.pl in the rc.local. During install asterisk startup is disabled.


The next install that I do, I will record a video.