Hey Henning,
On Thursday 03 November 2011, Jason Penton wrote:Hi Jason,
> For Asserted and preferred identities, we don't need to parse the content,
> but in other headers I have not gotten to yet, we may need to.
do you talk about p-asserted and p-preferred header? This are fairly standard
headers, there are even some PVs to access them right now i think.
I'd guess the reasons is memory efficiency. The structure get bigger and
> Please help me understand, I would have thought from an architecture
> perspective, we would populate the sip_msg structure with all possible sip
> headers as well as the parsers. What is the reason we don't do this
> currently? performance?
bigger with every pointer. But for p-asserted and p-preffered, they are
already included it seems:
struct hdr_field* pai;
struct hdr_field* ppi;
Best regards,
Henning