]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_logger: Expand functionality to improve logging.
authorJoshua C. Colp <jcolp@sangoma.com>
Thu, 30 Apr 2020 22:57:08 +0000 (19:57 -0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 20 May 2020 14:17:20 +0000 (09:17 -0500)
commitd7d2d13b2c4133ec160630e81c07cf642a81d58d
tree9b9d647b8f0af510fe4bc00b46f218d5f1756384
parent55d76ae6635d0696083ba8156bd6bbf5cb6dcc15
res_pjsip_logger: Expand functionality to improve logging.

The PJSIP packet logger now has the following CLI commands:

pjsip set logger pcap <filename>

When used this will create a pcap file containing the incoming
and outgoing SIP packets, in unencrypted form.

pjsip set logger verbose <on / off>

This allows you to toggle logging to verbose on and off.

pjsip set logger host <IP/subnet mask> add

This allows you to add an additional IP address or subnet
mask to logging, allowing you to log multiple instead of
just a single IP address or all traffic.

The normal "pjsip set logger host" CLI command has also been
expanded to allow subnet masks as well.

ASTERISK-28895

Change-Id: If5859161a72b0d7dd2d1f92d45bed88e0cd07d0e
doc/CHANGES-staging/pjsip_logger_improvements.txt [new file with mode: 0644]
res/res_pjsip_logger.c