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