Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
zypper install -t pattern devel_basis
zypper install libexpat* libpcap* libjson* libuv*
cd /usr/src/
git clone https://github.com/sipcapture/captagent.git captagent
cd captagent
./build.sh
./confgure
make && make install
<?xml version="1.0"?>
<document type="captagent_module/xml">
<module name="transport_hep" description="HEP Protocol" serial="2014010402">
<profile name="hepsocket" description="Transport HEP" enable="true" serial="2014010402">
<settings>
<param name="version" value="3"/>
<param name="capture-host" value="10.10.10.109"/>
<param name="capture-port" value="9061"/>
<param name="capture-proto" value="udp"/>
<param name="capture-id" value="homer01"/>
<param name="capture-password" value="myhep"/>
<param name="payload-compression" value="false"/>
</settings>
</profile>
</module>
</document>
Vince-0 wrote:captagent from repo is much easier, thanks Kumba.
I don't get any data in Homer, front-end home page shows "No Data Available" and empty DB tables.
I wonder if it has to do with GMT set on Homer but GMT+2 on Vicidial.
captagent service is running Active: active (running).
I ran homer rotate job and it created tables for a couple of days in the future.
I configured Admin Alias for Vici standalone server
ID: 23 Alias: VirtualBoxVici Gid: 10 IP: 10.10.10.111 Port: 9061 CaptureID: homer01 Status: 1 Created: 2017-02-13 08:25:08
socket_pcap.xml is on the correct interface, there's only one.
trasport_hep.xml looks correct, not sure about the capture-password being set on the Homer server?
- Code: Select all
<?xml version="1.0"?>
<document type="captagent_module/xml">
<module name="transport_hep" description="HEP Protocol" serial="2014010402">
<profile name="hepsocket" description="Transport HEP" enable="true" serial="2014010402">
<settings>
<param name="version" value="3"/>
<param name="capture-host" value="10.10.10.109"/>
<param name="capture-port" value="9061"/>
<param name="capture-proto" value="udp"/>
<param name="capture-id" value="homer01"/>
<param name="capture-password" value="myhep"/>
<param name="payload-compression" value="false"/>
</settings>
</profile>
</module>
</document>
Not sure how to proceed troubleshooting this one but I'll get there sometime.
<?xml version="1.0"?>
<document type="captagent_module/xml">
<module name="socket_pcap" description="HEP Socket" serial="2014010402">
<profile name="socketspcap_sip" description="HEP Socket" enable="true" serial="2014010402">
<settings>
<param name="dev" value="eth0"/>
<param name="promisc" value="true"/>
<param name="reasm" value="false"/>
<param name="tcpdefrag" value="false"/>
<param name="capture-plan" value="sip_capture_plan.cfg"/>
<param name="filter">
<value>portrange 5060-5091</value>
</param>
</settings>
</profile>
<profile name="socketspcap_rtcp" description="RTCP Socket" enable="false" serial="2014010402">
<settings>
<param name="dev" value="eth0"/>
<param name="promisc" value="true"/>
<param name="reasm" value="false"/>
<!-- size in MB -->
<param name="ring-buffer" value="20"/>
<!-- for rtp && rtcp < 250 -->
<param name="snap-len" value="256"/>
<param name="capture-filter" value="rtcp"/>
<param name="capture-plan" value="rtcp_capture_plan.cfg"/>
<param name="filter">
<value>portrange 5060-50000 and len >=50 </value>
</param>
</settings>
</profile>
</module>
</document>
Users browsing this forum: No registered users and 17 guests