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

How to store IOT devices data Using QRYN

Configuring your own MQTT broker with a database offers significant cost advantages over cloud IoT platforms like AWS or Azure. You eliminat...