sipcapture / homer

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

Not getting audiocode sip logs in homer app #667

Open prateek16saxena opened 5 days ago

prateek16saxena commented 5 days ago

Hello Everyone , I have homer installed in one of my server but I am not sure if I am getting any log in file "audiocodes.log" file under Pastash. There is no log coming under this directory. I have below config.conf file configuration: input { udp { host => 10.171.40.226 port => 514 type => syslog } }

filter { app_audiocodes{ debug => true autolocal => true } }

output { stdout{} if [rcinfo] != 'undefined' { hep { host => '127.0.0.1' port => 9060 hep_id => 2222 } } } ################################################

Audiocodes.ini file is also updated and in place under pastash.

Could you please help me find where I am wrong and reason why I am not getting traces.

I can share any configuration if required.

PS: I am expert on sip but dont have much expertise on linux.

Thanks Prateek

github-actions[bot] commented 5 days ago

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

lmangani commented 5 days ago

The audiocodes extension is pending some major redesign so you might want to wait (and star the project)

With the above stated, I'm not sure where "audiocodes.log" comes from since its not part of the configuration.

udp {
  host => 0.0.0.0
  port => 514
  type => syslog
}

The input block expects UDP syslog from the SBC on any interface. No files involved. Make sure your traffic is coming through as step one. If you don't see syslog packets in, nothing else will work. Also use TCP for streaming syslog is that's available or be prepared for lots of problems.

prateek16saxena commented 5 days ago

Hello @lmangani , The IP mentioned under "input block" belongs to homer server itself. I am getting CDR files (.csv) at path : /opt/app/sip-router/var/cdr/tmp Is there any other way where i can check if I am getting the traffic from Audicode sbc to homer server.

Also ,I have option for syslog Protocol to change it to TCP from UDP under Logging settings of Audiocode SBC.

Please suggest.

Thanks

lmangani commented 5 days ago

This integration is not for ingesting CDRs but rather to ingest the Audiocodes syslog events and extract signaling. We have no idea what your files might contain and as such, we cannot assist. I would suggesting reviewing the examples and understanding what the system expects before proceeding further. HOMER ingest signaling using the HEPv3 protocol.