res_hep/res_hep_pjsip: Add a HEPv3 capture agent module and a logger for PJSIP
authorMatthew Jordan <mjordan@digium.com>
Fri, 28 Mar 2014 18:32:50 +0000 (18:32 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 28 Mar 2014 18:32:50 +0000 (18:32 +0000)
commitef0c9fe4d80ac4e05b9894f922b186b5970e5644
treecae8a025f5057a0fb4fd672d74fe54896ef6face
parenta35ce3924b2d0eea8aba2b9f9b1c3195f8ff604b
res_hep/res_hep_pjsip: Add a HEPv3 capture agent module and a logger for PJSIP

This patch adds the following:
(1) A new module, res_hep, which implements a generic packet capture agent for
the Homer Encapsulation Protocol (HEP) version 3. Note that this code is based
on a patch provided by Alexandr Dubovikov; I basically just wrapped it up,
added configuration via the configuration framework, and threw in a
taskprocessor.
(2) A new module, res_hep_pjsip, which forwards all SIP message traffic that
passes through the res_pjsip stack over to res_hep for encapsulation and
transmission to a HEPv3 capture server.

Much thanks to Alexandr for his Asterisk patch for this code and for a *lot*
of patience waiting for me to port it to 12/trunk. Due to some dithering on
my part, this has taken the better part of a year to port forward (I still
blame CDRs for the delay).

ASTERISK-23557 #close

Review: https://reviewboard.asterisk.org/r/3207/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
configs/hep.conf.sample [new file with mode: 0644]
include/asterisk/res_hep.h [new file with mode: 0644]
res/res_hep.c [new file with mode: 0644]
res/res_hep.exports.in [new file with mode: 0644]
res/res_hep_pjsip.c [new file with mode: 0644]