I have to set the Csipcallidheader

i try in this mode
Code:
CSIPMessageElements& msgElem = reqElem->MessageElements();
RPointerArray<CSIPHeaderBase>* userHeadersArr = new(ELeave)RPointerArray<CSIPHeaderBase>;

CSIPcallidheader* callid = csipcallidheader::DecodeL(_L8("someth"));
userHeadersArr->Append(callid);
but when i do
Code:
msgElem.SetUserHeadersL(*userHeadersArr)
at run-time the application goes in crash.

i don't understand how to set callid.

can someone help me.

thanks
david