< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi Kundan,
The below example what you have presented tells how to set the values for the Privacy header, but it does not say how to get it. Please tell me how to get the values from the header.
Thanks and Regards,
-Sandeep A
-----Original Message-----
From: Kundan Kumar [mailto:kundancs@xxxxxxxxx]
Sent: Tuesday, July 15, 2008 10:32 AM
To: Sandeep Ammaladinna
Cc: resiprocate-devel@xxxxxxxxxxxxxxx; resiprocate-users@xxxxxxxxxxxxxxx
Subject: Re: [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.....