res_pjsip: disable raw bad packet logging

Add patch to split the log level for invalid packets received on the
signaling port.  The warning regarding the packet will move to level 2
so that it can still be displayed, while the raw packet will be at level
4.
This commit is contained in:
Mike Bradeen
2023-07-25 10:23:12 -06:00
parent 00921cecda
commit 5de9d317c7
3 changed files with 35 additions and 1 deletions

View File

@@ -398,7 +398,9 @@ static char *handle_pjproject_set_log_level(struct ast_cli_entry *e, int cmd, st
"\n"
" Set the maximum active pjproject logging level.\n"
" See pjproject.conf.sample for additional information\n"
" about the various levels pjproject uses.\n";
" about the various levels pjproject uses.\n"
" Note: setting this level at 4 or above may result in\n"
" raw packet logging.\n";
return NULL;
case CLI_GENERATE:
return NULL;