[reSIProcate] Parsing of headers in Resiprocate
Sandeep Ammaladinna
sammaladinna at velankani.com
Tue Jul 15 00:05:18 CDT 2008
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 at gmail.com]
Sent: Tuesday, July 15, 2008 10:32 AM
To: Sandeep Ammaladinna
Cc: resiprocate-devel at resiprocate.org; resiprocate-users at resiprocate.org
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 at velankani.com> 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 at resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
--
KUNDAN KUMAR.....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080715/f7152a51/attachment.htm>
More information about the resiprocate-devel
mailing list