[reSIProcate-users] a question about DUM ClientInviteSession.cxx
in the function ClientInviteSession::reject() :
there are codes as follow:
SharedPtr<SipMessage> req(new SipMessage());
mDialog.makeRequest(*req, PRACK);
req->header(h_StatusLine).statusCode() = statusCode;
if(warning)
{
req->header(h_Warnings).push_back(*warning);
}
req is a request ,it shoud has no h_StatusLine ? it should have requestLine ?
when i use this code to handle update reject ,the system throw
or i should not use this function to handle update reject ?
ps: my english is poor , don't care the gramma