equal
deleted
inserted
replaced
608 CleanupStack::PopAndDestroy( localaddress ); |
608 CleanupStack::PopAndDestroy( localaddress ); |
609 |
609 |
610 // Sent-by is now set for the first time, must set the port too |
610 // Sent-by is now set for the first time, must set the port too |
611 if ( receivePort == 0 ) |
611 if ( receivePort == 0 ) |
612 { |
612 { |
613 receivePort = KDefaultSipPort; |
613 //If the Transport in the outgoing request is TLS and port value = 0 |
|
614 //provide 5061 for TLS and 5060 for UDP/TCP |
|
615 if(SIPStrings::StringF(SipStrConsts::ETLS) == viaHeader->Transport()) |
|
616 receivePort = KDefaultSipsPort; |
|
617 else |
|
618 receivePort = KDefaultSipPort; |
614 } |
619 } |
615 } |
620 } |
616 if ( receivePort ) |
621 if ( receivePort ) |
617 { |
622 { |
618 viaHeader->SentByHostPort().SetPort( receivePort ); |
623 viaHeader->SentByHostPort().SetPort( receivePort ); |