]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_dptools] Implement disable_system_app_commands global variable to make system...
authorKen <krice@freeswitch.org>
Wed, 3 Nov 2021 13:14:25 +0000 (08:14 -0500)
committerAndrey Volk <andywolk@gmail.com>
Fri, 5 Nov 2021 14:46:07 +0000 (17:46 +0300)
commitf2a7891f14d9ad7390c8c27a2a0cd6b515b5d4ff
treeb608d6622a244a2f43a225d70aef13f24b3e2f67
parent038cd829482cb0e26e3f6a135fa0db007c876cdb
[mod_dptools] Implement disable_system_app_commands global variable to make system and bgsystem dialplan apps disabled at run time.

adds a check on startup for global variable disable_system_app_commands. if the
global variable is set to true, the system and bgsystem dialplan apps will not
have their app_interface loaded via SWITCH_ADD_APP() leaving them effectively
disabled at run time.
src/mod/applications/mod_dptools/mod_dptools.c