Send Fax Module Documentation
Table of Contents
- Module Overview (Technical)
- Module Overview (Commercial/Business)
- Module Overview (End User/Administrator)
- Sending Process
- Supported Formats
- Common Scenarios & Examples
- Limitations & Important Notes
- Troubleshooting Tips
- Glossary
---
1. Module Overview (Technical)
What Is Send Fax?
Send Fax is a web-based fax transmission interface that allows users to send documents as faxes through configured fax devices. Documents are uploaded, converted if necessary, and transmitted via FreeSWITCH's fax engine.
Architecture
Key Tables
| Table | Purpose | |
|---|---|---|
public.fax_devices | Device configuration | |
public.fax_logs | Transmission logs |
Key Files
| File | Description | |
|---|---|---|
modules/faxSending/FaxSendingPage.tsx | Frontend send interface | |
modules/faxSending/api/faxSendingApi.ts | API calls | |
lua/main/xml_handlers/fax/fax_send.lua | Transmission handler |
2. Module Overview (Commercial/Business)
Business Value
Send Fax provides web-based fax transmission:
| Without Send Fax | With Send Fax | |
|---|---|---|
| Physical fax machine | Web interface | |
| Print documents | Upload PDF | |
| Manual dialing | Click to send | |
| No status tracking | Email notifications |
Use Cases
- Document Transmission
- Transmit signed documents
- Business Communications
- Transmit purchase orders
- Healthcare/Legal
- Court document filing
- Remote Work
- No physical equipment
Feature Highlights
| Feature | Benefit | |
|---|---|---|
| PDF Support | No conversion needed | |
| TIFF Support | Native fax format | |
| T.38 Protocol | Reliable FoIP | |
| Auto-Retry | Handle busy lines | |
| Notifications | Email on success/fail | |
| Logging | Full audit trail |
3. Module Overview (End User/Administrator)
What Can You Do?
- Select outbound fax device
- Enter destination number
- Upload PDF or TIFF document
- Send fax with one click
- Receive email notifications
- View transmission status
Send Fax Interface
Quick Tips
---
4. Sending Process
Step-by-Step Flow
- Select Device
- Device determines caller ID and settings
- Enter Destination
- Example: +15551234567
- Upload Document
- PDF or TIFF format
- Send
- System queues transmission
- Transmission
- T.38 negotiation if enabled
- Document transmitted
- Notification
- Log recorded in database
Retries
| Setting | Default | Description | |
|---|---|---|---|
| Max Retries | 3 | Total retry attempts | |
| Retry Interval | 300s | Seconds between retries |
5. Supported Formats
PDF Documents
| Aspect | Details | |
|---|---|---|
| Format | PDF 1.0 - 2.0 | |
| Conversion | Auto-converted to TIFF | |
| Pages | Multi-page supported | |
| Color | Converted to B&W |
TIFF Documents
| Aspect | Details | |
|---|---|---|
| Format | TIFF (Group 3/4 fax) | |
| Native | No conversion needed | |
| Pages | Multi-page supported | |
| Compression | G3/G4 fax compression |
Size Limits
| Limit | Value | |
|---|---|---|
| Max File Size | 10 MB | |
| Max Pages | Depends on document |
6. Common Scenarios & Examples
Scenario 1: Send Contract
- Select fax device: "Sales Fax"
- Destination: +14155551234
- Upload: contract.pdf
- Click "Send Fax"
- Receive success email
Scenario 2: International Fax
- Select fax device: "International Fax"
- Destination: +442071234567 (UK)
- Upload: invoice.pdf
- Send and wait for confirmation
Scenario 3: Multi-Page Document
- Upload multi-page PDF
- System converts all pages
- Transmits as single fax
- Pages sent sequentially
---
7. Limitations & Important Notes
Technical Notes
Best Practices
- Use T.38: Enable on device for reliability
- Include Country Code: Always use full E.164 format
- Check File Size: Stay under 10 MB limit
- Verify Device: Ensure device is enabled
- Monitor Logs: Check fax viewer for status
---
8. Troubleshooting Tips
Common Issues
| Symptom | Possible Cause | Solution | |
|---|---|---|---|
| No devices shown | No outbound devices | Create device with outbound direction | |
| Send fails | File too large | Reduce file size | |
| Invalid format | Wrong file type | Use PDF or TIFF | |
| Transmission fails | Remote busy | Retries will occur | |
| No notification | Email not configured | Set email_to on device |
Validation Errors
| Error | Meaning | |
|---|---|---|
deviceRequired | Select a fax device | |
destinationRequired | Enter destination number | |
fileRequired | Upload a document | |
invalidFileType | Only PDF/TIFF allowed | |
fileTooLarge | File exceeds 10 MB |
Check Recent Transmissions
---
9. Glossary
| Term | Definition | |
|---|---|---|
| txfax | FreeSWITCH transmit fax | |
| T.38 | Fax over IP protocol | |
| ECM | Error Correction Mode | |
| TIFF | Tagged Image File Format | |
| E.164 | International phone format | |
| Originate | FreeSWITCH call initiation |
Lua Script Status ✅
Already Correct
| Script | Status |
|---|---|
fax/fax_send.lua | ✅ Uses public.fax_devices, public.fax_logs |
---
Documentation last updated: January 2026