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

David Lee reviewboard at asterisk.org
Fri Sep 6 15:05:15 CDT 2013


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

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


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