Hi,
SIP profile Creation.
Iam testing in Nokia N79, SIP profile was created but shows “Registration Failed”
In profile :
Default destination: None
Default access point : None
When I change Default destination to Internet in mobile manually , after disconnecting and Connecting wifi SIP was Registered.
How to set “ Default destination = Internet” and “Default access point = current Active access point”
Code:
CSIPManagedProfileRegistry* profRegistry =
CSIPManagedProfileRegistry::NewLC(*this);
TSIPProfileTypeInfo info;
info.iSIPProfileClass = TSIPProfileTypeInfo::EInternet;
info.iSIPProfileName = KProfileName;
CSIPManagedProfile *profile = profRegistry->CreateL(info);
CleanupStack::PushL(profile);
profile->SetParameter(KSIPProviderName,_L8("NewProfile"));
profile->SetParameter(KSIPAccessPointId,1);
profile->SetParameter(KSIPSigComp,EFalse);
profile->SetParameter(KSIPSecurityNegotiation,EFalse);
profile->SetParameter(KSIPUserAor,_L8("sip:107@192.118.2.111"));
profile->SetParameter(KSIPAutoRegistration,2); //AlwaysOn
profile->SetParameter(KSIPDefaultProfile,ETrue);
profile->SetParameter(KSIPRegistrar,
KSIPServerAddress,_L8("sip: 192.118.2.111;lr;transport=UDP"));
profile->SetParameter(KSIPRegistrar,KSIPDigestUserName,_L8("105"));
profile->SetParameter(KSIPRegistrar,KSIPDigestRealm,_L8("Nrealm"));
profile->SetParameter(KSIPRegistrar,KSIPDigestPassword,_L8(""));
profRegistry->SaveL(*profile);
CleanupStack::Pop( profile );
CleanupStack::Pop( profRegistry);
CleanupStack::PopAndDestroy(2);
Thanks,
Shakumar



