Saltar al contenido principal

Internet-down survival: office offline, calls go to mobiles

When an office loses its internet connection, its desk phones can no longer reach your PBX and incoming calls for the people there would go unanswered. With internet-down survival turned on, the PBX notices that the office's desk phones are gone and, until they are back:

  • calls to the people of that office also ring their mobile numbers, at once, through your dial plan like any outside call;
  • the MonoPhone app and business eSIM lines keep ringing as always (they do not depend on the office's connection);
  • everyone affected sees "Office offline, calls go to your mobile" at the top of the console and in the MonoPhone app, and administrators see which offices are offline.

When the office's phones are back, everything returns to normal on its own. Nobody has to change a status or a forwarding rule, before or after.

Open People and devices, Sites, Office offline: calls to mobiles (/admin/office-survival). You need settings:read to see the page and settings:write to change it.

How an office is judged offline​

The PBX looks at the registrations of the desk phones of each site every 20 seconds. A desk phone belongs to the site set on the device. With Desk phones on no site count as the main office, the desk phones without a site count as one "main office", which suits a company with a single office.

SettingDefaultMeaning
Offline after (seconds)90Every desk phone of the office must have been gone this long. A short blip changes nothing. 30 to 3600.
Online again after (seconds)120Phones must be back this long before calls stop going to mobiles. 30 to 3600.
Desk phones an office needs2The office must have had at least this many desk phones online, so unplugging one phone never takes it offline. 1 to 1000.
Also ring the person's mobile numberonOff: the office is still shown as offline, but calls only ring the app and eSIM lines.

Only desk phones count. The app, the browser softphone, the desktop app and eSIM lines keep working away from the office and never make an office look offline or online.

consejo

Phones that drop off quickly make the detection fast. Desk phones that keep a TCP or TLS connection, or that the PBX keeps alive with its NAT keepalives, are noticed within seconds; phones that only re-register now and then are noticed when their registration runs out. A short registration interval on the desk phones helps.

What a caller gets​

For a person whose desk phone is at an offline office:

SituationWhat happens
The app or an eSIM line is still registeredThose ring, and the mobile number rings with them from the first second.
Nothing of the person is registeredThe call goes straight to the mobile number, before any "not registered" rule.
The person has no mobile number in their status settingsNothing changes: their usual rules apply.
A status that forwards every call (for example Do not disturb to voicemail)It still wins.

The mobile number is the one each person sets in their status settings (My status, "also ring my mobile"). It is dialled as the person, with their calling permissions, so it can never reach a number they could not call. A mobile number that is one of your own numbers is not dialled.

The offices list​

The page lists the main office (when it counts) and every site with its state, since when, and how many desk phones are registered now and at most:

  • Online: phones are registered.
  • Offline: calls go to mobiles: every desk phone is gone.
  • Not seen yet: no desk phone has registered there since the policy was turned on.

Every change of state is written to the company's activity log (office.offline, office.online) with the office's name and how many desk phones it had. Turning the policy off forgets every state; turning it on again starts from "not seen yet".

Testing it​

Plan a short test outside office hours: with the policy on and an office showing Online, unplug the office router's internet uplink (or block the office's traffic to the PBX) and wait for the offline time. The page shows the office offline, the console shows the banner and the app shows the status strip, and a call to a person of that office rings their mobile. Plug the uplink back in: after the online time the office is back and calls ring the desk phones again.

For integrators​

MethodPathPermission
GET, PUT/api/v1/office-survivalsettings:read, settings:write
GET/api/v1/office-survival/sitessettings:read
GET/api/v1/me/office-statusa signed-in user

See also Branch survival nodes, which keep internal and emergency calls working inside an office while its link is down.

Working with the page​

The policy is a form with the usual Save bar: it appears at the bottom of the window as soon as you change a value, with Discard and Save. Below it, the offices are a table with a search box and a State chip (online, offline); Refresh reads the state again.