Hi,
I'm using CSIPManagedProfile and CSIPManagedProfileRegistry. I can create a profile using the following code, but it does not set the Default Access Point property in the created SIP profile.
Code:
CSIPManagedProfileRegistry* profRegistry = CSIPManagedProfileRegistry::NewLC(*iRegObs);
TSIPProfileTypeInfo info;
info.iSIPProfileClass = TSIPProfileTypeInfo::EInternet;
info.iSIPProfileName.Copy(_L8("IETF"));
CSIPManagedProfile *profile = profRegistry->CreateL(info);
CleanupStack::PushL(profile);
profile->SetParameter(KSIPProviderName,_L8("MyProf"));
profile->SetParameter(KSIPAccessPointId,1);
//more such SetParameter calls for other settings
profRegistry->SaveL(*profile);
CleanupStack::PopAndDestroy(2); //profile and profRegistry
Is there some other way to set the default access point. Also, I don't want to create the profile everytime. For every successive use, I wanna just find the profile using CSIPManagedProfileRegistry::Profiles() function and then set the Default Access Point.
Anybody any clues? Has any of you done anything similar b4 and can help me out with this?