realtimenetprots/sipfw/ProfileAgent/Client/Src/sipmanagedprofile.cpp
branchRCL_3
changeset 9 1e1cc61f56c3
parent 0 307788aac0a8
child 37 0295359a7673
equal deleted inserted replaced
4:dd3853b8dc3f 9:1e1cc61f56c3
   222 		case KSIPServerAddress:
   222 		case KSIPServerAddress:
   223 		case KSIPPrivateIdentity:
   223 		case KSIPPrivateIdentity:
   224 		case KSIPDigestPassword:
   224 		case KSIPDigestPassword:
   225 		case KSIPHeaders:
   225 		case KSIPHeaders:
   226 		case KSIPContactHeaderUser:
   226 		case KSIPContactHeaderUser:
       
   227         case KPrimaryAPN:
       
   228         case KSecondaryAPN:
   227 			User::Leave(KErrNotFound);
   229 			User::Leave(KErrNotFound);
   228 		case KSIPSnapId:
   230 		case KSIPSnapId:
   229 			__ASSERT_ALWAYS((aVal>0),User::Leave(KErrArgument));
   231 			__ASSERT_ALWAYS((aVal>0),User::Leave(KErrArgument));
   230 		default:
   232 		default:
   231 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   233 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   270 		case KSIPDigestPassword:
   272 		case KSIPDigestPassword:
   271 		case KSIPHeaders:
   273 		case KSIPHeaders:
   272 		case KSIPContactHeaderUser:
   274 		case KSIPContactHeaderUser:
   273 		case KSIPSoIpTOS:
   275 		case KSIPSoIpTOS:
   274 		case KSIPSnapId:
   276 		case KSIPSnapId:
       
   277         case KPrimaryAPN:
       
   278         case KSecondaryAPN:
   275 			User::Leave(KErrNotFound);			
   279 			User::Leave(KErrNotFound);			
   276 		default:
   280 		default:
   277 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   281 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   278 		}
   282 		}
   279 	}
   283 	}
   311 		case KSIPOutboundProxy:
   315 		case KSIPOutboundProxy:
   312 		case KSIPPrivateIdentity:
   316 		case KSIPPrivateIdentity:
   313 		case KSIPContactHeaderUser:
   317 		case KSIPContactHeaderUser:
   314 		case KSIPSoIpTOS:	
   318 		case KSIPSoIpTOS:	
   315 		case KSIPSnapId:
   319 		case KSIPSnapId:
       
   320         case KPrimaryAPN:
       
   321         case KSecondaryAPN:
   316 		User::Leave(KErrNotFound);
   322 		User::Leave(KErrNotFound);
   317 		default:
   323 		default:
   318 			TBuf8<KParameterbufLength> buf;
   324 			TBuf8<KParameterbufLength> buf;
   319 			buf.Format(KSIPProfileExtenstionParameter, aParam);
   325 			buf.Format(KSIPProfileExtenstionParameter, aParam);
   320 			iSIPProfile->SetServerExtensionParameterL(
   326 			iSIPProfile->SetServerExtensionParameterL(
   356 		case KSIPPrivateIdentity:
   362 		case KSIPPrivateIdentity:
   357 		case KSIPDigestPassword:
   363 		case KSIPDigestPassword:
   358 		case KSIPContactHeaderUser:
   364 		case KSIPContactHeaderUser:
   359 		case KSIPSoIpTOS: 	
   365 		case KSIPSoIpTOS: 	
   360 		case KSIPSnapId:
   366 		case KSIPSnapId:
       
   367         case KPrimaryAPN:
       
   368         case KSecondaryAPN:
   361 		User::Leave(KErrNotFound);
   369 		User::Leave(KErrNotFound);
   362 		default:
   370 		default:
   363 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   371 			iSIPProfile->SetExtensionParameterL(aParam, aVal);
   364 		}
   372 		}
   365 	}
   373 	}