So I am very curious as to what people’s “Long Term Solution” plans are with FreePBX. I’m not talking about Sangoma’s, I’m talking about us, the users.
Asterisk is seeing a lot of changes and some of these plans I’m pretty sure where in place before the Sangoma buyout. I’ve noticed that since moving to Asterisk v16 I’m now seeing a ton of these:
app_macro.c: Macro() is deprecated and will be removed from a future version of Asterisk.
Not much can be done about that in general as FreePBX relies a lot on Macro()'s for core functionality. Until those are replaced with GoSub()'s it’s just going to be a thing that exists.
The biggest change that will be coming down the road is the fact that Asterisk really doesn’t require a need for two SIP drivers. This means Chan_SIP is on the chopping block because much like Macro()'s it is deprecated and has been now for four years. It would seem there are talks about moving Chan_SIP to no-load (which is what app_macro.so is now for new Asterisk installs) meaning that the user would have to enable the chan_sip.so module to run it. Even more there are rumblings that Chan_SIP will be going away very soon, probably even with the next LTS release. (I’m speculating. Do not take it as gospel). I’m sure that Chan_SIP will continue to be functional in FreePBX until such time as it is completely removed from Asterisk.
Which brings us back around to my original question. What are the plans? I’m still seeing people using Chan_SIP on new installs. I’m pretty sure people are still using Macro()'s and other deprecated functions in Asterisk.
I mean I get the whole “if it works don’t touch it” logic and that’s fine but I have watched people over the last four years not make adjustments for the changes in Asterisk. Some stayed on v11 until the last moment, some sat around and didn’t touch PJSIP at all including even learning about it. In all those cases they were bitten in the ass by it because when they did update (forced or by choice) they did it blindly and had no idea what they were getting into.
So the writing is on the wall, things are changing and in the next 2-3 years things that have been a part of Asterisk and how people do things will be removed. Don’t get caught with your pants down and thing “I have time” because you are going to need the time to learn, test and understand how PJSIP and Chan_SIP differ and how to make adjustments for that. Otherwise you end up making the move, having a ton of issue then rolling back because “urgency” and not have any testing or debugging on hand as to why it doesn’t work.
For me, my systems will be a 100% PJSIP by the end of 2018 and I will be spending as much time in 2019 working with my underlying providers and MSPs to get all of them moved to PJSIP.