realtimenetprots/sipfw/ProfileAgent/profile_fsm/src/sipprflregistrationinprogressstate.cpp
changeset 34 3c8db403127f
parent 0 307788aac0a8
equal deleted inserted replaced
27:740ceea8e153 34:3c8db403127f
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 // Name        : sipprflregistrationinprogressstate.cpp
    14 // Name        : sipprflregistrationinprogressstate.cpp
    15 // Part of     : sip profile fsm
    15 // Part of     : sip profile fsm
    16 // implementation
    16 // implementation
    17 // Version     : %version: 2.1.1 %
    17 // Version     : %version: 2.1.2 %
    18 //
    18 //
    19 
    19 
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
   172 			}
   172 			}
   173 		aContext.AgentObserver().SIPProfileStatusEvent(profile,contextId);
   173 		aContext.AgentObserver().SIPProfileStatusEvent(profile,contextId);
   174 		}
   174 		}
   175 	else if ((aError == KErrSIPTransportFailure || 
   175 	else if ((aError == KErrSIPTransportFailure || 
   176 	     aError == KErrSIPResolvingFailure ||
   176 	     aError == KErrSIPResolvingFailure ||
   177 		 aError == KErrSIPICMPFailure) && 
   177 		 aError == KErrSIPICMPFailure ||
       
   178 		 aError == KErrSIPOutboundProxyNotResponding ) && 
   178 	    aContext.Connection().State()==CSIPConnection::ESuspended)
   179 	    aContext.Connection().State()==CSIPConnection::ESuspended)
   179 		{
   180 		{
   180 		//registration failed due to the suspended connection, re-try later
   181 		//registration failed due to the suspended connection, re-try later
   181 		aContext.SetTransaction(0);
   182 		aContext.SetTransaction(0);
   182 		aContext.SetNextState(*iRegisterRequestedState);
   183 		aContext.SetNextState(*iRegisterRequestedState);