Asterisk 16 Support (BETA)

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Asterisk 16 Support (BETA)

Postby mcargile » Wed Apr 07, 2021 11:46 am

Just finished our initial testing of Asterisk 16 support and everything is working as far as I can tell. Thankfully Digium did not make any major changes to the Asterisk Manager Events that Vicidial uses so everything pretty much just worked. No configuration files need to be changed since Asterisk 13. It has not been tested on a production system as of yet, but it has placed tens of millions of calls on my dev system without a crash. You can download a fully patched version of the Asterisk source code here:

http://download.vicidial.com/beta-apps/ ... ici.tar.gz

Please keep in mind that support is still in beta. Use this at your own risk and do not cry to us if it crashes. If you are not sure how to compile and install Asterisk from scratch for use with Vicidial this is not something I recommend messing with. Also keep in mind that App MeetMe is required by Vicidial but is not compiled by default so you will need to enable that.

One completely optional feature I did add was IAX and SIP peer event logging. This logs when SIP and IAX peers Register, Unregister, Go Reachable, Go Unreachable, Go Lagged, Disconnect due to lack of RTP, and Experience a Critical Timeout to the vicidial_peer_event_log. This should allow us in the future to notify agents and managers when peers are having connection issues. To activate this you need to be running an SVN version from 2021-04-08 (Matt is working on the code commit at the time of me writing this). And add this to the /etc/asterisk/manager.conf file in the [listencron] section:

; Optional
eventfilter=Event: PeerStatus
eventfilter=Event: SIPRTPDisconnect
eventfilter=Event: PeerRegistered
eventfilter=Event: SIPCriticalTimeout

Matt may add this to the config when he commits the code. I am going to be adding a patch for Asterisk 13 to enable this feature in that version as well.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 565
Joined: Tue Jan 16, 2007 9:38 am

Re: Asterisk 16 Support (BETA)

Postby carpenox » Wed Apr 07, 2021 1:36 pm

thank you sir, im actually testing 16 now but via the vicidial opensuse repo which is the 16.16.2 version. Will this version work as well? I seem to be having some issues with dahdi(meetme)

-- Called 55558600052@default
[Apr 7 14:30:02] WARNING[9418][C-00000006]: pbx.c:2927 pbx_extension_helper: No application 'MeetMeAdmin' for extension (default, 55558600052, 1)
[Apr 7 14:30:02] == Spawn extension (default, 55558600052, 1) exited non-zero on 'Local/55558600052@default-00000002;2'
[Apr 7 14:30:02] WARNING[9418][C-00000006]: pbx.c:2927 pbx_extension_helper: No application 'AGI' for extension (default,
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby mcargile » Wed Apr 07, 2021 1:54 pm

I have not tested that package yet. Kumba was setting up an initial build of that package for me to test once the source code release was done. I am not sure if it even compiles app_meetme.so yet.

One thing I did forget to mention is that you will need to enable the res_speech.so module in modules.conf to get the res_agi.so module to load. Not sure why res_agi.so depends on that now but that would explain the last error you were getting.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 565
Joined: Tue Jan 16, 2007 9:38 am

Re: Asterisk 16 Support (BETA)

Postby carpenox » Wed Apr 07, 2021 3:16 pm

ok thank you
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby carpenox » Wed Apr 07, 2021 10:17 pm

here is an install instructions to do thw switch for anyone else interested: https://cyburityllc.com/?p=1913

I hope this helps ;)

-Nox
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby GenXOutsourcing » Thu Apr 08, 2021 10:03 am

Ok, got this working on Centos7 scratch install.

Question, when running the install.pl script, we need to put 16.X, 16.17.0-vici, or leave at 13.X?

Also in the server settings, leave at 13 or change to 16.17.0-vici?
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 42
Joined: Sun Sep 22, 2019 12:53 am

Re: Asterisk 16 Support (BETA)

Postby carpenox » Thu Apr 08, 2021 11:44 am

