]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjproject: Add module providing pjproject logging and utils 42/2042/3
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 19 Jan 2016 01:27:57 +0000 (18:27 -0700)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 20 Jan 2016 16:56:13 +0000 (09:56 -0700)
commitdd5c063934ab816f3826d89d363f285307d1f051
treeabd78ef80969c06e9ce39bdebe44ab170927a3bf
parent130aa1427eeb6d56c149ca1f30a170d38d4830dc
res_pjproject:  Add module providing pjproject logging and utils

res_pjsip_log_forwarder has been renamed to res_pjproject
and enhanced as follows:

As a follow-on to the recent 'Add CLI "pjsip show buildopts"' patch,
a new ast_pjproject_get_buildopt function has been added.  It
allows the caller to get the value of one of the buildopts.

The initial use case is retrieving the runtime value of
PJ_MAX_HOSTNAME to insure we don't send a hostname greater
than pjproject can handle.  Since it can differ between
the version of pjproject that Asterisk was compiled against
and the version of pjproject that Asterisk is running against,
we can't use the PJ_MAX_HOSTNAME macro directly in Asterisk
source code.

Change-Id: Iab6e82fec3d7cf00c1cf6185c42be3e7569dee1e
CHANGES
include/asterisk/res_pjproject.h [new file with mode: 0644]
res/res_pjproject.c
res/res_pjproject.exports.in [new file with mode: 0644]