[reSIProcate] Parsing of headers in Resiprocate
Kundan Kumar
kundancs at gmail.com
Tue Jul 15 02:30:08 CDT 2008
Try this:
header(h_Privacys).pop_front()
You can get value having in privacy header as header/critical/none/user
regards,
kundan
On Tue, Jul 15, 2008 at 10:35 AM, Sandeep Ammaladinna <
sammaladinna at velankani.com> wrote:
> 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.....
>
--
KUNDAN KUMAR.....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080715/16628733/attachment.htm>
More information about the resiprocate-devel
mailing list