UCBC
Admin Guide

Notifications and High Availability

21 min read

This article covers two lower-traffic admin areas: system email (notification) settings, and High Availability (HA) failover between two servers.

System Email (Notification) Settings#

What it's for: this page configures the outgoing email server (SMTP) your system uses to send invoices and receipts to customers and account owners. It is not related to support tickets, voicemail-to-email, or fax-to-email — those use their own delivery paths. Whether a specific user actually receives an invoice/receipt email is controlled separately on that user's own profile (their Invoice/Receipt Notify setting).

How to Set Up System Email#

  1. Go to Notification Settings.
  2. Enter your mail server's SMTP Host and SMTP Port.
  3. Enter the SMTP Username and SMTP Password for that mail server account. (Leave the password blank when editing later to keep the one already saved.)
  4. Choose the Security mode: TLS, SSL, or None, to match your mail provider's requirements.
  5. Enter the From Address and, optionally, a From Name that recipients will see.
  6. Click Save.
  7. To confirm it works, enter an address under Send Test Email To and click Test Email — this sends immediately, using exactly the settings you just saved.

How to Verify It's Working#

Use the Test Email button after saving. If the test fails, it will show the error returned by your mail server (for example, an authentication failure or a connection timeout) — fix the underlying SMTP detail (host, port, username/password, or security mode) and test again.

Platform Update Notifications#

What it's for: an optional, separate opt-in for your system itself to receive update-related notifications about the underlying platform software it runs on — security advisories, new stable releases, project events, and general news — delivered by email to an address you choose. This is unrelated to your day-to-day call or billing notifications; it exists for whoever maintains your system's software to stay informed about platform updates.

How to Turn It On#

  1. Go to Notifications (under system settings).
  2. Set Project Notifications to Enabled.
  3. Choose which categories you want: Security, Releases, Events, and News — each can be turned on or off independently.
  4. Enter the recipient email address.
  5. Click Save.

If this option isn't visible on your account, it has been reserved for top-level system administrators.

How Notification Emails Look#

Every notification email UCBC sends has the same designed look:

  • Header: the UCBC logo, a label for the kind of message (for example Voicemail, Missed call, Fax, Sign-in, Invoice, Fraud alert or Support), the subject as the title, and the domain it is about.
  • Card: the message itself, with the Need help? link at the bottom.
  • Footer: which domain it was sent for.

Emails your organization sends to its own customers (ticket notices, RCA reports, help-centre sign-in links and request confirmations, web chat transcripts) show your domain name as the brand at the top instead of the UCBC logo; UCBC only appears small in the footer.

Agents' own replies to customers are sent as normal emails, without the design. Meeting invitations stay plain text so calendars can read them.

Every notification UCBC sends to your users ends with a highlighted "Need help? Visit the UCBC Knowledge Base →" link. It opens the UCBC Knowledge Base, and where the email's subject makes the topic clear it opens the matching article directly — a voicemail email links to the voicemail article, an invoice email to the invoices article, and so on.

Which messages get it

MessageFooter
Voicemail, missed call, fax and transcription emails; password reset, sign-in link and welcome emails; invoices, payment receipts and billing notices; fraud alerts and platform notices; ticket escalation emails; meeting invitationsUCBC Knowledge Base link
Messages your organization sends to its own customers — ticket notices, RCA reports and email broadcastsYour own help link, only if you set one (see below) — otherwise no footer
Replies an agent writes personallyNever

Settings

The footer is on by default. A platform administrator can change it under Default Settings, category knowledge_base, and any domain can override it in its own Domain Settings (same category):

SettingTypeWhat it does
enabledbooleanfalse turns the footer off (for example for a white-label customer).
urltextThe Knowledge Base address. Leave it at the default to keep the per-topic article links.
customer_urltextDomain only. Your organization's own help-center address, added as a "Visit our Help Center" footer to messages your organization sends to its customers. Leave it unset for no footer on those messages.

High Availability (HA)#

What it's for: HA lets you run two servers — a Primary and a Secondary — so that if the Primary goes down or becomes unreachable, the Secondary takes over and keeps calls flowing. It works by pointing a single hostname (the one your phones and trunks register against, e.g. sip.yourcompany.com) at whichever server is currently active, and updating that DNS record automatically when a failover happens. This page is where the pairing and failover behavior is configured — most single-server accounts will never need it.

