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

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


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,