[asterisk-dev] [Code Review] 2830: res_pjsip: Forward PJSIP logging to Asterisk logging

svnbot reviewboard at asterisk.org
Fri Sep 13 09:21:30 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2830/
-----------------------------------------------------------

(Updated Sept. 13, 2013, 9:21 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Joshua Colp and Mark Michelson.


Changes
-------

Committed in revision 399049


Bugs: ASTERISK-22360
    https://issues.asterisk.org/jira/browse/ASTERISK-22360


Repository: Asterisk


Description
-------

This patch uses PJSIP's pj_log_set_log_func() to forward PJSIP's log
messages to Asterisk's logger. This is done in a new module:
res_pjsip_log_forwarder.so.

This patch sets defaultenabled on the existing res_pjsip_logger.so to
no, since logging every SIP packet seems a bit odd to do by default, and
is (hopefully) less necessary with regular PJSIP logging.

It also removes res_rtp_asterisk's disabling of PJSIP logging.



More information about the asterisk-dev mailing list