Skip to content

v0.4.4 — Session persistence + fax stack fixes

Choose a tag to compare

@innotelinc innotelinc released this 08 Aug 20:12
· 117 commits to master since this release

Session persistence (critical fix)

  • Fixed: Session cookie secure flag was tied to NODE_ENV, which is "production" in Docker. Browsers refused to store/send Secure cookies over HTTP, causing every page navigation after login to redirect back to /login (blank pages, forced re-auth).
  • Fix: Use explicit SESSION_SECURE env var (defaults to false). Set SESSION_SECURE=true only when behind HTTPS/TLS.
  • Added .env.docker.example with all required environment variables documented.

Fax stack fixes

  • sendfax: Bypass hfaxd authentication by writing jobs directly to the HylaFAX sendq/ spool directory (fixes "Login failed: 500 PASS syntax error").
  • fax status: Read sendq//doneq/ qfiles directly from spool instead of calling faxstat (which requires hfaxd auth).
  • spool permissions: Create sendq/, doneq/, docq/ directories with 770 uucp:uucp at startup.
  • cross-container: Base64-encode PDF content for portal→freepbx fax transfer (containers dont share filesystems).

FreePBX fixes

  • UCP Node: Start fwconsole ucp daemon in entrypoint + add [ucp_events] AMI user (fixes "UCP Node is not running" in FreePBX dashboard).
  • Postfix: Start postfix in entrypoint + add showq service to master.cf (fixes "mailq: Queue report unavailable").

Docker / build

  • IAXModem 1.3.5 + HylaFAX+ 7.0.11 compiled from source
  • 4 virtual fax modems (ttyIAX1-4) with matching IAX2 peers in Asterisk
  • AvantFax 3.4.1 web UI at /fax via PHP 7.4 FPM
  • IAX calltoken fix for local Asterisk connections
  • Updated SourceForge download URLs (old downloads.sourceforge.net paths 404)