What is the best way to find out address family (IPV4 or IPV6) of media in SDP? My goal is to reject INVITEs which have different address families in headers and SDP, i.e. IPv4 INVITE with IPv6 media address in SDP and vice versa.