From: Lonnie A. <li...@lo...> - 2020-10-24 22:43:35
|
> On Oct 24, 2020, at 4:56 PM, Michael Knill <mic...@ip...> wrote: > > Hi Devs > > Just wondering with the astlinux-release file whether it can show if its an SE version or not e.g. ‘astlinux-1.4.0SE’. > What uses this file? Would it break anything? > > Regards > Michael Knill The SE version is only related to the Asterisk version and how it was built. The /etc/astlinux-release file relates the base system. If you need to programmatically know if pjsip is supported, one method is: (SE version, w/o pjsip) # asterisk -rnx "pjsip show version" No such command 'pjsip show version' (type 'core show help pjsip show' for other possible commands) (non-SE version, with pjsip) # asterisk -rnx "pjsip show version" PJPROJECT version currently running against: 2.10 I would not mess with the /etc/astlinux-release file. Lonnie |