# Do Not Disturb (DND) Override Permissions

Critical 3:00 AM production outages must break through Do Not Disturb, Focus filters, and mute toggles to wake responders reliably. OnCallAlert provides full-screen incoming emergency call alerts over data that ring out loud through device silence.

## Android Permissions

Open **Settings** inside the OnCallAlert Android app, enable **Bypass Do Not Disturb**, and grant the following permissions:

1. **Do Not Disturb Access (Notification Policy Access)**: Allows the app to override system DND profiles and ring emergency alerts at full alert volume.
2. **Alarms & Reminders (Schedule Exact Alarms)**: Ensures emergency ringers trigger immediately without background execution throttling by Android power management.
3. **Display Over Other Apps (Full-Screen Intent)**: Displays the `IncomingCallScreen` full-screen over the lock screen, enabling one-tap acknowledgement without unlocking the device.
4. **Battery Optimization**: Set OnCallAlert to **Unrestricted** under device battery settings so background alert signals are never paused.

## iOS Permissions

Critical Alerts need an entitlement that Apple approves by hand. OnCallAlert has requested it. Until Apple approves it, iOS alerts are standard notifications that follow the silent switch and Focus modes.

After approval, an app update will ask for **Critical Alerts** permission. Critical alerts play sound regardless of whether the iPhone is muted or in Focus mode.

## Hybrid Reliability Architecture

To eliminate expensive SMS and voice telecom costs while maintaining 100% wake-up reliability:

| Tier | Delay | Mechanism | Cost | Purpose |
|---|---|---|---|---|
| **Step 1: Primary** | 0 min | Mobile Push Full-Screen Call | **$0.00** | Resolves 90-95% of alerts instantly over Wi-Fi / LTE / 5G. |
| **Step 2: Fallback** | +3-5 min | Cellular Voice Call (PSTN) | Standard voice rate | Wakes responder if phone is offline, dead battery, or unacknowledged. |
| **Step 3: Secondary** | +5-10 min | SMS & Escalation | Standard SMS rate | Escalates to secondary on-call engineer or team lead. |
