/[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 6075 by jason, Tue Mar 14 02:59:12 2006 UTC revision 6093 by sgodin, Mon Mar 20 17:40:05 2006 UTC
# Line 291  Line 291 
291    
292     DebugLog ( << "Dialog::dispatch: " << msg.brief());     DebugLog ( << "Dialog::dispatch: " << msg.brief());
293    
294     if (msg.getReceivedTransport())     if(msg.isExternal())
295     {     {
296        TransportType type = msg.getReceivedTransport()->getTuple().getType();        const Data& receivedTransport = msg.header(h_Vias).front().transport();
297        int keepAliveTime = 0;        int keepAliveTime = 0;
298          if(receivedTransport == Symbols::TCP ||
299        if (type == TCP || type == TLS || type == SCTP)           receivedTransport == Symbols::TLS ||
300             receivedTransport == Symbols::SCTP)
301        {        {
302           keepAliveTime = mDialogSet.getUserProfile()->getKeepAliveTimeForStream();           keepAliveTime = mDialogSet.getUserProfile()->getKeepAliveTimeForStream();
303        }        }

Legend:
Removed from v.6075  
changed lines
  Added in v.6093

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27