diff --git a/main/pbx.c b/main/pbx.c index 5fd72241b1b60126c76d6472236719f6b7c356dc..c1046fe39a30c06177a774bcad2a5ef8e41d8d77 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -6224,7 +6224,7 @@ int load_pbx(void) ast_verb(1, "Registering builtin applications:\n"); ast_cli_register_multiple(pbx_cli, sizeof(pbx_cli) / sizeof(struct ast_cli_entry)); - ast_custom_function_register(&exception_function); + __ast_custom_function_register(&exception_function, NULL); /* Register builtin applications */ for (x=0; x<sizeof(builtins) / sizeof(struct pbx_builtin); x++) {