We've used this to detect a Supported keyword:

if ((is_present_hf("Supported")) && in_list("timer", "$hdr(Supported)", "," )) {
...
}

Hugh

On 14/03/2013 03:27, Juha Heinanen wrote:
is there currently a proper way to test if a particular keyword appears
in Supported or Require header or is a regex test on $hdr(X)[*] the
only possibility?

-- juha

_______________________________________________
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


--
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.


_______________________________________________
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

Reply via email to