voiceip / oreka

OpenSource G711, G722, G729, Opus & Other Format VoIP SIP Recorder
GNU General Public License v3.0
152 stars 79 forks source link

Support for VXLAN Encapsulation #97

Closed ddelapp closed 2 years ago

ddelapp commented 2 years ago

I've been trying to configure Orkaudio to work via AWS Traffic Mirroring. Their process mirrors traffic via VXLAN-encapsulated packets on port 4789. Is there currently a way to handle traffic coming in via this message? I can see traffic coming into the server but Orkaudio does not recognize it right now.

https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-packet-formats.html

kingster commented 2 years ago

Okay, wasn't aware of this. Orkaudio supports GRE Encapsulation currently, and it seems VXLAN-Encapsulation is similar but slightly different in nature. Can you maybe share a pcap file of a mirrored call from your AWS, so that I can analyse what changes are required to support that?

kingster commented 2 years ago

Hi @ddelapp

Can you please give the changes from #101 a try? Binary builds are available from the Checks Tab

I couldn't get any sample pcap file for a voip calls, so these changes are based on the rfc. If possible please do share a pcap file if you find any issues.

kingster commented 2 years ago

@ddelapp were you able to try out the changes and see if orkaudio is correctly able to record the calls?