RTCAgent Installation Steps

RTCAgent v0.0.3 installation steps

wget https://github.com/sipcapture/rtcagent/releases/download/v0.0.3/rtcagent_v0.0.3_all.deb 
dpkg -i rtcagent_v0.0.3_all.deb 

Create a service file for RTCagent

cat > /etc/systemd/system/rtcagent.service <<EOF 
[Unit]
Description=Captures packets with eBPF Filter and sends them to Homer
After=network.target

[Service]
ExecStart=/usr/bin/rtcagent kamailio -m /opt/kamailio/sbin/kamailio --hep-server="127.0.0.1" --hep-port="9060" --hep-transport="tcp"
ExecStop=/bin/kill ${MAINPID}
Restart=on-failure
RestartSec=10s
Type=simple

[Install]
WantedBy=multi-user.target
EOF

to run RTCAgent in foreground run with this command

rtcagent kamailio -m /opt/kamailio/sbin/kamailio --hep-server="nyc02.sipcapture.io" --hep-port="9082" --hep-transport="TCP" 

Enjoy ;)

No comments:

Post a Comment

SIPp UAC Scenario to send RTP

Please install the latest sipp ( >=3.7.3 ) wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp chmor +x sipp mv sipp /usr/bin...