Re: [Freeswitch-users] Question regarding continuous SIP trace with Freeswitch
At the risk of repressing myself: Homer? :) On Sat, 6 Nov 2021 at 01:41, Gregor Maier via FreeSWITCH-users < freeswitch-users@lists.freeswitch.org> wrote:
---------- Forwarded message ---------- From: Gregor Maier <freeswitch13@mailbox.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Sat, 6 Nov 2021 00:48:16 +0100 Subject: Re: [Freeswitch-users] Question regarding continuous SIP trace with Freeswitch HEP directly to sngrep is a good idea. Unfortunately writing pcap files doesn't work (known problem https://github.com/irontec/sngrep/issues/270).
Maybe there is another tool which is able to read HEP data stream and write it to a "real" pcap file?
Thanks Gregor
On 05.11.21 at 20:08 Daniel Greenwald wrote:
If homer is overkill. You could turn on sip trace which will log sip to fs log. Or configure sip capture to send HEP directly into sngrep.
On Wed, Nov 3, 2021 at 7:36 AM David Villasmil < david.villasmil.work@gmail.com> wrote:
Homer?
On Wed, 3 Nov 2021 at 03:18, Gregor Maier via FreeSWITCH-users < freeswitch-users@lists.freeswitch.org> wrote:
---------- Forwarded message ---------- From: Gregor Maier <freeswitch13@mailbox.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Tue, 2 Nov 2021 21:03:22 +0100 Subject: Question regarding continuous SIP trace with Freeswitch
Hello!
I'm currently struggling how to continuously trace all SIP packages
from
and to Freeswitch. Tcpdump or sngrep solely or similar tools aren't a solution, because SIP is encrypted (TLS). Asterisk provides an internal interface which logs all (or only restricted hosts e.g.) SIP packages to pcap (after decryption or before encryption of course).
I found https://freeswitch.org/confluence/display/FREESWITCH/Packet+Capture - but there is no solution which handles the case "registering as client to a providers SIP server" (there is no local private key involved - the provider is the owner of the private key).
Voipmonitor is pretty oversized for the planned use case (home server running on an APU 4 device (https://pcengines.ch/apu4d4.htm) on a sd card).
Is there a similar and practical way how Freeswitch can log SIP packages to pcap?
Thanks Gregor
---------- Forwarded message ---------- From: Gregor Maier via FreeSWITCH-users < freeswitch-users@lists.freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Tue, 02 Nov 2021 20:18:40 -0700 (PDT) Subject: [Freeswitch-users] Question regarding continuous SIP trace with Freeswitch
The FreeSWITCH project is sponsored by SignalWire
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
The FreeSWITCH project is sponsored by SignalWire
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
---------- Forwarded message ---------- From: Gregor Maier via FreeSWITCH-users < freeswitch-users@lists.freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Fri, 05 Nov 2021 18:41:08 -0700 (PDT) Subject: Re: [Freeswitch-users] Question regarding continuous SIP trace with Freeswitch _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On 06.11.21 at 03:03 David Villasmil wrote:
At the risk of repressing myself: Homer? :)
Yes, David, I already heard it - but I don't know the way from Homer to pcap - I want to analyze SIP packages with sngrep! Because it's extremely handy and powerful! Especially if it comes to compare different messages and measure time between arbitrary packages. And Homer is bloatware *compared to my requirement*. sngrep would be the desired and best solution *for me* if it would be able to write correct pcap files while acting as HEP server. Thanks Gregor
On 06.11.21 at 03:03 David Villasmil wrote:
At the risk of repressing myself: Homer? :)
Ok, as there seems to be no other solution, I tried it. Thank Good, it isn't too big. I feared it would be more. I saw it's possible to export pcap traces on the UI for the selected calls. Therefore it's anyway possible to use sngrep to better analyze calls. Getting rtp quality info is a nice side effect. Thanks for being persistent! Gregor
participants (2)
-
David Villasmil
-
Gregor Maier