Skip to content

DUM Registering and Authenticating

Scott Godin edited this page Mar 5, 2021 · 1 revision

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.
Clone this wiki locally