From: Michael K. <mic...@ip...> - 2020-10-24 23:02:08
|
Option 2 may be to just look at the system_firmware_repository_url in webgui-prefs.txt. Not completely accurate as it can be changed but better than nothing. Regards Michael Knill On 25/10/20, 9:57 am, "Michael Knill" <mic...@ip...> wrote: Thanks Lonnie. Unfortunately I turn off PJSIP in modules.conf already so this method does not help me find whether its an SE version or not. For example: ||||| | A | Release: astlinux-1.3.7.1 - Asterisk 13.29.2 | s | Host Name: 3037-QGPSC-CM1.private.ipcaccess.net | t | Last Boot: 2020-10-24 15:35 | L | Linux: 3.16.74-astlinux x86_64 | i | CPU: Intel Xeon E5-2670 v2 (2x) @ 2500 MHz | n | RAM: 2011 MB | u | Board Type: genx86_64 | x | Hardware: VMware Guest VM ||||| 3037-QGPSC-CM1 kd # asterisk -rnx "pjsip show version" No such command 'pjsip show version' (type 'core show help pjsip show version' for other possible commands) 3037-QGPSC-CM1 kd # Regards Michael Knill On 25/10/20, 9:43 am, "Lonnie Abelbeck" <li...@lo...> wrote: > 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 _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel _______________________________________________ Astlinux-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-devel |