]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 20 May 2020 14:14:05 +0000 (09:14 -0500)
commit4fba0f678b3181613a6f580f21e0d74c963c8ab0
tree9f709261cb49dd709bd5d873a1c85748735f94f6
parent5de3f22ee04e00eb7a5828d27ec2d35c6b3c062b
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