/[resiprocate]/main/resip/dum/InviteSession.cxx
ViewVC logotype

Diff of /main/resip/dum/InviteSession.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3282 by derek, Tue Aug 24 19:39:03 2004 UTC revision 3289 by derek, Wed Aug 25 23:09:43 2004 UTC
# Line 69  Line 69 
69  SipMessage&  SipMessage&
70  InviteSession::makeFinalResponse(int code)  InviteSession::makeFinalResponse(int code)
71  {  {
72     int cseq = mLastRequest.header(h_CSeq).sequence();     int cseq = mLastIncomingRequest.header(h_CSeq).sequence();
73     SipMessage& finalResponse = mFinalResponseMap[cseq];     SipMessage& finalResponse = mFinalResponseMap[cseq];
74     mDialog.makeResponse(finalResponse, mLastRequest, 200);     mDialog.makeResponse(finalResponse, mLastIncomingRequest, 200);
75     return finalResponse;     return finalResponse;
76  }  }
77    
# Line 268  Line 268 
268                    {                    {
269                       mState = ReInviting;                       mState = ReInviting;
270                       mDialog.update(msg);                       mDialog.update(msg);
271                       mLastRequest = msg; // !slg!                       mLastIncomingRequest = msg;
272                       mDum.mInviteSessionHandler->onDialogModified(getSessionHandle(), msg);                       mDum.mInviteSessionHandler->onDialogModified(getSessionHandle(), msg);
273                       if (offans.first != None)                       if (offans.first != None)
274                       {                       {
# Line 428  Line 428 
428  {  {
429     mDialog.makeRequest(mLastRequest, REFER);     mDialog.makeRequest(mLastRequest, REFER);
430     mLastRequest.header(h_ReferTo) = referTo;     mLastRequest.header(h_ReferTo) = referTo;
431    //   mLastRequest.header(h_ReferTo).param(p_method) = getMethodName(INVITE);  
432     return mLastRequest;       return mLastRequest;  
433  }  }
434    
# Line 722  Line 723 
723        throw new UsageUseException("Must reject with a 4xx", __FILE__, __LINE__);        throw new UsageUseException("Must reject with a 4xx", __FILE__, __LINE__);
724     }     }
725     //sdp state change here--go to initial state?     //sdp state change here--go to initial state?
726     mDialog.makeResponse(mLastResponse, mLastRequest, statusCode);     mDialog.makeResponse(mLastResponse, mLastIncomingRequest, statusCode);
727     return mLastResponse;     return mLastResponse;
728  }  }
729    

Legend:
Removed from v.3282  
changed lines
  Added in v.3289

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27