Hi,

Daniel Hsueh wrote:
> Can anyone offer ideas on how I can programmatically search through the
> Supported header items looking for a certain value?  I'd like to do it
> via the post-parsed sip message APIs rather than search through the raw
> header text as a string.

The Supported-Parser (in CVS-HEAD) is currently rather rudimentary and
only supports "path" and "rel100". You can pass an integer to
parse_supported(...) and then check the elements using the currently
available flags F_SUPPORTED_PATH and F_SUPPORTED_REL100.

See parser/parse_supported.c/h, if you'd like to extend it...

Bye,
Andy

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to