How to obtain header fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm having troubles getting the content of the header fields in a incoming
request message.
I don't know how to do it.
Mainly, I need obtain the Accept header (with it's content) in an OPTIONS
message.

I receive the OPTIONS request correctly, I'm able to check it (adding a
breakpoint),  and I can see a PJSIP_H_ACCEPT header, but I don't know how
to access to it's content! The content is "Accept: application/sdp" (I've
seen it with the message buffer).
I need to obtain that "application/sdp" to process it.

I suppose my question it's pretty easy, but I can't solve it! Maybe I
didn't sleep enough... ;)

Thanks a lot.

Jorge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131107/489095cb/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux