sipcapture / heplify-server

HEP Capture Server for HOMER
https://sipcapture.org
GNU Affero General Public License v3.0
184 stars 85 forks source link

IPV6 parsing: from_domain #425

Open jacovinus opened 4 years ago

jacovinus commented 4 years ago

Check for different kind of IPv6 IPs.

reference link: https://github.com/sipcapture/homer-app/blob/master/data/service/search.go#L371-L375

takes first group before ":" as from_domain. Inherited from IPV4 parsing.

Examples:

From: "+32460214964" sip:+32460214964@[2a0c:10c0:ffff:2::1234] from_domain: [2a0c

From: sip:9876@fe80:0:0:0:21a:a0ff:fe07:32e0 from_domain: fe80