Sergey Okhapkin wrote > 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. > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@.sip-router > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users you can use this function: http://kamailio.org/docs/modules/4.2.x/modules/textops.html#textops.f.search_body e.g. if (search_body("c=IN IP4")) ... cheers -- View this message in context: http://sip-router.1086192.n5.nabble.com/Media-address-family-tp143489p143505.html Sent from the Users mailing list archive at Nabble.com. _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users