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

[reSIProcate-users] Add accept header


Hi all, I think I must use this way to add the "Accept" header for a request likes SUBSCRIBE:

SharedPtr<SipMessage> msg= mDum.makeSubscription(uri, mMasterProfile, "presence");
 msg->header(h_Accepts) = "multipart/related, application/rlmi+xml, application/pidf+xml";

Does here has any other way ?

Thanks.