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

Re: [reSIProcate-users] Access the "received" parameter of "contact" header


Got it works, please ignore my previous email.

Best regards,


On Sun, Apr 28, 2013 at 1:55 PM, Karlsson <boost.regex@xxxxxxxxx> wrote:
How could I get/set the "received" parameter of "contact" header ?

I have tried below:

NameAddrs::iterator nameAddrIter = message->header(h_Contacts).begin();
for (; nameAddrIter!=message->header(h_Contacts).end(); ++nameAddrIter)
{
   Data d = (*nameAddrIter).param(p_received);
}

But failed to compile it.

The "received" parameter of "contact" header seems is "ExtensionParameter"? How to get/set(modify) it ?

Best regards,