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
you can use this function:
http://kamailio.org/docs/modules/4.2.x/modules/textops.html#textops.f.searc…
e.g.
if (search_body("c=IN IP4"))
...
cheers
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Media-address-family-tp143489p14350…
Sent from the Users mailing list archive at
Nabble.com.