mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
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:
@@ -38,6 +38,10 @@
|
||||
; - 5: trace
|
||||
; - 6: more detailed trace
|
||||
;
|
||||
; Note: setting the pjproject debug level to 4 (debug) or above may result in
|
||||
; raw packets being logged. This should only be enabled during active debugging
|
||||
; to avoid a potential security issue due to logging injection.
|
||||
;
|
||||
;asterisk_error = ; A comma separated list of pjproject log levels to map to
|
||||
; Asterisk errors.
|
||||
; (default: "0,1")
|
||||
|
||||
Reference in New Issue
Block a user