< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] [reSIProcate] Parsing of headers in Resiprocate


You can try to access header values as:

 Token xyz.value() = "header/critical/none";
 SharedPtr<SipMessage> msg->header(h_Privacys).push_back(xyz);

Regards,
kundan


On Mon, Jul 14, 2008 at 4:18 PM, Sandeep Ammaladinna <sammaladinna@xxxxxxxxxxxxx> wrote:

Hi,

 

 Can anybody out there help me how to parse the below header:

 

 Privacy : user,header,session,critical;

 

I guess to access the header we have to use something like "header(h_Privacys)", but what is the procedure to access the header values like "user", "header", "session" and "critical".

 

A simple example (along with APIs) would really help me.

 

Thanks and Regards,

-Sandeep A


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel



--
KUNDAN KUMAR.....