Skip to content

Commit

Permalink
res_pbx_validate: Add module to find various dialplan bugs.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
InterLinked1 committed Dec 30, 2024
1 parent 1288aa8 commit 1dd0cf5
Show file tree
Hide file tree
Showing 2 changed files with 990 additions and 0 deletions.
1 change: 1 addition & 0 deletions phreaknet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2265,6 +2265,7 @@ phreak_patches() { # $1 = $PATCH_DIR, $2 = $AST_SRC_DIR
phreak_tree_module "res/res_digitmap.c"
phreak_tree_module "res/res_irc.c"
phreak_tree_module "res/res_msp.c"
phreak_tree_module "res/res_pbx_validate.c"
phreak_tree_module "res/res_phreaknet.c"
phreak_tree_module "res/res_pjsip_presence.c"
phreak_tree_module "res/res_smdr_whozz.c"
Expand Down
Loading

0 comments on commit 1dd0cf5

Please sign in to comment.