How HA Behaves#

  • Normal operation: the Primary is active and owns the hostname. The Secondary is on standby, checking the Primary every few seconds.
  • Failover: when the Primary misses the configured number of checks in a row, the Secondary points the hostname at itself and becomes active. If the Secondary cannot reach the internet itself, it does nothing — it assumes the problem is its own connection, not the Primary.
  • Hand-back: when the Primary returns and has stayed healthy for the cooldown period, it first copies the Secondary's current data back to itself, then takes the hostname back. The Secondary returns to standby and is ready to fail over again.
  • Each server checks who really owns the hostname. Every check cycle, both servers read the DNS record, so neither can keep a wrong idea of which one is active — including after a role is changed on this page.

What Is Copied Between the Servers#

WhatHow oftenDirection
The database (extensions, users, settings, call records, everything configured in the interface)Continuously — changes arrive on the Secondary within about a secondPrimary to Secondary
Configuration files and call recordingsOn a timer, every 5 minutes by default (see File Sync Interval)Primary to Secondary
Everything aboveOnce, automatically, just before the Primary takes the hostname backSecondary to Primary

The HA settings on this page are the one exception: each server keeps its own Role, IP addresses, Cloudflare details and tuning values, and they are never copied to the other server.

Before You Start#

  • The Secondary's data is replaced. When the pair first connects, the Secondary's database is emptied and refilled from the Primary. Make sure the server you set as Secondary holds nothing you need to keep.
  • Both servers must be able to reach each other over SSH. If your firewall's SSH rule is limited to specific source addresses, add both servers' IP addresses to it, on the Primary. Firewall rules are part of the copied database, so the Secondary receives the Primary's list — if a server is missing from it, the two lose contact and file copying and hand-back stop working.
  • Database access between the two servers is set up for you. Once a Peer IP Address is saved, each server opens its database to the other server only. Expect one brief database restart on each server the first time.
  • Your domain's DNS must be hosted on Cloudflare, with the hostname's DNS record pointed at the Primary. If your DNS is still with your domain registrar or another provider, follow Moving Your DNS to Cloudflare below first.

Moving Your DNS to Cloudflare (Step by Step)#

HA moves the hostname to the active server by editing its DNS record through Cloudflare. Your domain's DNS therefore has to be hosted on Cloudflare. The domain itself stays registered where it is (GoDaddy, Namecheap, Truehost, etc.). You only change which company answers DNS lookups for it. Cloudflare's Free plan is enough.

Plan about an hour for this, and do it before you set up HA. In the steps below, example.com is your domain and ucbc.example.com is the hostname your phones, trunks and browsers use for UCBC.

