realtimenetprots/sipfw/SIP/ConnectionMgr/src/CTransport.cpp
changeset 37 0295359a7673
parent 29 5f12516512fa
equal deleted inserted replaced
33:b8a7e07b2677 37:0295359a7673
  1487                         }
  1487                         }
  1488                     else
  1488                     else
  1489                         {
  1489                         {
  1490                         uri.SIPURI()->SetSIPS( EFalse );
  1490                         uri.SIPURI()->SetSIPS( EFalse );
  1491                         }
  1491                         }
  1492                     } //end if (aMessage->IsRequest)                
  1492                     //set the port information as per sip scheme and if there is no
       
  1493                     //port information set in the contact header.=
       
  1494                     if(uri.SIPURI()->IsSIPSURI() && (0 == uri.SIPURI()->HostPort().Port()))
       
  1495                         uri.SIPURI()->HostPort().SetPort(KDefaultSipsPort);
       
  1496                     else if ((EFalse == uri.SIPURI()->IsSIPSURI()) && (0 == uri.SIPURI()->HostPort().Port()))
       
  1497                         uri.SIPURI()->HostPort().SetPort(KDefaultSipPort);
       
  1498 					else
       
  1499 						{}
       
  1500                     } //end if (aMessage->IsRequest)				 
  1493 			    } //end if (uri.IsSIPURI())
  1501 			    } //end if (uri.IsSIPURI())
  1494 			} //end if(sipaddr)
  1502 			} //end if(sipaddr)
  1495 		} //end while    
  1503 		} //end while    
  1496     }
  1504     }
  1497 
  1505