Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Configuration (OS agnostic)

...

Configuration file changes

  • Load the domain module
    No Format
    loadmodule "/usr/local/lib/ser/modules/domain.so"
    
  • Set modules
    Set Look for all modules that you use and that have use_domain parameter and set it to 1 i.e.:
    No Format
    modparam("usrloc|registrar|auth_db|avpops|group", "use_domain", 1)
    
  • Find all uri==myself tests and change them to (is_uri_host_local() || uri==myself) or
    just is_uri_host_local(). It depends whether you want to accept uri with server name, server name aliases or server IPs in domain part in particular test.
  • Find all from_uri==myself tests and change them to is_from_local(). This function checks from domain part against domain table
  • Remove domain name from authentication challenge. Server challenges several domains so the client is responsible to chose the right one.
    No Format
    
        if (!proxy_authorize("", "subscriber")) {
                proxy_challenge("", "0");
                break;
        };
    
    
        if (!www_authorize("", "subscriber")) {
                www_challenge("", "0");
                break;
        };
    

Domain manipulation

  • serctl domain add domainname adds a new domain
  • serctl domain rm domainname removes domain

Domains can be added or removed by serctl without restarting the server.
Be careful if you set SIP_DOMAIN, rather delete it to avoid confusion. If you forget to use domain part when you manipulate with users SIP_DOMAIN is used. If it is not set you will warned.

DNS changes

Don't forget to set SRVs (and NAPTRs) for all server domains.

OS specific help

Validation, confirmation tests

Set user accounts in different domains (with different passwords), register clients and try to call them.