/[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 9033 by sgodin, Sun Feb 27 17:17:15 2011 UTC revision 9738 by sgodin, Thu May 31 15:57:29 2012 UTC
# Line 158  Line 158 
158        }        }
159    
160        mRemoteCSeq = request.header(h_CSeq).sequence();        mRemoteCSeq = request.header(h_CSeq).sequence();
161    
162          // This may actually be a UAC dialogset - ie. the case where the first NOTIFY creates the
163          // SUBSCRIPTION dialog, instead of the 200/SUB.  If so, then we need to make sure the local
164          // CSeq is correct - it's value may be greator than 1, if the original request (SUBSCRIBE)
165          // got digest challenged.
166          BaseCreator* creator = mDialogSet.getCreator();
167          if(creator)
168          {
169             mLocalCSeq = creator->getLastRequest()->header(h_CSeq).sequence();
170          }
171          else
172          {
173        mLocalCSeq = 1;        mLocalCSeq = 1;
174          }
175    
176        DebugLog ( << "************** Created Dialog as UAS **************" );        DebugLog ( << "************** Created Dialog as UAS **************" );
177        DebugLog ( << "mRemoteNameAddr: " << mRemoteNameAddr );        DebugLog ( << "mRemoteNameAddr: " << mRemoteNameAddr );
# Line 209  Line 222 
222                       isEqualNoCase(contact.uri().scheme(), Symbols::Sip))                       isEqualNoCase(contact.uri().scheme(), Symbols::Sip))
223                    {                    {
224                       BaseCreator* creator = mDialogSet.getCreator();                                                           BaseCreator* creator = mDialogSet.getCreator();                                    
   
225                       if( 0 == creator )                       if( 0 == creator )
226                       {                       {
227                          ErrLog(<< "BaseCreator is null for DialogSet");                          ErrLog(<< "BaseCreator is null for DialogSet");

Legend:
Removed from v.9033  
changed lines
  Added in v.9738

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27