[reSIProcate] add header

Kevin Wang xinju.subscription at gmail.com
Fri Apr 14 19:14:23 CDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060414/b2e58bb5/attachment.htm>


More information about the resiprocate-devel mailing list