equal
deleted
inserted
replaced
620 else |
620 else |
621 { |
621 { |
622 //Message is response. Host part will be extracted from the top |
622 //Message is response. Host part will be extracted from the top |
623 //Via header |
623 //Via header |
624 CSIPViaHeader* viaHeader = TopViaHeader( &aMessage ); |
624 CSIPViaHeader* viaHeader = TopViaHeader( &aMessage ); |
625 domainName = viaHeader->SentByHostPort().Host().AllocL(); |
625 if(viaHeader) |
|
626 { |
|
627 domainName = viaHeader->SentByHostPort().Host().AllocL(); |
|
628 } |
626 } |
629 } |
627 transport = static_cast<CTransportTls*>(FindTransport( aParams, |
630 transport = static_cast<CTransportTls*>(FindTransport( aParams, |
628 SIPStrings::StringF( SipStrConsts::ETLS ), |
631 SIPStrings::StringF( SipStrConsts::ETLS ), |
629 aAddress)); |
632 aAddress)); |
630 //If the domain name is of type "Text", set the domain name for the |
633 //If the domain name is of type "Text", set the domain name for the |