[Freeswitch-users] Question regarding continuous SIP trace with Freeswitch

Gregor Maier freeswitch13 at mailbox.org
Fri Nov 5 23:48:16 UTC 2021


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 at gmail.com> wrote:
> 
>> Homer?
>>
>> On Wed, 3 Nov 2021 at 03:18, Gregor Maier via FreeSWITCH-users <
>> freeswitch-users at lists.freeswitch.org> wrote:
>>
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Gregor Maier <freeswitch13 at mailbox.org>
>>> To: FreeSWITCH Users Help <freeswitch-users at 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 at lists.freeswitch.org>
>>> To: FreeSWITCH Users Help <freeswitch-users at 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 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 at 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 at 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 at gmail.com
>> phone: +34669448337
>> _________________________________________________________________________
>>
>> 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
> 



More information about the FreeSWITCH-users mailing list