We have a scenario where we have customers running many Asterisk versions (happens over the years). Normally, we program APIs where the first thing the connection is supposed to do is retrieve version information. I see the AsteriskInfo works well for this. I see the Asterisk version in those details.
Is there a good way to know if an ARI application that works for Asterisk 20.10.0 will work for 20.11.0, 20.12.0, 20.13.0, etc?
This article mentions the ARI versioning.
https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/ARI-Versioning/
Is there a way for the ARI application to check it’s expected version with Asterisk real ARI version?