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
I am not sure if Supported can appear many times in a message, that might require using the [*] index as Juha pointed.
For sake of completion, the search_hf() could be an alternative for now, getting a flag to walk through all headers matching the name:
- http://kamailio.org/docs/modules/stable/modules/textops.html#id2535899
Cheers, Daniel
On 3/14/13 11:05 AM, Hugh Waite wrote: