voipplugins/voipadapters/voipxmlprovisioning/voipxmlprocessor/src/voipxmlsiphandler.cpp
branchRCL_3
changeset 20 65a3ef1d5bd0
parent 18 8c9c07ad8b6b
equal deleted inserted replaced
18:8c9c07ad8b6b 20:65a3ef1d5bd0
   381     else if ( ETcp == iProxyTransport )
   381     else if ( ETcp == iProxyTransport )
   382         {
   382         {
   383         tempBuf.Append( KTransport() );
   383         tempBuf.Append( KTransport() );
   384         tempBuf.Append( KTcp() );
   384         tempBuf.Append( KTcp() );
   385         }
   385         }
       
   386     else if ( ETls == iProxyTransport )
       
   387         {
       
   388         tempBuf.Append( KTransport() );
       
   389         tempBuf.Append( KTls() );
       
   390         }
   386     if ( iLr )
   391     if ( iLr )
   387         {
   392         {
   388         tempBuf.Append( KLr() );
   393         tempBuf.Append( KLr() );
   389         }
   394         }
   390 
   395 
   414         }
   419         }
   415     else if ( ETcp == iRegistrarTransport )
   420     else if ( ETcp == iRegistrarTransport )
   416         {
   421         {
   417         tempBuf.Append( KTransport() );
   422         tempBuf.Append( KTransport() );
   418         tempBuf.Append( KTcp() );
   423         tempBuf.Append( KTcp() );
       
   424         }
       
   425     else if ( ETls == iProxyTransport )
       
   426         {
       
   427         tempBuf.Append( KTransport() );
       
   428         tempBuf.Append( KTls() );
   419         }
   429         }
   420     if ( iRegistrarUri->Des().MaxLength() >= 
   430     if ( iRegistrarUri->Des().MaxLength() >= 
   421         ( iRegistrarUri->Des().Length() + tempBuf.Length() ) )
   431         ( iRegistrarUri->Des().Length() + tempBuf.Length() ) )
   422         {
   432         {
   423         iRegistrarUri->Des().Append( tempBuf );
   433         iRegistrarUri->Des().Append( tempBuf );
   585         }
   595         }
   586     else if ( 0 == value.Compare( KTcp() ) )
   596     else if ( 0 == value.Compare( KTcp() ) )
   587         {
   597         {
   588         return ETcp;
   598         return ETcp;
   589         }
   599         }
       
   600     else if ( 0 == value.Compare( KTls() ) )
       
   601         {
       
   602         return ETls;
       
   603         }
   590     else
   604     else
   591         {
   605         {
   592         return EAutomatic;
   606         return EAutomatic;
   593         }
   607         }
   594     }
   608     }