[reSIProcate] add header
I'm trying to add a Call-Info header to my OPTIONS request.
resip::SipMessage& msg = _uacDum->makeOutOfDialogRequest(uasAor, _uacAor, resip::OPTIONS);
resip::GenericURI gURI;
resip::Data dataURI("
http://www.example.com");
gURI.uri() = dataURI;
resip::H_CallInfos h_CallInfos;
msg.header(h_CallInfos).push_front(gURI); // this line is not working
uacDum->send(msg);
But the Call-Info header value is always "<>" without any value inside. I noticed my URL is not inserted into CallInfos. Could anyone help me on how to add Call-Info header correctly? I'm guessing the parse container is not initialized but not sure how to do it.
Thank you!
Kevin