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

[reSIProcate] responses body


hi all

If I added a body to a response message, will this cause any problem?
The code is as follows:

//handle is a ServerPagerMessageHandler
SharedPtr<SipMessage>  ok = handle->accept();
auto_ptr<Contents>  content(new PlainContents("response", m_mime));
ok.setContents(content);

please reply.

best regards