/[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 6888 by sgodin, Fri Dec 15 14:45:25 2006 UTC revision 6902 by sgodin, Mon Jan 22 15:23:08 2007 UTC
# Line 75  Line 75 
75        }        }
76        if (request.exists(h_RecordRoutes))        if (request.exists(h_RecordRoutes))
77        {        {
78           mRouteSet = request.header(h_RecordRoutes); // !jf! is this right order           mRouteSet = request.header(h_RecordRoutes);
79        }        }
80    
81        switch (request.header(h_CSeq).method())        switch (request.header(h_CSeq).method())
# Line 560  Line 560 
560                
561        const SipMessage& response = msg;        const SipMessage& response = msg;
562        int code = response.header(h_StatusLine).statusCode();        int code = response.header(h_StatusLine).statusCode();
563        if (code >=200 && code < 300)        // If this is a 200 response to the initial request, then store the routeset (if present)
564          if (creator && (creator->getLastRequest()->header(h_CSeq).sequence() == response.header(h_CSeq).sequence()) && code >=200 && code < 300)
565        {        {
566           if (response.exists(h_RecordRoutes))           if (response.exists(h_RecordRoutes))
567           {           {

Legend:
Removed from v.6888  
changed lines
  Added in v.6902

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27