voipplugins/sipconnectionprovider/ipvoicemailengine/src/ipvmbxengine.cpp
branchRCL_3
changeset 15 43658d24f35d
parent 14 be41ab7b952f
equal deleted inserted replaced
14:be41ab7b952f 15:43658d24f35d
     1 /*
     1 /*
     2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   551             subscription->Cancel();
   551             subscription->Cancel();
   552             subscription->DeleteEvent();
   552             subscription->DeleteEvent();
   553             message = MIpVmbxObserver::ENetworkError;
   553             message = MIpVmbxObserver::ENetworkError;
   554             break;
   554             break;
   555             }
   555             }
       
   556         case CIpVmbxEngine::EEngineFatalNetworkError:
       
   557             {
       
   558             subscription->Cancel();
       
   559             subscription->DeleteEvent();
       
   560             message = MIpVmbxObserver::EFatalNetworkError;
       
   561             break;
       
   562             }
   556         default:
   563         default:
   557             IPVMEPRINT( "Unhandled message!" );
   564             IPVMEPRINT( "Unhandled message!" );
   558         }
   565         }
   559 
   566 
   560     if ( send )
   567     if ( send )
   611     TDes8& aTotalMessages8,
   618     TDes8& aTotalMessages8,
   612     TDes8& aNewMessages8,
   619     TDes8& aNewMessages8,
   613     TDes8& aFrom8 ) const
   620     TDes8& aFrom8 ) const
   614     {
   621     {
   615 #ifdef _DEBUG
   622 #ifdef _DEBUG
   616     TBuf<128> tmpStr;
   623     HBufC* print = HBufC::NewLC( aContent8.Length() );
   617     tmpStr.Copy( aContent8 );
   624     print->Des().Copy( aContent8 );
   618     IPVMEPRINT2( "CIpVmbxEngine::ParseNotifyContentL - aContent8:%S", &tmpStr )
   625     IPVMEPRINT2( "CIpVmbxEngine::ParseNotifyContentL - aContent8:%S", &print->Des() )
       
   626     CleanupStack::PopAndDestroy( print );
   619 #endif // _DEBUG
   627 #endif // _DEBUG
   620     aCreateSms = EFalse;
   628     aCreateSms = EFalse;
   621 
   629 
   622     // check required content
   630     // check required content
   623     TLex8 analyzer8;
   631     TLex8 analyzer8;