Part 1: Add the domain to Cloudflare (nothing changes for your users yet)

  1. Sign up or log in at cloudflare.com.
  2. In the left menu, go to Domains > Overview and click Add domain. In the list that opens, choose Connect an existing domain.
    • Do not choose Buy a new domain: you already own the domain.
    • Do not choose Transfer a domain: that moves the registration itself to Cloudflare, which HA does not need.
    • The Connect your domain screen opens. Under Domain name, enter your main domain: example.com, not ucbc.example.com.
    • Under Additional configuration, leave everything as it is:
      • Configure AI search, agent, and training policies, Personal Agents and Enable Bot Preference Sync only affect web pages that go through Cloudflare's proxy. The UCBC records are set to DNS only (step 4), so these settings make no difference to UCBC.
      • Leave I monetize pages that serve ads unticked unless your website shows ads.
      • Leave Import DNS records on Automatic. This makes Cloudflare copy your existing records so you don't have to type them in.
    • Click Continue at the bottom.
    • If Cloudflare asks you to pick a plan, choose Free and continue. On many accounts it goes straight to the next screen.
  3. The Review your DNS records screen opens. It lists the records Cloudflare copied from your current provider, with a summary at the top ("Records we found: ..."). The yellow box warns that the scan can miss records. Compare the list carefully with your current provider's DNS page before going further:
    • Email records: MX, plus the TXT records for SPF, DKIM, DMARC and MTA-STS. If any are missing, email for the domain stops working when you switch.
    • If you see a blue note saying "To receive email at @example.com addresses, add a mail exchange (MX) record", Cloudflare found no MX record. If you receive email at this domain, add the MX record(s) exactly as they are at your current provider. If you don't, close the note.
    • Any other SRV, CNAME or TXT records used by other services (Microsoft 365, Google Workspace, website hosts, verification codes), and any subdomains.
    • Add anything that is missing with Add record, using the same values as at your current provider.
    • Records your registrar adds by default can be left alone unless they use the UCBC hostname. GoDaddy's _domainconnect CNAME is one example.
  4. Set up the UCBC records on the same screen. Ignore the "Your traffic is almost ready to proxy" advice for these records: the proxy is only for websites.
    • Find every record that points at a UCBC server: the main hostname (ucbc.example.com), the wildcard (*.ucbc.example.com) and any meeting, TURN or analytics names. In the Proxy status column these usually show an orange cloud and Proxied. For each one:
      1. Click Edit on its row.
      2. Turn Proxy status off, so it reads DNS only with a grey cloud.
      3. Set TTL to 1 min.
      4. Click Save.
    • If the UCBC records are not in the list yet, add them now with Add record:
      1. Type A.
      2. Name ucbc. Use @ if UCBC uses the domain itself, such as example.com.
      3. IPv4 address: the Primary server's public IP.
      4. Proxy status off (DNS only), TTL 1 min, then Save.
      5. Add the wildcard the same way, with Name *.ucbc, or * if UCBC uses the domain itself.
    • Keep exactly one A record for the UCBC hostname. HA updates one record. If there are two, phones are sent to both servers at random.
      • Delete any other A or AAAA records with that same name: click Edit, then Delete.
      • This happens most often when UCBC uses the domain itself. The registrar usually created "parking" or "forwarding" records for it, for example GoDaddy's 15.197.148.33 and 3.33.130.190, and they must go.
    • This step is essential. An orange (proxied) record sends traffic through Cloudflare's web proxy. That proxy only passes web traffic, so SIP registration, calls, meeting audio/video and certificate renewal all break. HA also writes these records as DNS only every time it switches servers.
  5. Click Continue to activation. The Update your nameservers to activate Cloudflare page opens. Keep it open: you need it for Part 2. The page shows:
    • 1. Log into your DNS provider: it names your registrar, for example "Your registrar is GoDaddy".
    • 2. Replace your current nameservers:
      • B lists your two Cloudflare nameservers, for example ignacio.ns.cloudflare.com and peaches.ns.cloudflare.com. Each has a copy button next to it. Yours will have different names.
      • C lists your current nameservers, which you will delete. For a GoDaddy domain these are, for example, ns03.domaincontrol.com and ns04.domaincontrol.com.
    • Recommended: two suggestions.
      • Make sure DNSSEC is off: do this (Part 2, step 2 below).
      • Only allow Cloudflare IP addresses at your origin: do NOT do this for UCBC. It would block your phones, SIP trunks, meeting users and the other HA server, because none of them come through Cloudflare. It also blocks the certificate renewal. That advice is only for websites that go through Cloudflare's proxy.

Part 2: Switch the nameservers at your domain registrar

  1. In a new browser tab, log in to the company the Cloudflare page named as your registrar. If you bought the domain through a reseller, such as your web host, or your DNS is managed by a separate DNS provider, log in there instead.

    • Open your list of domains and click the domain.
    • Find its nameserver setting. Registrars name it differently, for example:
      • Nameservers;
      • DNS > Nameservers;
      • Custom DNS;
      • Manage DNS;
      • Change nameservers.
    • If there is a choice between the registrar's own (default) nameservers and custom nameservers, choose custom.
    • If you can't find it, search the registrar's help pages for "change nameservers", or ask their support. Every registrar allows it.
  2. Turn DNSSEC off first, if it is on. It is usually in the domain's DNS or Security settings, and is off on most domains.

    • If it stays on, the domain stops working once the nameservers change.
    • Wait for the change to save before going on.
    • You can turn DNSSEC back on later from Cloudflare (DNS > Settings).
  3. Replace the nameservers:

    1. Delete all the old nameservers: the ones listed under C on the Cloudflare page.
    2. Enter the two Cloudflare nameservers. Use the copy buttons on the Cloudflare page so there are no typing mistakes.
    3. Save.

    Many registrars ask you to confirm the change. Confirm it.

  4. Back on the Cloudflare page, click I updated my nameservers.

    • The switch usually takes 15 minutes to a few hours, occasionally up to 24 hours. You can close the page meanwhile.
    • Once it is done, Cloudflare emails you, and Domains > Overview shows the domain as Active. While you wait, Check nameservers now on the domain's Overview page makes Cloudflare look again.
    • Do not continue until the domain shows Active.
  5. Check that nothing broke:

    • phones and trunks still register;
    • the UCBC login page opens;
    • email still arrives.

    From any computer you can also run nslookup ucbc.example.com. It should return the Primary's IP address.

