hamidrhashmi / EdgeProxy

Works on opensips. Load balance REGISTER and INVITE requests
0 stars 2 forks source link

Homer UI not showing logs #476 #2

Open naqashsaeed opened 1 year ago

naqashsaeed commented 1 year ago

Hi @naqashsaeed ,

Please follow the following steps to solve your issue.

Step1: Follow this Asterisk KB: Configure Asterisk

(This above configuration only works with chan_pjsip but not with chan_sip.)

If you are using only SIP over UDP/TCP then as an alternate solution you can follow following steps. Step1: Go to the Download Heplify and download the binary file of heplify on server

wget https://github.com/sipcapture/heplify/releases/download/v1.65.2/heplify

Step2: Create heplify.service file in /etc/systemd/system and give it execution permissions using chmod +x heplify.service command and add content shows below:

[Unit]
Description=Captures packets from wire and sends them to Hepic
After=network.target
[Service]
ExecStart=/usr/local/bin/heplify -i any -t af_packet -m SIPRTCP -hs 127.0.0.1:9060
ExecStop=/bin/kill ${MAINPID}
Restart=on-failure
RestartSec=10s
Type=simple
[Install]
WantedBy=multi-user.target

Step3: Now Start the Service

 systemctl daemon-reload 
 systemctl start heplify 

Step4: Make a test call and see if you see any traffic on Homer UI.

Homer will not works with asterisk chansip module else it works with chanpjsip.so