summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-03-28 18:32:50 +0000
committerMatthew Jordan <mjordan@digium.com>2014-03-28 18:32:50 +0000
commitef0c9fe4d80ac4e05b9894f922b186b5970e5644 (patch)
treecae8a025f5057a0fb4fd672d74fe54896ef6face /configs
parenta35ce3924b2d0eea8aba2b9f9b1c3195f8ff604b (diff)
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
Diffstat (limited to 'configs')
-rw-r--r--configs/hep.conf.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/hep.conf.sample b/configs/hep.conf.sample
new file mode 100644
index 000000000..40b17aa0e
--- /dev/null
+++ b/configs/hep.conf.sample
@@ -0,0 +1,16 @@
+;
+; res_hep Module configuration for Asterisk
+;
+
+; All settings are currently set in the general section.
+[general]
+enabled = yes ; Enable/disable forwarding of packets to a
+ ; HEP server. Default is "yes".
+capture_address = 192.168.1.1:9061 ; The address of the HEP capture server.
+capture_password = foo ; If specified, the authorization passsword
+ ; for the HEP server. If not specified, no
+ ; authorization password will be sent.
+capture_id = 1234 ; A unique integer identifier for this
+ ; server. This ID will be embedded sent
+ ; with each packet from this server.
+