Part 3: Prepare the records and the key that HA needs

  1. Go to DNS > Records and confirm there is an A record for ucbc.example.com, with these settings:

    • points to the Primary server's public IP address;
    • DNS only;
    • TTL 1 min.

    If your setup uses a wildcard, confirm the same for the wildcard record. In Cloudflare its name is entered as *.ucbc. Create either record if it is missing.

  2. Create the API token:

    1. Click the profile icon (top right) > My Profile > API Tokens > Create Token.
    2. Next to Edit zone DNS, click Use template.
    3. Under Zone Resources, choose Include > Specific zone > example.com.
    4. Optional but recommended: under Client IP Address Filtering, add both servers' public IP addresses.
    5. Click Continue to summary, then Create Token, and copy the token now. Cloudflare shows it only once.

    Never use the account's Global API Key for this.

  3. Copy the Zone ID: open the domain's Overview page and look under API on the right-hand side.

  4. Get the DNS Record ID. Cloudflare never shows it in the dashboard, so UCBC looks it up for you:

    1. Go to Settings > High Availability and click Open the Cloudflare setup guide.
    2. In step 6 of that guide, paste the Zone ID, the record name (ucbc.example.com) and the API token, then click Get DNS Record ID.
    3. If you use the wildcard record, repeat this with *.ucbc.example.com to get its ID.
  5. Enter the API token, Zone ID, record name/ID and wildcard name/ID on both servers, as described in How to Set Up HA below (step 5).

After the move

  • Make future DNS changes for the domain in Cloudflare. Changes made at the registrar's DNS page no longer have any effect.
  • Leave the UCBC records DNS only. Turning the orange cloud on later breaks calls and meetings, even though web pages may still load.
  • Run a test failover in a maintenance window (see How HA Behaves above). In Cloudflare's DNS page, the A record should switch to the Secondary's IP and later back to the Primary's.

How to Set Up HA#

Do these steps on both servers. The screen is identical on each; only the Role and the two IP addresses differ.

  1. Click your name at the top right, then Settings. High Availability is the first tab.
  2. Choose this server's Role: Primary or Secondary.
  3. Enter This Node's Public IP and the other server's Peer IP Address. Optionally enter a Peer Hostname for display only.
  4. Under Set Up SSH Access, enter the other server's SSH username and password and click Set Up SSH Access. The password is used once for this step and is never stored. Do this on both servers, so each can reach the other.
  5. Under Cloudflare DNS, enter the API token, zone ID, and the DNS record name and ID for the hostname that should follow the active server (plus the wildcard record, if you use one). Where to find each value is in Moving Your DNS to Cloudflare, Part 3.
  6. Under Health Check Tuning, set the Check Interval, the Consecutive Failures Before Failover, and the Cooldown Before Primary Reclaims.
  7. Under File Replication, set the File Sync Interval if the default of 300 seconds does not suit you.
  8. Turn Enabled on once you are ready for HA to act, and click Save.

With the default tuning (checks every 10 seconds, 3 failures), the Secondary takes over about 30 to 40 seconds after the Primary stops answering. Phones follow as soon as they look the hostname up again, usually within a minute.

Checking HA Status#

The top of the HA page shows:

  • This server's current Role (Primary/Secondary).
  • Which node is currently Active.
  • The Last Check time and whether the peer is currently healthy.
  • A Recent Events log. Because the database is copied, both servers show the same list.

Common entries in Recent Events:

