DUM Registering and Authenticating
Jump to navigation
Jump to search
The following bits are required in order to build an application that registers with a SIP registrar, and has the ability to respond to Digest Authentication challenges:
- You need to install a ClientAuthManager:
mDum->setClientAuthManager(std::auto_ptr<ClientAuthManager>(new ClientAuthManager));
- You need to register a ClientRegistrationHandler:
mDum->setClientRegistrationHandler(this);
- You need to set Digest Credentials on your active profile:
profile->setDigestCredential(realm, user, password); profile->setDefaultFrom(selfAor);
- You need to implement the registration handlers you installed in step 2.