res_pjsip: Config option to enable PJSIP logger at load time.
authorKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:15:47 +0000 (23:15 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:15:47 +0000 (23:15 +0000)
commit10e38fb10cb07b0eb60375cc2a8cd46da86b7c5b
tree38e54ecc0d4dd32e5d2fcdd6b28be23a4b6ddf5d
parentf5bb5b3e8c48d130b06f43eba380f15568706775
res_pjsip: Config option to enable PJSIP logger at load time.

Added a "debug" configuration option for res_pjsip that when set to "yes"
enables SIP messages to be logged.  It is specified under the "system" type.
Also added an alembic script to add the option to realtime.

(closes issue ASTERISK-23038)
Reported by: Rusty Newton
Review: https://reviewboard.asterisk.org/r/3148/
........

Merged revisions 407036 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
UPGRADE.txt
configs/pjsip.conf.sample
contrib/ast-db-manage/config/versions/21e526ad3040_add_pjsip_debug_option.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/config_global.c
res/res_pjsip_logger.c