EventMeaning
failoverThe Secondary took over the hostname.
dns_ownership_lostThis server saw that the hostname now points at the other server and moved to standby.
dns_ownership_gainedThis server saw that the hostname already points at it and became active.
failback_startThe Primary is healthy again and has started copying data back from the Secondary.
failback_resyncThat copy failed; it is retried automatically.
failback_completeThe Primary has taken the hostname back.
role_changedThe Role was changed on this server, and it re-checked whether it is active.
self_network_downThe peer looked down, but this server had no internet either, so it did not fail over.
healthcheck_failThe peer was unreachable but failover could not happen (for example, HA is not enabled).
primary_conflict_unknownThis server was saved as Primary but could not ask the other server for its role at that moment. A one-off record, not an ongoing fault.

How to Edit HA Settings#

  1. Go to Settings > High Availability (your name at the top right, then Settings).
  2. Adjust the role, IP addresses, Cloudflare DNS details, tuning values or file sync interval as needed.
  3. Click Save. Tuning and file sync changes apply within seconds; no restart is needed.

There is also a Force option, intended only to manually resolve a broken pair where both servers believe they are Primary at the same time — leave this unchecked under normal circumstances.

Field Reference#

System Email Settings#

FieldDescription
SMTP Host / PortYour outgoing mail server address and port.
SMTP Username / PasswordCredentials for that mail server account.
SecurityTLS, SSL, or None.
From Address / From NameWhat recipients see as the sender.
Send Test Email ToAddress to send a one-off test message to.

Platform Update Notifications#

FieldDescription
Project NotificationsMaster on/off switch for this feature.
SecurityNotify on security updates.
ReleasesNotify on new stable software releases.
EventsNotify about related events (e.g. training, conventions).
NewsNotify about general related news.

High Availability#

FieldDescription
RolePrimary or Secondary for this server.
ForceManual override to resolve a broken pair; leave off normally.
This Node's Public IPThis server's own address, used when it claims the shared hostname.
Peer IP AddressThe other server's address, used directly for health checks and data copying.
Peer HostnameDisplay label only for the peer.
Set Up SSH AccessOne-time setup of the secure connection to the other server. Run it on both servers.
EnabledTurns failover on or off. When off, the servers still check each other but never change DNS.
Cloudflare API Token / Zone IDCredentials scoped to editing DNS on your domain, used to redirect traffic during failover.
DNS Record Name / IDThe hostname (and matching DNS record) that follows the active server.
Wildcard DNS Record Name / IDOptional wildcard hostname that follows the active server the same way.
Check Interval (seconds)How often the servers check each other.
Consecutive Failures Before FailoverMissed checks in a row before the Secondary takes over.
Cooldown Before Primary Reclaims (seconds)How long Primary must stay healthy before it starts copying data back and reclaiming control.
File Sync Interval (seconds)How often Primary copies configuration files and recordings to Secondary. Minimum 30, default 300. Does not affect the database, which is copied continuously.

Tips & Common Issues#

  • If invoice/receipt emails never arrive, first confirm the recipient has invoice/receipt notifications turned on in their own user profile — System Email Settings only controls the mail server, not who receives what.
  • Always use Test Email after changing any SMTP setting — it sends immediately and shows the exact error if something is misconfigured.
  • Platform Update Notifications are about the underlying software platform, not about your phone system's day-to-day operation — most accounts can leave this alone.
  • Make changes on the active server only. Settings, extensions and firewall rules saved on the standby server are overwritten by the active server's copy. The HA page itself is the exception — its settings belong to each server.
  • After a failover, recent recordings may be missing on the Secondary. Files are copied on a timer, so anything newer than the last file sync is still only on the Primary. A shorter File Sync Interval narrows that gap.
  • If the servers stop syncing files after a firewall change, check that both servers' IP addresses are still on the SSH rule.
  • Never turn on "Only allow Cloudflare IP addresses" on a UCBC server's firewall. Cloudflare recommends it when a domain is activated, but it is meant for proxied websites. It blocks phones, trunks, meetings, the other HA server and certificate renewal.
  • Calls or meetings fail but web pages load? Check in Cloudflare that the UCBC records are DNS only (grey cloud), not proxied (orange).
  • A stale DNS answer is normal for a minute or so after a failover. The record is given a 60-second lifetime, so devices pick up the new address on their next lookup.
  • HA is only relevant if you were provisioned with two servers for failover. Changing the Role or Enabled setting incorrectly can affect live service — if you're not sure, contact support before changing these settings.
💬 Chat with Ace: SIITS AI