Commit graph

10 commits

Author SHA1 Message Date
d72a0c13c5 Clean up: remove dead Telnyx statuses, doula references, personal info, fix README
- Remove legacy Telnyx status strings (delivered, sent, queued, sending)
- Remove duplicate save_log/generate_report calls in main()
- Remove hardcoded personal fax number from GUI placeholder
- Replace "doula coverage claim" with generic "claim" in HTML reports
- Fix README: "7 days" → "3 successful deliveries", remove unnecessary number purchase step

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 01:08:50 +00:00
c66bd57bdc Poll up to 3 minutes for delivery confirmation after sending
Checks every 15s instead of once. Catches COMPLETED/FAILURE in the
same run so the counter and ntfy are accurate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 23:05:21 +00:00
a05d49632b Run first fax 2 minutes after install, then hourly
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:49:37 +00:00
5676c0eec8 Update install.sh for Sinch, remove expiry timer
References Sinch instead of Telnyx, removes .expires file logic
since we now stop after 3 successful deliveries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:39:28 +00:00
f13e2036a5 Stop after 3 successful deliveries instead of time-based expiry
Replaces the 7-day timer with a success counter. Cron auto-removes
itself once 3 faxes are confirmed COMPLETED. ntfy notifications
include delivery progress (e.g. "Delivered: 2/3").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:35:55 +00:00
521e7b03e0 Make from number optional, Sinch auto-assigns
Tested: Sinch sends faxes without a from number, auto-assigns a
service. Simplifies setup - no need to purchase a number.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:33:45 +00:00
4dc9d9330d Switch from Telnyx to Sinch fax API
Sinch has simpler signup (no KYC/verification tiers), flat $0.045/page
pricing, and direct file upload (no media storage step). Removes
Telnyx setup wizard. Updates CLI, GUI, config, and docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:08:19 +00:00
32d7013cc6 Fix broken cron setup, move expiry logic into autofax.py
The embedded multi-line Python in crontab caused "bad minute" errors.
Now install.sh writes a simple .expires timestamp file and autofax.py
checks it on each run, removing its own cron entry when expired.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 21:42:48 +00:00
0748178355 Add Telnyx setup wizard, remove PROJECT.md from repo
- setup_telnyx.py: automates fax app creation, number purchase,
  and config generation via Telnyx API
- Gitignore PROJECT.md and CLAUDE.md to keep project files local

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 21:35:18 +00:00
aef5e5283a Initial commit: automated hourly fax sender for insurance claims
Sends doula coverage claims via Telnyx fax API every hour, logs every
attempt, and generates a printable HTML report for HR. Includes both
a Linux CLI with cron scheduling and a Windows GUI (tkinter) that can
be packaged as a portable exe via PyInstaller.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:36:47 +00:00