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

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

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

revision 2943 by derek, Mon Jun 7 23:24:11 2004 UTC revision 2961 by derek, Thu Jun 10 02:54:50 2004 UTC
# Line 569  Line 569 
569     request.header(h_CSeq).method() = method;     request.header(h_CSeq).method() = method;
570     request.header(h_MaxForwards).value() = 70;     request.header(h_MaxForwards).value() = 70;
571    
572       //must keep old via for cancel
573       if (method != CANCEL)
574       {
575     Via via;     Via via;
576     via.param(p_branch); // will create the branch     via.param(p_branch); // will create the branch
577     request.header(h_Vias).push_front(via);     request.header(h_Vias).push_front(via);
578       }
579       else
580       {
581          assert(request.exists(h_Vias));
582       }
583     request.header(h_CSeq).sequence() = ++mLocalCSeq;     request.header(h_CSeq).sequence() = ++mLocalCSeq;
584  }  }
585    
586    void
587    Dialog::makeCancel(SipMessage& request)
588    {
589       makeRequest(request, CANCEL);  
590    
591       //not allowed in a CANCEL
592       request.remove(h_Requires);
593       request.remove(h_ProxyRequires);
594    }
595    
596  void  void
597  Dialog::makeResponse(SipMessage& response, const SipMessage& request, int code)  Dialog::makeResponse(SipMessage& response, const SipMessage& request, int code)

Legend:
Removed from v.2943  
changed lines
  Added in v.2961

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27