2008/2/8, Jerry Richards <[EMAIL PROTECTED]>: > Anyone know why I always read a NULL value for SIPTAG_REQUEST_STR_REF() > (e.g. for nua_i_invite 100 Trying event)?
The headers are available through the sip_t structure. If you want to get the request line as a string, you can convert sip->sip_request to string with sip_header_as_string(). You can also ask the SIP parser to keep the unparsed text with heades by giving NTATAG_SIPFLAGS(MSG_FLG_EXTRACT_COPY) to nua_create(). (The unparsed data is at rq_common->h_data and its lenght is in rq_common->h_len.) -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel