Skip to content

Commit 1dd0cf5

Browse files
committed
res_pbx_validate: Add module to find various dialplan bugs.
This adds a module that can automatically find many common dialplan bugs, such as branches to nonexistent locations, unused dialplan contexts, application argument misusage, etc. Most of this code was written back in January 2022, but at the time the patches were written to make changes to the PBX core. To avoid that, all the logic has been moved to this single, out-of-tree module. ASTERISK-29828
1 parent 1288aa8 commit 1dd0cf5

File tree

2 files changed

+990
-0
lines changed

2 files changed

+990
-0
lines changed

phreaknet.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,6 +2265,7 @@ phreak_patches() { # $1 = $PATCH_DIR, $2 = $AST_SRC_DIR
22652265
phreak_tree_module "res/res_digitmap.c"
22662266
phreak_tree_module "res/res_irc.c"
22672267
phreak_tree_module "res/res_msp.c"
2268+
phreak_tree_module "res/res_pbx_validate.c"
22682269
phreak_tree_module "res/res_phreaknet.c"
22692270
phreak_tree_module "res/res_pjsip_presence.c"
22702271
phreak_tree_module "res/res_smdr_whozz.c"

0 commit comments

Comments
 (0)