res_pjsip_logger: Add method-based logging option.

Expands the pjsip logger to support the ability to filter
by SIP message method. This can make certain types of SIP debugging
easier by only logging messages of particular method(s).

ASTERISK-30146 #close

Co-authored-by: Sean Bright <sean@seanbright.com>
Change-Id: I9c8cbb6fc8686ef21190eb42e08bc9a9b147707f
This commit is contained in:
Naveen Albert
2022-07-21 00:03:34 +00:00
committed by Friendly Automation
parent 54c1fd9829
commit 99a4333f20
2 changed files with 164 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
Subject: res_pjsip_logger
SIP messages can now be filtered by SIP request method
(INVITE, CANCEL, ACK, BYE, REGISTER, OPTION,
SUBSCRIBE, NOTIFY, PUBLISH, INFO, and MESSAGE),
allowing for more granular debugging to be done
in the CLI. This applies to requests but not responses.