sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.61k stars 240 forks source link

Homer 7 - SIP NOTIFY not populated in PostgreSQL database. #576

Closed jonhvoxbox closed 1 year ago

jonhvoxbox commented 1 year ago

Hi Guys,

We are running heplify-server ver 1.59.3 and homer 7 and have an issue with SIP NOTIFY not being added to the database.

I can see they are presented from openSIPS on the correct port to the heplify-server as HEPv3, and the NOTIFY's can be seen incrementing in the metrics, however not seeing any in the postgres DB and therefore the UI.

Is this a known issue?

Thanks

Jon

github-actions[bot] commented 1 year ago

Please star this repository to motivate the developers and to get higher priority! :star:

kYroL01 commented 1 year ago

Hi @jonhvoxbox Are you using the hep_module for OpenSIPS to send HEP traffic, if I understood correctly, right ? Did you see if heplify-server is then sending traffic to Postgres DB ?

Thank you

jonhvoxbox commented 1 year ago

Hi @kYroL01 thank you for the reply.

Yes using the hep_module, and heplify-server is sending other methods to Postgres DB (INVITE/REFER/INFO) it just wont send the NOTIFY into db. Any ideas how to debug? It was included in the DiscardMethod parameter but I removed it and restarted but still dont see it in DB but see it in metrics.

Didnt know if I need to check anywhere else or best approach to debug?

Thanks!

lmangani commented 1 year ago

@jonhvoxbox are you searching in the "SIP - default" partition? Notify, Pubish, Options (and in general any out-of-band method) will not be stored alongside calls, for obvious reasons. Give it a try with a smart search widget:

image

jonhvoxbox commented 1 year ago

Hi @lmangani unfortunately when I try the SIP -default partition it isnt returning anything. Also for context this is an in-dialog NOTIFY in response to a REFER I am trying to grab. I am just perplexed as to why I cant find in Database. And unfortunately the smarch search widget is not returning anything.

lmangani commented 1 year ago

I can't reproduce this. Feel free to provide a PCAP (or HEPGen.js script) to produce the same outcome for testing.

jonhvoxbox commented 1 year ago

Hi @lmangani fair enough, can you please confirm the current recommended versions we should be running and will make sure they are also aligned.

Thanks for reply!

lmangani commented 1 year ago

Latest release for everything is the recommended setup (since that's what we'll be able to patch and test) for our own components. The rest is less relevant.

jonhvoxbox commented 1 year ago

ok thanks @lmangani will do that and reopen if still have issues. Thanks for looking.

lmangani commented 1 year ago

Thanks! Let us know what you discover and feel free to reopen anytime.