I put the actual version in both places. 16.17.0-vici
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby okli » Fri Apr 09, 2021 7:58 am

Is Sangoma CPA still supported in Asterisk 13 and 16?
Can't see any patches related to it applied or available, or are these patches no longer required?
okli
 
Posts: 663
Joined: Mon Oct 01, 2007 5:09 pm

Re: Asterisk 16 Support (BETA)

Postby mflorell » Fri Apr 09, 2021 10:15 am

Sangoma CPA/Lyra/ParaXip went end-of-life in 2017 and is no longer sold or supported by Sangoma. As such, we have not spent time to add it's functionality to newer versions of Asterisk.
mflorell
Site Admin
 
Posts: 17767
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Asterisk 16 Support (BETA)

Postby gcd135 » Sat Apr 24, 2021 12:31 am

Hello

Whats the difference between https://downloads.asterisk.org/pub/tele ... ent.tar.gz
and http://download.vicidial.com/beta-apps/ ... ici.tar.gz

or asterisk-13-current.tar.gz
and http://download.vicidial.com/beta-apps/ ... ici.tar.gz

will it work if I download asterisk from downloads.asterisk.org?
gcd135
 
Posts: 6
Joined: Fri Apr 23, 2021 12:41 pm

Re: Asterisk 16 Support (BETA)

Postby carpenox » Sat Apr 24, 2021 3:14 am

no, there is changes in the -vici versions that make it work correctly with the astguiclient....
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby gcd135 » Mon Apr 26, 2021 8:46 am

thanks , I hope theres a guide somewhere on how to patch asterisk's version
gcd135
 
Posts: 6
Joined: Fri Apr 23, 2021 12:41 pm

Re: Asterisk 16 Support (BETA)

Postby gcd135 » Mon Apr 26, 2021 12:54 pm

Hi
I followed scratch install centos8

https://cyburityllc.com/?p=2033&related ... position=0

but I'm getting
"Your session has been disabled
CLICK HERE TO RESET YOUR SESSION"

I've been trying to find solutions at the forums for a day now but none of them work, can anyone help?

also whenever I modify 6666 user after install it does not update the database, I have to manually update 6666 copy the SQL log @ ADMIN CHANGE LOG at the database
gcd135
 
Posts: 6
Joined: Fri Apr 23, 2021 12:41 pm

Re: Asterisk 16 Support (BETA)

Postby carpenox » Mon Apr 26, 2021 1:39 pm

yea my instructions were flawed, i missed the mariadb installation on the steps. apt-get install mariadb-client mariadb-server
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby gcd135 » Mon Apr 26, 2021 7:17 pm

@carpenox
this is centos 8 scratch w/ asterisk 16 guide you made

I did yum install mariadb mariadb-server

but still getting "Your session has been disabled", and modifying user on the admin portal is not persisting at the database
gcd135
 
Posts: 6
Joined: Fri Apr 23, 2021 12:41 pm

Re: Asterisk 16 Support (BETA)

Postby carpenox » Tue Apr 27, 2021 1:48 pm

please start a new thread for that and ill be happy to help you, but i dont want to overpower this post with technical issues other than in direct relation to Vicidials supported versions such as those on Leap....
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Asterisk 16 Support (BETA)

Postby okli » Tue Jun 01, 2021 6:21 am

How is asterisk 16 looking so far compared to 13 in terms of stability and performance?
okli
 
Posts: 663
Joined: Mon Oct 01, 2007 5:09 pm

Re: Asterisk 16 Support (BETA)

Postby carpenox » Tue Jun 01, 2021 6:45 am

The AMD is definitely better, stability has been on par as well.
Leap 15.2 | Version: 2.14-814a | BUILD: 210608-2108 | SVN Version: 3452 | DB Schema Version: 1635 | Asterisk 16.17.0-vici
www.CyburityLLC.com -:- 844-PC-SATA-2 -:- My Blog: the.cyburhacker.com -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1347
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Development

Who is online

Users browsing this forum: No registered users and 17 guests