DUM Registering and Authenticating

From reSIProcate
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:
  • You need to set Digest Credentials on your active profile:
profile->setDigestCredential(realm, user, password);
  • You need to implement the registration handlers you installed in step 2.