Skip to content

Web UI Tour

py-phone-caller provides a secure operator UI for scheduling calls, managing on-call coverage, and inspecting PBX events. This tour walks the end-to-end workflow from login to acknowledgment.

▣ Feature Tiles ★

Alertmanager Webhooks Scheduled Voice Alerts Managed Call Lifecycle
Retries + Acknowledgment On-call Coverage Planner PBX Event Telemetry
Timezone-aware Routing Contact Directory Secure Operator Access
CSV Audit Exports Fast Search + Filters User Management

≡ Mini TOC ★

◎ At a glance ★

  • Secure access gate and login flow
  • Unified navigation for calls, events, scheduling, and contacts
  • On-call windows and calendar coverage
  • Scheduled calls with text-to-speech messages
  • Managed call lifecycle with retries and acknowledgments
  • PBX event stream with JSON payloads and CSV export
  • Alertmanager webhook integration

▶ Access & Navigation ★

Access gate ★

First screen Auth gate blocks unauthenticated access; sign-in required.

Login ★

Login screen Credential form for authenticated UI access (the initial credentials are created when the Web UI starts).

Dashboard ★

Home screen Primary navigation to Managed Calls, PBX Events, Schedule Call, and Address Book.

▤ Core Lists ★

Managed Calls (empty state) ★

Managed calls screen Managed Calls table with search, auto-refresh, and CSV export.

PBX Events (empty state) ★

Pbx events screen WebSocket event stream with filter and export controls.

Scheduled Calls (empty state) ★

Schedule call screen Scheduled Calls queue with a one-click create action.

Address Book (empty state) ★

Address book screen Contacts list with search, sort, filters, calendar access, and CSV tools.

User Management ★

User management screen User list with active status, last login, and admin actions.

☎ Contacts & On-call Coverage ★

Add Contact ★

Add contact form Contact creation modal with profile fields and on-call windows.

On-call Calendar ★

Calendar screen Monthly calendar with UTC preview and navigation.

Define Availability Window ★

Adding a new contact with on-call window Date/time picker and priority for precise on-call coverage.

Saved Contact Window ★

The new contact Saved availability window listed with local timezone.

Calendar Populated ★

Calendar with new on-call contact On-call blocks shown across the calendar.

⌛ Scheduling a Call ★

New Call Modal ★

Schedule a new call Schedule call modal with date/time, number, and message fields.

Pick Contact ★

Choose the contact to be called Contact picker with search and "Use current On-call" shortcut.

Text-to-Speech Message ★

Write the message to convert speech Message entry for text-to-speech delivery (the time on this screenshot differs from the next screenshots, because the placed call was another).

Scheduled Queue ★

The list of the scheduled calls Scheduled call record with message, inserted time, and schedule time.

► Live Call Execution ★

Call Placing ★

The call while is being placed Managed call in dialing state with counters and ack control.

Retry on No Answer ★

If no answer the system will retry Retry attempt tracking when the callee does not answer.

Call Acknowledged ★

Call with anwser and ack with 4 key Completed call with DTMF acknowledgment (key 4) timestamp.

◍ PBX Observability ★

PBX Event Trace ★

Pbx events for the call Structured PBX event JSON tied to the call for troubleshooting.

⚠ Alerting Integration ★

External systems can trigger calls via HTTP. Alertmanager is shown below.

Note: example of HTTP POST request from the Alertmanager

POST http://py-phond-caller.lan:8084/call_only
Content-Type: application/json

{
   "receiver":"webhook",
   "status":"firing",
   "alerts":[
      {
         "status":"firing",
         "labels":{
            "alertname":"TestAlertFromAlertmanager",
            "instance":"localhost:9090",
            "job":"prometheus"
         },
         "annotations":{
            "description":"Shakespeare sonnets generally focus on the themes of love and life. The first 126 are directed to a young man whom the speaker urges to marry",
            "summary":"our summary"
         },
         "startsAt":"2021-03-02T21:52:26.558311875+01:00",
         "endsAt":"0001-01-01T00:00:00Z",
         "generatorURL":"http://prometheus:9090/graph"
      }
   ],
   "groupLabels":{
      "alertname":"TestAlertFromAlertmanager",
      "job":"prometheus"
   },
   "commonLabels":{
      "alertname":"TestAlertFromAlertmanager",
      "instance":"localhost:9090",
      "job":"prometheus"
   },
   "commonAnnotations":{
      "description":"our description",
      "summary":"our summary"
   },
   "externalURL":"http://alertmanager:9093",
   "version":"4",
   "groupKey":"{}:{alertname=\"TestAlertFromAlertmanager\", job=\"prometheus\"}"
}

Alertmanager Call ★

Call of 20:23 through alertmanager Alertmanager-triggered call visible in Managed Calls.

Alertmanager Acknowledged ★

Alertmanager call with ack Alert-driven call completed and acknowledged.

✔ Wrap-up ★

py-phone-caller keeps the critical path tight: schedule or trigger a call, monitor execution, and confirm acknowledgment, with PBX-level telemetry on demand.